
/* 固定ページ汎用・ポリシー関連 */
.page__body .policy h3 {
	font-size: 2.6rem;
	border-left: 6px solid #DC0000;
	margin: 3rem 0;
	padding: 1rem 0 1rem 1.5rem;
}
@media screen and (width < 768px) {
	.page__body .policy h3 {
		font-size: 2rem;
		padding: .5rem 0 .5rem 1rem;
	}
}
.page__body .policy h4 {
	font-size: 2.1rem;
	border-bottom: 1px solid #bbb;
	font-weight: 700;
	margin: 2.5rem 0;
}
@media screen and (width < 768px) {
	.page__body .policy h4 {
		font-size: 1.6rem;
	}
}
.page__body .policy h5 {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 1.5rem 0;
}
@media screen and (width < 768px) {
	.page__body .policy h5 {
		font-size: 1.3rem;
	}
}
.block-indent {
	padding: 1rem 4rem;
}
@media screen and (width < 768px) {
	.block-indent {
		padding: 1rem 0;
	}
}
.page__body table {
	width: 100%;
	border: 1px solid #ddd;
	border-collapse: collapse;
	margin: 1em 0;
}
.page__body table th {
	font-weight: 400;
	background: #f5f5f5;
	width: 50%;
	border: 1px solid #ddd;
	padding: 10px 20px;
}
.page__body table td {
	background: #fff;
	width: 50%;
	border: 1px solid #ddd;
	padding: 10px 20px;
}
@media screen and (width < 768px) {
    .page__body table th,
    .page__body table td {
        display: block;
        width: 100%;
    }
}
.page__body .policy ol.countable {
	list-style-type: decimal;
}

/* 入塾 */
#guidance__detail #contents h3 {
	font-size: 2.6rem;
	border-left: 6px solid #DC0000;
	margin: 3rem 0;
	padding: 1rem 0 1rem 1.5rem;
}
@media screen and (width < 768px) {
	#guidance__detail #contents h3 {
		font-size: 2rem;
		padding: .5rem 0 .5rem 1rem;
	}
}
#guidance__detail #contents h4 {
	font-size: 2.1rem;
	border-bottom: 1px solid #bbb;
	font-weight: 700;
	margin: 2.5rem 0;
}
@media screen and (width < 768px) {
	#guidance__detail #contents h4 {
		font-size: 1.6rem;
	}
}
#guidance__detail #contents h5 {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 1.5rem 0;
}
@media screen and (width < 768px) {
	#guidance__detail #contents h5 {
		font-size: 1.3rem;
	}
}
#message .__inner {
    max-width: 95rem;
}
#guidance__detail #contents a {
	text-decoration: underline;
	color: #cd0000;
}
#guidance__detail #contents a:hover {
	text-decoration: none;
}
#guidance__detail #contents .btn__area a {
	text-decoration: none;
	color: #fff;
}
#guidance__detail #contents .btn__area a:hover {
	text-decoration: none;
	color: #fff;
}
#guidance__detail .page__body {
	padding-bottom: 0;
}
#guidance__detail #contents {
	margin-bottom: 8rem;
}
#guidance__detail #guidance__menu {
	margin-bottom: 0 !important;
}
#guidance__detail #contents ul {
	list-style-type: disc;
	margin: 1.5rem 0 1.5rem 2rem;
}
#guidance__detail #contents ol {
	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
   	-ms-flex-wrap: wrap;
  	flex-wrap: wrap;
	gap: 40px;
	margin: 20px 0;
}
#guidance__detail #contents ol li {
	width: 410px;
}
#guidance__detail #contents ol li div {
	position: relative;
     padding-bottom: 56.25%;
     height: 0;
     overflow: hidden;
}
#guidance__detail #contents ol li div iframe {
	position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}
#guidance__detail #contents ol li p {
	padding: 1rem 0;
}
#guidance__detail #contents table {
	width: 100%;
	border: 1px solid #ddd;
	border-collapse: collapse;
	margin: 1em 0;
}
#guidance__detail #contents table th {
	font-weight: 400;
	background: #f5f5f5;
	width: 50%;
	border: 1px solid #ddd;
	padding: 10px 20px;
}
#guidance__detail #contents table td {
	text-align: right;
	width: 50%;
	border: 1px solid #ddd;
	padding: 10px 20px;
}
#guidance__detail #contents .indent {
	padding-left: 5rem;
}
#guidance__detail #contents .btn__backNumber {
	width: 25rem;
	margin-bottom: 3rem;
}
#guidance__detail #contents .btn__backNumber:hover {
	background-color: #DC0000;
	color: #fff;
}
#guidance__detail #contents .__inner p {
	margin-bottom: 2rem;
}
.header__nav__list {
	max-width: none;
}
.header__nav {
	max-width: none;
}
.news__item {
	margin-bottom: 1.5rem;
}
#contents .__inner {
	max-width: 124rem;
}
@media screen and (width < 768px) {
    #contents .__inner {
        max-width: 100%;
    }
}
#guidance__detail #contents .request {
	width: 80%;
	margin: 0 auto;
}
@media screen and (width < 768px) {
	#guidance__detail #contents .request {
		width: 100%;
	}
}
#guidance__detail #contents .request table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}
#guidance__detail #contents .request table th {
	width: 30%;
	font-weight: 400;
	border: 0;
	padding: 10px 0;
	background: none;
}
#guidance__detail #contents .request table td {
	width: 70%;
	text-align: left;
	border: 0;
	padding: 10px 0;
}
@media screen and (width < 768px) {
    #guidance__detail #contents .request table th,
    #guidance__detail #contents .request table td {
        display: block;
        width: 100%;
    }
}
#guidance__detail #contents .request table th p,
#guidance__detail #contents .request table td p {
	margin-bottom: 0;
	padding-bottom: 0;
}
#guidance__detail #contents input,
#guidance__detail #contents select {
	border: 1px solid #ccc;
}
#guidance__detail #contents input.name-kanji,
#guidance__detail #contents input.name-kana {
	width: 80%;
	padding: 0.75rem 1rem;
}
@media screen and (width < 768px) {
	#guidance__detail #contents input.name-kanji,
	#guidance__detail #contents input.name-kana {
		width: 100%;
	}
}
#guidance__detail #contents input.zipcode {
	width: 25%;
	padding: 0.75rem 1rem;
	margin: 0 1rem 1rem 0;
}
#guidance__detail #contents input.address-1,
#guidance__detail #contents input.address-2 {
	width: 100%;
	padding: 0.75rem 1rem;
}
#guidance__detail #contents input.address-1 {
	margin: 0 1rem 1rem 0;
}
#guidance__detail #contents input.email,
#guidance__detail #contents input.phone {
	width: 80%;
	padding: 0.75rem 1rem;
}
@media screen and (width < 768px) {
	#guidance__detail #contents input.email,
	#guidance__detail #contents input.phone {
		width: 100%;
	}
}
#guidance__detail #contents select {
	background: #f9f9f9;
	padding: 0.75rem 1rem;
	margin: 0 1rem 1rem 0;
}
#guidance__detail #contents input[type="checkbox"] {
	width: 20px;
	height: 20px;
}
#guidance__detail #contents input[type="submit"] {
	width: 200px;
	padding: 1.5rem 0;
	text-align: center;
	background: #f9f9f9;
}
#guidance__detail #contents .check {
	text-align: center;
}
#guidance__detail #contents .submit {
	width: 100%;
	text-align: center;
}
#guidance__detail #contents .submit input {
	margin: 0 auto;
}
#guidance__detail #contents .required {
	color: #cd0000;
}
@media screen and (width < 768px) {
	#guidance__detail #contents .wpcf7-spinner {
			display: block;
	}
}
#faq .faq__box dd {
	font-weight: 300;
}
.guidance-link-top {
	text-align: right;
	margin: 0 0 6rem 0;
}
.guidance-link-bottom {
	text-align: center;
	margin: 10rem 0 0 0;
}
.guidance-link-top a,
.guidance-link-bottom a {
	padding: 2.5rem 6rem;
	font-size: 2rem;
	font-weight: 600;
	color: #fff;
	background: #cd0000;
	text-decoration: none;
}
.guidance-link-top a:hover,
.guidance-link-bottom a:hover {
	color: #cd0000;
	background: #fff;
	transition: .5s;
}
.mv__message {
	-webkit-box-orient: vertical;
  	-webkit-box-direction: normal;
  	-ms-flex-direction: column;
  	flex-direction: column;
}

 /* 入塾案内トップ「新着情報」修正 */
#guidance__top .news__body {
	border-top: none;
}
#guidance__top .news__body .message {
	color: #cd0000;
	border-bottom: 0.1rem solid #bbb;
	padding-bottom: 1rem;
}

/* プライバシー専用 */
.page__body table.privacy ol {
    margin-bottom: 0;
}

/* スマホフッタ */
@media screen and (width < 768px) {
    .footer__bottom__list {
        -webkit-box-orient: vertical;
  		-webkit-box-direction: normal;
  		-ms-flex-direction: column;
  		flex-direction: column;
  		gap: 0;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        font-size: 1.4rem;
    }
    .footer__bottom__list li {
        margin-bottom: 1.5rem;
    }
}

/* トップページ調整 */
#home .column__block {
	padding-top: 15rem;
	margin-top: -15rem;
}
.column__block__title b {
    font-size: 1.9rem;
}
.column__block__title {
	width: 34rem;
}
@media screen and (width < 768px) {
    .column__block__title b {
        font-size: 1.8rem;
    }
}
.column__block__title span {
    font-size: 2.3rem;
    font-weight: 700;
}
@media screen and (width < 768px) {
    .column__block__title span {
        font-size: 2.2rem;
    }
}


/* チェックボックス全体 */
.check .wpcf7-list-item {
	margin-left: 0;
}
.checkbox {
	width: fit-content;
	display: grid;
	grid-template-columns: auto 1fr; /* auto はアイコン、1fr はラベル文字列を想定 */
	gap: 10px;
	padding: 20px 0;
	font-size: 16px;
	font-weight: normal;
	line-height: 1.5;
	color: #404040;

	/* チェックボックス全体（アイコンを上に表示） */
	&.checkbox--icon-top {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr; /* auto はアイコン、1fr はラベル文字列を想定 */
		place-items: center;
		text-align: center;
	}
	/* チェックボックス全体（アイコンを下に表示） */
	&.checkbox--icon-bottom {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto; /* 1fr はラベル文字列、auto はアイコンを想定 */
        place-items: center;
        text-align: center;
	}
	/* チェックボックス全体（アイコンを右に表示） */
	&.checkbox--icon-right {
        width: auto;
        display: grid;
        grid-template-columns: 1fr auto; /* 1fr はラベル文字列、auto はアイコンを想定 */
        border-bottom: dashed 1px #BDBDBD;
	}
	&.checkbox--icon-right:last-child {
        border-bottom: none;
	}
	/* チェックボックス全体：非活性の見た目 */
	&:has(.checkbox_icon:disabled) {
        opacity: 0.4;
	}
}
/* アイコン */
.checkbox_icon {
	position: relative;
	width: 24px;
	height: 24px;
	appearance: none;
	background: #FFFFFF;
	border: solid 2px #808080 !important;
	border-radius: 4px;
	box-shadow: 0 0 0 0 transparent;
	transition-duration: 0.2s;
	transition-property: background-color, border, box-shadow, color;
	padding: 0 !important;
	margin-right: 0.5em;
	/* 強制カラーモードが有効のときは、既定のシステムカラー値を設定して、トランジションを無効にする */
	@media (forced-colors: active) {
		transition: none;
		border-color: CanvasText;
	}
	/* アイコン：選択済みの見た目 */
	&:checked {
		background: #3223B3; /* 紫色 */
		border-color: #3223B3; /* 紫色 */
		/* 強制カラーモードが有効のときは、システムカラーを設定 */
		@media (forced-colors: active) {
			background-color: Canvas;
			border-color: CanvasText;
		}
	}
	/* アイコン：活性時のホバー演出 */
	&:hover:enabled {
		/* 強制カラーモードが無効かつ、ホバーが有効のときは、ホバー演出を追加 */
		@media (forced-colors: none) and (any-hover: hover) {
			border-color: #3223B3; /* 紫色 */
			box-shadow: 0 0 0 4px #D2CEFF; /* 薄い紫色 */
		}
	}
	/* チェックマーク */
	&::before {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		content: "";
		opacity: 0;
		mask-image: url(/wp-content/themes/tamanos_themes/assets/images/guidance/check-form.svg);
		mask-repeat: no-repeat;
		mask-size: contain;
		background-color: #FFFFFF;
		transition: opacity 0.2s;
	}
	/* 強制カラーモードが有効のときは、既定のシステムカラー値を設定して、トランジションを無効にする */
	@media (forced-colors: active) {
		&::before {
		transition: none;
		background-color: CanvasText;
		}
	}
	/* チェックマーク：選択済みの見た目 */
	&:checked::before {
		opacity: 1;
	}
}