@charset "UTF-8";

/* 基本 */
:root {
	--v-space: clamp(90px, 9vw, 120px);
}

body {
	margin: 0;
	background-color: #eeeeee;
	color: #222222;
	font-family: Meiryo;
}

h1, h2, h3, h4, h5, h6, p, figure, ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	line-height: 1.8;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	filter: brightness(90%) contrast(120%);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}



/* 横幅と左右の余白 */
.w-container {
	width: min(92%, 1166px);
	margin: auto;
	position: relative;
}

/* ヘッダー */
.header {
	height: 112px;
	background-color: #ffffff;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

/* ヘッダーロゴ */
.site a {
    font-size: 24px;
    font-weight: bold;
}

/* フッターロゴ */
.footer-site a {
    font-size: 24px;
    font-weight: bold;
}

/* ナビゲーションボタン */
.navbtn {
	padding: 0;
	outline: none;
	border: none;
	background: transparent;
	cursor: pointer;
	color: #aaaaaa;
	font-size: 30px;
}

.open .navbtn {
	z-index: 110;
	color: #ffffff;
}

.navbtn .fa-bars {
	display: revert;
}
.open .navbtn .fa-bars {
	display: none;
}

.navbtn .fa-times {
	display: none;
}
.open .navbtn .fa-times {
	display: revert;
}

@media (min-width: 768px) {
	.navbtn {
		display: none;
	}
}

/* ナビゲーションメニュー：モバイル */
@media (max-width: 767px) {
	.nav {
		position: fixed;
		inset: 0 -100% 0 100%;
		z-index: 100;
		background-color: #4e483ae6;
		transition: transform 0.3s;
	}

	.open .nav {
		transform: translate(-100%, 0);
	}

	.open body {
		position: fixed;
		overflow: hidden;
	}

	.nav ul {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100%;
		gap: 40px;
		color: #ffffff;
	}
}

/* ナビゲーションメニュー：PC */
@media (min-width: 768px) {
	.nav ul {
		display: flex;
		gap: 40px;
		color: #707070;
	}
}

/* ヒーロー */
.hero {
	height: 650px;
	background-image: url(img/others/header-image3.jpg);
	background-position: center;
	background-size: cover;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.hero-container {
	display: grid;
	justify-items: center;
	align-content: center;
	height: 100%;
	position: relative;
	z-index: 2;
}

.hero h1 {
	margin-bottom: 42px;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(38px, 5vw, 58px);
	min-height: 0vw;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	color: white;
}

.hero p {
	margin-bottom: 72px;
	color: white;
}

/* ボタン */
.btn {
	display: block;
	width: 180px;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 4px;
	background-color: #e8b368;
	color: #ffffff;
	font-size: 18px;
	text-align: center;
	text-shadow: 0 0 6px #00000052;
}

.btn-accent {
	background-color: #b72661;
}

/* 画像とテキスト */
.imgtext {
	padding: var(--v-space) 0;
	background-color: #ffffff;
}

.imgtext + .imgtext {
	padding-top: 0;
}

.imgtext-container {
	display: flex;
	flex-direction: column;
	gap: clamp(45px, 6vw, 80px);
}

@media (min-width: 768px) {
	.imgtext-container {
		flex-direction: row;
		align-items: center;
	}

	.imgtext-container.reverse {
		flex-direction: row-reverse;
	}

	.imgtext-container > .text {
		flex: 1;
		min-width: 17em;
  	}

	.imgtext-container > .img {
		flex: 2;
	}
}

/* タイトルとサブタイトル（赤色の短い線で装飾） */
.heading-decoration {
	font-size: clamp(30px, 3vw, 40px);
	min-height: 0vw;
	font-weight: 400;
}

.heading-decoration::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	border-top: solid 1px #b72661;
	margin-top: 0.6em;
}

.heading-decoration + p {
	margin-top: 1em;
	margin-bottom: 2em;
	color: #707070;
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
}


/* 記事一覧 */
.posts {
	padding: var(--v-space) 0;
	background-color: #f3f1ed;
}

.posts-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px 25px;
}

@media (min-width: 768px) {
	.posts-container {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* 記事一覧の記事 */
.post a {
	display: block;
}

.post h3 {
	margin: 1em 0 0.5em;
	font-size: clamp(12px, 2vw, 20px);
	min-height: 0vw;
}

.post p {
	/*max-width: 20em;*/
	font-size: clamp(10px, 1.6vw, 14px);
	min-height: 0vw;
}

.post img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	width: 100%;
}





@supports not (aspect-ratio: 3 / 2) {
	.post img {
		height: 180px;
	}
}

/* パーツの見出し */
.heading {
	position: absolute;
	top: calc((var(--v-space) + 0.6em) * -1);
	font-family: "Montserrat", sans-serif;
	font-size: clamp(40px, 5.2vw, 70px);
	min-height: 0vw;
	font-weight: 300;
}

.heading span {
	display: block;
	color: #666666;
	font-size: 18px;
}


/* フッター */
.footer {
	padding: 70px 0;
	background-color: #ffffff;
	color: #707070;
	font-size: 13px;
}

.footer-container {
	display: grid;
	gap: 50px;
	justify-items: center;
}

@media (min-width: 768px) {
	.footer-container {
		grid-template-columns: auto auto;
		grid-template-rows: auto auto auto;
		gap: 20px;
	}

	.footer-container > .footer-site {
		margin-bottom: 20px;
	}

	.footer-container > *:not(.footer-sns) {
		justify-self: start;
	}

	.footer-container > .footer-sns {
		grid-column: 2;
		grid-row: 1 / 4;
		justify-self: end;
		align-self: center;
	}
}


/* フッター：SNSメニュー */
.footer-sns {
	display: flex;
	gap: 24px;
	font-size: 24px;
}

.footer-sns a {
	display: grid;
	place-items: center;
	width: 36px;
	aspect-ratio: 1 / 1;
	background-color: #cccccc;
	color: #ffffff;
	clip-path: circle(50%);
}

@supports not (aspect-ratio: 1 / 1) {
	.footer-sns a {
		height: 36px;
	}
}


/* フッター：テキストメニュー */
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}


/* 記事 */
.entry {
	padding-bottom: var(--v-space);
	background-color: #ffffff;
}

.entry-img img {
	width: 100%;
	max-height: 400px;
	object-fit: cover;
	margin-bottom: calc(var(--v-space) * 2 / 3);
}

.entry .w-container {
	max-width: 720px;
}

.entry .heading-decoration {
	font-size: clamp(30px, 6.25vw, 48px);
}

.entry-container {
	font-size: clamp(16px, 2.4vw, 18px);
}

.entry-container :where(h1, h2, h3, h4, h5, h6, p, figure, ul) {
	margin-top: revert;
	margin-bottom: revert;
	padding: revert;
	list-style: revert;
}

.entry-container p {
	margin: 1.8em 0;
}

.entry-container > :first-child {
	margin-top: 0;
}

.entry-container > :last-child {
	margin-bottom: 0;
}

.entry-container ul,
.entry-container ol{
	margin:0 0 0 30px;
	padding: 0;
	font-size: clamp(14px, 2.4vw, 16px);
	line-height:1.4;
}

.entry-container li{
	padding: 8px 5px 8px 5px;
}



/* プラン */
.plans {
	padding: var(--v-space) 0;
	background-color: #e9e5e9;
}

.plans-container {
	display: grid;
	gap: 27px;
}

@media (min-width: 768px) {
	.plans-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* プラン：カード */
.plan {
	display: flex;
	flex-direction: column;
	padding: 60px 27px;
	border-radius: 20px;
	background-color: #ffffff;
}

.plan h3 {
	margin-bottom: 38px;
	font-family: "Montserrat", sans-serif;
	font-size: 38px;
	font-weight: 400;
}

.plan .desc {
	margin-bottom: 38px;
}

.plan .price {
	margin-top: auto;
	margin-bottom: 22px;
	font-size: 26px;
	font-weight: bold;
}

.plan .btn {
	width: auto;
}


/* -----------------------------------------------
文字カウント
---------------------------------------------------*/

.character-count #textArea {
    width: 90%; /* コンテナの幅に合わせる */
    height: 200px; /* 初期の高さ */
    padding: 10px; /* 内側の余白 */
    font-size: 16px; /* テキストの大きさ */
    border: 1px solid #ccc; /* ボーダーのスタイル */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); /* 内側の影 */
    resize: both; /* 縦横にリサイズ可能 */
    overflow: auto; /* テキストがオーバーフローしたときにスクロールバーを表示 */
  }

  /* 文字カウント - アコーディオン*/
.character-count details {
    max-width: 600px;
    margin-bottom: 7px;
    border: 2px solid #d6dde3;
    border-radius: 5px;
}

.character-count details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.character-count details summary::-webkit-details-marker {
    display: none;
}

.character-count details summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.character-count details[open] summary::after {
    transform: rotate(225deg);
}

.character-count details p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em .3em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.character-count details[open] p:last-child{
	margin-bottom:15px;
}

.character-count details[open] p {
    transform: none;
    opacity: 1;
}

  /* カスタム */

.entry-container h2{
	margin-top:60px;
	font-size: 1.7em;
}

.entry-container h3{
	margin-top:45px;
}


/* 文字カウント */

.character-count #textArea {
    width: 90%; /* コンテナの幅に合わせる */
    height: 200px; /* 初期の高さ */
    padding: 10px; /* 内側の余白 */
    font-size: 16px; /* テキストの大きさ */
    border: 1px solid #ccc; /* ボーダーのスタイル */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); /* 内側の影 */
    resize: both; /* 縦横にリサイズ可能 */
    overflow: auto; /* テキストがオーバーフローしたときにスクロールバーを表示 */
  }

  /* 文字カウント - アコーディオン*/
.character-count details {
    max-width: 600px;
    margin-bottom: 7px;
    border: 2px solid #d6dde3;
    border-radius: 5px;
}

.character-count details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.character-count details summary::-webkit-details-marker {
    display: none;
}

.character-count details summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.character-count details[open] summary::after {
    transform: rotate(225deg);
}

.character-count details p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em .3em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.character-count details[open] p:last-child{
	margin-bottom:15px;
}

.character-count details[open] p {
    transform: none;
    opacity: 1;
}


/* -----------------------------------------
会社満足度ツール
--------------------------------------------*/

.company-score-tool table{
    border-collapse:collapse;
}
.company-score-tool table,.company-score-tool  th,.company-score-tool  td{
    border:solid 1px #eee;
}
.company-score-tool th,.company-score-tool  td{
    padding:8px;
    font-size:14px;
    text-align:center;
    vertical-align:center;
}
.company-score-tool th{
    background-color:#eee;
}
.company-score-tool tr > :first-child{
    width:200px;
    box-sizing:border-box;
}
.company-score-tool summary {
position: relative;
display: block; /* 矢印を消す */
padding: 20px 20px 20px 50px; /* アイコンの余白を開ける */
cursor: pointer; /* カーソルをポインターに */
font-weight: bold;
background-color: #e2f0f7;
transition: 0.2s;
max-width:250px;
}
.company-score-tool summary:hover {
background-color: #ccebfb;
}
.company-score-tool summary::-webkit-details-marker {
display: none;　/* 矢印を消す */}


/* 疑似要素でアイコンを表示 */
.company-score-tool summary:before,
.company-score-tool summary:after {
content: "";
margin: auto 0 auto 20px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
}
.company-score-tool summary:before {
width: 16px;
height: 16px;
border-radius: 4px;
background-color: #1da1ff;
}
.company-score-tool summary:after {
left: 6px;
width: 5px;
height: 5px;
border: 4px solid transparent;
border-left: 5px solid #fff;
box-sizing: border-box;
transition: .1s;
}
.company-score-tool summary output{
font-size:100px;
}
/* オープン時のスタイル */
.company-score-tool details[open] summary {
background-color: #ccebfb;
}
.company-score-tool details[open] summary:after {
transform: rotate(90deg); /* アイコンを回転 */
left: 4px; /* 位置を調整 */
top: 5px; /* 位置を調整 */
}

/* アニメーション */
.company-score-tool details[open] .details-content {
animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(-10px);
}
100% {
opacity: 1;
transform: none;
}
}

/* ベーススタイルに Track も合わせて設定 */
.company-score-tool input[type="range"] {
-webkit-appearance: none; /* 🚩これ無しだとスタイルがほぼ全く反映されないので注意 */
appearance: none;
cursor: pointer; /* カーソルを分かりやすく */
outline: none; /* スライダーのアウトラインは見た目がキツイので消す */
height: 5px; /* バーの高さ */
width: 90%; /* バーの幅 */
background: #8acdff; /* バーの背景色 */
border-radius: 10px; /* バーの両端の丸み */
border: solid 3px #dff1ff; /* バー周囲の線 */
}
/* WebKit向けのつまみ */
.company-score-tool input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none; /*  🚩デフォルトのつまみのスタイルを解除 */
background: #53aeff; /* 背景色 */
width: 24px; /* 幅 */
height: 24px; /* 高さ */
border-radius: 50%; /* 円形に */
box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15); /* 影 */
}
/* Moz向けのつまみ */
input[type="range"]::-moz-range-thumb {
background: #53aeff; /* 背景色 */
width: 24px; /* 幅 */
height: 24px; /* 高さ */
border-radius: 50%; /* 円形に */
box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15); /* 影 */
border: none; /* デフォルトの線を消す */
}
/* Firefoxで点線が周りに表示されてしまう問題の解消 */
.company-score-tool input[type="range"]::-moz-focus-outer {
border: 0;
}
/* つまみをドラッグしているときのスタイル */
.company-score-tool input[type="range"]:active::-webkit-slider-thumb {
box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.3);
}




/* -----------------------------------------------
キャリアテスト
--------------------------------------------------*/




.career-test dt{
	margin-bottom:20px;
	margin-top:50px;
}
.career-test dd{
	padding:10px 10px 10px 0;
}
.career-test summary {
position: relative;
display: block;
padding: 20px 20px 20px 50px;
cursor: pointer;
font-weight: bold;
background-color: #e2f0f7;
transition: 0.2s;
max-width:250px;
}
.career-test summary:hover {
background-color: #ccebfb;
}
.career-test summary::-webkit-details-marker {
display: none;　
}




/* 疑似要素でアイコンを表示 */
 .career-test summary:before,
.career-test summary:after {
content: "";
margin: auto 0 auto 20px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
}
.career-test summary:before {
width: 16px;
height: 16px;
border-radius: 4px;
background-color: #1da1ff;
}
.career-test summary:after {
left: 6px;
width: 5px;
height: 5px;
border: 4px solid transparent;
border-left: 5px solid #fff;
box-sizing: border-box;
transition: .1s;
}
.career-test summary output{
font-size:100px;
}
/* オープン時のスタイル */
.career-test details[open] summary {
background-color: #ccebfb;
}
.career-test details[open] summary:after {
transform: rotate(90deg); /* アイコンを回転 */
left: 4px; /* 位置を調整 */
top: 5px; /* 位置を調整 */
}

/* アニメーション */
.career-test details[open] .details-content {
animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(-10px);
}
100% {
opacity: 1;
transform: none;
}
}

/* ベーススタイルに Track も合わせて設定 */
.career-test input[type="range"] {
	-webkit-appearance: none; /* 🚩これ無しだとスタイルがほぼ全く反映されないので注意 */
	appearance: none;
	cursor: pointer; /* カーソルを分かりやすく */
	outline: none; /* スライダーのアウトラインは見た目がキツイので消す */
	height: 5px; /* バーの高さ */
	width: 40%;
	background: #8acdff; /* バーの背景色 */
	border-radius: 10px; /* バーの両端の丸み */
	border: solid 3px #dff1ff; /* バー周囲の線 */
	}
	/* WebKit向けのつまみ */
	.career-test input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; /*  🚩デフォルトのつまみのスタイルを解除 */
	background: #53aeff; /* 背景色 */
	width: 24px; /* 幅 */
	height: 24px; /* 高さ */
	border-radius: 50%; /* 円形に */
	box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15); /* 影 */
	}
	/* Moz向けのつまみ */
	input[type="range"]::-moz-range-thumb {
	background: #53aeff; /* 背景色 */
	width: 24px; /* 幅 */
	height: 24px; /* 高さ */
	border-radius: 50%; /* 円形に */
	box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15); /* 影 */
	border: none; /* デフォルトの線を消す */
	}
	/* Firefoxで点線が周りに表示されてしまう問題の解消 */
	.career-test input[type="range"]::-moz-focus-outer {
	border: 0;
	}
	/* つまみをドラッグしているときのスタイル */
	.career-test input[type="range"]:active::-webkit-slider-thumb {
	box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.3);
	}



/* -----------------------------------------------
カスタムCSS
--------------------------------------------------*/

.entry-container p a, .entry-container ul a {
	color: #1a0dab;
	text-decoration: underline;
}

/* Custom CSS */
@media (min-width: 768px) {.imgtext-container > .text {flex: 3 !important;}}





/* ブログ記事風のコンテナ レイアウト */
.portfolio img {
    aspect-ratio: auto;
}
/* YouTube埋め込み */

.youtube-responsive-box {
	width: 100%;
	aspect-ratio: 16 / 9;
  }
  .youtube-responsive-box iframe {
	width: 100%;
	height: 100%;
  }

  /* Python埋め込み */
.python-box {
	position: relative;
	padding-bottom: 350%; /* Adjusted for a 5:20 aspect ratio */
	height: 0;
	overflow: hidden; /* Prevents outer scroll bar */
}
.python-box iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Adjust the aspect ratio for larger screens */
@media (min-width: 768px) {
	.python-box {
		padding-bottom: 180%; /* Smaller padding for larger screens */
	}
}

.st-emotion-cache-zq5wmm {
    display: none !important;
}

/* Tool Explanation Block on Heysho tools */
.explain_tool{
	margin:20px;
	padding: 0;
	font-size:16px;
	line-height:1.4;
	list-style:square;
}
.explain_tool li{
	padding: 8px 5px 5px 5px;
}
/* Tool Explanation Block on Heysho tools */


.bg1 {background-color: #e9e5e9;}

/* AI Agent List on Tool Page */
.aiagent p {background-color:#fff ;padding:20px;}


/* AI Agent Input Form */
/* --------------------------------------- */

/* Container for Form */
		/* AI Agent Input Form */
/* --------------------------------------- */

/* Container for Form */
#aiAgentForm {
	margin: 0 auto; /* Center form */
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
	background-color: #f9f9f9; /* Light background color */
}

/* Label Styling */
#aiAgentForm label {
	display: block;
	font-size: 1rem;
	color: #333;
	margin-bottom: 8px;
	font-weight: bold;
}



#aiAgentForm select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

/* モバイル対応 */
@media (max-width: 768px) {
    #aiAgentForm select {
        width: 100%;
    }
}

/* Input Fields */
#aiAgentForm textarea,
#aiAgentForm input[type="text"] {
	width: 100%; /* Full width */
	padding: 10px;
	margin-bottom: 15px;
	font-size: 1rem;
	border-radius: 5px;
	border: 1px solid #ccc;
	resize: vertical; /* Allows textarea resizing only vertically */
	box-sizing: border-box; /* Ensures padding doesn't affect width */
}

/* Button Styling */
#submitButton {
	width: 100%;
	padding: 12px;
	font-size: 1rem;
	font-weight: bold;
	color: #fff;
	background-color: #4CAF50; /* Green button */
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

/* Button Hover and Active States */
#submitButton:hover {
	background-color: #45A049; /* Darker green on hover */
}

#submitButton:active {
	background-color: #3e8e41; /* Darkest green on click */
}

/* Add padding to the bottom of the form */
#aiAgentForm {
	padding-bottom: 25px;
}

.spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 10px auto;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#loadingIndicator {
	text-align: center;
	color: #666;
}

button:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.toc {
	text-decoration: underline;
	color:#1a0dab;

}

/* Custimaze the style */

body {
	margin: 0;
	background-color: #eeeeee;
	color: #252525;
	font-family: "Helvetica","Arial","BIZ UDGothic","Hiragino Kaku Gothic ProN","Hiragino Sans",YuGothic,"Yu Gothic","メイリオ",Meiryo,sans-serif !important;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: none;
}

/* ブログ記事風のコンテナ レイアウト */


.blog-container .heading-decoration + p {
  margin-top: 1em;
  margin-bottom: 2em;
  color: #707070;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
}

.blog-container .heading-decoration {
  color: #222 !important;
  line-height: 1.6 !important;
  padding: 0!important;
}

.blog-container h1{
  color: #222;
  line-height: 1.6;
  padding: 0 7px;

}


.blog-container {
  margin-top: 3px;
  padding-top: 50px;
}

.blog-container .entry-img img {
  width: 100%;
  max-height: 600px;
  margin: 0 auto;
  max-width: 800px;
  object-fit: cover;
  margin-bottom: calc(var(--v-space)* 1.2 / 3);
}

.blog-container .heading-decoration {
  font-size: clamp(26px, 6.25vw, 40px);
}

.blog-container h1{
font-size: clamp(24px, 6.25vw, 35px);
}

.blog-container h2 {
border-bottom: solid 2px #555;
padding-bottom: .4em;
margin: 3.5em 0 1.2em;
font-size: 1.5em;
line-height: 1.6;
}


.blog-container > p {
  line-height: 1.93;
}
.blog-container p {
  margin: 0 0 1.5em;
}
p {
  word-wrap: break-word;
}


.blog-container h3 {
  margin: 2.6em 0 1.1em;
  padding: 10px 0 10px 20px;
  border-left-width: 4px;
  border-color: #444;
  border-left-style: solid;
  font-size: 1.3em;
  line-height: 1.5;
}

.blog-container p{
  font-size: clamp(16px, 2.2vw, 17px);
}

.blog-container ol,.blog-container ul {
  margin: 1em 0;
  padding: 0.4em 1em 1em 2.5em;
}

.blog-container li,.blog-container li {
  padding: 5px 0;
  line-height:1.6;
}

.blog-container ul li ul, .blog-container ul li ol, .blog-container ol li ul, .blog-container ol li ol {
  margin: 0;
  padding: 0.5em 0 0.5em 1.3em;
  border: none;
}

.blog-container h4 {
  position: relative;
  padding-left: 1.4em;
  line-height: 1.4;
}

.blog-container h4 {
  margin: 2.5em 0 1.4em;
  font-size: 1.15em;
}

.blog-container h4:before {
  content: "◻︎";
  position: absolute;
  font-size: 1em;
  left: 0;
  top: 0;
}

.other-article .plan h3 {
  margin-bottom: 38px;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 600;
}

.blog-container table {
  border-collapse: collapse;
  border: solid 1px #ddd;/*表全体を線で囲う*/
  margin:30px 0 50px 0;
}
.blog-container table th {/*table内のthに対して*/
  padding: 10px;/*上下左右10pxずつ*/
  border: dashed 1px #ddd;
}
.blog-container table td {/*table内のthに対して*/
  padding: 15px;/*上下左右10pxずつ*/
  border: dashed 1px #ddd;
  font-size:14px;
  line-height:1.4;
}


@media screen and (max-width: 640px) {
  .blog-container .scroll {
    overflow-x: auto;
  }
  .blog-container .scroll table {
    min-width: 640px;
    margin: 0 10px 50px;
  }
  .blog-container .scroll table td {
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
  }
}


.blog-container pre {
  margin: 1em 0;
  padding: 1em;
  border-radius: 5px;
  background: #25292f;
  color: #fff;
  overflow-x: auto; /* ⭐ */
  -webkit-overflow-scrolling: touch; /* ⭐ */
}



/* Trend Graph */
/* --------------------------------------- */

.trend-entry .modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 30px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
}
.trend-entry .modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 93%;
	max-width: 1000px;
	animation-name: animatetop;
	animation-duration: 0.4s
}
.trend-entry .close {
	color: transparent;
	position: absolute;
	top: 10px;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
}
.trend-entry .close:hover,
.trend-entry .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}
@keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
}

/* 他の記事を読む - 新デザイン */
.other-articles {
	padding: var(--v-space) 0;
	background-color: #e9e5e9;
}

.other-articles h2 {
	position: absolute;
	top: calc((var(--v-space) + 0.6em) * -1);
	font-family: "Montserrat", sans-serif;
	font-size: clamp(40px, 5.2vw, 70px);
	font-weight: 300;
	color: #222222;
	opacity: 0.5;
	pointer-events: none;
}

.other-articles h2 span {
	font-family: Meiryo;
	font-size: clamp(14px, 2vw, 20px);
	font-weight: normal;
	color: #222222;
	opacity: 1;
	display: block;
	margin-top: 0.5em;
}

.other-articles-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 12px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.other-articles-list li {
	margin: 0;
	padding: 0;
}

.other-articles-list a {
	display: block;
	padding: 12px 16px;
	background-color: #ffffff;
	border-radius: 6px;
	color: #222222;
	text-decoration: none;
	font-size: clamp(13px, 1.8vw, 16px);
	line-height: 1.4;
	transition: all 0.2s ease;
}

.other-articles-list a:hover {
	background-color: #f8f9fa;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.other-articles .btn {
	display: block;
	width: fit-content;
	margin: 30px auto 0;
	padding: 12px 24px;
	background-color: #e8b368;
	color: #ffffff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: bold;
	transition: background-color 0.2s ease;
}

.other-articles .btn:hover {
	background-color: #f2d6ae;
}

@media (min-width: 768px) {
	.other-articles-list {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: 16px 24px;
	}
}

@media (min-width: 1024px) {
	.other-articles-list {
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
		gap: 20px 30px;
	}
}


  /* ホームのボタンの幅を調整 */

.plan .btn {
  /* width: auto; */
  width: 300px;
  margin: 0 auto;
}

  /* ホームのCategoriesの高さを調整 */

.plan {
  padding: 60px 27px 50px 27px;
}

/* カテゴリーページのスタイル */
.article-list ul, .related-categories ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.article-list li, .related-categories li {
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.article-list a, .related-categories a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  display: block;
  padding: 4px 0;
}

.article-list a:hover, .related-categories a:hover {
  color: #2563EB;
  text-decoration: underline;
}

.related-categories {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.blog-container img{
  margin-bottom: 30px;
}
