@charset "utf-8";

/* root/ikebukuro/maturity/
------------------------------------------ */

/* デザイン共通設定 */
:root {
  --color-main-green: #369438;      /* 濃い緑（アクティブタブ） */
  --color-light-green: #e1f5ad;     /* 薄い黄緑（非アクティブタブ） */
  --color-navy: #0b3084;            /* 紺（期限ラベル） */
  --color-light-blue: #e1efff;      /* 水色（注意事項背景） */
}


/* ヘッダー内 サブメニュー　PC only
------------------------------------------ */
header dl.submenu{
	width: 100%;
	max-width: 960px;
	margin: 2% auto 0;
	display: table;
}

header dl.submenu dt{
	display: table-cell;
	width: 14em;
	background-color: #368b38;
	color: #ffffff;
	padding: 2px 2px;
	border-radius: 5px;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}

header dl.submenu dd{
	display: table-cell;
	vertical-align: middle;
	padding-top: 2px;
}

header dl.submenu dd ul{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	margin-left: 1em;
	padding-top: 1px;
}

header dl.submenu dd ul li{
	margin-right: 1em;
	background:url(/ikebukuro/img/icon_link.png) no-repeat left 0px;
	background-size: 12px;
	padding: 0 0 0 14px;
	margin-bottom: 2px;
}


header dl.submenu dd ul li:nth-of-type(1){
	background:url(/ikebukuro/img/icon_anchor.png) no-repeat left 0px;
	background-size: 13px;
}


header dl.submenu a{
	color: #368138;
	text-decoration: none;
}

header dl.submenu a:hover{
	color: #ff8138;
}

@media screen and (max-width:768px) {
	header dl.submenu{
		display: none;
	}
}


/* メインコンテンツ article
------------------------------------------ */
article{
	width: 100%;
	margin: 0 auto;
}

.lp-container {
  	font-family: sans-serif;
  	color: #262626;
  	line-height: 1.6;
}

/* タイトルエリア（背景画像は別途指定） */
.hero-section {
	padding: 40px 15px;
	text-align: center;
	background-image: 
		linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), 
		url("../img/bg_main.webp");
	background-repeat: no-repeat;
	background-position: center center; /* 画像の中央を基準にする */
	/* おすすめの設定 */
	background-size: cover;
}

.hero-title {
  	font-size: 1.7rem;
  	line-height: 1.8;
}

.text-green-light { 
	color: var(--color-main-green);
	/*font-size: 1.6rem; */
}

.text-green-dark { 
	color: var(--color-main-green);
	/*font-size: 1.6rem; */
	/*font-weight: bold;*/
}

.title-segment {
	display: block; /* 各spanをブロック化して強制的に改行させる */
}

/* メインコンテンツ */
.content-body {
  	padding: 0 15px 40px;
}

.lead-message {
  	text-align: center;
	font-size: 1.15rem;
	line-height: 1.8;
	font-weight: bold;
}

/* 期限表示 (SP) */
.deadline-container {
	border: 2px solid var(--color-navy);
	margin-top: 5%;
	text-align: center;
	/*margin-bottom: 30px;*/
}

.deadline-label {
  	background-color: var(--color-navy);
	font-size: 1.1rem;
  	color: #fff;
  	padding: 5px;
  	font-weight: bold;
}

.deadline-content {
	font-size: 1.05rem;
	padding: 5px;
}

.num-large {
  	font-size: 1.5rem;
  	font-weight: bold;
  	margin: 0 2px;
}

/* 注意事項 (SP) */
.info-banner {
  	background-color: var(--color-light-blue);
	margin-top: 5%;
	padding: 20px 5px;
	text-align: center;
	margin-bottom: 10%;
}

.info-bold {
	font-size: 1.05rem;
  	font-weight: bold;
	text-decoration: underline;
	margin-bottom: 10px;
	line-height: 1.6;
}

.info-small {
  	font-size: 0.95rem;
	line-height: 1.4;
}

/* --- タブエリアの修正 --- */
.tab-nav {
  	display: grid;
  	/* スマホ：2列（1:1の幅）で並べる */
  	grid-template-columns: repeat(2, 1fr); 
  	gap: 4px;
  	list-style: none;
  	padding: 0;
}

.tab-btn {
  	background-color: var(--color-light-green);
  	color: var(--color-main-green);
  	font-weight: bold;
	padding: 5px 5px;
  	text-align: center;
  	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1.4;
  
  	/* ボタンの中のテキストを中央揃えにする設定 */
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	min-height: 60px; /* 最小の高さを揃える */
}

/* 5番目の「よくあるご質問」だけ、2列分（横一杯）使う */
.tab-btn:nth-child(5) {
  	grid-column: 1 / 3;
}

.tab-btn.is-active {
  	background-color: var(--color-main-green);
  	color: #fff;
}

/* タブパネル */
/* --- タブコンテンツのふわっと表示 --- */
.tab-panel {
  	display: none;
  	opacity: 0;
  	transform: translateY(10px); /* 少し下から浮き上がる */
  	transition: opacity 0.4s ease, transform 0.4s ease;
	padding: 30px 0;
  	border-bottom: 4px solid var(--color-main-green);
}

.tab-panel.is-show {
  	display: block;
  	opacity: 1;
  	transform: translateY(0);
}

/* -------------------------------------------
   PC表示 (768px以上)
------------------------------------------- */
@media screen and (min-width: 768px) {
	article{
		max-width: 960px;
		margin: 0 auto;
	}
	
	.hero-section {
    	padding: 60px 15px; /* PCではよりゆったりさせると高級感が出ます */
  	}
	
	.hero-title { 
	  	font-size: 2.2rem; 
	}
  
	.text-green-dark { 
	  	font-size: 2.5rem; 
	}
	
	.title-segment {
		display: inline; /* 横並びにする */
	}

  	.title-segment:first-child {
    	margin-right: 0.5em; /* 0.5文字分の正確な空白を作る */
  	}
	
	.lead-message {
		font-size: 1.4rem;
	}

  	/* 期限表示 (PC: 横並び) */
  	.deadline-container {
	  	width: 65%;
	  	margin: 3% auto 0;
	  	display: flex;
	  	align-items: stretch;
 	 }

  	.deadline-label {
    	width: 100px;
    	display: flex;
    	align-items: center;
    	justify-content: center;
    	padding: 0;
  	}
	
	.info-banner {
  		width: 65%;
	  	margin: 3% auto 5%;
}
	

  	/* タブ (PC: 横一列) */
 	.tab-nav {
   		/* PC：5列（1:1:1:1:1の幅）で1行にする */
    	grid-template-columns: repeat(5, 1fr);
  	}

  	.tab-btn:nth-child(5) {
    	/* PCでは横一杯解除 */
    	grid-column: auto;
  	}

  	.tab-btn {
    	min-height: 80px;
  	}
}



/* タブエリア 
------------------------------------------ */
/* --- コンテンツ内部のスタイル --- */
.item-container {
	max-width: 800px;
  	margin: 0 auto;
  	text-align: center;
}

.item-title {
  	color: var(--color-main-green);
  	font-size: 1.5rem;
  	margin-bottom: 15px;
	font-weight: bold;
}

.item-lead {
	font-size: 1.05rem;
  	margin-bottom: 30px;
  	line-height: 1.6;
}



/* --- 手順説明ブロック --- */
.step-list {
   	margin-bottom: 50px;
}

.step-item {
  	display: flex;
  	flex-direction: column; /* スマホは縦並び */
  	gap: 20px;
  	padding: 45px 0; /* 余白を増やしてゆったりと */
  
  	/* 【修正】ハッキリとした区切り線（薄いグレーの実線、またはテーマカラーでもOK） */
  	border-bottom: 2px solid var(--color-navy); 
}

.step-item:first-child {
  	/* 手順の1つ目だけリード文との間隔を詰める */
  	margin-top: 0;                /* マージンをリセット */
  	padding-top: 15px !important; /* パディングで微調整 */
}

.step-item:last-child {
  	border-bottom: none; /* 最後の線の除去 */
}

.step-text {
  	display: flex; /* 数字とテキストを横並びにする */
  	align-items: flex-start;
  	text-align: left;
}

/* ステップ❷のテキスト＋画像グループ用 */
.step-description-group {
  	flex: 1;
}

/* テキスト直下の補足画像（セット） */
.step-sub-image {
  	margin-top: 15px;
  	width: 100%;
  	max-width: 300px; /* テキスト側の画像は少し小さめに制限 */
}

.step-num {
  	color: var(--color-main-green);
  	font-size: 1.75rem;
  	font-weight: bold;
  	margin-right: 10px;
  	line-height: 1;
  	flex-shrink: 0;
}

.step-description {
  	font-size: 1.05rem;
  	line-height: 1.6;
  	margin: 0;
}

/* ステップ4内のインライン画像 */
.inline-btn-img {
  	display: inline-block;
  	vertical-align: middle;
  	height: 1.4em; /* テキストの高さに合わせる */
  	width: auto;
  	margin: 0 5px;
}





/* ステップ内の注釈エリアの余白 */
.step-note-area {
  margin-top: 12px;
}

.step-subtext {
  position: relative;       /* 記号を配置する基準にする */
  padding-left: 1.2em;      /* 2行目以降の開始位置を「1.2文字分」で完全に固定 */
  font-size: 0.9rem;
  /*color: #666;*/
  line-height: 1.6;
  margin-bottom: 5px;
  text-align: left;
}

/* 疑似要素で「※」を表示 */
.step-subtext::before {
  content: "※";             /* ここで記号を指定 */
  position: absolute;       /* テキストの流れから浮かせて配置 */
  left: 0;                  /* 左端に固定 */
  top: 0;                   /* 上端に固定 */
  width: 1.2em;             /* 親のpadding-leftと同じ幅を確保 */
  text-align: left;         /* 記号自体を左寄せに */
}

.step-subtext:last-child {
  margin-bottom: 0;
}



.text-link {
  	color: var(--color-main-green);
  	text-decoration: underline;
  	font-weight: bold;
}



/* --- 口数変更なし以外の画像エリア (SP: 縦一列) --- */
.checklist-display {
  	margin-bottom: 40px;
  	display: flex;
  	flex-direction: column;
  	gap: 15px;
}

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

.checklist-row-top{
	width: 90%;
	margin: 0 auto;
}

/* 下段画像用（SPは縦に並ぶ） */
.checklist-row-bottom {
	width: 85%;
	margin: 0 auto;
  	display: flex;
  	flex-direction: column;
  	gap: 15px;
}

/* --- ご注意ブロック --- */
.attention-box {
  	border: 2px solid #ee0000; /* 赤枠 */
  	padding: 20px;
  	border-radius: 8px;
  	text-align: left; /* リストなので左寄せ */
  	background-color: #fff;
}

.attention-title {
  	color: #ee0000;
  	font-weight: bold;
  	font-size: 1.1rem;
  	margin-bottom: 10px;
  	display: flex;
  	align-items: center;
}

.attention-title::before {
 	content: '▼';
  	margin-right: 5px;
  	font-size: 0.8rem;
}

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

.attention-list li {
  	position: relative;
  	padding-left: 1.2em;
  	margin-bottom: 8px;
  	line-height: 1.6;
  	font-size: 1rem;
}

.attention-list li::before {
  	content: '・';
  	position: absolute;
  	left: 0;
}

/* --- PC表示 (768px以上) --- */
@media screen and (min-width: 768px) {
	.step-item {
    	flex-direction: row; /* PCは2カラム */
    	align-items: flex-start; /* 画像とテキストの頭を揃える */
    	justify-content: space-between;
  	}

  	.step-text {
    	flex: 0 0 52%; /* テキスト・セット側 */
  	}

  	.step-image {
    	flex: 0 0 43%; /* 右側のメイン画像側 */
    	margin-top: 5px; /* テキストの1行目とバランスを取る */
  	}
	
	
	.checklist-row-top{
		width: 45%;
		margin: 0 auto;
	}
	
  	.checklist-row-bottom {
	  	width: 100%;
    	flex-direction: row; /* 横並びにする */
    	justify-content: center;
    	align-items: flex-start;
	  	gap: 10px; /* 画像同士の間隔 */
  }
  
  	.checklist-row-bottom > img {
    	flex: 0 1 calc(33.33% - 10px);
    	max-width: calc(33.33% - 10px);
    	margin: 0; /* center寄せは親のjustify-contentで行うため個別marginは不要 */
  }
	
	.step-note-area {
    	margin-top: 15px;
  }
}



/* ============================================================
   アコーディオン：最新Gridアニメーション仕様
   ============================================================ */

/* 1. 外枠のコンテナ */
.accordion-item {
  	margin-bottom: 15px;
  	border-radius: 10px;
  	overflow: hidden;
  	border: 1px solid #fce4e4; /* 背景より少しだけ濃い境界線 */
  	background-color: #fffafb; /* 質問(Q)箇所の背景カラー */
}

/* 2. 質問ヘッダー（ボタンリセット含む） */
.accordion-header {
  	/* ボタンデフォルトのリセット */
  	background: transparent;
  	border: none;
  	outline: none;
  	appearance: none;
  	cursor: pointer;
  
  	/* レイアウト設定 */
  	width: 100%;
  	padding: 18px 50px 18px 15px; /* 右側にアイコン用の余白を確保 */
  	display: flex;
  	align-items: flex-start;
  	position: relative;
  	text-align: left;
  
  	/* テキストスタイル */
  	font-size: 1.1rem;
  	color: #d81b60; /* Q全体の基本色 */
}

/* フォーカス時のアクセシビリティ（プロ仕様） */
.accordion-header:focus-visible {
  	background-color: rgba(255, 255, 255, 0.4);
}

/* 3. Qアイコンとテキストの微調整 */
.q-icon {
  	color: #ee0000; /* Qの文字は鮮やかな赤 */
  	font-weight: bold;
  	margin-right: 10px;
  	flex-shrink: 0;
	/* 【追加】垂直位置を合わせるための設定 */
  	line-height: 1.5;        /* 隣の .q-text の line-height と合わせる */
  	display: inline-block;   /* 高さを制御できるようにする */
  	/*padding-top: 0.1em;*/     /* 視覚的に「Q.」をわずかに下げて文字の高さの中央に合わせる */
}

.q-text {
  	flex: 1;
  	font-weight: bold;
  	line-height: 1.5;
  	padding-right: 10px;
}

/* 4. 開閉アイコン（右側の丸い矢印） */
/* 丸い土台 */
.accordion-header::after {
  	content: '';
  	position: absolute;
  	right: 15px;
  	top: 50%;
  	transform: translateY(-50%);
  	width: 26px;
  	height: 26px;
  	background-color: #d81b60; /* 閉じている時はQの色 */
  	border-radius: 50%;
  	transition: transform 0.3s ease, background-color 0.3s ease;
}

/* V字の矢印 */
.accordion-header::before {
  	content: '';
  	position: absolute;
  	right: 23px; /* 背景丸の中央調整 */
  	top: 50%;
  	transform: translateY(-70%) rotate(45deg); /* 下向き矢印 */
  	width: 8px;
  	height: 8px;
  	border-right: 2px solid #ffffff;
  	border-bottom: 2px solid #ffffff;
  	z-index: 1;
  	transition: transform 0.3s ease;
  	pointer-events: none;
}

/* 開いた時のアイコン変化 */
.accordion-item.is-open .accordion-header::after {
  	background-color: #2e3192; /* 開いたらAの色（紺）に変化 */
}

.accordion-item.is-open .accordion-header::before {
  	transform: translateY(-30%) rotate(225deg); /* 上向き矢印に回転 */
}

/* 5. 回答エリア：スルスル開閉アニメーション（Grid） */
.accordion-body-wrapper {
  	display: grid;
  	grid-template-rows: 0fr; /* 初期は高さ0 */
  	transition: grid-template-rows 0.3s ease-out;
}

.accordion-item.is-open .accordion-body-wrapper {
  	grid-template-rows: 1fr; /* コンテンツ分だけ広がる */
}

.accordion-body {
  	overflow: hidden; /* アニメーション中のはみ出し防止 */
}

/* 6. 回答エリアのコンテンツ装飾 */
.accordion-content-inner {
  	padding: 20px 15px; /* 上下の余白を確保 */
  	background-color: #ffffff; /* 回答エリアは白背景で見やすく */
  	border-top: 1px dashed #fce4e4; /* 質問との境界を点線で区切る */
}

/* Aのインデント（横並び）設定 */
.a-wrapper {
  	display: flex;
  	align-items: flex-start;
}

.a-icon {
  	color: #2e3192; /* Aの文字は落ち着いた紺色 */
  	font-weight: bold;
  	font-size: 1.1rem;
  	margin-right: 10px;
  	flex-shrink: 0;
}

.a-text p {
  	margin: 0;
  	color: #262626; /* 読みやすい濃いグレー */
  	font-size: 1rem;
  	line-height: 1.7; /* 行間を少し広げて読みやすく */
}



