/* style.css */
@charset "utf-8";
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	background: #0f0f1a url(../images/bg_body.webp) repeat-y;
	background-size: 100%;
	background-attachment: fixed;
	font-family: 'Arial', 'Helvetica Neue', sans-serif;
	font-size: 18px;
	font-style: italic;
	letter-spacing: 1px;
    line-height: 1.75em;
    color: #ddd;
	overflow-x: hidden;
	position: relative;
	overflow-wrap: anywhere;
	word-break: normal; 
}

.animate > * {
    display: block;
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-20px);
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.animate.from-left > * {
    transform: translateX(-20px);
}

.animate.from-right > * {
    transform: translateX(20px);
}

.animate.from-bottom > * {
    transform: translateY(20px);
}

.animate > *.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) translateY(0);
}

/* ======================== メインビジュアル ======================== */
.main-visual {
	background: url(../images/bg_main-visual.webp) no-repeat;
	background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #fff;
}
.main-visual::before {
	display: block;
	content: '';
	width: 100%;
	height: 100%;
	border: 30px solid rgba(0,0,0,0.5);
	box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
}
.main-visual::after {
	display: block;
	content: '';
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	position: absolute;
	top: 0;
	left: 0;
}

/* 背景動画 */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 2;
    object-fit: cover;
	-webkit-playsinline: true;
	mix-blend-mode: screen;
	opacity: 0.5;
}

/* オーバーレイ */
.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

/* コンテンツ */
.visual-content {
    position: relative;
    z-index: 3;
	width: 90%;
	max-width: 1200px;
	padding: 40px 20px;
	overflow: hidden;
}

.main-catchcopy {
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.main-catchcopy img {
	display: block;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.main-catchcopy small {
	display: block;
	margin-top: 5px;
}

.sub-catchcopy {
    font-size: 1.25em;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

/* ======================== 高級メールフォーム ======================== */
.email-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin: 30px auto 0 auto;
    max-width: 480px;
    width: 90%;
}
.main-visual .email-form {
	margin-top: 0;
}
.email-form small {
	text-align: center;
	line-height: 1.75em;
}

/* 入力欄 */
.email-form input[type="text"], .email-form input[type="email"], .email-form input[type="tel"] {
    width: 100%;
    padding: 20px 26px;
	font-size: 1.15rem;
	font-weight: 600;
	text-align: center;
    color: #008597;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.email-form input[type="text"]::placeholder, .email-form input[type="email"]::placeholder, .email-form input[type="tel"]::placeholder {
	color: #008597;
	font-weight: 600;
}

.email-form input[type="text"], .email-form input[type="email"], .email-form input[type="tel"] {
	outline: none;
	color: #03c2dc;
    border-color: #00e0ff;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(0, 224, 255, 0.25), 0 15px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}
.email-form input[type="text"]:focus, .email-form input[type="email"]:focus {
	outline: none;
	color: #03c2dc;
    border-color: #00e0ff;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 32px 80px rgba(58, 200, 255, 0.8);
}

.input-wrapper {
    position: relative;
	width: 100%;
	margin: 20px auto;
}

.input-wrapper .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999; /* アイコンの色 */
    font-size: 18px;
    pointer-events: none; /* アイコンをクリックしても入力欄にフォーカスが当たるように */
}

.input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 44px;  /* 左パディングをアイコン幅+余白に（重要） */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;           /* ここで中央揃え */
    font-size: 16px;
}

/* フォーカス時や入力時のスタイル（任意） */
.input-wrapper input:focus {
    outline: none;
    border-color: #66afe9;
}

/* 重要：placeholderも中央揃えになるのを防ぐ（冒頭から始まるように） */
.input-wrapper input::placeholder {
    text-align: left;             /* placeholderだけ左寄せ */
    color: #999;
}

/* Chrome/Safari/Edge で placeholder が中央になるのを強制的に左に */
.input-wrapper input::-webkit-input-placeholder {
    text-align: left;
}
.input-wrapper input::-moz-placeholder {
    text-align: left;
}
.input-wrapper input:-ms-input-placeholder {
    text-align: left;
}

/* ボタン本体（微調整） */
.email-form button {
    position: relative;
    width: 100%;
    padding: 22px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #3a7fff, #00d4c8);
    border: none;
    border-radius: 45px;
    cursor: pointer;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    transition: all 0.35s ease;
}

/* 煌めきエフェクト（間隔を4.5秒に1回） */
.email-form button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.9) 50%,
        rgba(255,255,255,0.1),
        transparent
    );
    transform: skewX(-25deg);
    animation: flash 4.5s ease-in-out infinite;   /* ← 4.5秒に1回だけビカッ！ */
    pointer-events: none;
    z-index: 1;
}

/* ホバー時は煌めきを完全に停止 */
.email-form button:hover::after {
    animation-play-state: paused;   /* これだけで煌めきストップ */
}

/* ホバー時の挙動（浮き上がり＋シャドウ強化） */
.email-form button:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(58, 200, 255, 0.8);
}

.email-form button:active {
    transform: translateY(-2px);
}

/* 煌めきアニメーション（50%でピーク、その後待機） */
@keyframes flash {
    0%   { left: -150%; }
    20%  { left: 150%; }    /* ここで一瞬ビカッと通過 */
    100% { left: 150%; }    /* 残りの80%は待機状態 → 結果4.5秒に1回 */
}

/* 注意書き */
.form-note {
	font-size: 0.85rem;
	font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.form_caution {
	background: rgba(0, 0, 0, 0.75);
    line-height: 1em;
    padding: 15px 20px;
    border-radius: 5px;
}
.form_caution dt {
	font-size: 14px !important;
	text-align: center;
	margin-bottom: 20px;
}
.form_caution dd ul {
	font-size: 12px !important;
	list-style-type: disc !important;
	margin: 0;
	padding: 0 10px;
}
.form_caution dd ul li {
	margin: 0 0 5px 0;
	padding: 0;
}
.form_caution dd ul li:last-child {
	margin-bottom: 0 !important;
}
.main-visual .form_caution {
	text-align: left;
	margin: 10px auto 0 auto;
	width: 90%;
}
.main-visual .form_caution dt {
	margin-bottom: 10px;
}
.main-visual .form_caution dd ul li {
	margin-left: 10px;
}

/* ======================== セクション ======================== */
.section {
    padding: 40px 20px;
    margin: 30px auto;
	max-width: 90%;
	height: auto;
	background: rgba(255, 255, 255, 0.05);
	background-size: cover !important;
    border-radius: 16px;
    backdrop-filter: blur(10px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	position: relative;
}
.bg-dark::before {
	display: block;
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.5);
}
.section > * {
	font-weight: 900;
}
.section h2 {
	font-size: 1.6em;
	color: #fff;
	text-shadow: 
    0 0 10px #00e0ff,
    0 0 20px #00e0ff,
    0 0 40px #00e0ff,
    0 0 80px #00e0ff,
    0 5px 10px rgba(255, 225, 255, 0.5);
    margin-bottom: 30px;
    text-align: center;
}
.section h2 small {
	display: block;
	font-family: 'Orbitron', sans-serif;
	font-size: 65%;
	color: #00e0ff;
	text-shadow: 
    0 0 10px #00e0ff,
	0 5px 10px rgba(0, 224, 255, 0.075);
	margin-top: 10px;
}
.section p, .section ul, .section dl {
	text-shadow: 
    0 0 10px #00e0ff,
	0 5px 10px rgba(0, 224, 255, 0.075);
	margin-bottom: 0.75em;
}
.section > *:last-child {
    margin-bottom: 0 !important;
}

.section ul, .section dl { margin: 20px 0; }
.section ul li, .section dl dt { margin-bottom: 12px; }

.section ul.flex_list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 10px 0 20px 0;
    gap: 30px 80px;
    justify-content: center;
    align-items: stretch; /* 高さ揃え（明示） */
}

.section ul.flex_list li {
    flex: 1 1 calc(50% - 60px); /* PC: 4列（gap分考慮） */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.section ul.flex_list li:nth-child(even) {
	position: relative;
	right: 24px;
}
.main {
	margin-top: 60px;
}
#sub .main {
	min-height: calc(100vh - 188px);
}

.ticket {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;                /* liの高さをフルに使う（stretch効かせる关键） */
	padding: 20px;
	font-size: 120%;
    color: #fff;
    background: transparent;
    text-align: center;
	box-sizing: border-box;=
}

/* 薄黄色背景 + 黒枠 */
.ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 8px);
    background: rgba(0,0,0,0.35);
    border: 4px solid #fff;
    z-index: -2;
}

/* 右下黒影 */
.ticket::after {
    content: '';
    position: absolute;
    top: 20px;                   /* 少し下げて立体感UP */
    right: -20px;
    width: 100%;
    height: calc(100% - 8px);
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    z-index: -3;
}

section .container {
	position: absolute;
    top: 0;
    left: 50%;
    height: 50%; /* 上半分と同じ高さ */
    width: 90%;
    max-width: 800px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦中央揃え */
    align-items: center;     /* 横中央揃え */
}
#feature .container, #curriculum .container, #merit .container, #update .container {
	height: 100%;
}
#about {
	background: url(../images/bg_about.webp) no-repeat;
}
#reason {
	background: url(../images/bg_reason.webp) no-repeat;
}
#feature {
	background: url(../images/bg_feature.webp) no-repeat;
}
#target {
	background: url(../images/bg_target.webp) no-repeat;
}
#curriculum {
	background: url(../images/bg_curriculum.webp) no-repeat;
}
#merit {
	background: url(../images/bg_merit.webp) no-repeat;
}
#update {
	background: url(../images/bg_update.webp) no-repeat;
}

#about p img, #thanks img {
	display: block;
	max-width: 160px;
	margin: 0 auto 30px auto;
}
#thanks img {
	max-width: 240px;
}

#update p img {
	display: block;
	max-width: 160px;
	margin: 0 auto 30px auto;
	border-radius: 10px;
	opacity: 0.85;
}

#feature ul {
	list-style-type: none;
	margin-bottom: 0;
}
#feature ul li {
	margin-bottom: 1.25em;
}
#feature ul li strong {
	display: block;
	font-size: 120%;
	color: #00e0ff;
	border-bottom: 2px solid #00e0ff;
	padding-bottom: 5px;
	margin-bottom: 10px;
}
#feature p {
	text-align: center;
	color: #fff000;
	margin-top: 20px;
}

#target:before {
	display: block;
	content: '';
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	position: absolute;
	top: 0;
	left: 0;
}
#target ul {
	font-size: 120%;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#target ul li {
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
	padding: 20px 45px;
	border-radius: 50px;
	border: 1px solid #ccc;
	box-sizing: border-box;
	margin-bottom: 20px;
}
#target ul li:last-child {
	margin-bottom: 0;
}
#target ul li img {
	display: inline-block;
	max-width: 48px;
	max-height: 48px;
	vertical-align: middle;
	margin-right: 10px;
}
#target ul li span {
	display: inline-block;
	width: calc(100% - 60px);
	vertical-align: middle;
}

#merit ul {
	list-style-type: none;
}
.check_list li {
	font-size: 120%;
    list-style: none;
    position: relative;
	border-bottom: 1px dashed #ccc;
	margin: 5px;
	padding-bottom: 10px;
}
.check_list li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border: none;
}
.check_list li:before {
	color: #fff000;
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    margin-right: 7px;
}
.check_list li strong {
	color: #fff000;
}

.chapter_list li {
    position: relative;
    padding: 1.5rem;
    margin-bottom: 0.2rem;
    overflow: hidden;
    background-color: rgba(0,0,0,0.75);
    color: #fff;
}
.chapter_list li strong {
	display: block;
	font-size: 120%;
	color: #00e0ff;
}

.chapter_list li::before {
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    border: 5px solid #00e0ff;
    transform: rotate(2deg);
    content: '';
}

#update p {
	font-size: 120%;
}
#update p span {
    display: inline-block;
    background: #fff;
    padding: 3px 7px;
    color: #00e0ff;
}
#update p strong {
	color: #fff000;
}
#update p img {
	display: block;
	max-width: 160px;
	margin: 0 auto 45px auto;
	border-radius: 10px;
}

/* FAQリスト（Q&Aセクション） */
.faq_list {
    list-style: none;
    padding: 0;
    margin: 60px auto 40px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    font-size: 18px;
}

.faq_list dt,
.faq_list dd {
    padding: 20px 40px 20px 60px; /* 左にQ/Aアイコンのスペース確保 */
    border-radius: 12px;
    position: relative;
    line-height: 1.6;
}

/* Q（質問）部分 */
.faq_list dt {
    background: rgba(0, 0, 0, 0.7);
    color: #00e0ff;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 
        0 0 10px #00e0ff,
        0 0 20px #00e0ff,
        0 0 30px #00e0ff;
    margin-bottom: 8px; /* QとAの密着感 */
}

/* Qのアイコン */
.faq_list dt::before {
    content: 'Q';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #00e0ff;
    font-size: 1.6em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* A（回答）部分 */
.faq_list dd {
    background: rgba(255, 255, 255, 0.08);
    color: #ddd;
    margin: 0 0 30px 0; /* 下の余白で次のQとの間隔確保 */
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Aのアイコン */
.faq_list dd::before {
    content: 'A';
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #00e0ff;
    font-size: 1.6em;
	font-weight: 600;
    text-shadow: 
        0 0 10px #00e0ff,
        0 0 20px #00e0ff;
}

/* 見出し「よくあるご質問」風のh2（必要なら.section内で使用） */
.section h2.faq_title {
    font-size: 2em;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 
        0 0 15px #00e0ff,
        0 0 30px #00e0ff,
        0 0 50px #00e0ff,
        0 0 80px #00e0ff;
}

/* Footer */
footer {
    font-size: 12px;
    padding: 40px 20px;
    background: #000;
    color: #888;
}

footer .footer_inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .footer_logo img {
    display: block;
    max-width: 180px;
    height: auto;
}

footer .footer_text {
	text-align: right;
	line-height: 1.75em;
}

footer .footer_text p {
	margin: 0;
	padding: 0;
}

footer .footer_text a {
    color: #888;
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer .footer_text a:hover {
    color: #fff;
}

footer address {
	font-size: 10px;
    margin: 0;
}

table {
	width: 100%;
	table-layout: fixed;
}
table tr th, table tr td {
	border-bottom: 1px dashed #acacac;
	padding: 10px 15px;
}
table tr:last-child th, table tr:last-child td {
	border: none;
	padding-bottom: 0;
}
#thanks dl dt {
	background: rgba(0, 0, 0, 0.7);
    color: #00e0ff;
    font-weight: bold;
	font-size: 1.1em;
	text-align: center;
    text-shadow: 0 0 10px #00e0ff, 0 0 20px #00e0ff, 0 0 30px #00e0ff;
}
#thanks dl dt, #thanks dl dd {
	padding: 20px 30px;
    border-radius: 12px;
    position: relative;
    line-height: 1.6;
}
#thanks dl dd {
	background: rgba(255, 255, 255, 0.08);
    color: #ddd;
    margin: 0 0 30px 0;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.txt_center {
	text-align: center;
}
.txt_center strong {
	font-size: 140%;
	color: #fff000;;
}

/* ======================== レスポンシブ ======================== */
@media (max-width: 767px) {
	body {font-size: 16px; letter-spacing: 0; background-size: auto; background-attachment: scroll;}
	.main-visual { min-height: 100dvh;}
	.main-visual::before {display: none; border: 20px solid rgba(0, 0, 0, 0.5);}
	.main-visual::after {background: rgba(0, 0, 0, 0.45);}
	.visual-content{position:static; transform: unset; width:96%;max-width:none;height:auto;padding:20px 0;margin:0}
    .main-catchcopy { font-size: 1.55em !important;}
	.sub-catchcopy { font-size: 1.15em; }
	.form-note {font-size: 12px; line-height: 1.75em;}
	.form-note span {display: block;}
	.main section {height: auto !important;}
	section .container {position: relative;}
	#reason .container {height: 100%;}
	.chapter_list, #merit ul {width: 100%;}
	.chapter_list {font-size: 100%;}
	.chapter_list li {width: 100%; background-color: rgba(0, 0, 0, 0.75); padding: 1rem;}
	#merit ul {font-size: 120%;}
	.section p, .section ul, .faq_list dt, .faq_list dd::before {text-shadow: none;}
	.section h2 {font-size: 1.6rem; margin-bottom: 20px;}
	.section h2 small {font-size: 65%; margin-top: 5px;}
	.section ul.flex_list {display: block; width: 100%; margin: 0;padding: 0;}
	.section ul.flex_list li {flex: 1 1 calc(50% - 40px); padding: 15px; right: 12px !important; position: relative;}
	#about {min-height: 100vh;}
	#about p img {display: none; margin: 0 auto 20px auto;}
	#feature ul, #merit ul {margin-top: 0;}
	#feature ul li strong {font-size: 100%; margin-bottom: 5px;}
	#feature ul li span {font-size: 90%;}
	#feature p {margin-top: 0;}
	#feature p br {display: none;}
	#target ul li {padding: 20px 30px;}
	#target ul li span br {display: none !important;}
	.check_list li {font-size: 100%;}
	.email-form {margin-top: 0;}
	.main .email-form {width: 100%;}
    .email-form input[type="text"], .email-form input[type="email"], .email-form input[type="tel"],
    .email-form button {
        padding: 20px;
        font-size: 1.1rem;
	}
	.email-form input[type="text"], .email-form input[type="email"], .email-form input[type="tel"] {
		padding: 17px 20px;
	}
	.form_caution {line-height: 1.2em;}
	.form_caution dt {font-size: 12px !important;}
	.form_caution dd, .form_caution dd ul {font-size: 10px !important;}
	#curriculum h2 {margin-top: 80px; margin-bottom: 0;}
	#update p {font-size: 110%;}
	#update p img {max-width: 80px; margin-bottom: 40px;}
	.faq_list {
		font-size: 16px;
        padding: 0 10px;
		}
    .faq_list dt,
    .faq_list dd {
		padding: 18px 30px 18px 56px;
		margin-bottom: 12px;
        border-radius: 10px;
		}
    .faq_list dt::before {
        width: 35px;
        height: 35px;
        font-size: 1.4em;
        left: 15px;
		}
	#thanks dl dt, #thanks dl dd {
		padding: 20px;
	}
}

@media (max-width: 480px) {
	section .container {width: 96%;}
	.form-note {font-size: 10px;}
	.section h2 {font-size: 1.4rem; margin-bottom: 20px;}
	.section h2 small {font-size: 60%;}
	.section p, .section ul {width: 100%; margin-bottom: 0.5em;}
	.ticket {padding: 16px;}
	.chapter_list, #merit ul {width: 100%; font-size: 100%;}
	.check_list li {padding-bottom: 3px;}
	.check_list li:last-child {margin-bottom: 15px;}
	.chapter_list li {padding: 1rem;}
	.chapter_list li strong {line-height: 1.25em;}
	#target ul li {padding: 15px 15px 15px 30px;}
	#feature p {font-size: 90%; line-height: 1.5em; margin-bottom: 12px;}
	#feature p br {display: none;}
	#update p img {max-width: 80px; margin-bottom: 20px;}
	.email-form {gap: 12px;}
	.email-form input[type="text"], .email-form input[type="email"], .email-form input[type="tel"] {padding: 15px 10px; font-size: 15px;}
	.email-form button {font-size: 1.1rem; padding: 15px;}
	footer .footer_inner {display: block;}
	footer .footer_logo img {margin: 0 auto 30px auto;}
	footer .footer_text {text-align: center;}
	}
@media (max-width: 420px) {
	#reason ul.flex_list li {padding: 10px 15px;}
	#feature ul li span {display: block; line-height: 1.5em;}
	#target ul {font-size: 110%;}
	.chapter_list {font-size: 95%;}
}

@media (max-width: 400px) {
	.section h2 {font-size: 1.25rem; margin-bottom: 10px;}
	#reason ul.flex_list li{padding: 8px 15px;}
	#reason ul.flex_list li:last-child {margin-bottom: 20px;}
	#feature ul li {margin-bottom: 1em;}
	#feature ul li span {display: block; font-size: 85%; line-height: 1.5em;}
	#feature ul li strong {padding-bottom: 3px;}
	.chapter_list {font-size: 85%;}
	.chapter_list li strong {font-size: 130%;}
	#update p {font-size: 100%; line-height: 1.65em;}
}
@media (max-width: 380px) {
	.section h2 {font-size: 1.1rem;}
	.section h2 small {margin-top: 0;}
	.chapter_list {font-size: 80%;}
	.check_list li {font-size: 95%;}
	#update p {font-size: 100%;}
}

@media (min-width: 768px) {
    .main-catchcopy { font-size: 16px; }
    .sub-catchcopy   { font-size: 1.3em; }
    .section { max-width: 800px; padding: 60px 40px; }
	.section h2 { font-size: 2em; }
}
	
@media (max-height: 780px) {
	.main-catchcopy img {width: auto; max-height: 350px;}
}

@supports (height: 100dvh) {
    .main-visual { min-height: 100dvh; }
}