@charset "utf-8";
/* スマホ */
@media (width < 768px) {}
@media (max-width: 767.99px) {}
/* タブレット */
@media (width >= 768px) {}
@media (width >= 1024px) {}
@media (width >= 768px) and (width < 1024px) {}
@media (width >= 768px) and (width < 1280px) {}
@media (width >= 1024px) and (width < 1280px) {}
@media (min-width: 768px) {}
@media (min-width: 1024px) {}
@media (min-width: 768px) and (max-width: 1023.99px) {}
@media (min-width: 768px) and (max-width: 1279.99px) {}
@media (min-width: 1024px) and (max-width: 1279.99px) {}
/* PC */
@media (width >= 1280px) {}
@media (min-width: 1280px) {}

/* *****************************************************************************
// BaseのCSS
***************************************************************************** */
/* *************************************
// 変数定義
************************************* */
:root {
	--main-color: #913C2F; 
	--sub-color: #f9afaf;
	--text-color: #333;
	--link-color: #00a;
	--default-space: 2rem;
}

/* *************************************
// Base
************************************* */
body {
	font-family: "Noto Sans Light" , "Helvetica Neue", Helvetica, Arial, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: var(--text-color);
	background-color: #ede9e7;
	overflow-x: hidden;
	scroll-behavior: smooth;
}
b,strong {
	font-weight: 600;
}
a {
	color: var(--link-color);
}
a:hover {
	color: #005177;
}
img, video {
	max-width: 100%;
	height: auto;
	display: block;
}
pre {
	white-space: pre-wrap;
}

/* フォーム用 パーツ*/
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
	display: block;
	width: 100%;
	max-width: 450px;
	background-color: #eaedf2;
	padding: 0 0.75rem;
	line-height: 2.5rem;
	border-radius: 3px;
	min-height: 40px;
}
textarea {
	max-height: 120px;
}
select {
	background-image: linear-gradient( -45deg, transparent 0%, transparent 50%, #ccc 50%, #ccc 100% ), linear-gradient( 45deg, transparent 0%, transparent 50%, #ccc 50%, #ccc 100% );
	background-position: right 0.25em center, right 0.75em center;
	background-size: 0.5em 0.5em, 0.5em 0.5em;
	background-repeat: no-repeat, no-repeat;
	padding-right: 2em;
}
input[type="radio"] + span,
input[type="checkbox"] + span {
	position: relative;
	cursor: pointer;
	padding-left: 1.5em;
	line-height: 2.5rem;
}
input[type="radio"] + span:before,
input[type="radio"] + span:after {
	content: "";
	display: block; 
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
}
input[type="radio"] + span:before {
	border: 1px solid var(--text-color);
	width: 1.2em;
	left: 0;
}
input[type="radio"] + span:after {
	background-color: var(--text-color);
	opacity: 0;
	width: 0.8em;
	left: 0.2em;
}
input[type="radio"]:checked + span::after {
	opacity: 1;
}
input[type="checkbox"] + span:before,
input[type="checkbox"] + span:after {
	content: "";
	display: block; 
	position: absolute;
}
input[type="checkbox"] + span:before {
	aspect-ratio: 1 / 1;
	border: 1px solid var(--text-color);
	width: 1.2em;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
input[type="checkbox"] + span:after {
	border-bottom: 2px solid var(--text-color);
	border-left: 2px solid var(--text-color);
	opacity: 0;
	width: 0.8em;
	height: 0.4em;
	top: calc(50% - 0.3em);
	left: 0.2em;
	transform: rotate(-45deg);
}
input[type="checkbox"]:checked + span::after {
	opacity: 1;
}
input[type="date"] {
	align-items: center;
}
.wpcf7-list-item {
	line-height: 2.5rem;
}
.wpcf7-not-valid-tip {
	font-size: 0.8rem;
	font-weight: bold;
	margin: 0.5em 0 0;
}
::placeholder {
	color: #999;
}

table a {
  color: #0073aa;
}
table a:hover {
  color: #005177;
}

/* *************************************
// 汎用ID・Class
************************************* */
#container {
	max-width: 100%;
}
.wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.league_inner {
    padding-top: 120px;
    color: var(--main-color);
}

/* ==============================================
   top_league_content のレスポンシブ対応（統合版）
   ============================================== */
.top_league_content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 0;
    width: 100%;
}

/* 画像エリア - デスクトップでは40%幅 */
.top_league_images {
    flex: 0 0 40%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    margin-left: 30px;
}

.top_league_images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* テキストエリア - デスクトップでは60%幅 */
.top_league_text {
    flex: 1;
    margin-top: 20px;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cf,
.clearfix {
	display: flow-root;
}

/* 行間 */
#content p {
	margin-bottom: 1rem;
}

/* PC・SPの表示 / 非表示 */
@media (width < 768px) {
	.pc_only {
		display: none;
	}
}
@media (width >= 768px) {
	.sp_only {
		display: none;
	}
}

/*電話番号リンク*/
a[href^="tel:"] {
	text-decoration: none;
	color: inherit;
}
@media (width >= 768px) {
	a[href^="tel:"] {
		pointer-events: none;
	}
}

/* テーブル */
@media (width < 768px) {
	table.two_column tbody th,
	table.two_column tbody td {
		display: block;
	}
}

/* 分割 */
.flex,
.two_in_one,
.three_in_one,
.four_in_one,
.five_in_one,
.six_in_one {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.flex.reverse,
.two_in_one.reverse,
.three_in_one.reverse,
.four_in_one.reverse,
.five_in_one.reverse,
.six_in_one.reverse {
	flex-direction: row-reverse;
}
.flex > div,
.two_in_one > div,
.three_in_one > div,
.four_in_one > div,
.five_in_one > div,
.six_in_one > div {
	width: 100%;
}
@media (width >= 768px) {
	/* 2分割 */
	.two_in_one > div {
		width: calc(100% / 2);
	}
	.flex > div:where(:nth-child(1):nth-last-child(2)),
	.flex > div:where(:nth-child(2):nth-last-child(1)) {
		width: calc(100% / 2);
	}
	/* 3分割 */
	.three_in_one > div {
		width: calc(100% / 3);
	}
	.flex > div:where(:nth-child(1):nth-last-child(3)),
	.flex > div:where(:nth-child(2):nth-last-child(2)),
	.flex > div:where(:nth-child(3):nth-last-child(1)) {
		width: calc(100% / 3);
	}
	/* 4分割 */
	.four_in_one > div {
		width: calc(100% / 4);
	}
	.flex > div:where(:nth-child(1):nth-last-child(4)),
	.flex > div:where(:nth-child(2):nth-last-child(3)),
	.flex > div:where(:nth-child(3):nth-last-child(2)),
	.flex > div:where(:nth-child(4):nth-last-child(1)) {
		width: calc(100% / 4);
	}
	/* 5分割 */
	.five_in_one > div {
		width: calc(100% / 5);
	}
	.flex > div:where(:nth-child(1):nth-last-child(5)),
	.flex > div:where(:nth-child(2):nth-last-child(4)),
	.flex > div:where(:nth-child(3):nth-last-child(3)),
	.flex > div:where(:nth-child(4):nth-last-child(2)),
	.flex > div:where(:nth-child(5):nth-last-child(1)) {
		width: calc(100% / 5);
	}
	/* 6分割 */
	.six_in_one > div {
		width: calc(100% / 6);
	}
	.flex > div:where(:nth-child(1):nth-last-child(6)),
	.flex > div:where(:nth-child(2):nth-last-child(5)),
	.flex > div:where(:nth-child(3):nth-last-child(4)),
	.flex > div:where(:nth-child(4):nth-last-child(3)),
	.flex > div:where(:nth-child(5):nth-last-child(2)),
	.flex > div:where(:nth-child(6):nth-last-child(1)) {
		width: calc(100% / 6);
	}
}

/* youtube レスポンシブ */
.youtube_wrap iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* アニメーション用 */
.animation {
	opacity: 0;
}
.animation.animated {
	opacity: 1;
}

/* *****************************************************************************
// 各種パーツ
***************************************************************************** */
/* *************************************
// 見出し(head line)
************************************* */
.hl001 {
	position: relative;
	background: rgba(0, 0, 0, 0.2);
	color: #fff;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-align: center;
	padding: 1.5em 0.5em;
	font-size: clamp(20px, 5.5vw, 50px);
}
.hl001 > *:first-child:nth-last-child(2) {
	line-height: 1.6;
}
.hl001 > *:nth-child(2):last-child {
	display: block;
	font-size: max(0.4em, 12px);
	line-height: 1;
}
.hl001:before {
	content: "";
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-image: url('../images/common/hl001_bg.webp');
	background-size: cover;
	background-position: center;
}

/* *************************************
// ボタン(button)
************************************* */
.btn001 {
	margin: var(--default-space) 0;
	margin-bottom: 80px;
}
.btn001 input[type="submit"],
.btn001 a {
	display: block;
	width: fit-content;
	padding: 0.5em 3em;
	margin: 0 auto;
	border-radius: 2em;
	white-space: nowrap;
	transition: all 0.5s;
	background: var(--main-color);
	color: #fff;
	cursor: pointer;
}
.btn001 input[type="submit"]:hover,
.btn001 a:hover {
	opacity: 0.7;
}

/* *************************************
// ローダー(loader)
************************************* */
#loader-bg.l001 {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0px;
	left: 0px;
	background: #fff;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}
.l001 .spinner {
	margin: 100px 0 0;
	width: 70px;
	text-align: center;
}
.l001 .spinner > div {
	width: 18px;
	height: 18px;
	background: var(--main-color);
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.l001 .spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}
.l001 .spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
	0%, 80%, 100% { -webkit-transform: scale(0) }
	40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
	0%, 80%, 100% { 
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	40% { 
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
	}
}

/* *************************************
// ヘッダー(header)
************************************* */
#container {
	padding-top: 60px;
}
.h001.header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	height: 60px;
	background: #eeeeee;
	box-shadow: 0px 1px 3px rgba(0,0,0,.5);
}
.h001.header #inner-header {
	padding: 10px 60px 10px 10px;
}
.h001.header .logo {
	position: relative;
	z-index: 100;
	height: 40px;
}
.h001.header .logo a {
	color: inherit;
	font-weight: bold;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	width: fit-content;
	height: 100%;
}
.h001.header .menu {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 101;
	width: 60px;
	height: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.h001.header label.buMenu {
	position: relative;
	z-index: 102;
	border: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 22px;
	width: 25px;
}
.h001.header label.buMenu .icon-bar {
	display: block;
	width: 25px;
	height: 2px;
	border-radius: 5px;
	margin-top: 0px;
	background-color: var(--main-color);
	transition: transform .3s ease-in-out, top .5s ease;
	position: absolute;
	left: 0;
}
.h001.header label.buMenu .icon-bar:nth-child(2) {
	top: calc(50% - 1px);
}
.h001.header label.buMenu .icon-bar:nth-child(3) {
	bottom: 0;
}
.h001.header .menu.open label.buMenu .icon-bar:nth-child(1) {
	top: calc(50% - 1px);
	transform: rotate(45deg);
	transform-origin: center;
}
.h001.header .menu.open label.buMenu .icon-bar:nth-child(2) {
	transform: scaleX(0);
}
.h001.header .menu.open label.buMenu .icon-bar:nth-child(3) {
	bottom: calc(50% - 1px);
	transform: rotate(135deg);
	transform-origin: center;
}
.h001.header .menu .menu_text {
	font-size: 11px;
	text-align: center;
	color: var(--main-color);
	line-height: 1.0;
	margin: 7px 0 0;
	font-weight: bold;
}
.h001.header .menu_box {
	position: absolute;
	width: 100%;
	min-height: 100vh;
	top: 0;
	left: 100%;
	background: #eeeeee;
	margin: 0;
	padding-top: 60px;
	z-index: 99;
	overflow-y: scroll;
	transition: left 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.h001.header .menu.open + .menu_box {
	left: 0;
}
.h001.header .menu_box nav ul {
	border-bottom: 1px dashed #ccc;
}
.h001.header .menu_box nav ul li {
	border-top: 1px dashed #ccc;
}
.h001.header .menu_box nav ul li a {
	display: block;
	color: inherit;
	padding: 0.75rem;
	line-height: 1.5;
}
.h001.header .menu_box nav ul li a > span {
	font-size: 0.8rem;
	margin-left: 0.5em;
}
.h001.header a.tel_box {
	display: block;
	margin-top: var(--default-space);
	color: inherit;
	text-align: center;
}
.h001.header a.tel_box .number {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.2;
	white-space: nowrap;
}
.h001.header a.tel_box .number img {
	display: block;
	height: 1.2em;
	width: auto;
	margin-right: 0.5rem;
}
.h001.header a.tel_box .time {
	display: block;
	font-size: 12px;
	font-weight: normal;
	width: 100%;
	margin-top: 4px;
	white-space: nowrap;
}
.h001.header a.contact_box {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: var(--default-space);
	padding: 1rem;
	color: #fff;
	background: var(--main-color);
	font-size: 14px;
	font-weight: bold;
	white-space: nowrap;
}
.h001.header a.contact_box img {
	display: block;
	height: 1.2em;
	width: auto;
	margin-right: 0.5rem;
}
.h001.header a.contact_box .text {
	letter-spacing: 0.075em;
}

/* PC */
@media (width >= 1280px) {
	#container {
		padding: 0;
	}
	.h001.header {
		position: sticky;
		height: auto;
	}
	.h001.header #inner-header {
		display: flex;
		justify-content: space-between;
		padding: 0;
	}
	.h001.header .logo {
		height: auto;
		display: flex;
		padding: 0 calc(var(--default-space) / 2);
	}
	.h001.header .header_box {
		float: right;
	}
	.h001.header .menu {
		display: none;
	}
	.h001.header .menu_box {
		position: static;
		overflow: hidden;
		display: flex;
		align-items: center;
		min-height: 0;
		padding: 0;
	}
	.h001.header .menu_box nav ul {
		display: flex;
		border-bottom: none;
	}
	.h001.header .menu_box nav ul li {
		border-top: none;
	}
	.h001.header .menu_box nav ul li a {
		text-align: center;
	}
	.h001.header .menu_box nav ul li a > span {
		display: block;
		margin: 0;
	}
	.h001.header a.tel_box {
		margin-top: 0;
		margin-left: calc(var(--default-space) / 2);
	}
	.h001.header a.contact_box {
		margin-top: 0;
		margin-left: calc(var(--default-space) / 2);
		align-self: stretch;
	}
}

/* -------------------------------------
// ヘッダー(header002)
---------------------------------------- */
.h002.header {
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background: #fff;
	box-shadow: 0px 1px 3px rgba(0,0,0,.5);
	position: sticky;
	z-index: 999;
	animation: none!important;
}
.h002.header #inner-header {
	padding: 10px 60px 10px 20px;
}
.h002.header .logo {
	position: relative;
	z-index: 100;
	height: 40px;
}
.h002.header .logo a {
	color: inherit;
	font-weight: bold;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	width: fit-content;
	height: 100%;
}
.h002.header .logo img {
	height: 40px;
}
.h002.header .menu {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 101;
	width: 60px;
	height: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.h002.header label.buMenu {
	position: relative;
	z-index: 102;
	border: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 22px;
	width: 25px;
}
.h002.header label.buMenu .icon-bar {
	display: block;
	width: 25px;
	height: 2px;
	border-radius: 5px;
	margin-top: 0px;
	background-color: var(--main-color);
	transition: transform .3s ease-in-out, top .5s ease;
	position: absolute;
	left: 0;
}
.h002.header label.buMenu .icon-bar:nth-child(2) {
	top: calc(50% - 1px);
}
.h002.header label.buMenu .icon-bar:nth-child(3) {
	bottom: 0;
}
.h002.header .menu.open label.buMenu .icon-bar:nth-child(1) {
	top: calc(50% - 1px);
	transform: rotate(45deg);
	transform-origin: center;
}
.h002.header .menu.open label.buMenu .icon-bar:nth-child(2) {
	transform: scaleX(0);
}
.h002.header .menu.open label.buMenu .icon-bar:nth-child(3) {
	bottom: calc(50% - 1px);
	transform: rotate(135deg);
	transform-origin: center;
}
.h002.header .menu .menu_text {
	font-size: 11px;
	text-align: center;
	color: var(--main-color);
	line-height: 1.0;
	margin: 7px 0 0;
	font-weight: bold;
	letter-spacing: 0;
}
.h002.header .menu_box {
	position: absolute;
	width: 100%;
	min-height: 100vh;
	top: 0;
	left: 0;
	background: #fff;
	margin: 0;
	padding-top: 60px;
	padding-left: 30px;
	padding-right: 30px;
	z-index: 99;
	overflow-y: auto;
	transition: opacity 0.5s;
	opacity: 0;
    pointer-events: none;
}
.h002.header .menu.open + .menu_box {
    opacity: 1;
    pointer-events: all;
}
.h002.header .menu_box nav {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.h002.header .menu_box nav ul {
	border-bottom: 1px dashed #ccc;
}
.h002.header .menu_box nav ul li {
	border-top: 1px dashed #ccc;
}
.h002.header .menu_box nav ul li a {
	display: block;
	color: inherit;
	padding: 0.5rem 0.75rem;
	line-height: 1.5;
    min-width: 130px;
    font-size: 12px;
	letter-spacing: 1px;
}
.h002.header .menu_box nav ul li a > span {
	font-size: 18px;
}
.h002.header .menu_box nav a.insta_icon {
	margin: 0 50px;
}
.h002.header .menu_box nav a.insta_icon img {
	width: 30px;
	height: 30px;
	min-width: 30px;
	object-fit: contain;
    vertical-align: bottom;
}

@media (width <= 1400px) {
	.h002.header.HeightMin .menu_box nav ul li a {
		min-width: 140px;
	}
}

@media (width >= 1280px) {
	.h002.header {
		padding-top: 0;
		position: relative;
		height: auto;
	}
	.h002.header #inner-header {
		display: flex;
		flex-wrap:wrap;
		justify-content: center;
		padding: 0;
	}
	.h002.header .logo {
		height: auto;
		display: flex;
		padding: 0 calc(var(--default-space) / 2);
		padding-bottom: 15px;
		padding-top: 15px;
	}
	.h002.header .logo img {
		height: 55px;
	}	
	.h002.header .header_box {
		width: 100%;
	}
	.h002.header .menu {
		display: none;
	}
	.h002.header .menu_box {
		position: static;
		overflow: hidden;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 0;
		padding: 0;
		opacity: 1;
		visibility: visible;
	    pointer-events: all;
	}
	.h002.header .menu_box nav {
		justify-content: center;
		align-items: center;
		flex-direction:row;
	}
	
	.h002.header .menu_box nav ul {
		display: flex;
		justify-content: center;
		border-bottom: none;
	}
	.h002.header .menu_box nav ul li {
		border-top: none;
		position: relative;
		padding: 5px;
	}
	.h002.header .menu_box nav ul li:after {
		content: "";
		display: block;
		width: 1px;
		height: 40%;
		background: #333;
		position: absolute;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
	}
	.h002.header .menu_box nav ul li:last-child:after {
		display:none;
	}
	.h002.header .menu_box nav ul li a {
		text-align: center;
	    min-width: 180px;
		transition: background 0.3s;
	}
	.h002.header .menu_box nav ul li a:hover {
		background: #eff8f8;
	}
	.h002.header .menu_box nav ul li a > span {
		display: block;
		margin: 0;
	}
	.h002.header.HeightMin{
		position: fixed;
	    z-index: 999;/*最前面へ*/
		animation: DownAnime 0.5s forwards!important;
	}
	.h002.header.HeightMin > #inner-header{
		flex-wrap: nowrap;
		justify-content: space-between;
	}
	.h002.header.HeightMin .header_box {
		width: auto;
	}
	.h002.header.HeightMin .logo img {
		height: 40px;
	}
}

@media (width < 1280px) {
	.h002.header .menu_box nav {
		margin-top: 50px;
		align-items: flex-start;
	}
	.h002.header .menu_box nav ul {
		border: none;
	}
	.h002.header .menu_box nav ul li {
		border: none;
	}
	.h002.header .menu_box nav ul li a {
		font-size: 20px;
	}
	.h002.header .menu_box nav ul li a > span {
		font-size: 80%;
		margin-left: 1em;
		color: var(--main-color);
	}
	.h002.header .menu_box nav a.insta_icon {
		margin: 50px .75rem 0 .75rem;
	}
}

@media (max-width: 767px) {
	.h002.header .menu_box {
		padding-left: 10px;
		padding-right: 10px;
	}
	.h002.header .menu_box nav {
		margin-top: 20px;
	}
	.h002.header .menu_box nav ul li a {
		font-size: 16px;
	}
	.h002.header .menu_box nav ul li a > span {
		font-size: 24px;
	    margin-right: 0.5em;
	}
}

@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-170px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

/* *************************************
// メインビジュアル(main visual)
************************************* */
.mv001 {
	height: 600px;
	overflow: hidden;
	position: relative;
	padding: 0;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	background: #ccc;
}
.mv001 .mv001_contents {
	position: absolute;
	color: #fff;
	top: 0;
	right: 0%;
	z-index: 1;
	display: grid;
	place-content: center;
	width: 60%;
	height: 100%;
}
.mv001 .mv001_contents .mv001_text {
	font-size: min(7vw, 36px);
	text-align: center;
}
.mv001 .mv001_contents .mv001_text2 {
	font-size: min(3vw, 18px);
	text-align: center;
}

.mv001 .mv001_slider,
.mv001 .mv001_slider .slick-list,
.mv001 .mv001_slider .slick-track {
	width: 100%;
	height: 100%;
}
.mv001 .mv001_slider::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0.3;
	background: #000;
}
.mv001 .mv001_slider .slick-slide {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.mv001 .mv001_slider > .image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}
.mv001 .mv001_slider .slick-prev,
.mv001 .mv001_slider .slick-next {
	background: rgba(0,0,0,0.4);
	border-radius: 50%;
	width: 30px;
	height: 30px;
	z-index: 1;
	display: flex;
	align-items: center;
}
.mv001 .mv001_slider .slick-prev {
	left: 20px;
	justify-content: flex-end;
}

.mv001 .mv001_slider .slick-next {
	right: 20px;
	justify-content: flex-start;
}
.mv001 .mv001_slider .slick-prev:before,
.mv001 .mv001_slider .slick-next:before {
	content: "";
	width: 10px;
	height: 10px;
	background:transparent;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	display: block;
	margin: 0;
	opacity: 1;
}
.mv001 .mv001_slider .slick-prev:before {
	transform: rotate(225deg);
	margin-right: 7px;
}
.mv001 .mv001_slider .slick-next:before {
	transform: rotate(45deg);
	margin-left: 7px;
}

/* *************************************
// フッター(footer)
************************************* */
.f001 {
	background-color: var(--main-color);
	color: #ffffff;
}
.f001 #inner-footer  {
	padding-top: 50px;
	padding-bottom: 50px;
	padding-left: 5%;
	padding-right: 5%;
}
.f001 .logo {
	padding: 0;
	margin-bottom: 30px;
}
.f001 .logo a {
	color: #fff;
	font-size: 1.2rem;
	white-space: nowrap;
	font-weight: bold;
}
.f001 a.tel_box {
	background: #fff;
	display: inline-block;
	padding: 10px 30px;
	border-radius: 10px;
}
.f001 .address > span {
	margin-right: 0.5em;
}
.f001 nav {
	margin: var(--default-space) 0;
}
.f001 ul.nav {
	border-bottom: 1px dashed #ccc;
}
.f001 ul.nav > li {
	border-top: 1px dashed #ccc;
}
.f001 .nav li a {
	display: block;
	color: inherit;
	padding: 0.75rem;
	line-height: 1.5;
}
.f001 .nav li ul.sub-menu,
.f001 .nav li ul.children {
	position: static;
	visibility: visible;
	border: none;
}
.f001 .nav li ul.sub-menu li, 
.f001 .nav li ul.children li {
	padding: 0.25rem 0.5rem;
	line-height: 1.5;
}
.f001 .nav li ul.sub-menu a:before,
.f001 .nav li ul.children a:before {
	content: "-";
	margin-right: 0.5em;
	display: inline;
}
.f001 .img_box {
	margin-left: auto;
}
.f001 .sns_box {
	display: flex;
}
.f001 .sns_box a {
	display: block;
	margin: 0 5px;
}
.f001 .sns_box a img {
	display: block;
	width: 40px;
}
.f001 .copyright {
	margin: 0;
	padding: 0.4rem;
	text-align: center;
	font-size: 0.8rem;
	background: #fff;
	color: var(--text-color);
}

@media (width >= 768px) {
	.f001 #inner-footer  {
		display: flex;
		justify-content: flex-start;
	}
	.f001 #inner-footer > * {
		margin-right: 15px;
	}
	.f001 nav {
		margin: 0;
	}
	.f001 ul.nav {
		width: 200px;
		border-bottom: none;
	}
	.f001 ul.nav > li {
		border-top: none;
	}
	.f001 .nav li a {
		padding: 0.5rem;
	}
}

/* *************************************
// 記事リスト(post list)
************************************* */
.pl001 {
	padding: calc(var(--default-space) * 2) 0;
    margin: 0 auto;
}
.pl001 .post_item {
	border-bottom: 1px dashed #ccc;
	display: block;
	padding: calc(var(--default-space) / 4) calc(var(--default-space) / 2);
	margin-bottom: calc(var(--default-space) / 2);
}
.pl001 .post_item a {
	color: inherit;
}
.pl001 .post_item .date {
	width: 100px;
	color: var(--main-color);
}
.pl001 .post_item .category {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 10px;
	margin-right: 20px;
}
.pl001 .post_item .category > span {
	background: var(--main-color);
	color: #fff;
	padding: 0 15px;
	width: 120px;
	text-align: center;
}

@media (width >= 768px) {
	.pl001 .post_item a {
		display: flex;
	}
	.pl001 .post_item .date {
		flex-shrink: 0;
	}
}

/* *************************************
// 記事個別(post single)
************************************* */
.post_single {
	padding: calc(var(--default-space) * 2) 0;
}
.post_single .date {
	color: var(--main-color);
	opacity: 0.7;
}
.post_single .title {
	font-size: clamp(18px, 4.5vw, 36px);
	font-weight: bold;
	margin-top: 80px;
	margin-bottom: calc(var(--default-space));
}

/* *************************************
// 記事リスト2(post list)
************************************* */
.pl002 {
	margin: calc(var(--default-space) * 2) 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.pl002 > a {
    width: 100%;
    display: grid;
	gap: 0;
    grid-template-rows: subgrid;
    grid-row: span 4;
    color: var(--text-color);
    background: #fff;
    padding-bottom: 15px;
}

.pl002 > a .image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.pl002 > a .image > img {
    width: 100%;
    transition: scale 0.3s;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 6px;    
}
.pl002 > a:hover .image > img {
    scale: 1.15;
}

.pl002 > a .date {
	color: var(--main-color);
}

.pl002 > a .category {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    align-items: center;
	margin-top: 5px;
}
.pl002 > a .category > span {
    background: var(--main-color);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 5px 10px;
}
.pl002 > a .title {
    padding: 0;
    background-size: 12px;
    background-position: center right 15px;
    background-repeat: no-repeat;
    line-height: 1.5;
    font-size: 20px;
    font-weight: bold;
}

/* *************************************
// カテゴリー一覧リンク
************************************* */
.cat_list001 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 20px;
	margin: calc(var(--default-space) * 2) 0;
}
.cat_list001 > a {
    border: 1px solid var(--main-color);
    color: var(--main-color);
    padding: 5px 20px;
    line-height: 1.5;
    text-align: center;
    min-width: 150px;
}
.cat_list001 > a.current {
    background: var(--main-color);
    color: #fff;
}

@media (max-width: 767px) {
	.cat_list001 > a {
		width: calc(50% - 10px);
	}
	.pl002 {
        width: 90%;
        max-width: 350px;
        grid-template-columns: 100%;
        row-gap: 20px;
        margin: auto;
    }
}

/* ==============================================
   タイトルセクション統一スタイル
   ============================================== */
.title {
    text-align: center;
    margin-bottom: 40px;
    margin-top:40px;
    padding: 20px 0;
    position: relative;
}

.title h2.jp {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 20px;
    line-height: 1.0;
    letter-spacing: 0.1em;
    text-align: center !important;
    display: block;
    width: 100%;
}

.title span.en {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--main-color);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 10px;
}

.title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--main-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* *************************************
// 固定ページ(page single)
************************************* */
.page_single {
	padding: calc(var(--default-space) * 2) 0;
}

/* *************************************
// 個別ページ(individual page)
************************************* */
.individual-page {
	width: 100%;
}

/* *************************************
// 固定ページ 体験会
************************************* */
.trial-section{
	color : #913C2F;
}
.trial-section h1 {
	font-size: 2.5em;
	font-weight: bold;
	color : #913C2F;
}
.trial-section h2 {
	font-size: 1.5em;
	padding-top:10px;
	padding-bottom: 30px;
	padding-left: 30px;
	margin-bottom: 30px;
	color : #913C2F;	
}

.trial-section h3 {
	font-size: 1.5em;
	padding-bottom: 10px;
	color : #913C2F;	
}

.trial_info_box {
	margin: 40px;
}
.trial_intro_section {
  background-color: #EBE6E1;
  border: 1px solid #999999;
  color : #913C2F;
  border-radius: 4px;   
  margin-bottom: 50px;
}

.indent-list-wrapper {
  display: flex;
  align-items: flex-start; 
  gap: 1em;
  margin-top: 1em;
}

.indent-list {
  padding-left: 2em;
  list-style: none;
  margin: 0;
  flex: 1;
}

.indent-image img {
  max-width: 150px;
  height: auto;
  opacity: 0.6; 
}

.trial_middle_images {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 100px;
}

.trial_middle_images img {
    max-width: 180px;
    height: auto;
}

.trial_intro_robo_irust {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    margin-left: 20px;
    margin-top: -20px;
}

/* 体験会：テーブル */
table.trial-schedule {
  width: 80%;
  border-collapse: collapse;
  margin-top: 1em;
  font-size: 1rem;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
  color : #555;
}

table.trial-schedule th,
table.trial-schedule td {
  border: 1px solid #aaa;
  padding: 0.75em;
  text-align: left;
  vertical-align: top;
}

table.trial-schedule thead th {
  background-color: rgba(231, 212, 161, 1);
  color: #333;
  font-weight: bold;
}

.trial-schedule td:first-child {
	background-color: rgba(231, 212, 161, 0.6);
	font-weight: bold;
	width: 120px; 
}

.schedule-button-wrapper {
  text-align: center;
}

a.schedule-button {
  display: inline-block;
  background-color: #9F7C5C;
  color: #eee !important;
  padding: 0.8em 1.5em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 1em;
  font-size : 1.4em;
}

a.schedule-button:hover {
  background-color: #bca78d;
}

/* *************************************
// 固定ページ(page single) 本講座
************************************* */
.lecture-intro {
	color: var(--main-color);
	margin-top: 50px;
	margin-left: 180px;
}
.lecture-intro-text {
	margin-top: 20px;
	margin-bottom: 30px;
	margin-left: 350px;
}

table.lecture-schedule {
  width: 55%;
  color : #555;
  border-collapse: collapse;
  margin-top: 1em;
  font-size: 1rem;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
}
table.lecture-schedule th,
table.lecture-schedule td {
  border: 1px solid #aaa;
  padding: 0.75em;
  text-align: left;
  vertical-align: top;
}

table.lecture-schedule thead th {
  background-color: #e7d4a1;
  color: #333;
  font-weight: bold;
}

table.lecture-schedule tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

.apply-button-wrapper {
  text-align: center;
  margin-top: 1.5em;
}

.lecture-apply-wrapper {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 80px;
  margin-bottom: 40px;
  text-align: center;
}

.lecture-caution-section {
	margin-top: 80px;
  margin-bottom: 100px;
  margin-left : 40px;
  padding: 20px;
  background-color: #EBE6E1;
  border: 1px solid #999999;
  border-radius: 4px;
}

.lecture-notes {
  padding-top: 20px;
  padding-left: 40px;
  text-align: left;
  list-style-type: disc;
  color: #333;
  font-size: 1em;
  line-height: 1.6;
}

.lecture_intro_robo_irust {
    text-align: center;
    margin: 20px 0;
}

.lecture_intro_robo_irust img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

a.apply-button {
  display: inline-block;
  background-color: #9F7C5C;
  color: #eee !important;
  padding: 0.8em 1.5em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 1em;
  margin-bottom: 80px;
  font-size : 1.4em;
}

a.apply-button:hover {
  background-color: #bca78d;
}

/* *************************************
// 固定ページ(page single) スポンサー
************************************* */
.sponser_top_img {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 0;
}

.sponser_top_img img {
  max-width: 100%;
  height: auto;
}

/* *************************************
// メールフォーム
************************************* */
table.mail_form {
	margin: auto;
	min-width: 80%;
	table-layout: fixed;
}
table.mail_form tr:first-child {
	border-top: 1px solid #ccc;
}
table.mail_form tr {
	border-bottom: 1px solid #ccc;
}
table.mail_form th,
table.mail_form td {
	margin: calc(var(--default-space) / 2);
	vertical-align: middle;
}
table.mail_form th {
	text-align: left;
	font-weight: bold;
}
table.mail_form tr th.required:after {
	content: "\5fc5\9808";
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0 0.4rem;
	border-radius: 0.2rem;
	font-size: 0.75rem;
	white-space: nowrap;
	color: white;
	background: var(--main-color);
}

@media (width >= 768px) {
	table.mail_form th,
	table.mail_form td {
		margin: 0;
		padding: calc(var(--default-space) / 2);
	}
}

/* *************************************
// ページネーション
************************************* */
.pagination ul {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}
.pagination li {
	margin: 0 5px;
	border: none;
}
.pagination li > a,
.pagination li > span {
	padding: 5px 8px;
}
.pagination li > a {
	border: 1px solid #cbcbcb;
	color: #000;
	background: #fff;
}
.pagination li > .page-numbers.current {
	border: 1px solid #cbcbcb;
	color: #fff;
	background: var(--main-color);
}
.pagination li > a:hover,
.pagination li > a:focus {
	background: var(--sub-color);
	color: #fff;
}

/* *************************************
// 会社案内パーツ
************************************* */
.p002 .title {
    margin-bottom: 40px;
}
.p002 .jp {
    font-size: 35px;
	font-weight: bold;
}
.p002 .en {
	font-size: 20px;
	font-weight: bold;
}
.p002 .two_in_one .image {
    height: 100%;
}
.p002 .two_in_one .image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 0 0 30px;
    display: block;
}
.p002 .two_in_one > div.right {
    width: 45%;
    position: relative;
}
.p002 .two_in_one > div.left {
    width: 55%;
    display: flex;
    justify-content: center;
} 
.p002 .two_in_one > div.left > .inner {
    max-width: 90%;
    width: auto;
}
.p002 .text p {
    line-height: 2;
}

@media (max-width: 1029px) {
	.p002 .two_in_one > div.right,
	.p002 .two_in_one > div.left {
		width: 100%;
	}

	.p002 .two_in_one .image {
		width: 90%;
		margin-left:auto;
	}

	.p002 .two_in_one .image > img {
		aspect-ratio: 3 / 2;
		object-fit: cover;
	}
}

@media (max-width: 767px) {
	.p002 .jp {
		font-size: 28px;
	}
}

.p003 .title {
    text-align: center;
    margin-bottom: 40px;
}
.p003 .jp {
    font-size: 35px;
	font-weight: bold;
}
.p003 .en {
	font-size: 20px;
	font-weight: bold;
}
.p003 .subtitle {
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;
}

.p003 .text_center {
	text-align: center;
}

@media (max-width: 767px) {
	.p003 .jp {
		font-size: 28px;
	}

	.p003 .text_center {
		text-align: left;
	}
}

.p004 .title {
    margin-bottom: 40px;
}

.p004 .jp {
    font-size: 35px;
	font-weight: bold;
}
.p004 .en {
	font-size: 20px;
	font-weight: bold;
}

.p004 table {
    margin-left: auto;
    margin-right: auto;
    min-width: 80%;
}

.p004 table tr th {
    border-bottom: 1px solid #ccc;
    padding: 10px;
}
.p004 table tr td {
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

@media (max-width: 767px) {
	.p004 .jp {
		font-size: 28px;
	}
}

/* セクション */
#company_message {
    padding-bottom: 50px;
}

#company_philosophy {
    padding-top: 50px;
    padding-bottom: 50px;
}

#company_profile {
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 80px;
    margin-bottom: 60px;
 	color: var(--main-color);   
}
#company_profile .title h2.jp {
    text-align: center !important;
}

#company_history {
    padding-top: 50px;
    padding-bottom: 50px;
}

.bg_black {
    position: relative;
    z-index: 0;
    color:#fff;
}

.bg_black:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* *************************************
// トップページ レイアウト（統合版）
************************************* */
.top_visual_inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

.top_text {
  flex: 1;
  min-width: 300px;
  color: #913C2F;
}

.top_text h2 {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
}

.top_text h3 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.top_img_01 {
  flex: 1;
  min-width: 300px;
  text-align: right;
}

/* *************************************
// 画像スタイル（統合版）
************************************* */
.image {
    text-align: center;
    margin: 20px 0; 
}

.image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.post_single .image {
    text-align: center;
    margin: 30px 0;
}

.post_single .image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* *************************************
// スポンサーページ
************************************* */
.p003, .p004, .p005, .p006 {
    padding: 40px 0;
    margin: 0 auto;
    max-width: 1200px;
}

.p003 {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.p004 {
    padding-left: 20px;
    margin-bottom: 30px;
}

.p005 {
    background-color: #e8f4f8;
    border-radius: 8px;
    margin-bottom: 30px;
}

.p006 {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sponsor_content,
.voices_content,
.support_content,
.faq_content {
    padding: 0 20px;
}

.p003 h2,
.p004 h2,
.p005 h2,
.p006 h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.p003 h3,
.p004 h3,
.p005 h3,
.p006 h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #555;
}

.benefits_section {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.benefits_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits_list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.benefits_list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.benefits_list li:last-child {
    border-bottom: none;
}

.benefits_list li strong {
    color: #007bff;
    font-weight: 600;
}

.interview_section {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
}

.section_subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.voice_quotes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.child_quote {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.child_quote:before {
    content: """;
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 40px;
    color: #ffc107;
    font-family: serif;
}

.methods_section {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.methods_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.methods_list li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    padding-left: 50px;
}

.methods_list li:before {
    content: "📝";
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 18px;
}

.methods_list li:hover {
    background-color: #e9ecef;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq_section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
}

.faq_item {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq_item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.faq_question {
    background-color: #f8f9fa;
    padding: 15px 20px;
    margin: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #dee2e6;
    position: relative;
    padding-right: 50px;
}

.faq_question:before {
    content: "❓";
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 18px;
}

.faq_question:hover {
    background-color: #e9ecef;
    transition: background-color 0.3s ease;
}

.faq_answer {
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    background-color: #fff;
    display: none;
}

.faq_answer.open {
    display: block;
}

/* *************************************
// フォーム関連（統合版）
************************************* */
.notice-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Arial, sans-serif;
}

.notice-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
   	background-color: #f9f9f9;
   	border-radius: 4px;
}

.notice-item {
    margin-bottom: 12px;
    padding: 15px;
}

.notice-item::before {
    content: "・";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 8px;
}

.agreement-section {
    margin-top: 30px;
    margin-bottom: 50px;
    padding: 20px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
}

.agreement-text {
    font-weight: bold;
    color: #856404;
    text-align: center;
}

/* WPフォーム */
.wpcf7 {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
}

.mail_form {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.mail_form.two_column {
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.mail_form h2,
.mail_form h3 {
    margin: 0;
    padding: 20px;
	background: linear-gradient(135deg, rgba(145, 60, 47, 0.5) 0%, rgba(122, 51, 38, 0.9) 100%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-bottom: 3px solid #5a67d8;
}

.mail_form h2 {
    font-size: 20px;
    background: rgba(145, 60, 47, 0.7);
    border-bottom-color: #913C2F;
}

.mail_form h3 {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    border-bottom-color: #2f855a;
}

.mail_form tr {
    border-bottom: 1px solid #e2e8f0;
}

.mail_form tr:last-child {
    border-bottom: none;
}

.mail_form th {
    background-color: #ddd;
    padding: 18px 20px;
    text-align: left;
    font-weight: bold;
    vertical-align: top;
    border-right: 1px solid #e2e8f0;
    width: 200px;
    position: relative;
}

.mail_form th.required::after {
    content: "※";
    color: #e53e3e;
    font-weight: bold;
    margin-left: 5px;
}

.mail_form td {
    padding: 15px 20px;
    vertical-align: top;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.mail_form td input[type="text"][placeholder*="郵便番号"] {
    max-width: 150px;
    margin-bottom: 8px;
}

.mail_form td select {
    max-width: 120px;
    margin-right: 5px;
    margin-bottom: 8px;
}

.mail_form td input[type="text"][placeholder*="市区町村"] {
    max-width: 300px;
}

.mail_form td select[name*="prefecture"] {
    max-width: 150px;
    margin-bottom: 8px;
}

.wpcf7 input[type="number"] {
    max-width: 80px;
}

.wpcf7 textarea {
    min-height: 100px;
    resize: vertical;
    max-width: 100%;
}

.wpcf7 .wpcf7-radio,
.wpcf7 .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpcf7 .wpcf7-list-item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 8px 0;
}

.wpcf7 .wpcf7-list-item input[type="radio"],
.wpcf7 .wpcf7-list-item input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    transform: scale(1.2);
}

.wpcf7 .wpcf7-list-item label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

.mail_form td p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.wpcf7 input[type="submit"] {
    background: rgba(145, 60, 47, 0.7);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    min-width: 200px;
    text-align: center;
}

.wpcf7 input[type="submit"]:hover {
    background: linear-gradient(135deg, #7A3326 0%, #6B2D20 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(145, 60, 47, 0.3);
}

.wpcf7-not-valid-tip {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.wpcf7-validation-errors {
    background-color: #fed7d7;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.wpcf7-mail-sent-ok {
    background-color: #c6f6d5;
    border: 1px solid #9ae6b4;
    color: #22543d;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #a0aec0;
    opacity: 1;
}

.wpcf7 select option:checked {
    background-color: #4299e1;
    color: white;
}

/* *****************************************************
// レスポンシブデザイン（統合版）
******************************************************** */

/* デスクトップ（1440px以上） */
@media (min-width: 1440px) {
    .wrap {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .top_visual_inner {
        gap: 60px;
    }
    
    .top_league_content {
        gap: 80px;
    }
}

/* 大型デスクトップ（1200px-1439px） */
@media (min-width: 1200px) and (max-width: 1439px) {
    .top_visual_inner {
        gap: 40px;
    }
    
    .top_league_content {
        gap: 60px;
    }
}

/* 標準デスクトップ（1024px-1199px） */
@media (min-width: 1024px) and (max-width: 1199px) {
    .wrap {
        padding: 0 30px;
    }
    
    .top_visual_inner {
        gap: 30px;
    }
    
    .top_league_content {
        gap: 40px;
    }
    
    .top_league_text {
        width: 60%;
    }
    
    .top_league_images {
        width: 40%;
    }
}

/* タブレット横向き（768px-1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
    .wrap {
        padding: 0 20px;
    }
    
    .top_visual_inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .top_text,
    .top_img_01 {
        width: 100%;
        flex: none;
    }
    
    .top_league_content {
        flex-direction: column;
        gap: 30px;
        padding: 30px 0;
        text-align: center;
    }
    
    .top_league_text,
    .top_league_images {
        width: 100%;
        flex: none;
        margin: 0;
    }
    
    .top_league_images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    #company_profile table th,
    #company_profile table td {
        padding: 15px 18px;
        font-size: 0.95rem;
    }
    
    .pl002 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .p003, .p004, .p005, .p006 {
        padding: 20px 0;
        margin: 0 10px 20px 10px;
    }
    
    .sponsor_content,
    .voices_content,
    .support_content,
    .faq_content {
        padding: 0 15px;
    }
    
    .p003 h2,
    .p004 h2,
    .p005 h2,
    .p006 h2 {
        font-size: 20px;
    }
}

/* タブレット縦向き・大型スマートフォン（480px-767px） */
@media (min-width: 480px) and (max-width: 767px) {
    .wrap {
        padding: 0 15px;
    }
    
    .top_visual_inner {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .top_text h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .top_text h3 {
        font-size: 1.1rem;
    }
    
    .top_text,
    .top_img_01 {
        width: 100%;
    }
    
    .top_league_content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 0 15px;
    }
    
    .top_league_text,
    .top_league_images {
        width: 100%;
        margin: 0;
    }
    
    .top_league_images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    table.two_column,
    #company_profile table {
        display: block;
        width: 100%;
    }
    
    table.two_column tbody,
    table.two_column tr,
    table.two_column th,
    table.two_column td,
    #company_profile table tbody,
    #company_profile table tr,
    #company_profile table th,
    #company_profile table td {
        display: block;
        width: 100%;
    }
    
    table.two_column th,
    #company_profile table th {
        text-align: left;
        padding: 12px 15px 8px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    table.two_column td,
    #company_profile table td {
        padding: 8px 15px 15px;
        border-bottom: 2px solid #f0f0f0;
        border-right: none;
    }
    
    .title {
        margin: 40px 0 30px;
        padding: 25px 15px;
    }
    
    .title h2.jp {
        font-size: 2rem;
    }
    
    .title span.en {
        font-size: 1rem;
    }
    
    .notice-container {
        padding: 10px;
    }
    
    .notice-title {
        font-size: 20px;
    }
    
    .notice-item {
        padding: 12px;
    }
    
    .agreement-section {
        margin-top: 20px;
        padding: 15px;
    }
}

/* 標準スマートフォン（320px-479px） */
@media (max-width: 479px) {
    .wrap {
        padding: 0 10px;
    }
    
    .top_visual_inner {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
    }
    
    .top_text h2 {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .top_text h3 {
        font-size: 1rem;
    }
    
    .top_text p,
    .top_text li {
        font-size: 0.95rem;
    }
    
    .top_text ul {
        padding-left: 1.2em;
    }
    
    .top_league_content {
        flex-direction: column;
        gap: 25px;
        padding: 0 10px;
    }
    
    .top_league_images {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .top_league_text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .title {
        margin: 30px 0 25px;
        padding: 20px 10px;
    }
    
    .title h2.jp {
        font-size: 1.7rem;
        line-height: 1.3;
    }
    
    .title span.en {
        font-size: 0.9rem;
    }
    
    .title::after {
        width: 60px;
        height: 2px;
        margin: 15px auto 0;
    }
    
    table.two_column th,
    table.two_column td,
    #company_profile table th,
    #company_profile table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .btn001 a,
    .apply-button,
    .schedule-button {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: block;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .mail_form {
        margin: 0 5px 20px 5px;
    }
    
    .mail_form h2,
    .mail_form h3 {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .mail_form.two_column {
        margin: 0 10px 20px 10px;
    }
    
    .mail_form th,
    .mail_form td {
        display: block;
        width: 100%;
        padding: 12px 15px;
        border-right: none;
    }
    
    .mail_form th {
        background-color: #edf2f7;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 8px;
    }
    
    .mail_form td {
        padding-top: 8px;
        border-bottom: 2px solid #e2e8f0;
    }
    
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 select,
    .wpcf7 textarea {
        font-size: 16px;
        padding: 12px;
        max-width: 100%;
    }
    
    .mail_form td input[type="text"][placeholder*="郵便番号"] {
        max-width: 200px;
    }
    
    .mail_form td select {
        max-width: 150px;
    }
    
    .mail_form td input[type="text"][placeholder*="市区町村"] {
        max-width: 100%;
    }
    
    .wpcf7 input[type="submit"] {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .benefits_list li,
    .methods_list li {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .methods_list li {
        padding-left: 40px;
    }
    
    .faq_question {
        padding: 12px 15px;
        padding-right: 40px;
        font-size: 14px;
    }
    
    .faq_answer {
        padding: 15px;
        font-size: 13px;
    }
    
    .voice_quotes {
        gap: 15px;
    }
    
    .child_quote {
        padding: 15px;
        font-size: 14px;
    }
}

/* 超小型スマートフォン（~320px） */
@media (max-width: 320px) {
    .top_text h2 {
        font-size: 1.4rem;
    }
    
    .title h2.jp {
        font-size: 1.5rem;
    }
    
    .top_league_images {
        max-width: 240px;
    }
    
    .btn001 a,
    .apply-button,
    .schedule-button {
        max-width: 240px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .mail_form th,
    .mail_form td {
        padding: 10px 12px;
    }
    
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 select,
    .wpcf7 textarea {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .wpcf7 input[type="submit"] {
        width: 100%;
        margin: 20px 0 0;
        padding: 12px 20px;
    }
}

/* 横向き表示（ランドスケープ）対応 */
@media (max-height: 600px) and (orientation: landscape) and (max-width: 1023px) {
    .top_visual {
        padding: 20px 0;
    }
    
    .league_inner {
        padding: 30px 0;
    }
    
    #company_profile {
        padding: 30px 0;
    }
    
    .title {
        margin: 20px 0;
        padding: 15px;
    }
    
    .top_visual_inner {
        gap: 20px;
    }
    
    .top_league_content {
        flex-direction: row;
        gap: 20px;
        padding: 20px;
    }
    
    .top_league_images {
        flex: 0 0 40%;
        max-width: none;
    }
    
    .top_league_text {
        flex: 1;
        text-align: left;
    }
}

/* アクセシビリティ: 動きを減らしたい設定への対応 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* タッチデバイス用の調整 */
@media (hover: none) and (pointer: coarse) {
    .top_img_01 img:hover,
    .top_league_images img:hover,
    .pl002 > a:hover {
        transform: none;
        box-shadow: initial;
    }
    
    .btn001 a:active,
    .apply-button:active,
    .schedule-button:active {
        opacity: 0.8;
    }
}

/* 印刷用スタイル */
@media print {
    .wrap {
        max-width: none;
        padding: 0;
    }
    
    .top_visual_inner,
    .top_league_content {
        flex-direction: column;
    }
    
    .btn001,
    .apply-button,
    .schedule-button {
        display: none;
    }
}

/* フォーカス時のアクセシビリティ */
.faq_question:focus,
.methods_list li:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* アニメーション効果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* *************************************
// 体験会ページ（page-trial.php）レスポンシブ対応
************************************* */

/* タブレット（768px-1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
    .trial-section h1 {
        font-size: 2.2em;
    }
    
    .trial-section h2 {
        font-size: 1.3em;
        padding: 15px 20px;
        margin-bottom: 25px;
    }
    
    .trial_info_box {
        margin: 30px 20px;
    }
    
    .indent-list-wrapper {
        flex-direction: column;
        gap: 1.5em;
        align-items: center;
    }
    
    .indent-image {
        text-align: center;
    }
    
    .trial_middle_images {
        gap: 15px;
        margin-bottom: 80px;
    }
    
    .trial_middle_images img {
        max-width: 140px;
    }
    
    table.trial-schedule {
        width: 90%;
        font-size: 0.95rem;
        margin-bottom: 80px;
    }
    
    table.trial-schedule th,
    table.trial-schedule td {
        padding: 0.6em;
    }
    
    .trial-schedule td:first-child {
        width: 140px;
    }
}

/* スマートフォン（767px以下） */
@media (max-width: 767px) {
    .trial-section h1 {
        font-size: 1.8em;
        text-align: center;
        padding: 0 10px;
    }
    
    .trial-section h2 {
        font-size: 1.2em;
        padding: 10px 15px;
        margin-bottom: 20px;
        text-align: center;
        line-height: 1.4;
    }
    
    .trial-section h3 {
        font-size: 1.3em;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .trial_info_box {
        margin: 20px 10px;
    }
    
    .trial_intro_section {
        margin-bottom: 40px;
    }
    
    .indent-list-wrapper {
        flex-direction: column;
        gap: 1em;
        margin-top: 1em;
        align-items: center;
    }
    
    .indent-list {
        padding-left: 1em;
        font-size: 1.1em;
    }
    
    .indent-list li {
        margin-bottom: 0.8em;
        line-height: 1.5;
    }
    
    .indent-image {
        text-align: center;
        margin-top: 1em;
    }
    
    .indent-image img {
        max-width: 120px;
    }
    
    .trial_middle_images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 30px 10px 60px;
        justify-items: center;
    }
    
    .trial_middle_images img {
        max-width: 120px;
        width: 100%;
    }
    
    /* テーブルをカード形式に変更 */
    table.trial-schedule {
        width: 95%;
        margin-bottom: 60px;
        border: none;
        background: none;
    }
    
    table.trial-schedule,
    table.trial-schedule tbody,
    table.trial-schedule tr {
        display: block;
        width: 100%;
    }
    
    table.trial-schedule tr {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 15px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    table.trial-schedule th,
    table.trial-schedule td {
        display: block;
        width: 100%;
        padding: 0;
        border: none;
        text-align: left;
    }
    
    table.trial-schedule td:first-child {
        background-color: rgba(231, 212, 161, 0.9);
        font-weight: bold;
        padding: 12px 15px;
        font-size: 1rem;
        border-bottom: 1px solid #ddd;
    }
    
    table.trial-schedule td:last-child {
        padding: 15px;
        background: #fff;
        color: #333;
        line-height: 1.6;
    }
    
    .schedule-button-wrapper {
        margin: 30px 0;
    }
    
    a.schedule-button {
        display: block;
        width: 90%;
        max-width: 280px;
        margin: 0 auto;
        padding: 0.8em 1em;
        font-size: 1.2em;
        text-align: center;
        border-radius: 8px;
    }
    
    .apply-button-wrapper {
        margin: 40px 0;
    }
    
    a.apply-button {
        display: block;
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
        padding: 1em 1.2em;
        font-size: 1.3em;
        text-align: center;
        border-radius: 8px;
    }
}

/* 小型スマートフォン（480px以下） */
@media (max-width: 480px) {
    .trial-section h1 {
        font-size: 1.6em;
        line-height: 1.3;
    }
    
    .trial-section h2 {
        font-size: 1.1em;
        padding: 8px 12px;
        line-height: 1.4;
    }
    
    .trial-section h3 {
        font-size: 1.2em;
    }
    
    .trial_info_box {
        margin: 15px 8px;
    }
    
    .indent-list {
        font-size: 1rem;
        padding-left: 0.8em;
    }
    
    .indent-list li {
        margin-bottom: 1em;
        line-height: 1.6;
    }
    
    .indent-image img {
        max-width: 100px;
    }
    
    .trial_middle_images {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 25px 5px 50px;
    }
    
    .trial_middle_images img {
        max-width: 150px;
    }
    
    table.trial-schedule {
        width: 98%;
        margin-bottom: 50px;
    }
    
    table.trial-schedule tr {
        margin-bottom: 12px;
        border-radius: 6px;
    }
    
    table.trial-schedule td:first-child {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    table.trial-schedule td:last-child {
        padding: 12px;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    a.schedule-button {
        font-size: 1.1em;
        padding: 0.7em 1em;
        max-width: 260px;
    }
    
    a.apply-button {
        font-size: 1.2em;
        padding: 0.9em 1.1em;
        max-width: 280px;
    }
}

/* 超小型スマートフォン（375px以下 - iPhoneSE対応） */
@media (max-width: 375px) {
    .trial-section h1 {
        font-size: 1.4em;
        padding: 0 5px;
    }
    
    .trial-section h2 {
        font-size: 1rem;
        padding: 6px 10px;
        margin-bottom: 15px;
    }
    
    .trial-section h3 {
        font-size: 1.1em;
        padding-bottom: 8px;
    }
    
    .trial_info_box {
        margin: 12px 5px;
    }
    
    .indent-list {
        font-size: 0.95rem;
        padding-left: 0.5em;
    }
    
    .indent-list li {
        margin-bottom: 1.2em;
        line-height: 1.7;
    }
    
    .indent-image img {
        max-width: 80px;
    }
    
    .trial_middle_images {
        margin: 20px 2px 40px;
        gap: 8px;
    }
    
    .trial_middle_images img {
        max-width: 130px;
    }
    
    table.trial-schedule {
        width: 100%;
        margin: 0 0 40px 0;
    }
    
    table.trial-schedule tr {
        margin-bottom: 10px;
        border-radius: 4px;
    }
    
    table.trial-schedule td:first-child {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    table.trial-schedule td:last-child {
        padding: 10px;
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    a.schedule-button {
        font-size: 1rem;
        padding: 0.6em 0.8em;
        max-width: 240px;
        border-radius: 6px;
    }
    
    a.apply-button {
        font-size: 1.1em;
        padding: 0.8em 1em;
        max-width: 260px;
        border-radius: 6px;
        margin-bottom: 60px;
    }
}

/* 極小スマートフォン（320px以下） */
@media (max-width: 320px) {
    .trial-section h1 {
        font-size: 1.3em;
        line-height: 1.2;
    }
    
    .trial-section h2 {
        font-size: 0.95rem;
        padding: 5px 8px;
        margin-bottom: 12px;
    }
    
    .trial-section h3 {
        font-size: 1rem;
    }
    
    .trial_info_box {
        margin: 10px 3px;
    }
    
    .indent-list {
        font-size: 0.9rem;
    }
    
    .indent-list li {
        margin-bottom: 1.3em;
    }
    
    .indent-image img {
        max-width: 70px;
    }
    
    .trial_middle_images {
        margin: 15px 1px 30px;
    }
    
    .trial_middle_images img {
        max-width: 110px;
    }
    
    table.trial-schedule td:first-child {
        padding: 6px 8px;
        font-size: 0.85rem;
    }
    
    table.trial-schedule td:last-child {
        padding: 8px;
        font-size: 0.8rem;
    }
    
    a.schedule-button {
        font-size: 0.95rem;
        padding: 0.5em 0.7em;
        max-width: 220px;
    }
    
    a.apply-button {
        font-size: 1rem;
        padding: 0.7em 0.9em;
        max-width: 240px;
        margin-bottom: 50px;
    }
}

/* 横向き表示（ランドスケープ）対応 */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 767px) {
    .trial-section h1 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    
    .trial-section h2 {
        margin-bottom: 15px;
    }
    
    .trial_info_box {
        margin: 15px 10px;
    }
    
    .trial_middle_images {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin: 20px 10px 30px;
    }
    
    .trial_middle_images img {
        max-width: 100px;
    }
    
    table.trial-schedule {
        margin-bottom: 30px;
    }
    
    a.apply-button {
        margin-bottom: 30px;
    }
}

/* *************************************
// 本講座ページ（page-class.php）レスポンシブ対応
************************************* */

/* タブレット（768px-1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
    .lecture-intro {
        margin-top: 40px;
        margin-left: 100px;
        text-align: center;
    }
    
    .lecture-intro h2 {
        font-size: 1.8em !important;
        line-height: 1.3;
    }
    
    .lecture-intro h3 {
        font-size: 1.3em !important;
        padding-left: 60px !important;
        text-align: left;
    }
    
    .lecture-intro-text {
        margin-top: 15px;
        margin-bottom: 25px;
        margin-left: 200px;
    }
    
    .lecture-intro-text h3 {
        font-size: 1.1em !important;
        line-height: 1.5;
    }
    
    table.lecture-schedule {
        width: 70%;
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    table.lecture-schedule th,
    table.lecture-schedule td {
        padding: 0.6em;
    }
    
    .lecture-apply-wrapper {
        max-width: 700px;
        margin-top: 60px;
        margin-bottom: 30px;
    }
    
    .lecture-caution-section {
        margin-top: 60px;
        margin-bottom: 80px;
        margin-left: 30px;
        padding: 18px;
    }
    
    .lecture-caution-section h3 {
        font-size: 1.5em !important;
    }
    
    .lecture-notes {
        padding-left: 30px;
        font-size: 0.95em;
    }
    
    .lecture-apply-wrapper h2 {
        font-size: 2em !important;
        text-align: center;
    }
}

/* スマートフォン（767px以下） */
@media (max-width: 767px) {
    .lecture-intro {
        margin-top: 30px;
        margin-left: 0;
        text-align: center;
        padding: 0 15px;
    }
    
    .lecture-intro h2 {
        font-size: 1.6em !important;
        font-weight: bold !important;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .lecture-intro h3 {
        font-size: 1.2em !important;
        padding-left: 0 !important;
        text-align: center;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .lecture-intro-text {
        margin: 15px 0 25px 0;
        text-align: center;
    }
    
    .lecture-intro-text h3 {
        font-size: 1rem !important;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    .lecture-intro-text h3 a {
        display: inline-block;
        margin: 5px 0;
        color: #007bff;
        text-decoration: underline;
    }
    
    /* テーブルをカード形式に変更 */
    table.lecture-schedule {
        width: 100%;
        margin: 0 0 40px 0;
        border: none;
        background: none;
    }
    
    table.lecture-schedule,
    table.lecture-schedule thead,
    table.lecture-schedule tbody,
    table.lecture-schedule tr {
        display: block;
        width: 100%;
    }
    
    table.lecture-schedule thead {
        display: none; /* ヘッダーを非表示 */
    }
    
    table.lecture-schedule tr {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 15px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        overflow: hidden;
        padding: 0;
    }
    
    table.lecture-schedule td {
        display: block;
        width: 100%;
        padding: 0;
        border: none;
        text-align: left;
        position: relative;
    }
    
    /* 各セルに擬似要素でラベルを追加 */
    table.lecture-schedule td:nth-child(1) {
        background-color: rgba(231, 212, 161, 0.9);
        font-weight: bold;
        padding: 12px 15px;
        font-size: 1rem;
        border-bottom: 1px solid #ddd;
    }
    
    table.lecture-schedule td:nth-child(1):before {
        content: "月日: ";
        font-weight: bold;
        color: #333;
    }
    
    table.lecture-schedule td:nth-child(2) {
        padding: 10px 15px;
        background: #f8f9fa;
        border-bottom: 1px solid #eee;
    }
    
    table.lecture-schedule td:nth-child(2):before {
        content: "時間: ";
        font-weight: bold;
        color: #555;
    }
    
    table.lecture-schedule td:nth-child(3) {
        padding: 12px 15px;
        background: #fff;
        color: #333;
        line-height: 1.6;
    }
    
    table.lecture-schedule td:nth-child(3):before {
        content: "備考: ";
        font-weight: bold;
        color: #555;
    }
    
    .lecture-apply-wrapper {
        max-width: 100%;
        margin-top: 50px;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .lecture-caution-section {
        margin-top: 50px;
        margin-bottom: 60px;
        margin-left: 0;
        padding: 15px;
    }
    
    .lecture-caution-section h3 {
        font-size: 1.4em !important;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .lecture-notes {
        padding-top: 15px;
        padding-left: 20px;
        font-size: 0.95em;
        line-height: 1.7;
    }
    
    .lecture-notes li {
        margin-bottom: 15px;
    }
    
    .lecture_intro_robo_irust {
        margin: 25px 0;
    }
    
    .lecture_intro_robo_irust img {
        max-width: 200px;
    }
    
    .lecture-apply-wrapper h2 {
        font-size: 1.8em !important;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .lecture-apply-wrapper p {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 10px 0;
    }
    
    .apply-button-wrapper {
        margin: 30px 0;
    }
    
    a.apply-button {
        display: block;
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
        padding: 1em 1.2em;
        font-size: 1.3em;
        text-align: center;
        border-radius: 8px;
    }
}

/* 小型スマートフォン（480px以下） */
@media (max-width: 480px) {
    .lecture-intro {
        padding: 0 10px;
    }
    
    .lecture-intro h2 {
        font-size: 1.4em !important;
        line-height: 1.3;
    }
    
    .lecture-intro h3 {
        font-size: 1.1em !important;
        margin-bottom: 12px;
    }
    
    .lecture-intro-text h3 {
        font-size: 0.95rem !important;
        padding: 0 5px;
    }
    
    table.lecture-schedule {
        margin-bottom: 30px;
    }
    
    table.lecture-schedule tr {
        margin-bottom: 12px;
        border-radius: 6px;
    }
    
    table.lecture-schedule td:nth-child(1) {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    table.lecture-schedule td:nth-child(2) {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    table.lecture-schedule td:nth-child(3) {
        padding: 10px 12px;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .lecture-apply-wrapper {
        margin-top: 40px;
        padding: 0 10px;
    }
    
    .lecture-caution-section {
        margin-top: 40px;
        margin-bottom: 50px;
        padding: 12px;
    }
    
    .lecture-caution-section h3 {
        font-size: 1.3em !important;
    }
    
    .lecture-notes {
        padding-left: 15px;
        font-size: 0.9em;
    }
    
    .lecture-notes li {
        margin-bottom: 12px;
    }
    
    .lecture_intro_robo_irust img {
        max-width: 150px;
    }
    
    .lecture-apply-wrapper h2 {
        font-size: 1.6em !important;
        line-height: 1.2;
    }
    
    .lecture-apply-wrapper p {
        font-size: 0.9rem;
    }
    
    a.apply-button {
        font-size: 1.2em;
        padding: 0.9em 1.1em;
        max-width: 280px;
    }
}

/* 超小型スマートフォン（375px以下 - iPhoneSE対応） */
@media (max-width: 375px) {
    .lecture-intro {
        padding: 0 8px;
    }
    
    .lecture-intro h2 {
        font-size: 1.3em !important;
        line-height: 1.2;
    }
    
    .lecture-intro h3 {
        font-size: 1rem !important;
        margin-bottom: 10px;
    }
    
    .lecture-intro-text h3 {
        font-size: 0.9rem !important;
        padding: 0 3px;
        line-height: 1.5;
    }
    
    table.lecture-schedule {
        margin-bottom: 25px;
    }
    
    table.lecture-schedule tr {
        margin-bottom: 10px;
        border-radius: 4px;
    }
    
    table.lecture-schedule td:nth-child(1) {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    table.lecture-schedule td:nth-child(2) {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    table.lecture-schedule td:nth-child(3) {
        padding: 8px 10px;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .lecture-apply-wrapper {
        margin-top: 35px;
        padding: 0 8px;
    }
    
    .lecture-caution-section {
        margin-top: 35px;
        margin-bottom: 40px;
        padding: 10px;
    }
    
    .lecture-caution-section h3 {
        font-size: 1.2em !important;
        margin-bottom: 15px;
    }
    
    .lecture-notes {
        padding-left: 12px;
        font-size: 0.85em;
        line-height: 1.6;
    }
    
    .lecture-notes li {
        margin-bottom: 10px;
    }
    
    .lecture_intro_robo_irust img {
        max-width: 120px;
    }
    
    .lecture-apply-wrapper h2 {
        font-size: 1.4em !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .lecture-apply-wrapper p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin: 8px 0;
    }
    
    a.apply-button {
        font-size: 1.1em;
        padding: 0.8em 1em;
        max-width: 260px;
        border-radius: 6px;
    }
}

/* 極小スマートフォン（320px以下） */
@media (max-width: 320px) {
    .lecture-intro {
        padding: 0 5px;
    }
    
    .lecture-intro h2 {
        font-size: 1.2em !important;
        line-height: 1.1;
    }
    
    .lecture-intro h3 {
        font-size: 0.95rem !important;
        margin-bottom: 8px;
    }
    
    .lecture-intro-text h3 {
        font-size: 0.85rem !important;
        padding: 0 2px;
    }
    
    table.lecture-schedule {
        margin-bottom: 20px;
    }
    
    table.lecture-schedule tr {
        margin-bottom: 8px;
    }
    
    table.lecture-schedule td:nth-child(1) {
        padding: 6px 8px;
        font-size: 0.85rem;
    }
    
    table.lecture-schedule td:nth-child(2) {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
    
    table.lecture-schedule td:nth-child(3) {
        padding: 6px 8px;
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .lecture-apply-wrapper {
        margin-top: 30px;
        padding: 0 5px;
    }
    
    .lecture-caution-section {
        margin-top: 30px;
        margin-bottom: 35px;
        padding: 8px;
    }
    
    .lecture-caution-section h3 {
        font-size: 1.1em !important;
        margin-bottom: 12px;
    }
    
    .lecture-notes {
        padding-left: 10px;
        font-size: 0.8em;
    }
    
    .lecture-notes li {
        margin-bottom: 8px;
    }
    
    .lecture_intro_robo_irust img {
        max-width: 100px;
    }
    
    .lecture-apply-wrapper h2 {
        font-size: 1.3em !important;
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    .lecture-apply-wrapper p {
        font-size: 0.8rem;
        margin: 6px 0;
    }
    
    a.apply-button {
        font-size: 1rem;
        padding: 0.7em 0.9em;
        max-width: 240px;
    }
}

/* 横向き表示（ランドスケープ）対応 */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 767px) {
    .lecture-intro {
        margin-top: 20px;
    }
    
    .lecture-intro h2 {
        font-size: 1.4em !important;
        margin-bottom: 10px;
    }
    
    .lecture-intro h3 {
        font-size: 1rem !important;
        margin-bottom: 8px;
    }
    
    .lecture-intro-text {
        margin: 10px 0 15px 0;
    }
    
    table.lecture-schedule {
        margin-bottom: 20px;
    }
    
    table.lecture-schedule tr {
        margin-bottom: 8px;
    }
    
    .lecture-apply-wrapper {
        margin-top: 25px;
    }
    
    .lecture-caution-section {
        margin-top: 25px;
        margin-bottom: 25px;
        padding: 10px;
    }
    
    .lecture-caution-section h3 {
        font-size: 1.2em !important;
        margin-bottom: 10px;
    }
    
    .lecture-notes {
        font-size: 0.85em;
    }
    
    .lecture-notes li {
        margin-bottom: 8px;
    }
    
    .lecture-apply-wrapper h2 {
        font-size: 1.5em !important;
        margin-bottom: 10px;
    }
    
    a.apply-button {
        margin-bottom: 20px;
    }
}

/* デスクトップ用の微調整 */
@media (min-width: 1024px) {
    .lecture-intro h2 {
        line-height: 1.3;
    }
    
    .lecture-intro-text h3 {
        line-height: 1.5;
    }
    
    .lecture-apply-wrapper h2 {
        line-height: 1.3;
    }
}

/* *************************************
// トップページ（front-page.php）レスポンシブ対応
************************************* */

/* タブレット（768px-1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
    .top_visual {
        padding: 40px 0;
    }
    
    .top_visual_inner {
        gap: 30px;
        align-items: center;
    }
    
    .top_text,
    .top_img_01 {
        flex: 1;
        min-width: 300px;
    }
    
    .top_text {
        margin-top: 0;
    }
    
    .top_text h2 {
        font-size: 1.8em !important;
        line-height: 1.3;
    }
    
    .top_text h3 {
        font-size: 1rem !important;
        line-height: 1.5;
    }
    
    .top_text p {
        font-size: 1rem !important;
        line-height: 1.6;
    }
    
    .top_text ul {
        font-size: 1rem !important;
        padding-left: 1.3em;
    }
    
    .top_text h4 {
        font-size: 1rem !important;
        line-height: 1.5;
    }
    
    .top_img_01 img {
        max-width: 85% !important;
    }
    
    .soccer-league {
        padding: 60px 0;
    }
    
    .top_league_content {
        gap: 30px;
        padding: 30px 0;
    }
    
    .top_league_images {
        flex: 0 0 45%;
        margin-left: 20px;
        gap: 12px;
    }
    
    .top_league_text {
        flex: 1;
        margin-left: 15px;
        margin-top: 10px;
    }
    
    .top_league_text p {
        font-size: 1.1em !important;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .top_league_text p:last-child {
        font-size: 0.95em !important;
    }
    
    #company_profile {
        padding: 60px 0;
        margin: 60px 0;
    }
    
    #company_profile table {
        font-size: 0.95rem;
    }
    
    #company_profile table th {
        width: 180px;
        padding: 15px 18px;
    }
    
    #company_profile table td {
        padding: 15px 18px;
    }
    
    .pl002 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* スマートフォン（767px以下） */
@media (max-width: 767px) {
    .top_visual {
        padding: 30px 0;
    }
    
    .top_visual_inner {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 0 15px;
    }
    
    .top_text,
    .top_img_01 {
        width: 100%;
        flex: none;
    }
    
    .top_text {
        margin-top: 0 !important;
        order: 1;
    }
    
    .top_img_01 {
        order: 2;
        text-align: center;
    }
    
    .top_text h2 {
        font-size: 1.6em !important;
        font-weight: bold !important;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .top_text h3 {
        font-size: 0.95rem !important;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .top_text p {
        font-size: 0.9rem !important;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .top_text ul {
        font-size: 0.9rem !important;
        padding-left: 1.2em;
        text-align: left;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .top_text li {
        margin-bottom: 0.3em !important;
    }
    
    .top_text h4 {
        font-size: 0.9rem !important;
        line-height: 1.5;
        margin-top: 10px;
    }
    
    .top_img_01 img {
        max-width: 80% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    .soccer-league {
        padding: 40px 0;
    }
    
    .league_inner {
        padding-top: 80px;
    }
    
    .top_league_content {
        flex-direction: column;
        gap: 25px;
        padding: 0 15px;
        text-align: center;
    }
    
    .top_league_images,
    .top_league_text {
        width: 100%;
        flex: none;
        margin: 0;
    }
    
    .top_league_images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
        justify-items: center;
    }
    
    .top_league_images img {
        width: 100%;
        max-width: 120px;
        height: auto;
    }
    
    .top_league_text {
        text-align: center;
    }
    
    .top_league_text p {
        font-size: 0.95em !important;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    #company_profile {
        padding: 40px 0;
        margin: 40px 0;
    }
    
    #company_profile .title {
        margin: 30px 0;
        padding: 20px 15px;
    }
    
    #company_profile table,
    #company_profile table tbody,
    #company_profile table tr {
        display: block;
        width: 100%;
    }
    
    #company_profile table {
        margin: 0 10px;
    }
    
    #company_profile table tr {
        border-bottom: 2px solid #f0f0f0;
        margin-bottom: 15px;
        padding: 0;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    #company_profile table th,
    #company_profile table td {
        display: block;
        width: 100%;
        border: none;
        text-align: left;
    }
    
    #company_profile table th {
        background-color: #edf2f7;
        padding: 12px 15px 8px;
        font-weight: bold;
        border-bottom: 1px solid #e2e8f0;
        border-right: none;
    }
    
    #company_profile table td {
        padding: 8px 15px 15px;
        background: #fff;
        line-height: 1.6;
    }
    
    #company_profile table td ul {
        margin: 10px 0 0 0;
        padding-left: 0;
    }
    
    #company_profile table td ul li {
        margin-bottom: 8px;
        padding-left: 0;
        list-style: none;
    }
    
    .pl002 {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .pl002 > a .title {
        font-size: 18px !important;
        padding: 0 10px;
    }
}

/* 小型スマートフォン（480px以下） */
@media (max-width: 480px) {
    .top_visual {
        padding: 25px 0;
    }
    
    .top_visual_inner {
        gap: 20px;
        padding: 0 12px;
    }
    
    .top_text h2 {
        font-size: 1.4em !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .top_text h3 {
        font-size: 0.9rem !important;
        margin-bottom: 12px;
    }
    
    .top_text p {
        font-size: 0.85rem !important;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .top_text ul {
        font-size: 0.85rem !important;
        padding-left: 1em;
        margin-bottom: 12px;
    }
    
    .top_text h4 {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }
    
    .top_img_01 img {
        max-width: 85% !important;
    }
    
    .soccer-league {
        padding: 35px 0;
    }
    
    .league_inner {
        padding-top: 60px;
    }
    
    .top_league_content {
        gap: 20px;
        padding: 0 12px;
    }
    
    .top_league_images {
        max-width: 280px;
        gap: 12px;
    }
    
    .top_league_images img {
        max-width: 110px;
    }
    
    .top_league_text p {
        font-size: 0.9em !important;
        margin-bottom: 12px;
    }
    
    #company_profile {
        padding: 35px 0;
        margin: 35px 0;
    }
    
    #company_profile .title {
        margin: 25px 0;
        padding: 18px 12px;
    }
    
    #company_profile table {
        margin: 0 8px;
    }
    
    #company_profile table tr {
        margin-bottom: 12px;
        border-radius: 4px;
    }
    
    #company_profile table th {
        padding: 10px 12px 6px;
        font-size: 0.9rem;
    }
    
    #company_profile table td {
        padding: 6px 12px 12px;
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    #company_profile table td ul li {
        margin-bottom: 6px;
        font-size: 0.85rem;
    }
    
    .pl002 {
        max-width: 300px;
        gap: 18px;
    }
    
    .pl002 > a .title {
        font-size: 16px !important;
        padding: 0 8px;
    }
}

/* 超小型スマートフォン（375px以下 - iPhoneSE対応） */
@media (max-width: 375px) {
    .top_visual {
        padding: 20px 0;
    }
    
    .top_visual_inner {
        gap: 18px;
        padding: 0 10px;
    }
    
    .top_text h2 {
        font-size: 1.3em !important;
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    .top_text h3 {
        font-size: 0.85rem !important;
        margin-bottom: 10px;
    }
    
    .top_text p {
        font-size: 0.8rem !important;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .top_text ul {
        font-size: 0.8rem !important;
        padding-left: 0.8em;
        margin-bottom: 10px;
    }
    
    .top_text li {
        margin-bottom: 0.2em !important;
    }
    
    .top_text h4 {
        font-size: 0.8rem !important;
        line-height: 1.3;
        margin-top: 8px;
    }
    
    .top_img_01 img {
        max-width: 90% !important;
    }
    
    .soccer-league {
        padding: 30px 0;
    }
    
    .league_inner {
        padding-top: 50px;
    }
    
    .title {
        margin: 20px 0;
        padding: 15px 10px;
    }
    
    .title h2.jp {
        font-size: 1.5rem !important;
    }
    
    .title span.en {
        font-size: 0.9rem !important;
    }
    
    .title::after {
        width: 60px;
        height: 2px;
        margin: 15px auto 0;
    }
    
    .top_league_content {
        gap: 18px;
        padding: 0 10px;
    }
    
    .top_league_images {
        max-width: 250px;
        gap: 10px;
    }
    
    .top_league_images img {
        max-width: 100px;
    }
    
    .top_league_text p {
        font-size: 0.85em !important;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    #company_profile {
        padding: 30px 0;
        margin: 30px 0;
    }
    
    #company_profile .title {
        margin: 20px 0;
        padding: 15px 8px;
    }
    
    #company_profile table {
        margin: 0 5px;
    }
    
    #company_profile table tr {
        margin-bottom: 10px;
    }
    
    #company_profile table th {
        padding: 8px 10px 5px;
        font-size: 0.85rem;
    }
    
    #company_profile table td {
        padding: 5px 10px 10px;
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    #company_profile table td ul li {
        margin-bottom: 5px;
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .pl002 {
        max-width: 270px;
        gap: 15px;
    }
    
    .pl002 > a .title {
        font-size: 15px !important;
        padding: 0 6px;
        line-height: 1.3;
    }
    
    .pl002 > a .date {
        font-size: 0.8rem;
    }
    
    .pl002 > a .category > span {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* 極小スマートフォン（320px以下） */
@media (max-width: 320px) {
    .top_visual {
        padding: 15px 0;
    }
    
    .top_visual_inner {
        gap: 15px;
        padding: 0 8px;
    }
    
    .top_text h2 {
        font-size: 1.2em !important;
        line-height: 1.0;
        margin-bottom: 10px;
    }
    
    .top_text h3 {
        font-size: 0.8rem !important;
        margin-bottom: 8px;
    }
    
    .top_text p {
        font-size: 0.75rem !important;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .top_text ul {
        font-size: 0.75rem !important;
        padding-left: 0.6em;
        margin-bottom: 8px;
    }
    
    .top_text h4 {
        font-size: 0.75rem !important;
        line-height: 1.2;
    }
    
    .soccer-league {
        padding: 25px 0;
    }
    
    .league_inner {
        padding-top: 40px;
    }
    
    .title {
        margin: 15px 0;
        padding: 12px 8px;
    }
    
    .title h2.jp {
        font-size: 1.3rem !important;
    }
    
    .title span.en {
        font-size: 0.8rem !important;
    }
    
    .title::after {
        width: 50px;
        height: 2px;
        margin: 12px auto 0;
    }
    
    .top_league_content {
        gap: 15px;
        padding: 0 8px;
    }
    
    .top_league_images {
        max-width: 220px;
        gap: 8px;
    }
    
    .top_league_images img {
        max-width: 90px;
    }
    
    .top_league_text p {
        font-size: 0.8em !important;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    #company_profile {
        padding: 25px 0;
        margin: 25px 0;
    }
    
    #company_profile .title {
        margin: 15px 0;
        padding: 12px 5px;
    }
    
    #company_profile table {
        margin: 0 3px;
    }
    
    #company_profile table tr {
        margin-bottom: 8px;
    }
    
    #company_profile table th {
        padding: 6px 8px 4px;
        font-size: 0.8rem;
    }
    
    #company_profile table td {
        padding: 4px 8px 8px;
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    #company_profile table td ul li {
        margin-bottom: 4px;
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .pl002 {
        max-width: 240px;
        gap: 12px;
    }
    
    .pl002 > a .title {
        font-size: 14px !important;
        padding: 0 5px;
        line-height: 1.2;
    }
    
    .pl002 > a .date {
        font-size: 0.75rem;
    }
    
    .pl002 > a .category > span {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* 横向き表示（ランドスケープ）対応 */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 767px) {
    .top_visual {
        padding: 15px 0;
    }
    
    .top_visual_inner {
        flex-direction: row;
        gap: 20px;
        text-align: left;
    }
    
    .top_text,
    .top_img_01 {
        flex: 1;
    }
    
    .top_text {
        order: 1;
    }
    
    .top_img_01 {
        order: 2;
    }
    
    .top_text ul {
        text-align: left;
        display: block;
    }
    
    .soccer-league {
        padding: 20px 0;
    }
    
    .league_inner {
        padding-top: 30px;
    }
    
    .top_league_content {
        flex-direction: row;
        gap: 20px;
        text-align: left;
    }
    
    .top_league_images {
        flex: 0 0 40%;
        max-width: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top_league_text {
        flex: 1;
        text-align: left;
    }
    
    #company_profile {
        padding: 20px 0;
        margin: 20px 0;
    }
    
    .title {
        margin: 15px 0;
        padding: 10px;
    }
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .top_img_01 img,
    .top_league_images img,
    .pl002 > a .image > img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* *************************************
// フッター（footer.php）レスポンシブ対応
************************************* */

/* タブレット（768px-1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
    .f001 #inner-footer {
        padding: 40px 4% 40px 4%;
        gap: 20px;
    }
    
    .f001 .company_info {
        flex: 1;
        min-width: 200px;
    }
    
    .f001 .logo a {
        font-size: 1.1rem;
    }
    
    .f001 .address {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-top: 10px;
    }
    
    .f001 .address > span {
        margin-right: 0.3em;
    }
    
    .f001 nav {
        flex: 1;
        margin: 0 15px;
    }
    
    .f001 ul.nav {
        width: auto;
    }
    
    .f001 .nav li a {
        padding: 0.4rem;
        font-size: 0.9rem;
    }
    
    .f001 .img_box {
        flex: 0 0 auto;
    }
    
    .f001 .sns_box a {
        margin: 0 3px;
    }
    
    .f001 .sns_box a img {
        width: 35px;
    }
    
    .f001 .copyright {
        padding: 0.3rem;
        font-size: 0.75rem;
    }
}

/* スマートフォン（767px以下） */
@media (max-width: 767px) {
    .f001 #inner-footer {
        flex-direction: column;
        padding: 30px 3% 30px 3%;
        text-align: center;
        gap: 25px;
    }
    
    .f001 .company_info {
        order: 1;
        width: 100%;
        margin-bottom: 0;
    }
    
    .f001 .logo {
        margin-bottom: 15px;
    }
    
    .f001 .logo a {
        font-size: 1.1rem;
        display: block;
        text-align: center;
    }
    
    .f001 .address {
        font-size: 0.85rem;
        line-height: 1.6;
        text-align: center;
        margin-top: 0;
    }
    
    .f001 .address > span {
        display: block;
        margin: 0;
        margin-bottom: 5px;
    }
    
    .f001 .address > span:last-child {
        margin-bottom: 0;
    }
    
    .f001 nav {
        order: 2;
        width: 100%;
        margin: 0;
        text-align: center;
    }
    
    .f001 ul.nav {
        width: 100%;
        border-bottom: none;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .f001 ul.nav > li {
        border-top: 1px dashed #999;
        width: 100%;
    }
    
    .f001 ul.nav > li:first-child {
        border-top: 1px dashed #999;
    }
    
    .f001 ul.nav > li:last-child {
        border-bottom: 1px dashed #999;
    }
    
    .f001 .nav li a {
        display: block;
        padding: 0.6rem;
        text-align: center;
        font-size: 0.9rem;
        color: #fff;
        text-decoration: none;
        transition: background-color 0.3s;
    }
    
    .f001 .nav li a:hover {
        background-color: rgba(255,255,255,0.1);
    }
    
    .f001 .img_box {
        order: 3;
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
    
    .f001 .sns_box {
        justify-content: center;
        gap: 15px;
    }
    
    .f001 .sns_box a {
        margin: 0;
    }
    
    .f001 .sns_box a img {
        width: 40px;
        transition: transform 0.3s;
    }
    
    .f001 .sns_box a:hover img {
        transform: scale(1.1);
    }
    
    .f001 .copyright {
        padding: 0.3rem;
        font-size: 0.75rem;
        text-align: center;
    }
}

/* 小型スマートフォン（480px以下） */
@media (max-width: 480px) {
    .f001 #inner-footer {
        padding: 25px 2% 25px 2%;
        gap: 20px;
    }
    
    .f001 .logo a {
        font-size: 1rem;
    }
    
    .f001 .address {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .f001 .address > span {
        margin-bottom: 4px;
    }
    
    .f001 .nav li a {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .f001 .sns_box {
        gap: 12px;
    }
    
    .f001 .sns_box a img {
        width: 35px;
    }
    
    .f001 .copyright {
        font-size: 0.7rem;
        line-height: 1.4;
        padding: 0.25rem;
    }
}

/* 超小型スマートフォン（375px以下 - iPhoneSE対応） */
@media (max-width: 375px) {
    .f001 #inner-footer {
        padding: 20px 3% 20px 3%;
        gap: 18px;
    }
    
    .f001 .logo {
        margin-bottom: 12px;
    }
    
    .f001 .logo a {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .f001 .address {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .f001 .address > span {
        margin-bottom: 3px;
    }
    
    .f001 .nav li a {
        padding: 0.45rem;
        font-size: 0.8rem;
    }
    
    .f001 .sns_box {
        gap: 10px;
    }
    
    .f001 .sns_box a img {
        width: 32px;
    }
    
    .f001 .copyright {
        font-size: 0.65rem;
        line-height: 1.3;
        padding: 0.2rem;
    }
}

/* 極小スマートフォン（320px以下） */
@media (max-width: 320px) {
    .f001 #inner-footer {
        padding: 18px 2% 18px 2%;
        gap: 15px;
    }
    
    .f001 .logo {
        margin-bottom: 10px;
    }
    
    .f001 .logo a {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .f001 .address {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .f001 .address > span {
        margin-bottom: 2px;
    }
    
    .f001 .nav li a {
        padding: 0.4rem;
        font-size: 0.75rem;
    }
    
    .f001 .sns_box {
        gap: 8px;
    }
    
    .f001 .sns_box a img {
        width: 30px;
    }
    
    .f001 .copyright {
        font-size: 0.6rem;
        line-height: 1.2;
        padding: 0.15rem;
    }
}

/* 横向き表示（ランドスケープ）対応 */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 767px) {
    .f001 #inner-footer {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 15px 3%;
        gap: 15px;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .f001 .company_info {
        order: 1;
        flex: 1;
        min-width: 200px;
        text-align: left;
        margin-bottom: 0;
    }
    
    .f001 .logo a {
        text-align: left;
    }
    
    .f001 .address {
        text-align: left;
        margin-top: 8px;
    }
    
    .f001 .address > span {
        display: inline;
        margin-right: 0.5em;
        margin-bottom: 0;
    }
    
    .f001 nav {
        order: 2;
        flex: 2;
        margin: 0 15px;
    }
    
    .f001 ul.nav {
        flex-direction: row;
        flex-wrap: wrap;
        border: none;
        gap: 5px;
    }
    
    .f001 ul.nav > li {
        border: none;
        width: auto;
        flex: 1;
        min-width: 120px;
    }
    
    .f001 ul.nav > li:first-child,
    .f001 ul.nav > li:last-child {
        border: none;
    }
    
    .f001 .nav li a {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 3px;
        margin: 2px;
    }
    
    .f001 .img_box {
        order: 3;
        flex: 0 0 auto;
        text-align: right;
    }
    
    .f001 .sns_box {
        gap: 8px;
    }
    
    .f001 .sns_box a img {
        width: 28px;
    }
    
    .f001 .copyright {
        order: 4;
        width: 100%;
        font-size: 0.6rem;
        padding: 0.1rem;
        margin-top: 10px;
    }
}

/* 超横長画面対応 */
@media (min-width: 1400px) {
    .f001 #inner-footer {
        max-width: 1400px;
        margin: 0 auto;
        padding: 50px 5%;
    }
    
    .f001 .company_info {
        min-width: 250px;
    }
    
    .f001 nav {
        margin: 0 30px;
    }
    
    .f001 ul.nav {
        width: 250px;
    }
}

/* アクセシビリティ: 動きを減らしたい設定への対応 */
@media (prefers-reduced-motion: reduce) {
    .f001 .sns_box a img,
    .f001 .nav li a {
        transition: none !important;
    }
    
    .f001 .sns_box a:hover img {
        transform: none !important;
    }
}

/* タッチデバイス用の調整 */
@media (hover: none) and (pointer: coarse) {
    .f001 .nav li a {
        min-height: 44px; /* タッチしやすい最小サイズ */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .f001 .sns_box a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .f001 .sns_box a:hover img {
        transform: none;
    }
    
    .f001 .nav li a:active {
        background-color: rgba(255,255,255,0.2);
    }
}

/* 印刷用スタイル */
@media print {
    .f001 {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    
    .f001 #inner-footer {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .f001 .sns_box {
        display: none;
    }
    
    .f001 .logo a,
    .f001 .nav li a {
        color: #000 !important;
    }
    
    .f001 .copyright {
        background: #fff !important;
        color: #000 !important;
    }
}

/* *********************************************
// スポンサーページ（page-sponsor.php）レスポンシブ対応
************************************************ */

/* 全体的なリストスタイル設定 */
.benefits_list {
  list-style: none;
  padding-left: 0;
}

.benefits_list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.benefits_list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #28a745;
  font-weight: bold;
  font-size: 1.1rem;
  width: 20px;
}

/* スポンサーページ レスポンシブ対応 */

/* タブレット対応 (768px以下) */
@media screen and (max-width: 768px) {
  #sponser_top .sponser_top_img img {
    width: 100%;
    height: auto;
  }
  
  .sponsor_content {
    padding: 20px 15px;
  }
  
  .sponsor_content h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  
  .benefits_section h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .benefits_list {
    padding-left: 20px;
  }
  
  .benefits_list li {
    margin-bottom: 8px;
    line-height: 1.6;
  }
}

/* スマホ対応 (480px以下) */
@media screen and (max-width: 480px) {
  #content {
    padding: 0 10px;
  }
  
  .hl001 h1 {
    font-size: 1.5rem;
    padding: 15px 10px;
    text-align: center;
  }
  
  #sponser_top.p002 {
    padding: 10px;
  }
  
  .sponsor_content {
    padding: 15px 10px;
  }
  
  .sponsor_content h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  
  .benefits_section h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .benefits_list {
    padding-left: 25px;
    list-style: none;
  }
  
  .benefits_list li {
    font-size: 0.9rem;
    margin-bottom: 6px;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
  }
  
  .benefits_list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1rem;
  }
  
  /* FAQ セクション */
  .faq_content {
    padding: 15px 10px;
  }
  
  .faq_content h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .faq_item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .faq_question {
    font-size: 0.95rem;
    padding: 12px 10px;
    margin: 0;
    background-color: #f8f9fa;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .faq_answer {
    padding: 12px 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    background-color: #fff;
  }
}

/* iPhone SE第2世代など超小型スマホ対応 (375px以下) */
@media screen and (max-width: 375px) {
  .hl001 h1 {
    font-size: 1.3rem;
    padding: 12px 8px;
  }
  
  .sponsor_content {
    padding: 12px 8px;
  }
  
  .sponsor_content h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .benefits_section h3 {
    font-size: 0.95rem;
  }
  
  .benefits_list {
    padding-left: 30px;
    list-style: none;
  }
  
  .benefits_list li {
    font-size: 0.85rem;
    line-height: 1.4;
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
  }
  
  .benefits_list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 0.9rem;
  }
  
  .faq_content {
    padding: 12px 8px;
  }
  
  .faq_question {
    font-size: 0.9rem;
    padding: 10px 8px;
  }
  
  .faq_answer {
    padding: 10px 8px;
    font-size: 0.85rem;
  }
}

/* 横向き小型スマホ対応 */
@media screen and (max-width: 667px) and (orientation: landscape) {
  .sponsor_content h2 {
    font-size: 1.1rem;
  }
  
  .benefits_list li {
    font-size: 0.9rem;
  }
  
  .faq_question {
    font-size: 0.9rem;
  }
  
  .faq_answer {
    font-size: 0.85rem;
  }
}

/* *********************************************
// Cotact Form 7 レスポンシブ対応
************************************************ */

/* 基本的なフォームスタイルの調整 */
.wpcf7 {
    font-family: inherit;
    line-height: 1.6;
    color: #333;
}

/* 全体的なコンテナ調整 */
.notice-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* タブレット対応 (768px以下) */
@media screen and (max-width: 768px) {
    .notice-container {
        padding: 15px;
    }
    
    .notice-title {
        font-size: 22px;
        margin-bottom: 18px;
    }
    
    .notice-item {
        padding: 12px;
        margin-bottom: 10px;
        font-size: 0.95rem;
    }
    
    .agreement-section {
        margin: 25px 0 40px;
        padding: 18px;
    }
    
    .agreement-text {
        font-size: 0.95rem;
    }
    
    /* メールフォームテーブル */
    .mail_form {
        margin: 0 auto 25px auto;
        max-width: 100%;
    }
    
    .mail_form h2,
    .mail_form h3 {
        font-size: 18px;
        padding: 18px;
    }
    
    .mail_form th {
        width: 150px;
        padding: 15px 18px;
        font-size: 0.9rem;
    }
    
    .mail_form td {
        padding: 12px 18px;
    }
    
    /* 入力フィールド */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 select,
    .wpcf7 textarea {
        max-width: 100%;
        padding: 10px 14px;
        font-size: 15px;
    }
    
    .wpcf7 textarea {
        min-height: 80px;
    }
    
    .wpcf7 input[type="submit"] {
        padding: 12px 35px;
        font-size: 15px;
        margin: 25px auto 0;
    }
}

/* スマートフォン対応 (480px以下) */
@media screen and (max-width: 480px) {
    .notice-container {
        padding: 12px;
    }
    
    .notice-title {
        font-size: 20px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .notice-item {
        padding: 10px;
        margin-bottom: 8px;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .agreement-section {
        margin: 20px 0 35px;
        padding: 15px;
    }
    
    .agreement-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* テーブルをカード形式に変更 */
    .mail_form,
    .mail_form.two_column {
        display: block;
        width: 100%;
        margin: 0 5px 20px 5px;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .mail_form h2,
    .mail_form h3 {
        font-size: 16px;
        padding: 15px;
        margin: 0;
        text-align: center;
    }
    
    .mail_form tr {
        display: block;
        width: 100%;
        border-bottom: 2px solid #f0f0f0;
        margin-bottom: 15px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    .mail_form th,
    .mail_form td {
        display: block;
        width: 100%;
        border: none;
        text-align: left;
    }
    
    .mail_form th {
        background-color: #edf2f7;
        padding: 12px 15px 8px;
        font-weight: bold;
        border-bottom: 1px solid #e2e8f0;
        border-right: none;
        width: auto;
        font-size: 0.9rem;
    }
    
    .mail_form td {
        padding: 8px 15px 15px;
        background: #fff;
    }
    
    /* 入力フィールドの調整 */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 select,
    .wpcf7 textarea {
        width: 100%;
        max-width: 100%;
        padding: 12px;
        font-size: 16px; /* iOS拡大防止 */
        border: 2px solid #e2e8f0;
        border-radius: 6px;
        box-sizing: border-box;
    }
    
    .wpcf7 textarea {
        min-height: 100px;
        resize: vertical;
    }
    
    /* 郵便番号・都道府県の調整 */
    .mail_form td input[type="text"][placeholder*="郵便番号"] {
        max-width: 200px;
        margin-bottom: 10px;
    }
    
    .mail_form td select {
        max-width: 150px;
        margin-bottom: 10px;
    }
    
    .mail_form td input[type="text"][placeholder*="市区町村"] {
        max-width: 100%;
    }
    
    /* ラジオボタン・チェックボックス */
    .wpcf7 .wpcf7-radio,
    .wpcf7 .wpcf7-checkbox {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .wpcf7 .wpcf7-list-item {
        display: flex;
        align-items: center;
        padding: 10px 0;
        font-size: 0.9rem;
    }
    
    .wpcf7 .wpcf7-list-item input[type="radio"],
    .wpcf7 .wpcf7-list-item input[type="checkbox"] {
        width: auto;
        margin-right: 10px;
        transform: scale(1.3);
    }
    
    /* 送信ボタン */
    .wpcf7 input[type="submit"] {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        font-size: 16px;
        margin: 20px auto 0;
        display: block;
        border-radius: 8px;
    }
    
    /* エラーメッセージ */
    .wpcf7-not-valid-tip {
        font-size: 12px;
        margin-top: 8px;
    }
    
    .wpcf7-validation-errors,
    .wpcf7-mail-sent-ok {
        padding: 12px;
        font-size: 14px;
        margin-bottom: 15px;
        border-radius: 6px;
    }
}

/* iPhone SE第2世代など超小型スマホ対応 (375px以下) */
@media screen and (max-width: 375px) {
    .notice-container {
        padding: 10px;
    }
    
    .notice-title {
        font-size: 18px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .notice-item {
        padding: 8px;
        margin-bottom: 6px;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .agreement-section {
        margin: 18px 0 30px;
        padding: 12px;
    }
    
    .agreement-text {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* フォームテーブル */
    .mail_form,
    .mail_form.two_column {
        margin: 0 3px 18px 3px;
    }
    
    .mail_form h2,
    .mail_form h3 {
        font-size: 15px;
        padding: 12px;
    }
    
    .mail_form tr {
        margin-bottom: 12px;
        border-radius: 4px;
    }
    
    .mail_form th {
        padding: 10px 12px 6px;
        font-size: 0.85rem;
    }
    
    .mail_form td {
        padding: 6px 12px 12px;
    }
    
    /* 入力フィールド */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 select,
    .wpcf7 textarea {
        padding: 10px;
        font-size: 16px;
        border-radius: 4px;
    }
    
    .wpcf7 textarea {
        min-height: 90px;
    }
    
    /* 郵便番号・都道府県 */
    .mail_form td input[type="text"][placeholder*="郵便番号"] {
        max-width: 180px;
        margin-bottom: 8px;
    }
    
    .mail_form td select {
        max-width: 140px;
        margin-bottom: 8px;
    }
    
    /* ラジオボタン・チェックボックス */
    .wpcf7 .wpcf7-list-item {
        padding: 8px 0;
        font-size: 0.85rem;
    }
    
    .wpcf7 .wpcf7-list-item input[type="radio"],
    .wpcf7 .wpcf7-list-item input[type="checkbox"] {
        margin-right: 8px;
        transform: scale(1.2);
    }
    
    /* 送信ボタン */
    .wpcf7 input[type="submit"] {
        max-width: 280px;
        padding: 12px 18px;
        font-size: 15px;
        margin: 18px auto 0;
        border-radius: 6px;
    }
    
    /* エラーメッセージ */
    .wpcf7-not-valid-tip {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .wpcf7-validation-errors,
    .wpcf7-mail-sent-ok {
        padding: 10px;
        font-size: 13px;
        margin-bottom: 12px;
    }
}

/* 極小スマートフォン対応 (320px以下) */
@media screen and (max-width: 320px) {
    .notice-container {
        padding: 8px;
    }
    
    .notice-title {
        font-size: 16px;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .notice-item {
        padding: 6px;
        margin-bottom: 5px;
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .agreement-section {
        margin: 15px 0 25px;
        padding: 10px;
    }
    
    .agreement-text {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    /* フォームテーブル */
    .mail_form,
    .mail_form.two_column {
        margin: 0 2px 15px 2px;
    }
    
    .mail_form h2,
    .mail_form h3 {
        font-size: 14px;
        padding: 10px;
    }
    
    .mail_form tr {
        margin-bottom: 10px;
    }
    
    .mail_form th {
        padding: 8px 10px 5px;
        font-size: 0.8rem;
    }
    
    .mail_form td {
        padding: 5px 10px 10px;
    }
    
    /* 入力フィールド */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 select,
    .wpcf7 textarea {
        padding: 8px;
        font-size: 16px;
    }
    
    .wpcf7 textarea {
        min-height: 80px;
    }
    
    /* 郵便番号・都道府県 */
    .mail_form td input[type="text"][placeholder*="郵便番号"] {
        max-width: 160px;
        margin-bottom: 6px;
    }
    
    .mail_form td select {
        max-width: 130px;
        margin-bottom: 6px;
    }
    
    /* ラジオボタン・チェックボックス */
    .wpcf7 .wpcf7-list-item {
        padding: 6px 0;
        font-size: 0.8rem;
    }
    
    .wpcf7 .wpcf7-list-item input[type="radio"],
    .wpcf7 .wpcf7-list-item input[type="checkbox"] {
        margin-right: 6px;
        transform: scale(1.1);
    }
    
    /* 送信ボタン */
    .wpcf7 input[type="submit"] {
        max-width: 260px;
        padding: 10px 16px;
        font-size: 14px;
        margin: 15px auto 0;
    }
    
    /* エラーメッセージ */
    .wpcf7-not-valid-tip {
        font-size: 10px;
        margin-top: 5px;
    }
    
    .wpcf7-validation-errors,
    .wpcf7-mail-sent-ok {
        padding: 8px;
        font-size: 12px;
        margin-bottom: 10px;
    }
}

/* 横向き表示（ランドスケープ）対応 */
@media screen and (max-width: 667px) and (orientation: landscape) {
    .notice-container {
        padding: 10px 15px;
    }
    
    .notice-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .notice-item {
        padding: 6px;
        font-size: 0.85rem;
    }
    
    .agreement-section {
        margin: 15px 0 25px;
        padding: 10px;
    }
    
    .mail_form h2,
    .mail_form h3 {
        font-size: 14px;
        padding: 10px;
    }
    
    .mail_form tr {
        margin-bottom: 8px;
    }
    
    .mail_form th {
        padding: 6px 10px 4px;
        font-size: 0.8rem;
    }
    
    .mail_form td {
        padding: 4px 10px 8px;
    }
    
    .wpcf7 input[type="submit"] {
        max-width: 250px;
        padding: 8px 15px;
        font-size: 14px;
        margin: 12px auto 0;
    }
}

/* フォーカス時のアクセシビリティ */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: 2px solid #4299e1;
    outline-offset: 2px;
    border-color: #4299e1;
}

/* タッチデバイス用の調整 */
@media (hover: none) and (pointer: coarse) {
    .wpcf7 input[type="submit"] {
        min-height: 44px; /* タッチしやすい最小サイズ */
    }
    
    .wpcf7 .wpcf7-list-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .wpcf7 input[type="submit"]:active {
        opacity: 0.8;
        transform: translateY(1px);
    }
}

/* 印刷用スタイル */
@media print {
    .notice-container,
    .mail_form {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    
    .wpcf7 input[type="submit"] {
        display: none;
    }
}

/* Contact Form 7 レスポンシブ対応 - iPhone SE対応版 */

/* 基本的なフォームスタイルの調整 */
.wpcf7 {
    font-family: inherit;
    line-height: 1.6;
    color: #333;
}

/* 全体的なコンテナ調整 */
.notice-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* タブレット対応 (768px以下) */
@media screen and (max-width: 768px) {
    .notice-container {
        padding: 15px;
    }
    
    .notice-title {
        font-size: 22px;
        margin-bottom: 18px;
    }
    
    .notice-item {
        padding: 12px;
        margin-bottom: 10px;
        font-size: 0.95rem;
    }
    
    .agreement-section {
        margin: 25px 0 40px;
        padding: 18px;
    }
    
    .agreement-text {
        font-size: 0.95rem;
    }
    
    /* メールフォームテーブル */
    .mail_form {
        margin: 0 auto 25px auto;
        max-width: 100%;
    }
    
    .mail_form h2,
    .mail_form h3 {
        font-size: 18px;
        padding: 18px;
    }
    
    .mail_form th {
        width: 150px;
        padding: 15px 18px;
        font-size: 0.9rem;
    }
    
    .mail_form td {
        padding: 12px 18px;
    }
    
    /* 入力フィールド */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 select,
    .wpcf7 textarea {
        max-width: 100%;
        padding: 10px 14px;
        font-size: 15px;
    }
    
    .wpcf7 textarea {
        min-height: 80px;
    }
    
    .wpcf7 input[type="submit"] {
        padding: 12px 35px;
        font-size: 15px;
        margin: 25px auto 0;
    }
}

/* スマートフォン対応 (480px以下) */
@media screen and (max-width: 480px) {
    .notice-container {
        padding: 12px;
    }
    
    .notice-title {
        font-size: 20px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .notice-item {
        padding: 10px;
        margin-bottom: 8px;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .agreement-section {
        margin: 20px 0 35px;
        padding: 15px;
    }
    
    .agreement-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* テーブルをカード形式に変更 */
    .mail_form,
    .mail_form.two_column {
        display: block;
        width: 100%;
        margin: 0 5px 20px 5px;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .mail_form h2,
    .mail_form h3 {
        font-size: 16px;
        padding: 15px;
        margin: 0;
        text-align: center;
    }
    
    .mail_form tr {
        display: block;
        width: 100%;
        border-bottom: 2px solid #f0f0f0;
        margin-bottom: 15px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    .mail_form th,
    .mail_form td {
        display: block;
        width: 100%;
        border: none;
        text-align: left;
    }
    
    .mail_form th {
        background-color: #edf2f7;
        padding: 12px 15px 8px;
        font-weight: bold;
        border-bottom: 1px solid #e2e8f0;
        border-right: none;
        width: auto;
        font-size: 0.9rem;
    }
    
    .mail_form td {
        padding: 8px 15px 15px;
        background: #fff;
    }
    
    /* 入力フィールドの調整 */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 select,
    .wpcf7 textarea {
        width: 100%;
        max-width: 100%;
        padding: 12px;
        font-size: 16px; /* iOS拡大防止 */
        border: 2px solid #e2e8f0;
        border-radius: 6px;
        box-sizing: border-box;
    }
    
    .wpcf7 textarea {
        min-height: 100px;
        resize: vertical;
    }
    
    /* 郵便番号・都道府県の調整 */
    .mail_form td input[type="text"][placeholder*="郵便番号"] {
        max-width: 200px;
        margin-bottom: 10px;
    }
    
    .mail_form td select {
        max-width: 150px;
        margin-bottom: 10px;
    }
    
    .mail_form td input[type="text"][placeholder*="市区町村"] {
        max-width: 100%;
    }
    
    /* ラジオボタン・チェックボックス */
    .wpcf7 .wpcf7-radio,
    .wpcf7 .wpcf7-checkbox {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .wpcf7 .wpcf7-list-item {
        display: flex;
        align-items: center;
        padding: 10px 0;
        font-size: 0.9rem;
    }
    
    .wpcf7 .wpcf7-list-item input[type="radio"],
    .wpcf7 .wpcf7-list-item input[type="checkbox"] {
        width: auto;
        margin-right: 10px;
        transform: scale(1.3);
    }
    
    /* 送信ボタン */
    .wpcf7 input[type="submit"] {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        font-size: 16px;
        margin: 20px auto 0;
        display: block;
        border-radius: 8px;
    }
    
    /* エラーメッセージ */
    .wpcf7-not-valid-tip {
        font-size: 12px;
        margin-top: 8px;
    }
    
    .wpcf7-validation-errors,
    .wpcf7-mail-sent-ok {
        padding: 12px;
        font-size: 14px;
        margin-bottom: 15px;
        border-radius: 6px;
    }
}

/* iPhone SE第2世代など超小型スマホ対応 (375px以下) */
@media screen and (max-width: 375px) {
    .notice-container {
        padding: 10px;
    }
    
    .notice-title {
        font-size: 18px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .notice-item {
        padding: 8px;
        margin-bottom: 6px;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .agreement-section {
        margin: 18px 0 30px;
        padding: 12px;
    }
    
    .agreement-text {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* フォームテーブル */
    .mail_form,
    .mail_form.two_column {
        margin: 0 3px 18px 3px;
    }
    
    .mail_form h2,
    .mail_form h3 {
        font-size: 15px;
        padding: 12px;
    }
    
    .mail_form tr {
        margin-bottom: 12px;
        border-radius: 4px;
    }
    
    .mail_form th {
        padding: 10px 12px 6px;
        font-size: 0.85rem;
    }
    
    .mail_form td {
        padding: 6px 12px 12px;
    }
    
    /* 入力フィールド */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 select,
    .wpcf7 textarea {
        padding: 10px;
        font-size: 16px;
        border-radius: 4px;
    }
    
    .wpcf7 textarea {
        min-height: 90px;
    }
    
    /* 郵便番号・都道府県 */
    .mail_form td input[type="text"][placeholder*="郵便番号"] {
        max-width: 180px;
        margin-bottom: 8px;
    }
    
    .mail_form td select {
        max-width: 140px;
        margin-bottom: 8px;
    }
    
    /* ラジオボタン・チェックボックス */
    .wpcf7 .wpcf7-list-item {
        padding: 8px 0;
        font-size: 0.85rem;
    }
    
    .wpcf7 .wpcf7-list-item input[type="radio"],
    .wpcf7 .wpcf7-list-item input[type="checkbox"] {
        margin-right: 8px;
        transform: scale(1.2);
    }
    
    /* 送信ボタン */
    .wpcf7 input[type="submit"] {
        max-width: 280px;
        padding: 12px 18px;
        font-size: 15px;
        margin: 18px auto 0;
        border-radius: 6px;
    }
    
    /* エラーメッセージ */
    .wpcf7-not-valid-tip {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .wpcf7-validation-errors,
    .wpcf7-mail-sent-ok {
        padding: 10px;
        font-size: 13px;
        margin-bottom: 12px;
    }
}

/* 極小スマートフォン対応 (320px以下) */
@media screen and (max-width: 320px) {
    .notice-container {
        padding: 8px;
    }
    
    .notice-title {
        font-size: 16px;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .notice-item {
        padding: 6px;
        margin-bottom: 5px;
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .agreement-section {
        margin: 15px 0 25px;
        padding: 10px;
    }
    
    .agreement-text {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    /* フォームテーブル */
    .mail_form,
    .mail_form.two_column {
        margin: 0 2px 15px 2px;
    }
    
    .mail_form h2,
    .mail_form h3 {
        font-size: 14px;
        padding: 10px;
    }
    
    .mail_form tr {
        margin-bottom: 10px;
    }
    
    .mail_form th {
        padding: 8px 10px 5px;
        font-size: 0.8rem;
    }
    
    .mail_form td {
        padding: 5px 10px 10px;
    }
    
    /* 入力フィールド */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="number"],
    .wpcf7 select,
    .wpcf7 textarea {
        padding: 8px;
        font-size: 16px;
    }
    
    .wpcf7 textarea {
        min-height: 80px;
    }
    
    /* 郵便番号・都道府県 */
    .mail_form td input[type="text"][placeholder*="郵便番号"] {
        max-width: 160px;
        margin-bottom: 6px;
    }
    
    .mail_form td select {
        max-width: 130px;
        margin-bottom: 6px;
    }
    
    /* ラジオボタン・チェックボックス */
    .wpcf7 .wpcf7-list-item {
        padding: 6px 0;
        font-size: 0.8rem;
    }
    
    .wpcf7 .wpcf7-list-item input[type="radio"],
    .wpcf7 .wpcf7-list-item input[type="checkbox"] {
        margin-right: 6px;
        transform: scale(1.1);
    }
    
    /* 送信ボタン */
    .wpcf7 input[type="submit"] {
        max-width: 260px;
        padding: 10px 16px;
        font-size: 14px;
        margin: 15px auto 0;
    }
    
    /* エラーメッセージ */
    .wpcf7-not-valid-tip {
        font-size: 10px;
        margin-top: 5px;
    }
    
    .wpcf7-validation-errors,
    .wpcf7-mail-sent-ok {
        padding: 8px;
        font-size: 12px;
        margin-bottom: 10px;
    }
}

/* 横向き表示（ランドスケープ）対応 */
@media screen and (max-width: 667px) and (orientation: landscape) {
    .notice-container {
        padding: 10px 15px;
    }
    
    .notice-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .notice-item {
        padding: 6px;
        font-size: 0.85rem;
    }
    
    .agreement-section {
        margin: 15px 0 25px;
        padding: 10px;
    }
    
    .mail_form h2,
    .mail_form h3 {
        font-size: 14px;
        padding: 10px;
    }
    
    .mail_form tr {
        margin-bottom: 8px;
    }
    
    .mail_form th {
        padding: 6px 10px 4px;
        font-size: 0.8rem;
    }
    
    .mail_form td {
        padding: 4px 10px 8px;
    }
    
    .wpcf7 input[type="submit"] {
        max-width: 250px;
        padding: 8px 15px;
        font-size: 14px;
        margin: 12px auto 0;
    }
}

/* フォーカス時のアクセシビリティ */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: 2px solid #4299e1;
    outline-offset: 2px;
    border-color: #4299e1;
}

/* タッチデバイス用の調整 */
@media (hover: none) and (pointer: coarse) {
    .wpcf7 input[type="submit"] {
        min-height: 44px; /* タッチしやすい最小サイズ */
    }
    
    .wpcf7 .wpcf7-list-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .wpcf7 input[type="submit"]:active {
        opacity: 0.8;
        transform: translateY(1px);
    }
}

/* 生年月日の横並び対応（実際のHTML構造用） */
@media screen and (min-width: 769px) {
    /* 生年月日を含むtr、またはクラス指定 */
    .birthday-row td,
    tr:has(select[name="birth_year"]) td {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    /* 具体的なname属性でのセレクト */
    select[name="birth_year"],
    select[name="birth_month"], 
    select[name="birth_day"] {
        max-width: 100px !important;
        margin: 0 5px 0 0 !important;
        flex-shrink: 0;
        display: inline-block !important;
    }
    
    /* 年のセレクトボックスは少し幅を広く */
    select[name="birth_year"] {
        max-width: 120px !important;
    }
    
    /* 万能セレクタ: 生年月日関連のselectが3つあるtd */
    .mail_form td:has(select[name*="birth_year"]):has(select[name*="birth_month"]):has(select[name*="birth_day"]) {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }
}

/* より広範囲のセレクタ（フォールバック用） */
@media screen and (min-width: 769px) {
    /* 生年月日という文字を含むthの隣のtd */
    .mail_form th:contains("生年月日") + td,
    .mail_form th[class*="required"]:contains("生年月日") + td {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    
    /* セレクトボックスが複数あるtdを対象 */
    .mail_form td select + select {
        margin-left: 0 !important;
    }
    
    /* 3つのセレクトボックスがあるtdを想定 */
    .mail_form td select:nth-of-type(1):nth-last-of-type(3),
    .mail_form td select:nth-of-type(2):nth-last-of-type(2),
    .mail_form td select:nth-of-type(3):nth-last-of-type(1) {
        max-width: 100px !important;
        margin: 0 5px 0 0 !important;
        display: inline-block !important;
    }
    
    /* 最初のセレクト（年）は幅を広く */
    .mail_form td select:nth-of-type(1):nth-last-of-type(3) {
        max-width: 120px !important;
    }
}

/* タブレット用の調整 */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .birthday-row td,
    tr:has(select[name="birth_year"]) td {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    select[name="birth_year"],
    select[name="birth_month"],
    select[name="birth_day"] {
        max-width: 80px !important;
        margin: 0 3px 0 0 !important;
    }
    
    select[name="birth_year"] {
        max-width: 100px !important;
    }
}

/* スマートフォンでは縦並び */
@media screen and (max-width: 480px) {
    select[name="birth_year"],
    select[name="birth_month"],
    select[name="birth_day"] {
        display: block !important;
        width: 100% !important;
        max-width: 180px !important;
        margin-bottom: 8px !important;
        margin-right: 0 !important;
    }
}

/* 印刷用スタイル */
@media print {
    .notice-container,
    .mail_form {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    
    .wpcf7 input[type="submit"] {
        display: none;
    }
}

/* サンキューページ用スタイル */
.thanks-page {
    padding: 80px 0;
    min-height: 60vh;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

.thanks-message {
    text-align: center;
}

.thanks-message p {
    line-height: 2;
}

@media screen and (max-width: 768px) {
    .thanks-page {
        padding: 40px 0;
    }
    
    .thanks-content {
        padding: 40px 20px;
    }
    
    .thanks-message p {
        font-size: 1em !important;
    }
}