/* =========================================================
共通
========================================================= */

/* LPページのページタイトル・投稿日・パンくず・上部余白を非表示 */
body.acmp-classroom-lp .p-articleHead,
body.acmp-classroom-lp .p-articleHead__title,
body.acmp-classroom-lp .p-articleMetas,
body.acmp-classroom-lp .p-articleMeta,
body.acmp-classroom-lp .p-articleFoot,
body.acmp-classroom-lp .c-pageTitle,
body.acmp-classroom-lp .c-pageTitle__inner,
body.acmp-classroom-lp .entry-title,
body.acmp-classroom-lp .post_title,
body.acmp-classroom-lp .p-entry__title,
body.acmp-classroom-lp .l-mainContent__inner > h1:first-child,
body.acmp-classroom-lp main h1:first-of-type,
body.acmp-classroom-lp .p-breadcrumb,
body.acmp-classroom-lp .c-breadcrumb,
body.acmp-classroom-lp #breadcrumb,
body.acmp-classroom-lp .c-postTimes,
body.acmp-classroom-lp .c-postTimes__posted,
body.acmp-classroom-lp .c-postTimes__modified,
body.acmp-classroom-lp .posted-on,
body.acmp-classroom-lp .updated,
body.acmp-classroom-lp time {
display: none !important;
margin: 0 !important;
padding: 0 !important;
}

/* 上部余白を詰める */
body.acmp-classroom-lp .l-content,
body.acmp-classroom-lp .l-mainContent,
body.acmp-classroom-lp .l-mainContent__inner,
body.acmp-classroom-lp .post_content,
body.acmp-classroom-lp .c-postContent,
body.acmp-classroom-lp .acmp-lp-wrapper {
margin-top: 0 !important;
padding-top: 0 !important;
}

/* FV自体の上余白も少し詰める */
body.acmp-classroom-lp .atom-fv {
padding-top: 28px !important;
}

@media (max-width: 767px) {
body.acmp-classroom-lp .atom-fv {
padding-top: 18px !important;
}
}

.atom-flow,
.atom-flow * {
box-sizing: border-box;
}

.atom-flow {
width: 100%;
background: linear-gradient(
180deg,
#eaf6ff 0%,
#eaf6ff 38%,
#f7eef6 52%,
#fff1f1 100%
) !important;
}

.sp-only {
display: none;
}

.pc-only {
display: inline;
}


/* =========================================================
ファーストビュー
========================================================= */

.atom-fv,
.atom-fv * {
box-sizing: border-box;
}

.atom-fv {
position: relative;
overflow: hidden;
width: 100%;
padding: 56px 16px 54px;
background:
radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 34%),
linear-gradient(135deg, #eaf6ff 0%, #f4fbff 48%, #fff1f1 100%) !important;
}

.atom-fv::before {
content: "";
position: absolute;
right: -120px;
top: -120px;
width: 360px;
height: 360px;
border-radius: 50%;
background: rgba(255, 138, 112, 0.16);
}

.atom-fv::after {
content: "";
position: absolute;
left: -120px;
bottom: -140px;
width: 360px;
height: 360px;
border-radius: 50%;
background: rgba(31, 142, 232, 0.16);
}

.atom-fv__inner {
position: relative;
z-index: 1;
max-width: 1120px;
margin: 0 auto;
display: grid;
grid-template-columns: 52% 1fr;
gap: 36px;
align-items: center;
}

.atom-fv__content {
min-width: 0;
}

.atom-fv__badge {
display: inline-flex;
align-items: center;
margin-bottom: 18px;
padding: 8px 18px;
background: #ffffff !important;
color: #e55252 !important;
border: 2px solid rgba(229, 82, 82, 0.22);
border-radius: 999px;
font-size: clamp(14px, 1.5vw, 17px);
font-weight: 900;
line-height: 1.4;
box-shadow: 0 6px 16px rgba(210, 86, 86, 0.12);
}

.atom-fv__title {
color: #071735 !important;
font-size: clamp(26px, 3.8vw, 46px) !important;
font-weight: 900 !important;
line-height: 1.22 !important;
letter-spacing: 0.01em;
word-break: keep-all;
overflow-wrap: normal;
}

.atom-fv__title-main {
display: block;
white-space: nowrap;
}

.atom-fv__red {
position: relative;
color: #e55252 !important;
z-index: 1;
}

.atom-fv__red::after {
content: "";
position: absolute;
left: 50%;
bottom: 0.08em;
width: 100%;
height: 0.28em;
transform: translateX(-50%);
background: #ffe29a;
border-radius: 999px;
z-index: -1;
}

.atom-fv__lead {
margin: 18px 0 0 !important;
color: #27324a !important;
font-size: clamp(17px, 2vw, 22px);
font-weight: 800;
line-height: 1.75;
}

.atom-fv__points {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
margin-top: 24px;
}

.atom-fv__point {
position: relative;
width: fit-content;
padding: 9px 16px 9px 42px;
background: rgba(255, 255, 255, 0.9) !important;
border-radius: 999px;
color: #071735 !important;
font-size: clamp(14px, 1.6vw, 17px);
font-weight: 900;
line-height: 1.4;
box-shadow: 0 5px 14px rgba(31, 117, 190, 0.12);
}

.atom-fv__point::before {
content: "✓";
position: absolute;
left: 13px;
top: 50%;
transform: translateY(-50%);
width: 22px;
height: 22px;
border-radius: 50%;
background: linear-gradient(135deg, #0068d9 0%, #049cff 100%) !important;
color: #ffffff !important;
font-size: 15px;
font-weight: 900;
line-height: 22px;
text-align: center;
}

.atom-fv__cta {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 28px;
}

.atom-fv__button {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 210px;
min-height: 56px;
padding: 14px 24px;
border-radius: 999px;
text-decoration: none !important;
font-size: clamp(16px, 1.8vw, 19px);
font-weight: 900;
line-height: 1.3;
transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.atom-fv__button:hover {
transform: translateY(-2px);
}

.atom-fv__button--main {
background: linear-gradient(135deg, #e55252 0%, #ff8a70 100%) !important;
color: #ffffff !important;
box-shadow: 0 10px 22px rgba(229, 82, 82, 0.28);
}

.atom-fv__button--sub {
background: #ffffff !important;
color: #1657c2 !important;
border: 2px solid rgba(22, 87, 194, 0.22);
box-shadow: 0 8px 18px rgba(31, 117, 190, 0.14);
}

.atom-fv__note {
margin: 14px 0 0 !important;
color: #4d5870 !important;
font-size: clamp(13px, 1.4vw, 15px);
font-weight: 700;
line-height: 1.6;
}

.atom-fv__image {
position: relative;
}

.atom-fv__image::before {
content: "";
position: absolute;
inset: 18px -12px -12px 18px;
background: rgba(31, 142, 232, 0.16);
border-radius: 34px;
z-index: -1;
}

.atom-fv__image img {
display: block;
width: 100%;
height: auto;
border-radius: 34px;
box-shadow: 0 18px 38px rgba(36, 118, 190, 0.2);
}

/* =========================================================
悩みセクション
========================================================= */

.atom-nayami {
padding: 48px 16px 18px;
background: transparent !important;
}

.atom-nayami__card {
max-width: 1120px;
margin: 0 auto;
padding: 34px 36px 38px;
background: #ffffff !important;
border-radius: 34px;
box-shadow: 0 16px 36px rgba(36, 118, 190, 0.18);
border: 1px solid rgba(166, 214, 255, 0.75);
}

.atom-nayami__title {
position: relative;
width: fit-content;
margin: 0 auto 32px !important;
padding: 0 46px;
color: #071735 !important;
font-size: clamp(28px, 3.5vw, 44px) !important;
font-weight: 900 !important;
line-height: 1.4 !important;
letter-spacing: 0.04em;
text-align: center;
z-index: 1;
}

.atom-nayami__title-line1,
.atom-nayami__title-line2 {
display: block;
white-space: nowrap !important;
}

.atom-nayami__title-line2 {
position: relative;
width: fit-content;
margin: 0 auto;
}

.atom-nayami__title-line2::after {
content: "";
position: absolute;
left: 50%;
bottom: 2px;
width: 104%;
height: 8px;
transform: translateX(-50%);
background: #fff29a;
border-radius: 999px;
z-index: -1;
}

.atom-nayami__title::before,
.atom-nayami__title::after {
content: "";
position: absolute;
top: 50%;
width: 7px;
height: 50px;
border-radius: 999px;
background: #1f8ee8 !important;
box-shadow: 0 3px 8px rgba(22, 87, 194, 0.18);
opacity: 0.9;
}

.atom-nayami__title::before {
left: 22px;
transform: translateY(-50%) rotate(-22deg);
}

.atom-nayami__title::after {
right: 22px;
transform: translateY(-50%) rotate(22deg);
}

.atom-nayami__blue {
color: #1657c2 !important;
}

.atom-nayami__body {
display: grid;
grid-template-columns: 48% 1fr;
gap: 28px;
align-items: center;
}

.atom-nayami__image img {
display: block;
width: 100%;
height: auto;
border-radius: 20px;
}

.atom-nayami__items {
display: grid;
gap: 15px;
}

.atom-nayami__item {
position: relative;
min-height: 74px;
padding: 19px 22px 19px 82px;
display: flex;
align-items: center;
background: #f1f9ff !important;
border-radius: 15px;
box-shadow: 0 5px 14px rgba(31, 117, 190, 0.14);
color: #071735 !important;
font-size: clamp(19px, 2vw, 25px);
font-weight: 900;
line-height: 1.45;
}

.atom-nayami__item::before {
content: "✓";
position: absolute;
left: 24px;
top: 50%;
transform: translateY(-50%);
width: 44px;
height: 44px;
border-radius: 50%;
background: linear-gradient(135deg, #0068d9 0%, #049cff 100%) !important;
color: #ffffff !important;
font-size: 30px;
font-weight: 900;
line-height: 44px;
text-align: center;
}

/* =========================================================
つなぎセクション
========================================================= */

.atom-bridge {
padding: 14px 16px 22px;
background: transparent !important;
text-align: center;
}

.atom-bridge__inner {
max-width: 760px;
margin: 0 auto;
padding: 22px 18px 18px;
background: rgba(255, 255, 255, 0.92) !important;
border-radius: 999px;
box-shadow: 0 8px 20px rgba(80, 90, 120, 0.1);
border: none;
}

.atom-bridge__text {
color: #071735 !important;
font-size: clamp(20px, 2.6vw, 30px);
font-weight: 900;
line-height: 1.45;
letter-spacing: 0.04em;
}

.atom-bridge__arrow {
margin-top: 6px;
color: #e55252 !important;
font-size: 34px;
font-weight: 900;
line-height: 1;
animation: atomBridgeArrow 1.4s ease-in-out infinite;
}

@keyframes atomBridgeArrow {
0%, 100% {
transform: translateY(0);
opacity: 0.75;
}

50% {
transform: translateY(5px);
opacity: 1;
}
}

/* =========================================================
解決セクション
========================================================= */

.atom-answer {
padding: 18px 16px 48px;
background: transparent !important;
}

.atom-answer__card {
max-width: 1120px;
margin: 0 auto;
padding: 34px 36px 38px;
background: #ffffff !important;
border-radius: 34px;
box-shadow: 0 16px 36px rgba(210, 86, 86, 0.16);
border: 1px solid rgba(255, 190, 190, 0.75);
}

.atom-answer__title {
position: relative;
width: fit-content;
margin: 0 auto 32px !important;
padding: 0 46px;
color: #351010 !important;
font-size: clamp(28px, 3.5vw, 44px) !important;
font-weight: 900 !important;
line-height: 1.4 !important;
letter-spacing: 0.04em;
text-align: center;
z-index: 1;
}

.atom-answer__title-line1,
.atom-answer__title-line2 {
display: block;
white-space: nowrap !important;
}

.atom-answer__title-line2 {
position: relative;
width: fit-content;
margin: 0 auto;
}

.atom-answer__title-line2::after {
content: "";
position: absolute;
left: 50%;
bottom: 2px;
width: 104%;
height: 8px;
transform: translateX(-50%);
background: #ffe29a;
border-radius: 999px;
z-index: -1;
}

.atom-answer__title::before,
.atom-answer__title::after {
content: "";
position: absolute;
top: 50%;
width: 7px;
height: 50px;
border-radius: 999px;
background: #ef6f6f !important;
box-shadow: 0 3px 8px rgba(210, 86, 86, 0.18);
opacity: 0.9;
}

.atom-answer__title::before {
left: 22px;
transform: translateY(-50%) rotate(-22deg);
}

.atom-answer__title::after {
right: 22px;
transform: translateY(-50%) rotate(22deg);
}

.atom-answer__red {
color: #e55252 !important;
}

.atom-answer__body {
display: grid;
grid-template-columns: 48% 1fr;
gap: 28px;
align-items: center;
}

.atom-answer__image {
position: relative;
}

.atom-answer__image img {
display: block;
width: 100%;
height: auto;
border-radius: 20px;
}

.atom-answer__image-copy {
position: absolute;
left: 14px;
right: 14px;
bottom: 14px;
margin: 0;
padding: 8px 12px;
background: rgba(255, 255, 255, 0.92);
border-radius: 999px;
color: #351010 !important;
font-size: clamp(14px, 1.5vw, 18px);
font-weight: 900;
line-height: 1.35;
letter-spacing: 0.03em;
text-align: center;
box-shadow: 0 5px 14px rgba(80, 0, 0, 0.12);
z-index: 2;
pointer-events: none;
}

.atom-answer__image-copy::before {
content: "＼ ";
color: #e55252;
}

.atom-answer__image-copy::after {
content: " ／";
color: #e55252;
}

.atom-answer__items {
display: grid;
gap: 15px;
}

.atom-answer__item {
position: relative;
min-height: 74px;
padding: 19px 22px 19px 82px;
display: flex;
align-items: center;
background: #fff7f4 !important;
border-radius: 15px;
box-shadow: 0 5px 14px rgba(210, 86, 86, 0.13);
color: #351010 !important;
font-size: clamp(19px, 2vw, 25px);
font-weight: 900;
line-height: 1.45;
}

.atom-answer__item::before {
content: "✓";
position: absolute;
left: 24px;
top: 50%;
transform: translateY(-50%);
width: 44px;
height: 44px;
border-radius: 50%;
background: linear-gradient(135deg, #e55252 0%, #ff8a70 100%) !important;
color: #ffffff !important;
font-size: 30px;
font-weight: 900;
line-height: 44px;
text-align: center;
}

.atom-answer__cta {
width: 100%;
margin-top: 28px;
padding: 24px 20px;
background: #fff7f7;
border: 2px solid rgba(196, 0, 18, 0.18);
border-radius: 18px;
text-align: center;
}

.atom-answer__cta-text {
margin-bottom: 16px;
color: #111;
font-size: clamp(15px, 1.7vw, 18px);
font-weight: 800;
line-height: 1.6;
}

.atom-answer__cta-buttons {
display: flex;
justify-content: center;
gap: 14px;
flex-wrap: wrap;
}

.atom-answer__cta-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 220px;
min-height: 54px;
padding: 14px 24px;
border-radius: 999px;
font-size: clamp(16px, 1.8vw, 19px);
font-weight: 900;
line-height: 1.3;
text-decoration: none !important;
transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.atom-answer__cta-btn:hover {
transform: translateY(-2px);
opacity: 0.92;
}

.atom-answer__cta-btn--main {
background: #c40012;
color: #ffffff !important;
box-shadow: 0 8px 18px rgba(196, 0, 18, 0.26);
}

.atom-answer__cta-btn--sub {
background: #ffffff;
color: #c40012 !important;
border: 2px solid #c40012;
}

/* =========================================================
LP追加エリア 共通
========================================================= */

.atom-lp-extra,
.atom-lp-extra * {
box-sizing: border-box;
}

.atom-lp-extra {
width: 100%;
background: #ffffff !important;
}

.atom-section-title {
margin: 0 auto 30px !important;
color: #071735 !important;
font-size: clamp(28px, 3.4vw, 42px) !important;
font-weight: 900 !important;
line-height: 1.35 !important;
letter-spacing: 0.04em;
text-align: center;
}

.atom-section-title span {
color: #e55252 !important;
}

/* =========================================================
強み
========================================================= */

.atom-strength {
padding: 56px 16px 48px;
background: #ffffff !important;
}

.atom-strength__inner {
max-width: 1120px;
margin: 0 auto;
}

.atom-strength__cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.atom-strength__card {
padding: 30px 24px 28px;
background: #f4fbff !important;
border-radius: 28px;
box-shadow: 0 10px 24px rgba(31, 117, 190, 0.12);
border: 1px solid rgba(166, 214, 255, 0.7);
}

.atom-strength__icon {
width: 58px;
height: 58px;
margin-bottom: 18px;
border-radius: 50%;
background: linear-gradient(135deg, #0068d9 0%, #049cff 100%) !important;
color: #ffffff !important;
font-size: 20px;
font-weight: 900;
line-height: 58px;
text-align: center;
}

.atom-strength__title {
color: #071735 !important;
font-size: clamp(20px, 2vw, 25px);
font-weight: 900;
line-height: 1.4;
margin-bottom: 10px;
}

.atom-strength__text {
margin: 0 !important;
color: #27324a !important;
font-size: 16px;
font-weight: 700;
line-height: 1.75;
}

/* =========================================================
料金・無料体験
========================================================= */

.atom-price {
padding: 54px 16px;
background: #fff7f4 !important;
}

.atom-price__inner {
max-width: 1120px;
margin: 0 auto;
}

.atom-price__box {
display: grid;
grid-template-columns: 1.4fr 0.9fr;
gap: 24px;
align-items: stretch;
}

.atom-price__main,
.atom-price__side {
background: #ffffff !important;
border-radius: 30px;
box-shadow: 0 12px 28px rgba(210, 86, 86, 0.14);
}

.atom-price__main {
padding: 34px 34px 32px;
}

.atom-price__side {
padding: 32px 28px;
display: flex;
flex-direction: column;
justify-content: center;
background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%) !important;
}

.atom-price__label {
display: inline-flex;
margin-bottom: 16px;
padding: 7px 16px;
border-radius: 999px;
background: #ffe9e3 !important;
color: #e55252 !important;
font-size: 15px;
font-weight: 900;
}

.atom-price__value {
color: #351010 !important;
font-size: clamp(26px, 3.3vw, 40px);
font-weight: 900;
line-height: 1.35;
}

.atom-price__value span {
color: #e55252 !important;
}

.atom-price__note {
margin: 16px 0 0 !important;
color: #4d5870 !important;
font-size: 14px;
font-weight: 700;
line-height: 1.7;
}

.atom-price__side-title {
color: #e55252 !important;
font-size: clamp(22px, 2.4vw, 30px);
font-weight: 900;
line-height: 1.4;
margin-bottom: 10px;
}

.atom-price__side-text {
margin: 0 !important;
color: #351010 !important;
font-size: 16px;
font-weight: 800;
line-height: 1.7;
}

.atom-price__side-button {
display: inline-flex;
align-items: center;
justify-content: center;
margin-top: 18px;
min-height: 48px;
padding: 12px 22px;
border-radius: 999px;
background: linear-gradient(135deg, #e55252 0%, #ff8a70 100%) !important;
color: #ffffff !important;
text-decoration: none !important;
font-size: 16px;
font-weight: 900;
line-height: 1.3;
box-shadow: 0 8px 18px rgba(229, 82, 82, 0.24);
}

.atom-price__side-button:hover {
transform: translateY(-2px);
}

/* =========================================================
安心材料
========================================================= */

.atom-relief {
padding: 54px 16px;
background: #ffffff !important;
}

.atom-relief__inner {
max-width: 960px;
margin: 0 auto;
}

.atom-relief__list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 14px;
}

.atom-relief__item {
position: relative;
padding: 18px 20px 18px 54px;
background: #f4fbff !important;
border-radius: 18px;
color: #071735 !important;
font-size: clamp(16px, 1.8vw, 20px);
font-weight: 900;
line-height: 1.5;
box-shadow: 0 6px 16px rgba(31, 117, 190, 0.1);
}

.atom-relief__item::before {
content: "✓";
position: absolute;
left: 18px;
top: 50%;
transform: translateY(-50%);
width: 26px;
height: 26px;
border-radius: 50%;
background: linear-gradient(135deg, #0068d9 0%, #049cff 100%) !important;
color: #ffffff !important;
font-size: 17px;
font-weight: 900;
line-height: 26px;
text-align: center;
}

/* =========================================================
FAQ
========================================================= */

.atom-faq {
padding: 54px 16px;
background: #f7fbff !important;
}

.atom-faq__inner {
max-width: 900px;
margin: 0 auto;
}

.atom-faq__items {
display: grid;
gap: 14px;
}

.atom-faq__item {
background: #ffffff !important;
border-radius: 18px;
box-shadow: 0 8px 18px rgba(31, 117, 190, 0.1);
overflow: hidden;
}

.atom-faq__item summary {
position: relative;
cursor: pointer;
list-style: none;
padding: 20px 56px 20px 24px;
color: #071735 !important;
font-size: clamp(16px, 1.8vw, 20px);
font-weight: 900;
line-height: 1.5;
}

.atom-faq__item summary::-webkit-details-marker {
display: none;
}

.atom-faq__item summary::before {
content: "Q";
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
margin-right: 10px;
border-radius: 50%;
background: #e55252 !important;
color: #ffffff !important;
font-size: 16px;
font-weight: 900;
}

.atom-faq__item summary::after {
content: "＋";
position: absolute;
right: 24px;
top: 50%;
transform: translateY(-50%);
color: #e55252 !important;
font-size: 24px;
font-weight: 900;
}

.atom-faq__item[open] summary::after {
content: "－";
}

.atom-faq__item p {
margin: 0 !important;
padding: 0 24px 22px 64px;
color: #27324a !important;
font-size: 16px;
font-weight: 700;
line-height: 1.75;
}

/* =========================================================
最終CTA
========================================================= */

.atom-final-cta {
padding: 62px 16px 68px;
background: linear-gradient(135deg, #eaf6ff 0%, #fff1f1 100%) !important;
}

.atom-final-cta__inner {
max-width: 960px;
margin: 0 auto;
padding: 42px 28px 40px;
background: #ffffff !important;
border-radius: 34px;
text-align: center;
box-shadow: 0 18px 38px rgba(80, 90, 120, 0.14);
}

.atom-final-cta__title {
color: #071735 !important;
font-size: clamp(16px, 1.8vw, 21px) !important;
font-weight: 800 !important;
line-height: 1.55 !important;
letter-spacing: 0.02em;
}

.atom-final-cta__text {
max-width: 720px;
margin: 18px auto 0 !important;
color: #27324a !important;
font-size: clamp(16px, 1.8vw, 19px);
font-weight: 800;
line-height: 1.8;
}

.atom-final-cta__buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 14px;
margin-top: 28px;
}

.atom-final-cta__button {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 240px;
min-height: 58px;
padding: 14px 26px;
border-radius: 999px;
text-decoration: none !important;
font-size: clamp(16px, 1.8vw, 19px);
font-weight: 900;
line-height: 1.3;
}

.atom-final-cta__button--main {
background: linear-gradient(135deg, #e55252 0%, #ff8a70 100%) !important;
color: #ffffff !important;
box-shadow: 0 10px 24px rgba(229, 82, 82, 0.28);
}

.atom-final-cta__button--sub {
background: #ffffff !important;
color: #1657c2 !important;
border: 2px solid rgba(22, 87, 194, 0.22);
box-shadow: 0 8px 18px rgba(31, 117, 190, 0.14);
}

/* =========================================================
夏期講習エリア
========================================================= */

.atom-summer-refined,
.atom-summer-refined * {
box-sizing: border-box;
}

.atom-summer-refined {
padding: 38px 14px 46px;
background: #ffffff;
}

.atom-summer-refined__inner {
max-width: 1040px;
margin: 0 auto;
padding: 30px 28px 32px;
background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
border: 1px solid rgba(196, 0, 18, 0.16);
border-radius: 24px;
box-shadow: 0 12px 30px rgba(80, 0, 0, 0.08);
}

.atom-summer-refined__head {
text-align: center;
margin-bottom: 24px;
}

.atom-summer-refined__eyebrow {
display: inline-block;
margin-bottom: 7px;
padding: 4px 12px;
border-radius: 999px;
background: #fff0f0;
color: #c40012;
font-size: 12px;
font-weight: 800;
letter-spacing: 0.12em;
}

.atom-summer-refined__title {
color: #c40012;
font-size: clamp(26px, 3.1vw, 36px);
font-weight: 900;
line-height: 1.25;
letter-spacing: 0.04em;
}

.atom-summer-refined__lead {
margin-top: 8px;
color: #333333;
font-size: clamp(14px, 1.6vw, 17px);
font-weight: 700;
line-height: 1.7;
}

.atom-summer-refined__visual {
max-width: 760px;
margin: 18px auto 0;
overflow: hidden;
border-radius: 18px;
box-shadow: 0 8px 22px rgba(80, 0, 0, 0.08);
}

.atom-summer-refined__visual img {
display: block;
width: 100%;
height: auto;
}

.atom-summer-refined__layout {
display: grid;
grid-template-columns: 1.28fr 0.72fr;
gap: 18px;
align-items: stretch;
margin-top: 24px;
}


.atom-summer-refined__main,
.atom-summer-refined__campaign {
background: #ffffff;
border: 1px solid rgba(196, 0, 18, 0.18);
border-radius: 18px;
box-shadow: 0 6px 18px rgba(80, 0, 0, 0.06);
}

.atom-summer-refined__main {
padding: 20px;
}

.atom-summer-refined__catch {
margin-bottom: 16px;
padding: 15px 16px;
background: #c40012;
color: #ffffff;
border-radius: 14px;
text-align: center;
font-size: clamp(20px, 2.2vw, 27px);
font-weight: 900;
line-height: 1.35;
letter-spacing: 0.03em;
}

.atom-summer-refined__catch span {
display: block;
white-space: nowrap;
}

.atom-summer-refined__course-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}

.atom-summer-refined__course-card {
position: relative;
padding: 14px 14px 15px;
background: #fffafa;
border: 1px solid rgba(196, 0, 18, 0.18);
border-radius: 14px;
}

.atom-summer-refined__tag {
display: inline-block;
margin-bottom: 8px;
padding: 3px 9px;
background: #ffffff;
border: 1px solid rgba(196, 0, 18, 0.35);
border-radius: 999px;
color: #c40012;
font-size: 12px;
font-weight: 900;
line-height: 1.2;
}

.atom-summer-refined__course-title {
display: block;
color: #111111;
font-size: clamp(16px, 1.7vw, 20px);
font-weight: 900;
line-height: 1.35;
}

.atom-summer-refined__course-text {
display: block;
margin-top: 5px;
color: #555555;
font-size: clamp(12px, 1.3vw, 14px);
font-weight: 700;
line-height: 1.55;
}

.atom-summer-refined__campaign {
padding: 16px;
}

.atom-summer-refined__campaign-title {
margin-bottom: 12px;
padding-bottom: 10px;
border-bottom: 2px solid rgba(196, 0, 18, 0.18);
color: #c40012;
text-align: center;
font-size: clamp(19px, 2.1vw, 25px);
font-weight: 900;
line-height: 1.35;
}

.atom-summer-refined__benefits {
display: grid;
gap: 9px;
}

.atom-summer-refined__benefit {
padding: 10px 10px;
background: #fff7f7;
border-radius: 12px;
border: 1px solid rgba(196, 0, 18, 0.16);
text-align: center;
}

.atom-summer-refined__benefit span {
display: block;
margin-bottom: 3px;
color: #666666;
font-size: 12px;
font-weight: 800;
line-height: 1.2;
}

.atom-summer-refined__benefit strong {
display: block;
color: #c40012;
font-size: clamp(15px, 1.6vw, 19px);
font-weight: 900;
line-height: 1.25;
}

/* =========================================================
近隣教室情報
========================================================= */

.atom-nearby-classrooms,
.atom-nearby-classrooms * {
box-sizing: border-box;
}

.atom-nearby-classrooms {
margin: 24px auto;
padding: 0 12px;
max-width: 960px;
}

.atom-nearby-inner {
background: #fff;
border: 1px solid #f1d8d8;
border-radius: 16px;
padding: 18px;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.atom-nearby-heading {
text-align: center;
margin-bottom: 10px;
}

.atom-nearby-en {
margin: 0 0 4px;
color: #c62828;
font-weight: 700;
font-size: 12px;
line-height: 1.1;
letter-spacing: .04em;
}

.atom-nearby-title {
margin: 0;
font-size: 21px;
font-weight: 700;
line-height: 1.25;
color: #222;
}

.atom-nearby-text {
margin: 0 auto 12px;
max-width: 720px;
line-height: 1.55;
text-align: center;
color: #333;
}

.atom-nearby-links {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 10px;
margin: 0 auto;
text-align: center;
}

.atom-nearby-button {
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 210px;
min-height: 52px;
padding: 9px 12px;
border: 1px solid #f0caca;
border-radius: 999px;
background: #fffafa;
color: #c62828;
text-decoration: none;
font-weight: 700;
font-size: 13px;
line-height: 1.2;
text-align: center;
}

.atom-nearby-button:hover {
background: #fff3f3;
border-color: #e8b8b8;
color: #b71c1c;
text-decoration: none;
}

.atom-nearby-name {
display: block;
width: 100%;
margin: 0 0 5px;
padding: 0;
font-size: 14.3px;
line-height: 1.2;
text-align: center;
}

.atom-nearby-access {
display: block;
width: 100%;
margin: 0;
padding: 0;
font-size: 13px;
line-height: 1.2;
text-align: center;
}

.atom-nearby-note {
margin: 12px 0 0;
text-align: center;
font-size: 12px;
line-height: 1.35;
color: #666;
}

@media (max-width: 600px) {
.atom-nearby-title {
font-size: 18px;
}

.atom-nearby-text {
text-align: left;
}

.atom-nearby-button {
width: 100%;
max-width: 260px;
}
}

/* =========================================================
スマホ
========================================================= */

@media (max-width: 767px) {
.sp-only {
display: block;
}

.pc-only {
display: none;
}

.atom-flow {
background: linear-gradient(
180deg,
#eaf6ff 0%,
#eaf6ff 36%,
#f8eef5 52%,
#fff1f1 100%
) !important;
}

.atom-fv {
padding: 34px 14px 36px;
background:
radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 38%),
linear-gradient(180deg, #eaf6ff 0%, #f7fbff 55%, #fff1f1 100%) !important;
}

.atom-fv__inner {
display: flex;
flex-direction: column;
gap: 24px;
}

.atom-fv__content {
width: 100%;
text-align: center;
}

.atom-fv__image {
width: 100%;
order: -1;
}

.atom-fv__badge {
margin-bottom: 14px;
padding: 7px 14px;
font-size: clamp(13px, 3.6vw, 15px);
}

.atom-fv__title {
font-size: clamp(20px, 6vw, 28px) !important;
line-height: 1.28 !important;
letter-spacing: 0;
}

.atom-fv__title-main {
white-space: nowrap;
}

.atom-fv__red::after {
height: 0.24em;
bottom: 0.06em;
}

.atom-fv__lead {
margin-top: 14px !important;
font-size: clamp(15px, 4.1vw, 17px);
line-height: 1.7;
}

.atom-fv__points {
margin-top: 20px;
gap: 9px;
justify-items: center;
}

.atom-fv__point {
width: 100%;
max-width: 340px;
padding: 9px 12px 9px 38px;
text-align: left;
font-size: clamp(13px, 3.7vw, 15px);
}

.atom-fv__point::before {
left: 11px;
width: 20px;
height: 20px;
font-size: 13px;
line-height: 20px;
}

.atom-fv__cta {
margin-top: 22px;
display: grid;
grid-template-columns: 1fr;
gap: 10px;
}

.atom-fv__button {
width: 100%;
min-width: 0;
min-height: 52px;
padding: 13px 18px;
font-size: clamp(15px, 4.2vw, 17px);
}

.atom-fv__note {
margin-top: 10px !important;
font-size: 13px;
}

.atom-fv__image::before {
inset: 12px -6px -8px 12px;
border-radius: 24px;
}

.atom-fv__image img {
border-radius: 24px;
}

.atom-nayami {
padding: 32px 10px 8px;
}

.atom-nayami__card,
.atom-answer__card {
padding: 26px 14px 28px;
border-radius: 28px;
}

.atom-nayami__title,
.atom-answer__title {
margin-bottom: 24px !important;
font-size: clamp(14px, 5.3vw, 24px) !important;
line-height: 1.4 !important;
letter-spacing: 0.03em;
padding: 0 8vw;
width: fit-content;
}

.atom-nayami__title-line2::after,
.atom-answer__title-line2::after {
height: 5px;
bottom: 1px;
}

.atom-nayami__title::before,
.atom-nayami__title::after,
.atom-answer__title::before,
.atom-answer__title::after {
width: 5px;
height: 32px;
}

.atom-nayami__title::before,
.atom-answer__title::before {
left: 8px;
}

.atom-nayami__title::after,
.atom-answer__title::after {
right: 8px;
}

.atom-nayami__body,
.atom-answer__body {
display: block;
}

.atom-nayami__image,
.atom-answer__image {
margin-bottom: 22px;
}

.atom-nayami__image img,
.atom-answer__image img {
border-radius: 20px;
}

.atom-nayami__items,
.atom-answer__items {
gap: 12px;
}

.atom-nayami__item,
.atom-answer__item {
min-height: 54px;
padding: 12px 12px 12px 46px;
border-radius: 12px;
font-size: clamp(13px, 3.8vw, 16px);
line-height: 1.4;
}

.atom-nayami__item::before,
.atom-answer__item::before {
left: 10px;
width: 26px;
height: 26px;
font-size: 16px;
line-height: 26px;
}

.atom-bridge {
padding: 10px 10px 14px;
}

.atom-bridge__inner {
padding: 18px 14px 15px;
border-radius: 24px;
}

.atom-bridge__text {
font-size: clamp(17px, 4.8vw, 21px);
}

.atom-bridge__arrow {
font-size: 28px;
}

.atom-answer {
padding: 8px 10px 32px;
}

.atom-answer__cta {
margin-top: 22px;
padding: 20px 14px;
border-radius: 16px;
}

.atom-answer__cta-text {
margin-bottom: 14px;
font-size: 15px;
}

.atom-answer__cta-buttons {
gap: 10px;
}

.atom-answer__cta-btn {
width: 100%;
min-width: 0;
min-height: 52px;
font-size: 17px;
}

.atom-section-title {
margin-bottom: 22px !important;
font-size: clamp(24px, 7vw, 31px) !important;
line-height: 1.35 !important;
}

.atom-strength {
padding: 42px 10px 36px;
}

.atom-strength__cards {
grid-template-columns: 1fr;
gap: 14px;
}

.atom-strength__card {
padding: 24px 18px 22px;
border-radius: 22px;
}

.atom-strength__icon {
width: 48px;
height: 48px;
margin-bottom: 14px;
font-size: 17px;
line-height: 48px;
}

.atom-strength__title {
font-size: clamp(19px, 5vw, 23px);
}

.atom-strength__text {
font-size: 15px;
}

.atom-price {
padding: 42px 10px;
}

.atom-price__box {
grid-template-columns: 1fr;
gap: 14px;
}

.atom-price__main,
.atom-price__side {
border-radius: 24px;
}

.atom-price__main {
padding: 26px 18px 24px;
}

.atom-price__side {
padding: 24px 18px;
}

.atom-price__label {
font-size: 13px;
}

.atom-price__value {
font-size: clamp(23px, 7vw, 32px);
}

.atom-relief {
padding: 42px 10px;
}

.atom-relief__list {
grid-template-columns: 1fr;
gap: 10px;
}

.atom-relief__item {
padding: 15px 14px 15px 46px;
border-radius: 15px;
font-size: clamp(15px, 4.2vw, 17px);
}

.atom-relief__item::before {
left: 14px;
width: 23px;
height: 23px;
font-size: 15px;
line-height: 23px;
}

.atom-faq {
padding: 42px 10px;
}

.atom-faq__items {
gap: 10px;
}

.atom-faq__item {
border-radius: 15px;
}

.atom-faq__item summary {
padding: 17px 48px 17px 16px;
font-size: clamp(15px, 4.2vw, 17px);
}

.atom-faq__item summary::before {
width: 26px;
height: 26px;
margin-right: 8px;
font-size: 14px;
}

.atom-faq__item summary::after {
right: 18px;
font-size: 22px;
}

.atom-faq__item p {
padding: 0 16px 18px 50px;
font-size: 14px;
}

.atom-final-cta {
padding: 44px 10px 48px;
}

.atom-final-cta__inner {
padding: 32px 16px 30px;
border-radius: 26px;
}

.atom-final-cta__title {
font-size: clamp(15px, 3.4vw, 18px) !important;
line-height: 1.6 !important;
letter-spacing: 0.01em;
font-weight: 800 !important;
}

.atom-final-cta__text {
margin-top: 14px !important;
font-size: 15px;
}

.atom-final-cta__buttons {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
margin-top: 24px;
}

.atom-final-cta__button {
width: 100%;
min-width: 0;
min-height: 54px;
font-size: 16px;
}

.atom-summer-refined {
padding: 28px 10px 36px;
}

.atom-summer-refined__inner {
padding: 22px 14px 24px;
border-radius: 22px;
}

.atom-summer-refined__head {
margin-bottom: 18px;
}

.atom-summer-refined__title {
font-size: 27px;
}

.atom-summer-refined__lead {
font-size: 14px;
text-align: left;
}

.atom-summer-refined__visual {
margin-top: 14px;
border-radius: 14px;
}

.atom-summer-refined__layout {
grid-template-columns: 1fr;
gap: 14px;
margin-top: 18px;
}



.atom-summer-refined__main {
padding: 14px;
}

.atom-summer-refined__catch {
padding: 13px 8px;
font-size: clamp(19px, 5.4vw, 22px);
}

.atom-summer-refined__course-grid {
grid-template-columns: 1fr;
gap: 10px;
}

.atom-summer-refined__course-card {
padding: 13px 13px 14px;
}

.atom-summer-refined__course-title {
font-size: 17px;
}

.atom-summer-refined__course-text {
font-size: 13px;
}

.atom-summer-refined__campaign {
padding: 14px;
}

.atom-summer-refined__benefits {
grid-template-columns: 1fr 1fr;
gap: 8px;
}

.atom-summer-refined__benefit--wide {
grid-column: 1 / -1;
}

.atom-summer-refined__benefit {
padding: 9px 6px;
}

.atom-summer-refined__benefit strong {
font-size: 16px;
}
}

.atom-faq__item p {
margin-bottom: 8px;
}

.atom-faq__button-wrap {
text-align: center;
margin-top: 6px;
padding-bottom: 18px;
}

.atom-faq__button-wrap .atom-price__side-button {
display: inline-flex;
width: auto;
}


/* =========================================================
教室LPテンプレ：テスト対策
========================================================= */

.atom-pr-feature,
.atom-pr-feature * {
  box-sizing: border-box;
}

.atom-pr-feature {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding: 38px 14px 8px;
  background: #ffffff;
}

.atom-pr-feature__inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 18px;
  background: linear-gradient(135deg, #f5fbff 0%, #fff7fa 100%);
  border: 1px solid #d8eaf6;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(80, 120, 160, 0.08);
}

.atom-pr-feature__head {
  text-align: center;
  margin-bottom: 14px;
}

.atom-pr-feature__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #4f8fb8;
  letter-spacing: 0.08em;
}

.atom-pr-feature__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 800;
  color: #2f2f2f;
}

.atom-pr-feature__lead {
  margin: 0 0 10px;
  text-align: center;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 700;
  color: #c95778;
}

.atom-pr-feature__text {
  margin: 0 auto 16px;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}

.atom-pr-feature__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.atom-pr-feature__card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #f0d8e0;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
  color: #333;
}

.atom-pr-feature__card::before {
  content: "";
  display: block;
  width: 18px;
  height: 3px;
  margin: 0 auto 8px;
  background: #c95778;
  border-radius: 999px;
}

.atom-pr-feature__card:nth-child(2n)::before {
  background: #4f8fb8;
}

/* テスト対策の直後に入るACMPラッパーの余白を消す */
.atom-pr-feature + .acmp-area,
.atom-pr-feature + .acmp-area.-fw-pass {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ACMP内のフルワイドブロックの余白も消す */
.atom-pr-feature + .acmp-area .swell-block-fullWide,
.atom-pr-feature + .acmp-area .swell-block-fullWide__inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 夏期講習セクションの上余白を詰める */
.atom-pr-feature + .acmp-area .atom-summer-refined {
  padding-top: 8px !important;
}

@media (max-width: 767px) {
  .atom-pr-feature {
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    padding: 28px 10px 6px;
  }

  .atom-pr-feature__inner {
    padding: 20px 14px;
    border-radius: 16px;
  }

  .atom-pr-feature__title {
    font-size: 20px;
  }

  .atom-pr-feature__lead {
    text-align: left;
    font-size: 16px;
  }

  .atom-pr-feature__text {
    font-size: 14px;
    line-height: 1.85;
  }

  .atom-pr-feature__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .atom-pr-feature__card {
    font-size: 13px;
    padding: 11px 8px;
  }

  .atom-pr-feature + .acmp-area,
  .atom-pr-feature + .acmp-area.-fw-pass {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .atom-pr-feature + .acmp-area .swell-block-fullWide,
  .atom-pr-feature + .acmp-area .swell-block-fullWide__inner {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .atom-pr-feature + .acmp-area .atom-summer-refined {
    padding-top: 6px !important;
  }
}