@charset "utf-8";

/* --- common --- */
img{
  width: 100%;
  height: auto;
}


/* header */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0;
}

header .logo{
	width: 400px;
	height: auto;
}

header .tel{
	width: 200px;
	height: auto;
}


@media all and (max-width: 768px) {
	header {
		padding: 10px 0;
	}
	header .logo,
	header .tel {
		margin: 0 10px;
	}
	
	header .logo{
	width: 60%;
	height: auto;
	}

	header .tel{
	width: 30%;
	height: auto;
	}

	header img{
	width: 100%;
	}
	
}

/* --- 全体を包むコンテナ --- */
.campaign-transfer-root {
    font-family: "Noto Sans JP", sans-serif;
    font-feature-settings: "palt";
    line-height: 2;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* 共通の中央寄せ設定 */
.campaign-transfer-root .inner {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}

/* --- テキスト基本設定 --- */
.campaign-transfer-root p {
    font-size: 1.2em; /* 基本1.2emに設定 */
    margin-bottom: 1em;
}

.campaign-transfer-root .text-center {
    text-align: center;
}

/* --- 画像の基本設定 --- */
.campaign-transfer-root img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* --- KV（メインビジュアル） --- */
.campaign-kv-area {
    width: 100%;
    max-width: 1200px; /* PC最大幅 */
    margin: 0 auto;
}

.campaign-kv-area img {
    width: 100%; /* コンテナ内で常に100%幅 */
}

/* 導入リード文 */
.campaign-lead {
    margin: 40px 0;
    text-align: center;
}

/* --- キャンペーンタイトル・期間 --- */
.campaign-main-title {
	color: #555555; 
	font-size: 2em; 
	font-weight: 500; 
	text-align: center; 
	margin: 0 0 20px 0; 
	line-height: 1.2;
}

.cp-period-box {
    border: 2px solid #d4b572;
    background-color: #fdfaf2;
    padding: 10px 20px;
    display: inline-block;
    margin: 20px auto;
    font-weight: bold;
    font-size: 1.3rem;
}

/* --- 赤い見出し（来校プレゼント等） --- */
.feature-header-red {
    background: #bb011a;
    color: #fff;
    text-align: left;
    padding:  0 15px;
    font-weight: 400;
    margin: 60px 0 30px;
    font-size: 1.1rem;
}

/* --- ボタン --- */
.btn-container {
	display: flex;
	gap: 12px;
	justify-content: center;
	max-width: 400px;
	margin: 0 auto;
}
.btn-red {
	flex: 1;
	max-width: 250px;
	background: #bb011a;
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-size: 1.3rem;
	font-weight: bold;
	padding: 8px 10px;
	transition: opacity 0.3s;
	border-radius: 8px;
}
.btn-red:hover {
    opacity: 0.8;
}

/* --- リカレントの歩み（歴史） --- */
.history-section-title {
    margin-top: 80px;
}
.history-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 80px;
    border-top: 1px solid #ddd;
}
.history-list li {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}
.history-list li:nth-child(odd) {
    background-color: #f9f9f9; /* 縞々模様(奇数行) */
}
.history-date {
    width: 120px;
    font-weight: bold;
    flex-shrink: 0;
}
.history-text {
    flex-grow: 1;
    /* line-height: 1.6; */
}
.history-date.red {
    color: #bb011a;
}

/* --- 楽校楽習セクション（inner幅の四角い囲み） --- */
.philosophy-box {
    background-color: #f5f5f5;
    padding: 20px 40px 50px 40px;
    margin: 60px 0 30px;
    border-radius: 4px;
}
.philosophy-box h2 {
	color: #555555;
	font-size: 2em;
	font-weight: 500;
	text-align: center;
	margin: 40px 0;
	line-height: 1.2;
}
.philosophy-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.philosophy-img {
    flex-shrink: 0;
    width: 320px;
}
.philosophy-text-area {
    flex-grow: 1;
}
.philosophy-text-area p {
    font-size: 1.1rem; /* ボックス内は少し調整 */
    margin-bottom: 0;
    text-align: justify;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 768px) {
    .campaign-transfer-root p { font-size: 1.1em; line-height: 1.8; }
    .btn-container { flex-direction: column; align-items: center; }
    .philosophy-box { padding: 30px 20px; }
    .philosophy-flex { flex-direction: column; }
    .philosophy-img { width: 100%; }
    .history-list li { flex-direction: column; }
    .history-date { width: 100%; margin-bottom: 5px; }

	.btn-red {
		max-width: 70%;
		width: 100%;
		padding: 8px 0;
	}
	picture img {
		width: 100%;
		object-fit: cover;
		display: block;
		margin: 0 auto;
	}

	/* メインビジュアルをピッチリさせる */
    .campaign-kv-area {
        padding-top: 0; /* スマホ時は上部余白も0にする場合 */
        width: 100%;
        max-width: 100%; /* 画面幅いっぱい */
    }

	.campaign-transfer-root p {
    	margin-bottom: 0em;
	}

	.philosophy-box h2 {
		color: #555555;
		font-size: 1.6em;
		font-weight: 500;
		text-align: center;
		margin: 20px 0 40px 0;
		line-height: 1.2;
	}

}