@charset "UTF-8";
/* ============================================================
  26AW フレッシャーズ「はじめてのスーツ選びGUIDE」
  SP版をベースに実装し、min-width:1024px からPC装飾（サイド固定パネル）を追加する。
  SP版では btn_cta（店舗検索/無料相談予約/LINEで相談）を画面下部に固定表示する。
============================================================ */

:root {
  --navy: #00004C;
  --blue-gray: #8198AF;
  --blue-light: #E6EDF4;
  --accent-red: #ED5252;
  --off-black: #333333;
  --gray-700: #4D4D4D;
  --gray-500: #7F7F7F;
  --gray-200: #CCCCCC;
  --white: #FFFFFF;

  --radius: 4px;
  --header-height: 80px;
  --content-w: 490px;
  --inner-w: 450px;

  --fs-h1: 32px;
  --fs-h2: 24px;
  --fs-h3: 20px;
  --fs-h4: 18px;
  --fs-body: 16px;
  --fs-small: 13px;

  --fw-bold: 700;
  --fw-medium: 500;
  --fw-regular: 400;

  --cta-fixed-h: 64px;
  --sec-title-h: 143px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--off-black);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(var(--cta-fixed-h) + 8px);
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h2, h3, p { margin: 0; }

/* ---------- 共通ヘッダー／フッター（design-system templates準拠） ---------- */
.sg-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  overflow: hidden;
}
.sg-site-header .pc,
.sg-site-footer .pc { display: none; }
.sg-site-header img,
.sg-site-footer img {
  width: 100%;
}

.sg-site-footer { width: 100%; overflow: hidden; }

.sg-page {
  position: relative;
  width: 100%;
  background: var(--white);
}

.sg-main {
  width: 100%;
}

.sg-section { padding: 0 25px; }

/* ---------- 共通：セクションタイトル（Figma実測値：h143px / icon:24,37 / tag:116,29 / heading:116,74） ---------- */
.sg-sec-title {
  max-width: 450px;
  margin-bottom: 30px;
}
.sg-sec-title__icon {
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .sg-sec-title {
    max-width: 100%;
  }
}

/* ---------- Hero ---------- */
.sg-hero { line-height: 0; }
.sg-hero img { width: 100%; object-fit: cover; }

/* ---------- 悩みセクション ---------- */
.sg-worry { padding-top: 40px; text-align: center; margin-top: 80px;}
.sg-worry__heading {
  max-width: 410px;
  margin: 0 auto 32px;
}
@media (max-width: 767px) {
  .sg-worry__heading{
    max-width: 91%;
  }
}
.sg-worry__cards {
  display: flex;
  justify-content: center;
  padding-bottom: 16px;
}
.sg-worry__illust {
  width: 55%;
  max-width: 240px;
  margin: 0 auto;
}
.sg-worry__solve {
  color: var(--navy);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: var(--fw-bold);
  font-size: 24px;
  line-height: 38.4px;
  margin-top: 8px;
  word-wrap: break-word;
}
.sg-worry__solve-big {
  position: relative;
  display: inline-block;
  margin-top: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: var(--fw-bold);
  font-size: 60px;
  line-height: 96px;
  color: rgba(129, 152, 175, 0.5);
  word-wrap: break-word;
}
.sg-worry__underline {
  position: absolute;
  left: 50%;
  width: 15px;
  height: 15px;
  border-right: 1.5px solid var(--blue-gray);
  border-bottom: 1.5px solid var(--blue-gray);
  transform: translateX(-50%) rotate(45deg);
}
.sg-worry__underline--1 { bottom: -2px; }
.sg-worry__underline--2 { bottom: -8px; }

/* ---------- シーンを選ぶ ---------- */
.sg-scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 100px;
}
.sg-scene-card {
  background: var(--blue-gray);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 12px;
}
.sg-scene-card h3 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: #fff;
  text-align: center;
}
.sg-scene-card__img { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--white); }
.sg-scene-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sg-scene-card p { text-align: center; font-size: var(--fs-body); font-weight: var(--fw-medium); line-height: 1.6; }
.sg-scene-card__btn {
  border: 1px solid var(--white);
  padding: 6px 18px;
  font-size: var(--fs-small);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sg-scene-card__btn::after { 
  content:"";
  background-image: url(/ec/img/usr/pg/campaign/first-suit-guide/check-arrow.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 19px; 
  height: 4px; 
  display: inline-block;
 }

/* ---------- 共通ボタン（Figma実測: padding 10/20/10/40, font 20px/bold/line-height 32px） ---------- */
.sg-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 383px;
  height: 100px;
  margin: 0 auto;
  padding: 10px 20px 10px 40px;
  border-radius: var(--radius);
  color: var(--white);
}
.sg-btn--red { background: var(--accent-red); }
.sg-btn--navy { background: var(--navy); }
.sg-btn__label {
  flex: 1 1 0;
  text-align: center;
  color: var(--white);
  font-size: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: var(--fw-bold);
  line-height: 32px;
  word-wrap: break-word;
}
.sg-btn::after {
  content: "";
  background-image: url(/ec/img/usr/pg/campaign/first-suit-guide/arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 10px;
  width: 30px;
  height: 30px;
}

/* ---------- 無料スタイリング相談会 ---------- */
.sg-consult { padding-bottom: 56px; }
.sg-consult__body {
  background: #56C2EC;
  padding: 0 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 100px;
}
.sg-consult__img { width: 100%; }
.sg-consult__btns { display: flex; flex-direction: column; gap: 20px; width: 100%; padding: 0 20px; }

/* ---------- お役立ちコンテンツ ---------- */
.sg-contents__lead {
  max-width: 250px;
  margin: 0 auto 20px;
}
.sg-anchor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 10px;
  margin: 0 auto 40px;
  max-width: 410px;
}
.sg-anchor-btn {
  background: var(--white);
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: var(--fw-medium);
  font-size: var(--fs-h4);
  text-align: center;
  gap: 8px;
  width: 200px;
  padding: 24px 0;
  position: relative;
}
@media (max-width: 767px){
  .sg-anchor-grid {
    max-width: 410px;
  }
  .sg-contents__lead {
    max-width: 61.9%;
  }
  .sg-anchor-btn{
    width: 47.7%;
  }
}

.sg-anchor-btn::after {
  content: "";
  background-image: url(/ec/img/usr/pg/campaign/first-suit-guide/anchor-arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  position: absolute;
  width: 14px;
  height: 6px;
  right: 15px;
  top: 50%;
}

.sg-category-slider {
  display: block;
}
.sg-category {
  scroll-margin-top: 16px;
  margin-bottom: 40px;
}
.sg-category:last-child {
  margin-bottom: 100px;
}
.sg-category__heading {
  border-left: 6px solid var(--blue-gray);
  height: 48px;
  padding-left: 21px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  overflow: hidden;
  margin-bottom: 24px;
  margin-left: 20px;
}
.sg-category__heading-main {
  color: var(--navy);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: var(--fw-bold);
  font-size: 32px;
  line-height: 1.6;
}
.sg-category__heading-sub {
  color: var(--navy);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 32px;
}
@media (max-width :767px){
  .sg-category__heading-main {
    font-size: 6.5vw;
  }
  .sg-category__heading-sub {
    font-size: 4vw;
  }  
.sg-category__heading {
  padding-left: 4vw;
  height: unset;
}  
}
.sg-article-row {
  display: flex;
  gap: 19px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  cursor: grab;
  padding-left: 20px;
}
.sg-article-row::-webkit-scrollbar { display: none; }
.sg-article-row.is-dragging { cursor: grabbing; user-select: none; }
.sg-article {
  flex: 0 0 160px;
  width: 35.5vw;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sg-article img { width: 100%; aspect-ratio: 220 / 147; object-fit: cover; -webkit-user-drag: none; }
.sg-article__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--off-black);
  color: var(--gray-700);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 20.8px;
  padding: 2px 8px;
  align-self: flex-start;
}
.sg-article p {
  color: var(--gray-700);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 20.8px;
}
.sg-article-row__bar {
  width: 202.56px;
  height: 10px;
  background: var(--gray-500);
  border-radius: 999px;
  margin-top: 24px;
}

/* ---------- 保護者の方へ ---------- */
.sg-parents__lead {
  text-align: center;
  color: var(--navy);
  font-weight: var(--fw-medium);
  font-size: var(--fs-h4);
  line-height: 1.6;
  margin-bottom: 24px;
}
.sg-parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 100px;
}
.sg-parents-card a { display: block; }
.sg-parents-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.sg-parents-card p {
  color: #002755;
  font-size: var(--fs-body);
  line-height: 1.6;
  margin-top: 8px;
}

/* ---------- LINE友だち登録特典 ---------- */
.sg-line__img { width: 100%; max-width: 410px; margin: 0 auto 100px; }

/* ---------- お問い合わせ ---------- */
.sg-inquiry {
  margin: 0 -20px;
  text-align: center;
  background-image: url("/ec/img/usr/pg/campaign/first-suit-guide/backglound.png");
  background-repeat: repeat;
  padding: 80px 0 30px !important;
}
.sg-inquiry__text {
  width: 391px;
  max-width: 100%;
  margin: 0 auto 16px;
  color: var(--navy);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: var(--fw-bold);
  font-size: 18px;
  line-height: 28.8px;
  word-wrap: break-word;
}
@media (max-width: 767px){
  .sg-inquiry__text {
    padding-top: 0;
  }
}

/* ---------- SP固定CTA（btn_cta） ---------- */
.sg-cta-fixed {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  display: flex;
  height: var(--cta-fixed-h);
  box-shadow: 0 -2px 8px rgba(0,0,0,.15);
}
.sg-cta-fixed__btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  text-align: center;
  border-top: 1px solid var(--white);
  border-right: 1px solid var(--white);
  padding: 4px 6px;
}
.sg-cta-fixed__btn:last-child { border-right: 0; }

/* ---------- PC装飾サイドパネル（既定では非表示） ---------- */
.sg-side { display: none; }

/* ============================================================
  PC（min-width:768px）
============================================================ */
@media (min-width: 768px) {

  body { padding-bottom: 0; }

  .sg-site-header .pc,
  .sg-site-footer .pc { display: block; }
  .sg-site-header .sp,
  .sg-site-footer .sp { display: none; }
  .sg-site-header img,
  .sg-site-footer img {
    width: 1920px;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .sg-page { display: block; }

  .sg-main {
    max-width: var(--content-w);
    margin: 0 auto;
    padding-bottom: 40px;
  }

  .sg-section { padding: 0 25px; }

  .sg-cta-fixed { display: none; }

  .sg-side {
    display: block;
    position: fixed;
    top: var(--header-height);
    width: calc((100vw - var(--content-w)) / 2);
    height: calc(100vh - var(--header-height));
    overflow: hidden;
    background-color: #B5CADE;
    background-image: url("/ec/img/usr/pg/campaign/first-suit-guide/content-bg-image.png");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
  }
  .sg-side--left { left: 0; background-position: left center; }
  .sg-side--right { right: 0; background-position: right center; }

  .sg-index {
    position: absolute;
    right: 0;
    top: 30%;
    background: var(--white);
    padding: 50px;
    width: 320px;
    max-width: 90%;
  }
  .sg-index__title {
    color: var(--navy);
    font-weight: var(--fw-medium);
    font-size: var(--fs-h4);
    border-bottom: 1px solid var(--navy);
    padding-bottom: 12px;
    margin-bottom: 24px;
  }
  .sg-index__list li {
    border-bottom: 1px dashed var(--navy);
    padding-bottom: 10px;
    margin-bottom: 12px;
    width: fit-content;
  }
  .sg-index__list a {
    color: var(--navy);
    font-weight: var(--fw-medium);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  .sg-index__list a::after{
    content: "";
    background-image: url(/ec/img/usr/pg/campaign/first-suit-guide/index-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 13px;
    height: 7px;
    display: inline-block;
    margin-left: 24px;
  }  

  .sg-side-cta {
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translateX(-50%);
    width: 257px;
    max-width: 80%;
    display: flex;
    flex-direction: column;
  }
  .sg-side-cta__btn {
    background: var(--navy);
    color: var(--white);
    font-weight: var(--fw-bold);
    font-size: var(--fs-h4);
    text-align: center;
    padding: 20px 10px;
    border-top: 1px solid var(--white);
  }
  .sg-side-cta__btn:first-child { border-top: 0; }

  .sg-side__logo {
    position: absolute;
    left: 50%;
    top: calc(60% - 210px);
    transform: translateX(-50%);
    width: 160px;
  }

  .sg-article { flex: 0 0 200px; width: 200px; }
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal__content {
  position: relative;
  z-index: 1;
  width: 80%;
  max-width: 490px;
  max-height: 92vh;
  margin: 80px auto 0;
  background: #fff;
  overflow-y: auto;

    /* スクロールバーを非表示 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}


.modal__content::-webkit-scrollbar {
  display: none;
}

.modal__close {
  position: sticky;
  width: 63px;
  top: 0;
  right: 0;

  z-index: 10;

  display: block;
  margin-left: auto;

  border: none;
  background: none;

  cursor: pointer;
  padding: 0;
}

body.modal-open {
  overflow: hidden;
}

.modal__body{
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 35px;
  margin-bottom: 75px;
}

.modal__body a{
  width: 450px;
  margin: 0 auto;
}

.modal-title{
  max-width: 256px;
  display: block;
  margin: 12px auto 0;
}
.modal-title-02{
  max-width: 234px;
}

.onayami{
  width: 100%;
}
.onayami-top{
  font-size: 18px;
  text-align: center;
  color: #00004C;
  font-weight: bold;
}
.onayami-title{
  width: 100%;
  
}

@media (max-width: 767px) {
  .modal__content {
    width: 100%;
    max-width: 100%;
    max-height: 86vh;
    margin: 65px auto 0;
  }  
  .modal__body a{
    max-width: 450px;
    width: 91.8%;
    margin: 0 auto;
  }  
}

.modal-hogosha-title{
  max-width: 450px;
  display: block;
  margin: 33px auto 49px;
}
.modal_zukai,.modal_souba{
  max-width: 450px;
  margin: 0 auto;
}
.modal_zukai_bottom{
  max-width: 450px;
  margin: 0 auto 57px;
}
.modal_osusume{
  width: 450px;
  margin: 0 auto 95px;
  padding: 40px 0;
  background-color: #CCDBE9;
}
.modal-osusume-title{
  font-size: 24px;
  text-align: center;
  color: #00004C;
  font-weight: bold;
  margin-bottom: 24px;
}
.modal_osusume a{
  max-width: 410px;
  margin: 0 auto 24px;
  display: block;
}
.modal_osusume a:last-child{
  margin-bottom: 0;
}
.modal-erabikata{
  width: 450px;
  padding: 40px 20px;
  margin: 0 auto;
  background: #E6EDF4;
}
.modal-erabikata-title{
  width: 410px;
  background-color: #fff;
  border-left: #00004C 1px solid;
  padding-left: 14.5px;
  font-size: 20px;
  color: #00004C;
  font-weight: bold;
  line-height: 1.6;
  padding: 10px 0 10px 14.5px;
}
.modal-erabikata-text{
  font-size: 16px;
  color: #00004C;
  margin-top: 24px;
  line-height: 1.6;
}
@media (max-width: 767px) {
  .modal-hogosha-title{
    max-width: 450px;
    width: 91.8%;
  } 
  .modal_zukai,.modal_souba{
    width: 91.8%;
  }
  .modal_zukai_bottom{
    width: 91.8%;
  }
  .modal_osusume{
    width: 91.8%;
  }
  .modal_osusume a{
    width: 91.1%;
  }
  .modal-erabikata{
    width: 91.8%;
  }
  .modal-erabikata-title{
    width: 91.1%;
  }
}

@media (max-width: 767px){
  .block-page-top{
    bottom: 80px !important;
  }
}
