/* =========================================================
   MICHIMARU MOBILE
========================================================= */

:root {
  --mobile-blue: #0874c9;
  --mobile-dark: #063e7e;
  --mobile-sky: #83ccef;
  --mobile-sky-light: #eaf7fd;
  --mobile-yellow: #ffed39;
  --mobile-orange: #ff781c;
  --mobile-cream: #fffaf0;
  --mobile-text: #263d50;

  /*
   * みちまるTOPと同じセクション余白
   */
  --mobile-section-space: 100px;
}


/* =========================================================
   MOBILE PAGE
========================================================= */

body.is-michimaru-mobile-page {
  overflow-x: hidden;

  color: var(--mobile-text);

  background: #fff;
}

/* =========================================================
   COMMON
========================================================= */

.mobile-container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}


.mobile-section {
  padding:
    var(--mobile-section-space)
    0;
}


/* =========================================================
   HEADING
========================================================= */

.mobile-heading {
  margin-bottom: 52px;

  text-align: center;
}


.mobile-heading__sub {
  margin: 0 0 12px;

  color: var(--mobile-blue);

  font-size: 0.82rem;

  font-weight: 700;

  letter-spacing: 0.08em;
}


.mobile-heading__title {
  margin: 0;

  color: var(--mobile-dark);

  font-family: var(--font-round);

  font-size:
    clamp(
      1.8rem,
      3vw,
      2.8rem
    );

  font-weight: 700;

  line-height: 1.45;

  letter-spacing: 0.04em;
}


.mobile-heading__note {
  margin: 10px 0 0;

  color: #7a858c;

  font-size: 0.72rem;
}


/* =========================================================
   MICHIMARU BACK BUTTON
========================================================= */

.mobile-header__login-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 42px;

  padding:
    9px
    22px;

  color: #ffffff;

  font-family:
    var(--font-round);

  font-size:
    0.76rem;

  font-weight: 700;

  line-height: 1;

  text-decoration: none;

  border-radius:
    999px;

  /*
   * みちまる本体のベースカラー
   */
  background:
    var(--color-primary, #e88b5b);

  box-shadow:
    0
    7px
    18px
    rgba(
      184,
      104,
      67,
      0.16
    );

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}


.mobile-header__login-arrow {
  display: inline-block;

  font-size:
    1rem;

  line-height: 1;

  transition:
    transform 0.3s ease;
}


@media (hover: hover) {

  .mobile-header__login-button:hover {
    transform:
      translateY(-2px);
  }


  .mobile-header__login-button:hover
  .mobile-header__login-arrow {
    transform:
      translateX(3px);
  }

}

/* =========================================================
   MICHIMARU MOBILE HEADER
========================================================= */

.mobile-header {
  position: fixed;

  top: 0;
  right: 0;
  left: 0;

  z-index: 20000;

  width: 100%;

  background:
    rgba(
      255,
      255,
      255,
      0.97
    );

  border-bottom:
    1px solid
    rgba(
      8,
      116,
      201,
      0.06
    );

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);
}


/* =========================================================
   HEADER INNER
========================================================= */

.mobile-header__inner {
  display: grid;

  grid-template-columns:
    210px
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap:
    clamp(
      28px,
      3vw,
      55px
    );

  width:
    min(
      calc(100% - 50px),
      1360px
    );

  min-height:
    72px;

  margin-inline:
    auto;
}


/* =========================================================
   HEADER LOGO
========================================================= */

.mobile-header__logo {
  display: flex;

  align-items: center;
}


.mobile-header__logo a {
  display: block;

  width:
    clamp(
      155px,
      12vw,
      190px
    );
}


.mobile-header__logo img {
  display: block;

  width: 100%;
  height: auto;
}


/* =========================================================
   HEADER NAV
========================================================= */

.mobile-header__nav {
  justify-self: end;
}


.mobile-header__nav-list {
  display: flex;

  align-items: center;

  gap:
    clamp(
      24px,
      2.6vw,
      44px
    );

  margin: 0;

  padding: 0;

  list-style: none;
}


.mobile-header__nav-list li {
  margin: 0;

  padding: 0;
}


.mobile-header__nav-list a {
  position: relative;

  display: block;

  padding:
    8px
    0;

  color:
    #124779;

  font-family:
    var(--font-round);

  font-size:
    clamp(
      0.68rem,
      0.75vw,
      0.78rem
    );

  font-weight: 700;

  line-height: 1.4;

  letter-spacing:
    0.03em;

  text-decoration: none;
}


.mobile-header__nav-list a::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 2px;
  left: 0;

  height: 2px;

  border-radius: 999px;

  background:
    var(--mobile-blue);

  transform:
    scaleX(0);

  transform-origin:
    right center;

  transition:
    transform
    0.35s ease;
}


@media (hover: hover) {

  .mobile-header__nav-list a:hover::after {
    transform:
      scaleX(1);

    transform-origin:
      left center;
  }

}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.mobile-header__login {
  justify-self: end;
}


.mobile-header__login-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  min-height:
    42px;

  padding:
    9px
    20px;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    0.72rem;

  font-weight: 700;

  line-height: 1;

  text-decoration: none;

  border-radius:
    999px;

  background:
    var(--mobile-yellow);!important;

  box-shadow:
    0
    7px
    18px
    rgba(
      210,
      182,
      0,
      0.14
    );

  transition:
    transform
    0.3s ease;
}


@media (hover: hover) {

  .mobile-header__login-button:hover {
    transform:
      translateY(-2px);
  }

}


/* PCではSPボタン非表示 */
.mobile-header__menu-button {
  display: none;
}


/* SPメニュー */
.mobile-page-menu {
  display: none;
}



/* =========================================================
   HERO
========================================================= */

.mobile-hero {
  position: relative;

  overflow: hidden;

  /*
   * 固定ヘッダー72pxを含めた高さ
   */
  min-height:
    670px;

  padding:
    72px
    0
    0;

  background:
    linear-gradient(
      135deg,
      #f6fcff 0%,
      #e5f6fd 40%,
      #d9f1fc 100%
    );
}


/*
 * HERO全体に淡い白い有機形
 */
.mobile-hero::before {
  content: "";

  position: absolute;

  z-index: 0;

  top:
    105px;

  left:
    50%;

  width:
    min(
      1500px,
      96vw
    );

  height:
    510px;

  border-radius:
    49% 51% 44% 56%
    /
    48% 43% 57% 52%;

  background:
    rgba(
      255,
      255,
      255,
      0.22
    );

  transform:
    translateX(-50%);

  pointer-events:
    none;
}


/* =========================================================
   HERO INNER
========================================================= */

.mobile-hero__inner {
  position: relative;

  z-index: 5;

  display: grid;

  grid-template-columns:
    minmax(
      370px,
      0.84fr
    )
    minmax(
      600px,
      1.16fr
    );

  align-items: center;

  gap:
    clamp(
      20px,
      2vw,
      40px
    );

  width:
    min(
      calc(100% - 80px),
      1320px
    );

  min-height:
    560px;

  margin-inline:
    auto;
}


/* =========================================================
   HERO LEFT
========================================================= */

.mobile-hero__content {
  position: relative;

  z-index: 10;

  align-self: center;

  padding:
    25px
    0
    65px;
}


/* =========================================================
   LABEL
========================================================= */

.mobile-hero__label {
  display: inline-flex;

  align-items: center;

  min-height:
    39px;

  margin:
    0
    0
    24px;

  padding:
    7px
    18px;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    0.8rem;

  font-weight: 700;

  line-height: 1;

  letter-spacing:
    0.05em;

  border:
    1.5px solid
    var(--mobile-blue);

  border-radius:
    999px;

  background:
    rgba(
      255,
      255,
      255,
      0.76
    );
}


/* =========================================================
   HERO TITLE
========================================================= */

.mobile-hero__title {
  max-width:
    560px;

  margin:
    0
    0
    26px;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    clamp(
      2.8rem,
      3.7vw,
      3.4rem
    );

  font-weight: 700;

  line-height:
    1.38;

  letter-spacing:
    0.025em;
}


/*
 * 携帯代 / 地域
 */
.mobile-hero__marker {
  position: relative;

  display: inline;

  color:
    var(--mobile-blue);

  /*
   * デザイン案の黄色マーカー
   */
  background:
    linear-gradient(
      transparent 68%,
      var(--mobile-yellow) 68%
    );
}


/* =========================================================
   HERO LEAD
========================================================= */

.mobile-hero__lead {
  margin: 0;

  color:
    #345b78;

  font-family:
    "Noto Sans JP",
    sans-serif;

  font-size:
    clamp(
      0.82rem,
      0.85vw,
      0.94rem
    );

  font-weight: 500;

  line-height:
    2;

  letter-spacing:
    0.035em;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.mobile-hero__buttons {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap:
    14px;

  margin-top:
    30px;
}


.mobile-hero-button {
  display: inline-flex;

  align-items: center;
  justify-content: space-between;

  gap:
    28px;

  min-width:
    178px;

  min-height:
    49px;

  padding:
    10px
    20px;

  font-family:
    var(--font-round);

  font-size:
    0.76rem;

  font-weight: 700;

  line-height: 1;

  text-decoration: none;

  border-radius:
    999px;

  transition:
    transform
    0.3s ease,
    box-shadow
    0.3s ease;
}


/* 個人 */
.mobile-hero-button--personal {
  color:
    var(--mobile-dark);

  border:
    1px solid
    var(--mobile-yellow);

  background:
    var(--mobile-yellow);

  box-shadow:
    0
    8px
    18px
    rgba(
      210,
      182,
      0,
      0.12
    );
}


/* 法人 */
.mobile-hero-button--corporate {
  color:
    var(--mobile-blue);

  border:
    1.5px solid
    var(--mobile-blue);

  background:
    rgba(
      255,
      255,
      255,
      0.84
    );
}


.mobile-hero-button__arrow {
  transition:
    transform
    0.3s ease;
}


@media (hover: hover) {

  .mobile-hero-button:hover {
    transform:
      translateY(-2px);
  }


  .mobile-hero-button:hover
  .mobile-hero-button__arrow {
    transform:
      translateX(4px);
  }

}


/* =========================================================
   HERO RIGHT
========================================================= */

.mobile-hero__visual {
  position: relative;

  align-self: end;

  height:
    560px;
}


/* =========================================================
   WOMAN + LANDSCAPE
========================================================= */

.mobile-hero__landscape {
  position: absolute;

  z-index: 1;

  right:
    -50px;

  bottom:
    30px;

  width:
    clamp(
      540px,
      48vw,
      700px
    );
}


.mobile-hero__landscape img {
  display: block;

  width: 100%;
  height: auto;
}


/* =========================================================
   SMARTPHONE
========================================================= */

.mobile-hero__phone {
  position: absolute;

  z-index: 5;

  /*
   * デザインでは女性の左側に大きく重なる
   */
  left:
    -30px;

  bottom:
    -25px;

  width:
    clamp(
      285px,
      23vw,
      350px
    );

  transform:
    rotate(-4deg);

  filter:
    drop-shadow(
      0
      18px
      28px
      rgba(
        14,
        54,
        91,
        0.20
      )
    );
}


.mobile-hero__phone img {
  display: block;

  width: 100%;
  height: auto;
}


/* =========================================================
   HERO DECORATION
========================================================= */

.mobile-hero__deco {
  position: absolute;

  z-index: 3;

  display: block;

  max-width: none;

  pointer-events: none;
}


/*
 * 左上
 */
.mobile-hero__deco--left {
  top:
    90px;

  left:
    max(
      8px,
      calc(
        (100vw - 1500px)
        / 2
      )
    );

  width:
    clamp(
      100px,
      9vw,
      145px
    );
}


/*
 * 右上
 */
.mobile-hero__deco--right {
  top:
    85px;

  right:
    max(
      8px,
      calc(
        (100vw - 1500px)
        / 2
      )
    );

  width:
    clamp(
      95px,
      9vw,
      150px
    );
}


/* =========================================================
   HERO BOTTOM WAVE
========================================================= */

.mobile-hero__wave {
  position: absolute;

  z-index: 15;

  right: 0;
  bottom: -1px;
  left: 0;

  display: block;

  width: 100%;

  height:
    82px;

  object-fit: fill;

  object-position:
    center bottom;

  pointer-events: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1180px) {

  .mobile-header__inner {
    grid-template-columns:
      175px
      minmax(0, 1fr)
      auto;
  }


  .mobile-header__nav-list {
    gap:
      19px;
  }


  .mobile-header__nav-list a {
    font-size:
      0.66rem;
  }


  .mobile-header__login-button {
    padding:
      9px
      15px;

    font-size:
      0.66rem;
  }


  .mobile-hero__inner {
    grid-template-columns:
      minmax(
        340px,
        0.82fr
      )
      minmax(
        520px,
        1.18fr
      );

    width:
      calc(
        100% - 50px
      );
  }


  .mobile-hero__title {
    font-size:
      clamp(
        2.55rem,
        4vw,
        3.8rem
      );
  }


  .mobile-hero__landscape {
    right:
      -55px;

    width:
      590px;
  }


  .mobile-hero__phone {
    left:
      -20px;

    width:
      295px;
  }

}


/* =========================================================
   SP
========================================================= */

@media (max-width: 768px) {

  /* =====================================================
     HEADER
  ===================================================== */

  .mobile-header__inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width:
      calc(
        100% - 32px
      );

    min-height:
      66px;
  }


  .mobile-header__logo a {
    width:
      145px;
  }


  .mobile-header__nav,
  .mobile-header__login {
    display: none;
  }


  /* =====================================================
     SP MENU BUTTON
  ===================================================== */

  .mobile-header__menu-button {
    position: relative;

    z-index: 20005;

    display: block;

    width:
      45px;

    height:
      45px;

    margin: 0;

    padding: 0;

    border: 0;

    border-radius:
      50%;

    background:
      #e2f4fb;

    cursor: pointer;
  }


  .mobile-header__menu-button span {
    position: absolute;

    left: 50%;

    width:
      21px;

    height:
      2px;

    border-radius:
      999px;

    background:
      var(--mobile-dark);

    transform:
      translateX(-50%);

    transition:
      top 0.3s ease,
      transform 0.3s ease,
      opacity 0.3s ease;
  }


  .mobile-header__menu-button span:nth-child(1) {
    top:
      14px;
  }


  .mobile-header__menu-button span:nth-child(2) {
    top:
      21px;
  }


  .mobile-header__menu-button span:nth-child(3) {
    top:
      28px;
  }


  .mobile-header__menu-button.is-active
  span:nth-child(1) {
    top:
      21px;

    transform:
      translateX(-50%)
      rotate(45deg);
  }


  .mobile-header__menu-button.is-active
  span:nth-child(2) {
    opacity: 0;
  }


  .mobile-header__menu-button.is-active
  span:nth-child(3) {
    top:
      21px;

    transform:
      translateX(-50%)
      rotate(-45deg);
  }


  /* =========================================================
   SP MENU
========================================================= */

.mobile-page-menu {
  display: none;
}


@media (max-width: 768px) {

  .mobile-header__menu-button {
    position: relative;

    z-index: 30002;

    display: block;

    width: 45px;
    height: 45px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #e2f4fb;

    cursor: pointer;
  }


  .mobile-page-menu {
    position: fixed;

    z-index: 30000;

    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;

    display: block;

    padding:
      30px
      22px
      50px;

    overflow-y: auto;

    background:
      rgba(245, 252, 255, 0.99);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
      translateY(-10px);

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }


  .mobile-page-menu.is-active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
      translateY(0);
  }


  body.is-mobile-page-menu-open {
    overflow: hidden;
  }


  /* ハンバーガー3本線 */

  .mobile-header__menu-button span {
    position: absolute;

    left: 50%;

    width: 21px;
    height: 2px;

    border-radius: 999px;

    background: var(--mobile-dark);

    transform:
      translateX(-50%);

    transition:
      top 0.3s ease,
      transform 0.3s ease,
      opacity 0.3s ease;
  }


  .mobile-header__menu-button span:nth-child(1) {
    top: 14px;
  }


  .mobile-header__menu-button span:nth-child(2) {
    top: 21px;
  }


  .mobile-header__menu-button span:nth-child(3) {
    top: 28px;
  }


  /* OPEN */

  .mobile-header__menu-button.is-active
  span:nth-child(1) {
    top: 21px;

    transform:
      translateX(-50%)
      rotate(45deg);
  }


  .mobile-header__menu-button.is-active
  span:nth-child(2) {
    opacity: 0;
  }


  .mobile-header__menu-button.is-active
  span:nth-child(3) {
    top: 21px;

    transform:
      translateX(-50%)
      rotate(-45deg);
  }

}

  /* =====================================================
     HERO
  ===================================================== */

  .mobile-hero {
    min-height:
      auto;

    padding:
      66px
      0
      55px;
  }


  .mobile-hero::before {
    top:
      75px;

    width:
      125vw;

    height:
      480px;
  }


  .mobile-hero__inner {
    display: block;

    width:
      calc(
        100% - 36px
      );

    min-height: 0;

    padding-top:
      45px;
  }


  .mobile-hero__content {
    padding:
      0;
  }


  .mobile-hero__label {
    min-height:
      36px;

    margin-bottom:
      18px;

    font-size:
      0.74rem;
  }


  .mobile-hero__title {
    max-width:
      100%;

    margin-bottom:
      22px;
    line-height:
      1.45;
  }


  .mobile-hero__lead {
    font-size:
      0.84rem;
  }


  .mobile-hero__lead br {
    display: none;
  }


  .mobile-hero__buttons {
    flex-direction:
      column;

    align-items:
      stretch;

    gap:
      10px;

    margin-top:
      27px;
  }


  .mobile-hero-button {
    width: 100%;

    min-width: 0;

    padding-inline:
      23px;
  }


  /* =====================================================
     SP VISUAL
  ===================================================== */

  .mobile-hero__visual {
    height:
      400px;

    margin-top:
      32px;
  }


  .mobile-hero__landscape {
    right:
      -70px;

    bottom:
      25px;

    width:
      120%;
  }


  .mobile-hero__phone {
    left:
      -13px;

    bottom:
      -5px;

    width:
      54%;

    transform:
      rotate(-4deg);
  }


  .mobile-hero__deco--left {
    top:
      82px;

    left:
      -33px;

    width:
      80px;

    opacity:
      0.72;
  }


  .mobile-hero__deco--right {
    top:
      73px;

    right:
      -36px;

    width:
      80px;

    opacity:
      0.7;
  }


  .mobile-hero__wave {
    height:
      42px;
  }

}


/* =========================================================
   ABOUT
   携帯代の行き先
========================================================= */

.mobile-about {
  background:
    #fff;
}


/* =========================================================
   COMPARE GRID
========================================================= */

.mobile-about__compare {
  display:
    grid;

  grid-template-columns:
    minmax(0, 1fr)
    42px
    minmax(0, 1fr);

  align-items:
    center;

  gap:
    14px;
}


/* =========================================================
   CARD
========================================================= */

.mobile-about-card {
  display:
    flex;

  flex-direction:
    column;

  justify-content:
    space-between;

  overflow:
    hidden;

  /*
   * 上下の余白をかなり減らす
   */
  padding:
    12px
    24px
    0;

  text-align:
    center;

  border-radius:
    28px;

  background:
    #f3f5f7;

  box-shadow:
    0
    10px
    30px
    rgba(
      24,
      70,
      111,
      0.04
    );
}


/* 右カード */
.mobile-about-card--michimaru {
  background:
    #fff8e3;
}


/* =========================================================
   TITLE
========================================================= */

.mobile-about-card h3 {
  margin:
    0
    0
    8px;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    clamp(
      0.95rem,
      1.15vw,
      1.12rem
    );

  font-weight:
    700;

  line-height:
    1.5;

  letter-spacing:
    0.025em;
}


.mobile-about-card--michimaru h3 {
  color:
    var(--mobile-orange);
}


/* =========================================================
   TEXT
========================================================= */

.mobile-about-card p {
  margin:
    0;

  color:
    #334e66;

  font-size:
    clamp(
      0.76rem,
      0.85vw,
      0.84rem
    );

  font-weight:
    500;

  line-height:
    1.7;

  letter-spacing:
    0.02em;
}


/* =========================================================
   IMAGE
========================================================= */

.mobile-about-card__image {
  margin:
    6px
    -8px
    0;
}


.mobile-about-card__image img {
  display:
    block;

  width:
    100%;

  height:
    auto;

  object-fit:
    contain;

  object-position:
    center bottom;
}


/* =========================================================
   CENTER ARROW
========================================================= */

.mobile-about__arrow {
  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  color:
    #69b9e8;

  font-size:
    2.4rem;

  font-weight:
    700;

  line-height:
    1;

  text-align:
    center;
}


/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) {

  .mobile-about-card {
    transition:
      transform
      0.35s ease,
      box-shadow
      0.35s ease;
  }


  .mobile-about-card:hover {
    transform:
      translateY(-4px);

    box-shadow:
      0
      16px
      36px
      rgba(
        24,
        70,
        111,
        0.07
      );
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {

  .mobile-about__compare {
    grid-template-columns:
      1fr;

    gap:
      18px;
  }


  .mobile-about__arrow {
    transform:
      rotate(90deg);
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 768px) {

  .mobile-about-card {
    padding:
      14px
      18px
      0;

    border-radius:
      22px;
  }


  .mobile-about-card h3 {
    margin-bottom:
      7px;

    font-size:
      1rem;
  }


  .mobile-about-card p {
    font-size:
      0.8rem;

    line-height:
      1.65;
  }


  .mobile-about-card__image {
    margin:
      5px
      -5px
      0;
  }


  .mobile-about__arrow {
    font-size:
      2rem;
  }

}

/* =========================================================
   ABOUT / COMPARE
   携帯代の行き先、知ってますか？
========================================================= */

.mobile-compare {
  position: relative;

  background:
    #ffffff;
}


/* =========================================================
   GRID
========================================================= */

.mobile-compare__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    48px
    minmax(0, 1fr);

  align-items: center;

  gap:
    16px;
}


/* =========================================================
   CARD
========================================================= */

.mobile-compare-card {
  display: flex;

  flex-direction: column;

  justify-content: space-between;

  overflow: hidden;

  min-width: 0;

  padding:
    18px
    26px
    0;

  text-align: center;

  border-radius:
    28px;

  box-shadow:
    0
    10px
    28px
    rgba(
      33,
      83,
      118,
      0.045
    );
}


/* 左 */
.mobile-compare-card--default {
  background:
    #f1f4f7;
}


/* 右 */
.mobile-compare-card--michimaru {
  background:
    #fff7df;
}


/* =========================================================
   HEAD
========================================================= */

.mobile-compare-card__head {
  position: relative;

  z-index: 2;
}


/* =========================================================
   TITLE
========================================================= */

.mobile-compare-card__title {
  margin:
    0
    0
    10px;

  font-family:
    var(--font-round);

  font-size:
    clamp(
  1rem,
      4vw,
  1.5rem
    )   
    );

  font-weight: 700;

  line-height: 1.5;

  letter-spacing:
    0.025em;
}


.mobile-compare-card__title--blue {
  color:
    var(--mobile-dark);
}


.mobile-compare-card__title--orange {
  color:
    var(--mobile-orange);
}


/* =========================================================
   LEAD
========================================================= */

.mobile-compare-card__lead {
  margin: 0;

  color:
    #344f66;

  font-size:
    clamp(
      0.76rem,
      0.85vw,
      0.86rem
    );

  font-weight: 500;

  line-height: 1.75;

  letter-spacing:
    0.015em;
}


/* =========================================================
   IMAGE
========================================================= */

.mobile-compare-card__image {
  margin:
    8px
    0
    0;
}


.mobile-compare-card__image img {
  display: block;

  width: 100%;

  height: auto;

  margin-inline: auto;

  object-fit: contain;

  object-position: center bottom;
}


/* =========================================================
   CENTER ARROW
========================================================= */

.mobile-compare__arrow {
  display: flex;

  align-items: center;

  justify-content: center;

  color:
    #69bce8;

  font-size:
    clamp(
      2rem,
      3vw,
      3rem
    );

  font-weight: 700;

  line-height: 1;

  text-align: center;
}


.mobile-compare__arrow span {
  display: block;
}


/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) {

  .mobile-compare-card {
    transition:
      transform
      0.35s ease,
      box-shadow
      0.35s ease;
  }


  .mobile-compare-card:hover {
    transform:
      translateY(-4px);

    box-shadow:
      0
      16px
      34px
      rgba(
        33,
        83,
        118,
        0.07
      );
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {

  .mobile-compare__grid {
    grid-template-columns:
      1fr;

    gap:
      16px;
  }


  .mobile-compare__arrow {
    transform:
      rotate(90deg);
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 768px) {

  .mobile-compare-card {
    padding:
      14px
      18px
      0;

    border-radius:
      22px;
  }


  .mobile-compare-card__title {
    margin-bottom:
      8px;

    font-size:
      1rem;
  }


  .mobile-compare-card__lead {
    font-size:
      0.8rem;

    line-height:
      1.7;
  }


  .mobile-compare-card__lead br {
    display:
      none;
  }


  .mobile-compare-card__image {
    margin-top:
      6px;
  }


  .mobile-compare__arrow {
    font-size:
      2rem;
  }

}

/* =========================================================
   FEATURES
   みちまるモバイルでできること
========================================================= */

.mobile-features {
  background:
    #ffffff;
}


/* =========================================================
   GRID
========================================================= */

.mobile-features__grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap:
    clamp(
      14px,
      1.6vw,
      22px
    );
}


/* =========================================================
   CARD
========================================================= */

.mobile-feature-card {
  position:
    relative;

  display:
    flex;

  flex-direction:
    column;

  overflow:
    hidden;

  min-width:
    0;

  border-radius:
    22px;

  background:
    linear-gradient(
      180deg,
      #eef9fe 0%,
      #ffffff 72%
    );

  box-shadow:
    0
    8px
    24px
    rgba(
      38,
      99,
      133,
      0.05
    );

  transition:
    transform
    0.35s ease,
    box-shadow
    0.35s ease;
}


/* =========================================================
   TEXT AREA
========================================================= */

.mobile-feature-card__body {
  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  flex:
    1;

  min-height:
    245px;

  padding:
    22px
    18px
    18px;

  text-align:
    center;
}


/* =========================================================
   ICON
========================================================= */

.mobile-feature-card__icon {
  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  width:
    52px;

  height:
    52px;

  margin:
    0
    auto
    10px;
}


.mobile-feature-card__icon img {
  display:
    block;

  width:
    100%;

  height:
    100%;

  object-fit:
    contain;
}


/* =========================================================
   TITLE
========================================================= */

.mobile-feature-card h3 {
  margin:
    0
    0
    13px;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    clamp(
      1.1rem,
      1.4vw,
      1.35rem
    );

  font-weight:
    700;

  line-height:
    1.4;

  letter-spacing:
    0.04em;
}


/* =========================================================
   TEXT
========================================================= */

.mobile-feature-card p {
  margin:
    0;

  color:
    #40596d;

  font-size:
    clamp(
      0.74rem,
      0.82vw,
      0.84rem
    );

  font-weight:
    500;

  line-height:
    1.85;

  letter-spacing:
    0.01em;
}


/* =========================================================
   PHOTO
========================================================= */

.mobile-feature-card__photo {
  position:
    relative;

  overflow:
    hidden;

  width:
    100%;

  height:
    clamp(
      135px,
      12vw,
      175px
    );

  margin:
    auto
    0
    0;
}


.mobile-feature-card__photo img {
  display:
    block;

  width:
    100%;

  height:
    100%;

  object-fit:
    cover;

  object-position:
    center;
}


/* =========================================================
   カード下角
========================================================= */

.mobile-feature-card:nth-child(1) {
  border-radius:
    22px
    22px
    22px
    32px;
}


.mobile-feature-card:nth-child(2) {
  border-radius:
    22px
    22px
    30px
    22px;
}


.mobile-feature-card:nth-child(3) {
  border-radius:
    22px
    22px
    22px
    30px;
}


.mobile-feature-card:nth-child(4) {
  border-radius:
    22px
    22px
    32px
    22px;
}


/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) {

  .mobile-feature-card:hover {
    transform:
      translateY(-5px);

    box-shadow:
      0
      15px
      35px
      rgba(
        38,
        99,
        133,
        0.09
      );
  }


  .mobile-feature-card__photo img {
    transition:
      transform
      0.6s
      cubic-bezier(
        0.22,
        1,
        0.36,
        1
      );
  }


  .mobile-feature-card:hover
  .mobile-feature-card__photo img {
    transform:
      scale(1.035);
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {

  .mobile-features__grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .mobile-feature-card__body {
    min-height:
      220px;
  }


  .mobile-feature-card__photo {
    height:
      190px;
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 576px) {

  .mobile-features__grid {
    grid-template-columns:
      1fr;

    gap:
      20px;
  }


  .mobile-feature-card {
    width:
      min(
        100%,
        400px
      );

    margin-inline:
      auto;
  }


  .mobile-feature-card__body {
    min-height:
      auto;

    padding:
      22px
      20px
      24px;
  }


  .mobile-feature-card__icon {
    width:
      46px;

    height:
      46px;

    margin-bottom:
      8px;
  }


  .mobile-feature-card h3 {
    font-size:
      1.2rem;
  }


  .mobile-feature-card p {
    font-size:
      0.82rem;
  }


  .mobile-feature-card__photo {
    height:
      210px;
  }

}


/* =========================================================
   PLAN
========================================================= */

.mobile-plan {
  background: #fff;
}


/* =========================================================
   PLAN GRID
========================================================= */

.mobile-plan__grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}


/* =========================================================
   PLAN CARD
========================================================= */

.mobile-plan-card {
  position: relative;

  overflow: hidden;

  min-width: 0;

  min-height: 250px;

  border:
    1px solid
    rgba(81, 170, 220, 0.13);

  border-radius: 22px;

  background: #eaf7fd;
}


/* =========================================================
   FULL BACKGROUND IMAGE
========================================================= */

.mobile-plan-card__landscape {
  position: absolute;

  z-index: 1;

  inset: 0;

  width: 100%;
  height: 100%;

  margin: 0;
}


.mobile-plan-card__landscape img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center center;
}


/* =========================================================
   BADGE
========================================================= */

.mobile-plan-card__badge {
  position: absolute;

  z-index: 5;

  top: 13px;
  left: 20px;

  padding:
    5px
    14px;

  color: #fff;

  font-family: var(--font-round);

  font-size: 0.65rem;

  font-weight: 700;

  line-height: 1;

  border-radius: 999px;

  background: var(--mobile-orange);

  transform: rotate(-4deg);
}


/* =========================================================
   DATA
========================================================= */

.mobile-plan-card__data {
  position: relative;

  z-index: 3;

  /*
   * 下側の風景を見せるため
   * 下paddingを広く取る
   */
  padding:
    50px
    20px
    120px;

  text-align: center;
}


.mobile-plan-card__data h3 {
  display: flex;

  align-items: baseline;
  justify-content: center;

  gap: 5px;

  margin:
    0
    0
    3px;

  color: var(--mobile-dark);

  font-family: var(--font-round);
}


.mobile-plan-card__data h3 strong {
  font-size:
    clamp(
      3rem,
      3vw,
      5.2rem
    );

  font-weight: 700;

  line-height: 1;
}


.mobile-plan-card__data h3 span {
  font-size: 0.95rem;

  font-weight: 700;
}


/* =========================================================
   PRICE
========================================================= */

.mobile-plan-card__price {
  display: flex;

  align-items: baseline;
  justify-content: center;

  gap: 5px;

  margin-top: 4px;
}


.mobile-plan-card__price small {
  color: var(--mobile-dark);

  font-size: 1.2rem;

  font-weight: 700;
}


.mobile-plan-card__price strong {
  color: var(--mobile-orange);

  font-family: var(--font-round);

  font-size:
    clamp(
      4rem,
      3.2vw,
      5.2rem
    );

  font-weight: 700;

  line-height: 1;
}


.mobile-plan-card__price span {
  color: var(--mobile-orange);

  font-size: 0.72rem;

  font-weight: 700;
}


/* =========================================================
   POINTS
========================================================= */

.mobile-plan-card__points {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 6px;

  margin-top: 11px;
}


.mobile-plan-card__points span {
  padding:
    4px
    9px;

  color: #43596b;

  font-size: 0.8rem;

  font-weight: 600;

  line-height: 1.4;

  border-radius: 999px;

  background:
    rgba(
      255,
      255,
      255,
      0.96
    );
}


/* =========================================================
   SP
========================================================= */

@media (max-width: 768px) {

  .mobile-plan-card {
    min-height: 285px;
  }


  .mobile-plan-card__data {
    min-height: 285px;

    padding:
      45px
      15px
      105px;
  }

}
/* =========================================================
   CONTRACT CTA
========================================================= */

.mobile-contract-area {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(260px, 0.82fr)
    minmax(260px, 1fr)
    minmax(260px, 1fr);

  align-items: stretch;

  gap: 16px;

  overflow: hidden;

  margin-top:
    24px;

  padding:
    12px;

  border-radius:
    20px;

  /*
   * 生成した雲・草花のイラストを
   * 青背景の上に重ねる
   */
  background-image:
    url("../images/mobile/mobile-contract-bg.png"),
    linear-gradient(
      110deg,
      #56b6e8 0%,
      #1d9ddb 60%,
      #58b9e7 100%
    );

  background-repeat:
    no-repeat,
    no-repeat;

  background-position:
    center bottom,
    center;

  background-size:
    100% 100%,
    cover;

  isolation: isolate;
}


/* =========================================================
   LEFT MESSAGE
========================================================= */

.mobile-contract-area__message {
  position: relative;

  z-index: 2;

  overflow: hidden;

  min-height:
    200px;
}


.mobile-contract-area__copy {
  position: relative;

  z-index: 4;

  padding:
    25px
    0
    0
    18px;
}


.mobile-contract-area__copy p {
  margin:
    0
    0
    5px;

  color:
    #ffffff;

  font-size:
    0.72rem;

  font-weight:
    700;

  letter-spacing:
    0.05em;
}


.mobile-contract-area__copy h3 {
  margin: 0;

  color:
    #ffffff;

  font-family:
    var(--font-round);

  font-size:
    clamp(
      1.4rem,
      2vw,
      2rem
    );

  font-weight:
    700;

  line-height:
    1.5;
}


/* =========================================================
   FAMILY
========================================================= */

.mobile-contract-area__family {
  position: absolute;

  z-index: 3;

  right:
    -10px;

  bottom:
    -22px;

  width:
    190px;

  max-width:
    none;

  height:
    auto;

  object-fit:
    contain;
}


/* =========================================================
   CONTRACT CARD
========================================================= */

.mobile-contract-area__card {
  position: relative;

  z-index: 3;

  display: flex;

  flex-direction: column;

  align-items: center;

  overflow: hidden;

  min-height:
    200px;

  padding:
    14px
    18px
    12px;

  text-align: center;

  border-radius:
    18px;

  background:
    rgba(
      255,
      255,
      255,
      0.97
    );

  box-shadow:
    0
    6px
    18px
    rgba(
      20,
      88,
      130,
      0.06
    );
}


/* =========================================================
   CARD TITLE
========================================================= */

.mobile-contract-area__card h3 {
  position: relative;

  z-index: 5;

  margin:
    0
    0
    2px;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  /*
   * ユーザー調整値を維持
   */
  font-size:
    1.5rem;

  font-weight:
    700;

  line-height:
    1.4;
}


.mobile-contract-area__card p {
  position: relative;

  z-index: 5;

  margin: 0;

  color:
    #536979;

  /*
   * ユーザー調整値を維持
   */
  font-size:
    0.6rem;

  line-height:
    1.6;
}


/* =========================================================
   PERSON
========================================================= */

.mobile-contract-area__person {
  display: block;

  flex-shrink: 0;

  height:
    120px;

  width: auto;

  max-width:
    100%;

  margin:
    3px
    auto
    0;

  object-fit:
    contain;

  object-position:
    center bottom;
}


/* 個人 */
.mobile-contract-area__person--woman {
  height:
    120px;
}


/* 法人 */
.mobile-contract-area__person--business {
  height:
    120px;
}


/* =========================================================
   BUTTON
========================================================= */

.mobile-contract-area__button {
  position: relative;

  z-index: 6;

  display: flex;

  align-items: center;
  justify-content: space-between;

  width:
    min(
      100%,
      205px
    );

  min-height:
    37px;

  margin-top:
    auto;

  padding:
    6px
    17px;

  font-family:
    var(--font-round);

  /*
   * ユーザー調整値を維持
   */
  font-size:
    0.9rem;

  font-weight:
    700;

  line-height:
    1.4;

  text-decoration: none;

  border-radius:
    999px;

  transition:
    transform
    0.3s ease,
    box-shadow
    0.3s ease;
}


/* 個人契約 */
.mobile-contract-area__button--personal {
  color:
    var(--mobile-dark);

  border:
    1px solid
    var(--mobile-yellow);

  background:
    var(--mobile-yellow);
}


/* 法人契約 */
.mobile-contract-area__button--corporate {
  color:
    var(--mobile-blue);

  border:
    1px solid
    var(--mobile-blue);

  background:
    #ffffff;
}


/* =========================================================
   BUTTON HOVER
========================================================= */

@media (hover: hover) {

  .mobile-contract-area__button:hover {
    transform:
      translateY(-2px);
  }


  .mobile-contract-area__button--personal:hover {
    box-shadow:
      0
      7px
      18px
      rgba(
        222,
        193,
        0,
        0.18
      );
  }


  .mobile-contract-area__button--corporate:hover {
    box-shadow:
      0
      7px
      18px
      rgba(
        8,
        116,
        201,
        0.12
      );
  }

}


/* =========================================================
   以前の単独LEAF画像
   背景画像側に植物を含めたので非表示
========================================================= */

.mobile-contract-area__leaf {
  display:
    none;
}


/* =========================================================
   CAPTION
========================================================= */

.mobile-plan__caption {
  margin:
    12px
    0
    0;

  color:
    #75838c;

  font-size:
    0.62rem;

  text-align:
    center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {

  .mobile-contract-area {
    grid-template-columns:
      1fr
      1fr;

    /*
     * タブレットでも背景イラストを
     * パネル全面に表示
     */
    background-size:
      auto 100%,
      cover;

    background-position:
      center bottom,
      center;
  }


  .mobile-contract-area__message {
    grid-column:
      1 / -1;

    min-height:
      220px;
  }


  .mobile-contract-area__family {
    right:
      7%;

    bottom:
      -22px;

    width:
      210px;
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 768px) {

  .mobile-plan__grid {
    grid-template-columns:
      1fr;
  }


  .mobile-plan-card__landscape {
    height:
      auto;
  }


  .mobile-contract-area {
    grid-template-columns:
      1fr;

    gap:
      10px;

    padding:
      10px;

    border-radius:
      20px;

    /*
     * SPでは横長背景を無理に引き伸ばさず
     * 下部の植物を優先して表示
     */
    background-size:
      auto 100%,
      cover;

    background-position:
      center bottom,
      center;
  }


  .mobile-contract-area__message {
    grid-column:
      auto;

    min-height:
      230px;
  }


  .mobile-contract-area__copy {
    padding:
      24px
      0
      0
      16px;
  }


  .mobile-contract-area__family {
    right:
      -5px;

    bottom:
      -20px;

    width:
      210px;
  }


  .mobile-contract-area__card {
    min-height:
      220px;

    padding:
      16px
      18px
      14px;
  }


  .mobile-contract-area__person {
    height:
      120px;
  }


  .mobile-contract-area__person--woman {
    height:
      120px;
  }


  .mobile-contract-area__person--business {
    height:
      120px;
  }


  .mobile-contract-area__button {
    width:
      min(
        100%,
        240px
      );
  }

}
/* =========================================================
   STEPS
   ご利用までの3ステップ
========================================================= */

.mobile-steps {
  background:
    #ffffff;
}


/* =========================================================
   GRID
========================================================= */

.mobile-steps__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    54px
    minmax(0, 1fr)
    54px
    minmax(0, 1fr);

  align-items: center;

  gap:
    clamp(
      8px,
      1vw,
      14px
    );
}


/* =========================================================
   STEP CARD
========================================================= */

.mobile-step-card {
  position: relative;

  display: grid;

  grid-template-columns:
    125px
    minmax(0, 1fr);

  align-items: center;

  gap:
    15px;

  min-width: 0;

  min-height:
    145px;

  padding:
    18px
    26px
    18px
    20px;

  overflow: hidden;

  border-radius:
    999px;

  background:
    linear-gradient(
      135deg,
      #edf9fe 0%,
      #e5f5fc 100%
    );

  box-shadow:
    0
    8px
    22px
    rgba(
      39,
      109,
      150,
      0.035
    );
}


/* =========================================================
   ICON
========================================================= */

.mobile-step-card__visual {
  display: flex;

  align-items: center;
  justify-content: center;

  width:
    125px;

  height:
    110px;
}


.mobile-step-card__visual img {
  display: block;

  width:
    100%;

  height:
    100%;

  object-fit:
    contain;
}


/* =========================================================
   CONTENT
========================================================= */

.mobile-step-card__content {
  position: relative;

  min-width: 0;

  text-align:
    left;
}


/* =========================================================
   STEP NUMBER
========================================================= */

.mobile-step-card__number {
  display: block;

  margin-bottom:
    6px;

  color:
    var(--mobile-orange);

  font-family:
    var(--font-round);

  font-size:
    0.62rem;

  font-weight:
    700;

  letter-spacing:
    0.06em;
}


/* =========================================================
   TITLE
========================================================= */

.mobile-step-card h3 {
  margin:
    0
    0
    8px;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    clamp(
      1rem,
      1.25vw,
      1.22rem
    );

  font-weight:
    700;

  line-height:
    1.45;

  letter-spacing:
    0.02em;
}


/* =========================================================
   TEXT
========================================================= */

.mobile-step-card p {
  margin: 0;

  color:
    #425b6e;

  font-size:
    clamp(
      0.7rem,
      0.75vw,
      0.78rem
    );

  font-weight:
    500;

  line-height:
    1.7;
}


/* =========================================================
   ARROW
========================================================= */

.mobile-steps__arrow {
  display: flex;

  align-items: center;
  justify-content: center;

  color:
    var(--mobile-orange);

  font-size:
    clamp(
      2rem,
      2.8vw,
      2.8rem
    );

  font-weight:
    700;

  line-height:
    1;
}


/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) {

  .mobile-step-card {
    transition:
      transform
      0.35s ease,
      box-shadow
      0.35s ease;
  }


  .mobile-step-card:hover {
    transform:
      translateY(-4px);

    box-shadow:
      0
      14px
      30px
      rgba(
        39,
        109,
        150,
        0.07
      );
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .mobile-steps__grid {
    grid-template-columns:
      1fr
      42px
      1fr;

    row-gap:
      20px;
  }


  /*
   * 3枚目を次段中央
   */
  .mobile-step-card:nth-of-type(3) {
    grid-column:
      1 / 2;
  }


  .mobile-step-card {
    grid-template-columns:
      105px
      1fr;
  }


  .mobile-step-card__visual {
    width:
      105px;

    height:
      95px;
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 768px) {

  .mobile-steps__grid {
    display: flex;

    flex-direction:
      column;

    gap:
      12px;
  }


  .mobile-step-card {
    grid-template-columns:
      100px
      minmax(0, 1fr);

    width:
      100%;

    min-height:
      130px;

    padding:
      16px
      22px
      16px
      16px;

    border-radius:
      36px;
  }


  .mobile-step-card__visual {
    width:
      95px;

    height:
      90px;
  }


  .mobile-step-card__content {
    text-align:
      left;
  }


  .mobile-step-card h3 {
    font-size:
      1.05rem;
  }


  .mobile-step-card p {
    font-size:
      0.75rem;
  }


  .mobile-steps__arrow {
    height:
      30px;

    transform:
      rotate(90deg);

    font-size:
      2rem;
  }

}

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

.mobile-faq {
  background:
    #fff;
}


.mobile-faq__grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap:
    18px;
}


.mobile-faq-item {
  margin-bottom:
    12px;

  border-radius:
    18px;

  background:
    #f7fbfd;
}


.mobile-faq-item__question {
  display: grid;

  grid-template-columns:
    30px
    1fr
    25px;

  align-items: center;

  width: 100%;

  padding:
    16px
    20px;

  color:
    var(--mobile-dark);

  text-align: left;

  border: 0;

  background:
    transparent;

  cursor: pointer;
}


.mobile-faq-item__q {
  color:
    var(--mobile-orange);

  font-weight:
    700;
}


.mobile-faq-item__arrow {
  text-align: right;

  transition:
    transform 0.3s ease;
}


.mobile-faq-item.is-open
.mobile-faq-item__arrow {
  transform:
    rotate(180deg);
}


.mobile-faq-item__answer {
  display: grid;

  grid-template-rows:
    0fr;

  transition:
    grid-template-rows 0.35s ease;
}


.mobile-faq-item__answer > p {
  overflow: hidden;

  margin: 0;

  padding:
    0
    20px;

  color:
    #5d6b74;

  font-size:
    0.82rem;

  line-height:
    1.9;
}


.mobile-faq-item.is-open
.mobile-faq-item__answer {
  grid-template-rows:
    1fr;
}


.mobile-faq-item.is-open
.mobile-faq-item__answer > p {
  padding-bottom:
    18px;
}


/* =========================================================
   eSIM
========================================================= */

.mobile-esim {
  padding:
    0
    0
    var(--mobile-section-space);

  background:
    #ffffff;
}


/* =========================================================
   PANEL
========================================================= */

.mobile-esim__panel {
  position: relative;

  display: grid;

  grid-template-columns:
    220px
    minmax(0, 1fr)
    330px;

  align-items: center;

  gap:
    28px;

  overflow: hidden;

  min-height:
    180px;

  padding:
    18px
    150px
    18px
    42px;

  border-radius:
    24px;

  background:
    linear-gradient(
      100deg,
      #f2fbff 0%,
      #e9f7fd 100%
    );

  box-shadow:
    0
    8px
    24px
    rgba(
      39,
      105,
      145,
      0.04
    );
}


/* =========================================================
   FLOWER
========================================================= */

.mobile-esim__flower {
  position: absolute;

  z-index: 1;

  left:
    -25px;

  bottom:
    -60px;

  width:
    135px;

  height:
    auto;

  pointer-events:
    none;
}


/* =========================================================
   BRAND
========================================================= */

.mobile-esim__brand {
  position: relative;

  z-index: 3;

  display: flex;

  align-items: center;

  gap:
    14px;
}


.mobile-esim__icon {
  display: block;

  width:
    90px;

  height:
    90px;

  object-fit:
    contain;
}


.mobile-esim__brand strong {
  color: var(--mobile-dark);

  font-family: var(--font-round);

  font-size:
    clamp(
      2.4rem,
      3vw,
      3.2rem
    );

  font-weight: 700;

  line-height: 1;
}


/* =========================================================
   CONTENT
========================================================= */

.mobile-esim__content {
  position: relative;

  z-index: 3;
}


.mobile-esim__content h2 {
  margin:
    0
    0
    12px;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    clamp(
      1.15rem,
      1.4vw,
      1.4rem
    );

  font-weight: 700;

  line-height:
    1.5;
}


.mobile-esim__content p {
  margin:
    0
    0
    6px;

  color:
    #405b70;

  font-size:
    clamp(
      0.76rem,
      0.88vw,
      0.9rem
    );

  font-weight: 500;

  line-height:
    1.85;
}



/* =========================================================
   POINTS
========================================================= */

.mobile-esim__points {
  position: relative;

  z-index: 4;

  display: flex;

  align-items: center;

  justify-content: center;

  gap:
    10px;
}


.mobile-esim-point {
  display: flex;

  align-items: center;

  justify-content: center;

  width:
    120px;

  height:
    110px;

  border-radius:
    50%;

  background:
    rgba(
      255,
      255,
      255,
      0.94
    );
}


.mobile-esim-point span {
  color:
    var(--mobile-blue);

  font-size:
    clamp(
0.68rem,
      1vw,
      1.2rem
    );

  font-weight: 700;

  line-height:
    1.5;

  text-align:
    center;
}


/* =========================================================
   WOMAN
========================================================= */

.mobile-esim__woman {
  position: absolute;

  z-index: 3;

  right:
    10px;

  bottom:
    -5px;

  width:
    150px;

  max-width:
    none;

  height:
    auto;

  object-fit:
    contain;
}


/* =========================================================
   FINAL CTA
========================================================= */

.mobile-final-cta {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(260px, 0.9fr)
    minmax(260px, 0.9fr)
    minmax(420px, 1.3fr);

  align-items: center;

  gap:
    18px;

  overflow: hidden;

  min-height:
    92px;

  margin-top:
    14px;

  padding:
    12px
    26px
    12px
    42px;

  border-radius:
    22px;

  background:
    linear-gradient(
      90deg,
      #fff8a8 0%,
      #ffef53 48%,
      #ffe832 100%
    );
}


/* =========================================================
   CTA FLOWER
========================================================= */

.mobile-final-cta__flower {
  position: absolute;

  z-index: 1;

  left:
    -28px;

  bottom:
    -65px;

  width:
    120px;

  height:
    auto;

  pointer-events:
    none;
}


/* =========================================================
   CTA COPY
========================================================= */

.mobile-final-cta__copy {
  position: relative;

  z-index: 4;
}


.mobile-final-cta__copy small {
  display: block;

  margin-bottom:
    6px;

  color:
    var(--mobile-dark);

  font-size:
    clamp(
      0.72rem,
      2vw,
      1rem
    );

  font-weight: 700;
}


.mobile-final-cta__copy strong {
  display: block;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    clamp(
      1.25rem,
      1.8vw,
      1.7rem
    );

  font-weight: 700;

  line-height:
    1.5;
}

/* =========================================================
   TOWN
========================================================= */

.mobile-final-cta__town {
  position: relative;

  z-index: 2;

  align-self: end;

  height:
    70px;

  overflow: hidden;
}


.mobile-final-cta__town img {
  position: absolute;

  left: 50%;
  bottom:
    -4px;

  display: block;

  width:
    340px;

  max-width:
    none;

  height:
    auto;

  transform:
    translateX(-50%);
}


/* =========================================================
   CTA BUTTONS
========================================================= */

.mobile-final-cta__buttons {
  position: relative;

  z-index: 4;

  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    12px;
}


.mobile-final-cta__button {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap:
    14px;

  min-height:
    48px;

  padding:
    9px
    20px;

  font-family:
    var(--font-round);

  font-size:
    clamp(
      0.78rem,
      0.9vw,
      0.9rem
    );

  font-weight:
    700;

  text-decoration:
    none;

  border-radius:
    999px;

  transition:
    transform
    0.3s ease;
}

/* 個人 */
.mobile-final-cta__button--personal {
  color:
    var(--mobile-dark);

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.8
    );

  background:
    rgba(
      255,
      239,
      66,
      0.95
    );
}


/* 法人 */
.mobile-final-cta__button--corporate {
  color:
    var(--mobile-blue);

  border:
    1px solid
    var(--mobile-blue);

  background:
    #ffffff;
}


/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) {

  .mobile-final-cta__button:hover {
    transform:
      translateY(-2px);
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .mobile-esim__panel {
    grid-template-columns:
      180px
      minmax(0, 1fr);

    padding-right:
      170px;
  }


  .mobile-esim__points {
    grid-column:
      1 / -1;

    justify-content:
      flex-start;

    padding-left:
      195px;
  }


  .mobile-final-cta {
    grid-template-columns:
      1fr
      1fr;
  }


  .mobile-final-cta__town {
    display:
      none;
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 768px) {

  .mobile-esim__panel {
    display: block;

    min-height:
      auto;

    padding:
      28px
      22px
      220px;

    border-radius:
      22px;
  }


  .mobile-esim__brand {
    margin-bottom:
      18px;
  }


  .mobile-esim__icon {
    width:
      70px;

    height:
      70px;
  }


  .mobile-esim__brand strong {
    font-size:
      2rem;
  }


  .mobile-esim__content h2 {
    font-size:
      1rem;
  }


  .mobile-esim__content p {
    font-size:
      0.72rem;
  }


  .mobile-esim__content br {
    display:
      none;
  }


  .mobile-esim__points {
    display: flex;

    grid-column:
      auto;

    justify-content:
      flex-start;

    padding-left:
      0;

    margin-top:
      20px;
  }


  .mobile-esim-point {
    width:
      70px;

    height:
      70px;
  }


  .mobile-esim__woman {
    right:
      10px;

    width:
      180px;
  }


  .mobile-final-cta {
    display: block;

    padding:
      26px
      20px;

    border-radius:
      22px;
  }


  .mobile-final-cta__copy {
    margin-bottom:
      22px;

    padding-left:
      14px;
  }


  .mobile-final-cta__town {
    display:
      block;

    height:
      80px;

    margin-bottom:
      15px;
  }


  .mobile-final-cta__town img {
    width:
      320px;
  }


  .mobile-final-cta__buttons {
    grid-template-columns:
      1fr;

    gap:
      10px;
  }


  .mobile-final-cta__button {
    width: 100%;
  }

}

/* =========================================================
   MOBILE SECTION TITLE
   みちまるモバイル共通H2
========================================================= */

.mobile-section-title {
  display: flex;

  align-items: center;
  justify-content: center;

  gap:
    clamp(
      12px,
      1.5vw,
      22px
    );

  width: 100%;

  margin:
    0
    auto
    clamp(
      42px,
      4vw,
      58px
    );

  text-align: center;
}


/* =========================================================
   TEXT
========================================================= */

.mobile-section-title__text {
  margin: 0;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    clamp(
      1.7rem,
      2.7vw,
      2.6rem
    );

  font-weight: 700;

  line-height: 1.45;

  letter-spacing:
    0.05em;

  white-space: nowrap;
}


/* =========================================================
   DECORATION
========================================================= */

.mobile-section-title__deco {
  display: block;

  flex:
    0 0 auto;

  width:
    clamp(
      34px,
      3vw,
      50px
    );

  height: auto;

  object-fit: contain;
}


/* 左右で自然な角度 */
.mobile-section-title__deco--left {
  transform:
    rotate(-8deg);
}


.mobile-section-title__deco--right {
  transform:
    rotate(-8deg);
}


/* =========================================================
   SP
========================================================= */

@media (max-width: 768px) {

  .mobile-section-title {
    gap:
      10px;

    margin-bottom:
      34px;
  }


  .mobile-section-title__text {
    font-size:
      clamp(
        1.35rem,
        6vw,
        1.8rem
      );

    white-space:
      normal;
  }


  .mobile-section-title__deco {
    width:
      30px;
  }

}
/* =========================================================
   MICHIMARU MOBILE FOOTER
========================================================= */

.mobile-site-footer {
  position: relative;

  background: #ffffff;
}


/* =========================================================
   BACK TO MICHIMARU
========================================================= */

.mobile-site-footer__back {
  padding:
    0
    24px
    42px;

  background:
    #ffffff;
}


.mobile-site-footer__back-inner {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap:
    40px;

  width:
    min(
      calc(100% - 20px),
      1200px
    );

  margin-inline:
    auto;

  padding:
    30px
    42px;

  border-radius:
    28px;

  background:
    linear-gradient(
      135deg,
      #edf8fd 0%,
      #dff3fb 100%
    );
}


.mobile-site-footer__back-sub {
  margin:
    0
    0
    7px;

  color:
    var(--mobile-blue);

  font-size:
    0.75rem;

  font-weight:
    700;

  letter-spacing:
    0.06em;
}


.mobile-site-footer__back-title {
  margin:
    0
    0
    8px;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    clamp(
      1.4rem,
      2vw,
      1.9rem
    );

  font-weight:
    700;

  line-height:
    1.5;
}


.mobile-site-footer__back-text {
  margin: 0;

  color:
    #506878;

  font-size:
    0.8rem;

  line-height:
    1.8;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.mobile-site-footer__back-button {
  display: inline-flex;

  align-items: center;
  justify-content: space-between;

  gap:
    30px;

  flex:
    0 0 auto;

  min-width:
    210px;

  min-height:
    50px;

  padding:
    10px
    24px;

  color:
    #ffffff;

  font-family:
    var(--font-round);

  font-size:
    0.82rem;

  font-weight:
    700;

  text-decoration:
    none;

  border-radius:
    999px;

  background:
    var(--mobile-orange);

  box-shadow:
    0
    8px
    20px
    rgba(
      255,
      120,
      28,
      0.18
    );
}


/* =========================================================
   MAIN
========================================================= */

.mobile-site-footer__main {
  border-top:
    1px solid
    rgba(
      8,
      116,
      201,
      0.08
    );
}


.mobile-site-footer__inner {
  width:
    min(
      calc(100% - 48px),
      1200px
    );

  margin-inline:
    auto;

  padding:
    26px
    0
    20px;
}


/* =========================================================
   TOP
========================================================= */

.mobile-site-footer__top {
  position: relative;

  display: grid;

  grid-template-columns:
    220px
    minmax(0, 1fr)
    48px;

  align-items: center;

  gap:
    34px;
}


/* =========================================================
   LOGO
========================================================= */

.mobile-site-footer__logo-link {
  display: inline-block;
}


.mobile-site-footer__logo img {
  display: block;

  width:
    190px;

  max-width: 100%;

  height: auto;
}


/* =========================================================
   NAV
========================================================= */

.mobile-site-footer__nav-list {
  display: flex;

  flex-wrap: wrap;

  align-items: center;
  justify-content: flex-end;

  gap:
    12px
    30px;

  margin: 0;

  padding: 0;

  list-style: none;
}


.mobile-site-footer__nav-list a {
  color:
    var(--mobile-dark);

  font-size:
    0.72rem;

  font-weight:
    600;

  text-decoration: none;
}


/* =========================================================
   PAGE TOP
========================================================= */

.mobile-site-footer__pagetop {
  position: relative;


  display: flex;

  align-items: center;
  justify-content: center;

  width:
    46px;

  height:
    46px;

  padding: 0;

  border:
    1px solid
    rgba(
      8,
      116,
      201,
      0.18
    );

  border-radius:
    50%;

  background:
    #f3fbfe;

  cursor: pointer;
}


.mobile-site-footer__pagetop-arrow {
  width:
    10px;

  height:
    10px;

  border-top:
    2px solid
    var(--mobile-blue);

  border-left:
    2px solid
    var(--mobile-blue);

  transform:
    rotate(45deg)
    translate(
      2px,
      2px
    );
}


/* =========================================================
   BOTTOM
========================================================= */

.mobile-site-footer__bottom {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap:
    30px;

  margin-top:
    18px;

  padding-top:
    18px;

  border-top:
    1px solid
    rgba(
      8,
      116,
      201,
      0.08
    );
}


/* =========================================================
   SUB NAV
========================================================= */

.mobile-site-footer__subnav-list {
  display: flex;

  flex-wrap: wrap;

  gap:
    10px
    24px;

  margin: 0;

  padding: 0;

  list-style: none;
}


.mobile-site-footer__subnav-list a {
  color:
    #607483;

  font-size:
    0.67rem;

  text-decoration: none;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.mobile-site-footer__copyright {
  margin: 0;

  color:
    #7f909a;

  font-size:
    0.66rem;

  white-space:
    nowrap;
}


/* =========================================================
   ACCENT
========================================================= */

.mobile-site-footer__accent {
  height:
    5px;

  background:
    linear-gradient(
      90deg,
      var(--mobile-blue),
      var(--mobile-sky),
      var(--mobile-yellow)
    );
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {

  .mobile-site-footer__back-inner {
    display: block;
  }


  .mobile-site-footer__back-button {
    margin-top:
      22px;
  }


  .mobile-site-footer__top {
    grid-template-columns:
      1fr
      48px;
  }


  .mobile-site-footer__nav {
    grid-column:
      1 / -1;

    grid-row:
      2;
  }


  .mobile-site-footer__nav-list {
    justify-content:
      flex-start;
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 768px) {

  .mobile-site-footer__back {
    padding:
      0
      16px
      30px;
  }


  .mobile-site-footer__back-inner {
    width: 100%;

    padding:
      24px
      20px;

    border-radius:
      22px;
  }


  .mobile-site-footer__back-title {
    font-size:
      1.3rem;
  }


  .mobile-site-footer__back-text br {
    display:
      none;
  }


  .mobile-site-footer__back-button {
    width:
      100%;

    min-width:
      0;
  }


  .mobile-site-footer__inner {
    width:
      calc(100% - 32px);

    padding-top:
      22px;
  }


  .mobile-site-footer__top {
    display:
      grid;

    grid-template-columns:
      1fr
      46px;

    gap:
      18px;
  }


  .mobile-site-footer__logo img {
    width:
      165px;
  }


  .mobile-site-footer__nav-list {
    display:
      block;
  }


  .mobile-site-footer__nav-list li {
    border-bottom:
      1px solid
      rgba(
        8,
        116,
        201,
        0.08
      );
  }


  .mobile-site-footer__nav-list a {
    display:
      block;

    padding:
      12px
      0;

    font-size:
      0.78rem;
  }


  .mobile-site-footer__bottom {
    display:
      block;
  }


  .mobile-site-footer__subnav-list {
    display:
      block;
  }


  .mobile-site-footer__subnav-list li {
    margin-bottom:
      8px;
  }


  .mobile-site-footer__copyright {
    margin-top:
      18px;

    white-space:
      normal;
  }

}

/* =========================================================
   MICHIMARU MOBILE
   PERSONAL ENTRY FORM
========================================================= */

.michimaru-entry-form {
  width:
    min(
      calc(100% - 48px),
      960px
    );

  margin:
    0
    auto;

  padding:
    clamp(60px, 7vw, 100px)
    0;

  color:
    var(--mobile-text);

  font-family:
    "Noto Sans JP",
    sans-serif;
}


/* =========================================================
   INTRO
========================================================= */

/* =========================================================
   MOBILE ENTRY INTRO
========================================================= */

.mobile-entry-intro {
  margin-bottom:
    clamp(
      70px,
      8vw,
      110px
    );
}


/* =========================================================
   INTRO BODY
========================================================= */

.mobile-entry-intro__body {
  width:
    min(
      100%,
      760px
    );

  margin:
    0
    auto;

  text-align:
    left;
}


/* =========================================================
   LEAD
========================================================= */

.mobile-entry-intro__lead {
  margin:
    0
    0
    28px;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    clamp(
      1.05rem,
      1.5vw,
      1.3rem
    );

  font-weight:
    700;

  line-height:
    1.8;
}


/* =========================================================
   TEXT
========================================================= */

.mobile-entry-intro__body p {
  margin:
    0
    0
    22px;

  color:
    #40596d;

  font-size:
    clamp(
      0.88rem,
      1vw,
      1rem
    );

  font-weight:
    500;

  line-height:
    2;

  letter-spacing:
    0.02em;
}


.mobile-entry-intro__body p:last-child {
  margin-bottom:
    0;
}


/* =========================================================
   MARKER
========================================================= */

.mobile-entry-intro__marker {
  position:
    relative;

  display:
    inline;

  padding:
    0
    2px;

  color:
    var(--mobile-dark);

  font-weight:
    700;

  background:
    linear-gradient(
      transparent 65%,
      var(--mobile-yellow) 65%
    );
}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 768px) {

  .mobile-entry-intro__body {
    width:
      100%;
  }


  .mobile-entry-intro__lead {
    margin-bottom:
      22px;

    font-size:
      1.05rem;
  }


  .mobile-entry-intro__body p {
    margin-bottom:
      18px;

    font-size:
      0.88rem;

    line-height:
      1.9;
  }

}


/* =========================================================
   SECTION
========================================================= */

.michimaru-form-section {
  margin-bottom:
    clamp(
      65px,
      8vw,
      100px
    );
}


.michimaru-form-section__heading {
  display:
    flex;

  align-items:
    center;

  gap:
    18px;

  margin-bottom:
    32px;

  padding-bottom:
    14px;

  border-bottom:
    1px solid
    #dbe8ef;
}


.michimaru-form-section__number {
  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  min-width:
    54px;

  height:
    32px;

  padding:
    0
    10px;

  color:
    #fff;

  font-family:
    var(--font-round);

  font-size:
    0.8rem;

  font-weight:
    700;

  border-radius:
    5px;

  background:
    var(--mobile-blue);
}


.michimaru-form-section__heading h3 {
  margin:
    0;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    clamp(
      1.25rem,
      2vw,
      1.65rem
    );

  font-weight:
    700;
}


/* =========================================================
   Q1 TOPICS
========================================================= */

.michimaru-topic-list
.wpcf7-form-control {
  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    14px;
}


.michimaru-topic-list
.wpcf7-list-item {
  margin:
    0;
}


.michimaru-topic-list
.wpcf7-list-item label {
  position:
    relative;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  min-height:
    115px;

  padding:
    20px;

  border:
    2px solid
    transparent;

  border-radius:
    18px;

  cursor:
    pointer;

  transition:
    transform
    0.25s ease,
    border-color
    0.25s ease;
}


/* 色分け */

.michimaru-topic-list
.wpcf7-list-item:nth-child(1) label {
  background:
    #dbe7f8;
}


.michimaru-topic-list
.wpcf7-list-item:nth-child(2) label {
  background:
    #e0efda;
}


.michimaru-topic-list
.wpcf7-list-item:nth-child(3) label {
  background:
    #fff1c9;
}


.michimaru-topic-list
.wpcf7-list-item:nth-child(4) label {
  background:
    #e0efda;
}


.michimaru-topic-list
.wpcf7-list-item:nth-child(5) label {
  background:
    #fff1c9;
}


.michimaru-topic-list
.wpcf7-list-item:nth-child(6) label {
  background:
    #f4d7d8;
}


.michimaru-topic-list input {
  position:
    absolute;

  opacity:
    0;

}


.michimaru-topic-list
.wpcf7-list-item-label {
  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    0.92rem;

  font-weight:
    700;

  text-align:
    center;
}


.michimaru-topic-list
label:has(input:checked) {
  border-color:
    var(--mobile-blue);

  transform:
    translateY(-3px);
}


/* =========================================================
   FIELDS
========================================================= */

.michimaru-form-fields {
  display:
    grid;

  gap:
    24px;
}


.michimaru-form-field {
  display:
    grid;

  grid-template-columns:
    240px
    minmax(0, 1fr);

  gap:
    30px;

  align-items:
    start;

  padding-bottom:
    24px;

  border-bottom:
    1px solid
    #e6edf1;
}


.michimaru-form-field__label {
  display:
    flex;

  align-items:
    center;

  gap:
    10px;

  min-height:
    50px;

  color:
    var(--mobile-dark);

  font-size:
    0.9rem;

  font-weight:
    700;
}


.is-required,
.is-optional {
  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    4px
    8px;

  font-size:
    0.62rem;

  line-height:
    1;

  border-radius:
    5px;
}


.is-required {
  color:
    #fff;

  background:
    var(--mobile-orange);
}


.is-optional {
  color:
    #69808f;

  background:
    #edf2f5;
}


/* =========================================================
   INPUT
========================================================= */

.michimaru-entry-form input[type="text"],
.michimaru-entry-form input[type="email"],
.michimaru-entry-form input[type="tel"],
.michimaru-entry-form input[type="number"],
.michimaru-entry-form select,
.michimaru-entry-form textarea {
  width:
    100%;

  min-height:
    52px;

  padding:
    12px
    16px;

  color:
    #263d50;

  font-size:
    0.9rem;

  border:
    1px solid
    #ccdce5;

  border-radius:
    10px;

  background:
    #fff;

  outline:
    none;

  transition:
    border-color
    0.25s ease,
    box-shadow
    0.25s ease;
}


.michimaru-entry-form textarea {
  min-height:
    200px;

  resize:
    vertical;
}


.michimaru-entry-form input:focus,
.michimaru-entry-form select:focus,
.michimaru-entry-form textarea:focus {
  border-color:
    var(--mobile-blue);

  box-shadow:
    0
    0
    0
    3px
    rgba(
      8,
      116,
      201,
      0.1
    );
}


.michimaru-form-field__note {
  margin:
    10px
    0
    0;

  color:
    #657987;

  font-size:
    0.72rem;

  line-height:
    1.8;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.michimaru-form-section__description {
  margin-bottom:
    26px;

  padding:
    18px
    22px;

  border-radius:
    14px;

  background:
    #f3f9fc;
}


.michimaru-form-section__description p {
  margin:
    0;

  font-size:
    0.82rem;

  line-height:
    1.85;
}


/* =========================================================
   LINE TABLE
========================================================= */

.michimaru-line-table {
  display:
    grid;

  grid-template-columns:
    minmax(180px, 1fr)
    minmax(180px, 0.9fr)
    minmax(180px, 0.9fr);

  overflow:
    hidden;

  margin-bottom:
    34px;

  border:
    1px solid
    #dce7ed;

  border-radius:
    18px;
}


.michimaru-line-table > div {
  padding:
    18px;

  border-right:
    1px solid
    #dce7ed;

  border-bottom:
    1px solid
    #dce7ed;
}


.michimaru-line-table__blank {
  background:
    #f7fafb;
}


.michimaru-line-table__plan {
  text-align:
    center;

  background:
    #edf8fd;
}


.michimaru-line-table__plan strong {
  display:
    block;

  color:
    var(--mobile-dark);

  font-size:
    0.86rem;
}


.michimaru-line-table__plan span {
  display:
    block;

  margin-top:
    4px;

  color:
    var(--mobile-orange);

  font-family:
    var(--font-round);

  font-size:
    1.25rem;

  font-weight:
    700;
}


.michimaru-line-table__label {
  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;
}


.michimaru-line-table__label strong {
  color:
    var(--mobile-dark);

  font-size:
    0.82rem;
}


.michimaru-line-table__label span {
  margin-top:
    3px;

  color:
    #788b97;

  font-size:
    0.66rem;
}


.michimaru-line-table__input {
  display:
    flex;

  align-items:
    center;

  gap:
    8px;
}


.michimaru-line-table__input input {
  text-align:
    center;
}


.michimaru-line-table__input > span {
  white-space:
    nowrap;
}


.michimaru-line-table__total-label {
  color:
    var(--mobile-dark);

  font-weight:
    700;

  background:
    #fff9dc;
}


.michimaru-line-table__total {
  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  background:
    #fff9dc;
}


.michimaru-line-table__total strong {
  color:
    var(--mobile-orange);

  font-family:
    var(--font-round);

  font-size:
    1.8rem;
}


.michimaru-line-table__total-price {
  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  color:
    #657987;

  font-size:
    0.74rem;

  background:
    #fff9dc;
}


/* =========================================================
   LINE USER
========================================================= */

.michimaru-line-user {
  padding:
    24px;

  border-radius:
    18px;

  background:
    #f7fafc;
}


.michimaru-line-user__title {
  margin:
    0
    0
    18px;

  color:
    var(--mobile-dark);

  font-weight:
    700;
}


.michimaru-line-user__title span {
  color:
    #728590;

  font-size:
    0.72rem;

  font-weight:
    500;
}


.michimaru-line-user__options
.wpcf7-form-control {
  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    12px
    25px;
}


.michimaru-line-user__options
.wpcf7-list-item {
  margin:
    0;
}


/* =========================================================
   COMMENT
========================================================= */

.michimaru-form-field--textarea {
  display:
    block;

  padding-bottom:
    30px;
}


.michimaru-form-field--textarea
.michimaru-form-field__label {
  min-height:
    auto;

  margin-bottom:
    8px;
}


.michimaru-form-field__lead {
  margin:
    0
    0
    15px;

  font-size:
    0.8rem;
}


/* =========================================================
   AGREEMENT
========================================================= */

.michimaru-form-agreement {
  margin:
    20px
    0;
}


.michimaru-form-agreement
.wpcf7-list-item {
  margin:
    0;
}


.michimaru-form-agreement label,
.michimaru-form-privacy__check {
  font-size:
    0.8rem;

  line-height:
    1.8;
}


.michimaru-form-privacy {
  margin-top:
    30px;

  padding:
    24px;

  border-radius:
    16px;

  background:
    #f3f9fc;
}


.michimaru-form-privacy > p {
  margin:
    0
    0
    12px;

  color:
    var(--mobile-dark);

  font-weight:
    700;
}


.michimaru-form-privacy__check a {
  color:
    var(--mobile-blue);

  text-decoration:
    underline;
}


/* =========================================================
   SUBMIT
========================================================= */

.michimaru-form-submit {
  margin-top:
    42px;

  text-align:
    center;
}


.michimaru-form-submit__button {
  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  width:
    min(
      100%,
      350px
    );

  min-height:
    60px;

  color:
    #fff;

  font-family:
    var(--font-round);

  font-size:
    1rem;

  font-weight:
    700;

  border:
    0;

  border-radius:
    999px;

  background:
    var(--mobile-blue);

  cursor:
    pointer;

  transition:
    transform
    0.3s ease,
    opacity
    0.3s ease;
}


@media (hover:hover) {

  .michimaru-form-submit__button:hover {
    transform:
      translateY(-2px);

    opacity:
      0.9;
  }

}


/* =========================================================
   CF7 ERROR
========================================================= */

.michimaru-entry-form
.wpcf7-not-valid-tip {
  margin-top:
    6px;

  font-size:
    0.72rem;
}


.michimaru-entry-form
.wpcf7-response-output {
  margin:
    30px
    0
    0 !important;

  padding:
    18px
    22px !important;

  border-radius:
    12px;
}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 768px) {

  .michimaru-entry-form {
    width:
      calc(100% - 32px);

    padding:
      55px
      0;
  }


  .michimaru-entry-form__intro {
    margin-bottom:
      55px;

    border-radius:
      20px;
  }


  .michimaru-entry-form__intro-title,
  .michimaru-entry-form__intro-message {
    padding:
      24px
      20px;
  }


  .michimaru-topic-list
  .wpcf7-form-control {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .michimaru-topic-list
  .wpcf7-list-item label {
    min-height:
      100px;

    padding:
      14px;
  }


  .michimaru-form-field {
    display:
      block;
  }


  .michimaru-form-field__label {
    min-height:
      auto;

    margin-bottom:
      10px;
  }


  .michimaru-line-table {
    grid-template-columns:
      120px
      minmax(110px, 1fr)
      minmax(110px, 1fr);

    overflow-x:
      auto;
  }


  .michimaru-line-table > div {
    padding:
      12px
      8px;
  }


  .michimaru-line-table__plan strong {
    font-size:
      0.7rem;
  }


  .michimaru-line-table__plan span {
    font-size:
      1rem;
  }


  .michimaru-line-table__input {
    display:
      block;

    text-align:
      center;
  }


  .michimaru-line-user__options
  .wpcf7-form-control {
    grid-template-columns:
      1fr;
  }

}

.wpcf7-response-output {
  white-space: pre-line;
}

/* =========================================================
   FORM 微調整
   角丸を弱める + 文字切れ防止
========================================================= */

/* -----------------------------------------
   Q番号バッジ
----------------------------------------- */
.mobile-entry-form__question-number,
.mobile-entry-form__q-number,
.form-question-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 56px;
  height: 32px;
  padding: 0 14px;

  border-radius: 14px; /* 角丸を弱める */
  line-height: 1;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

/* -----------------------------------------
   必須バッジ
----------------------------------------- */
.mobile-entry-form__required,
.form-required,
.required-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 30px;
  padding: 0 10px;

  border-radius: 15px; /* 真円っぽすぎないよう少し弱める */
  line-height: 1;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;

  color: #fff;
  background: #f58220;
}

/* -----------------------------------------
   入力欄
----------------------------------------- */
.mobile-entry-form input[type="text"],
.mobile-entry-form input[type="email"],
.mobile-entry-form input[type="tel"],
.mobile-entry-form input[type="number"],
.mobile-entry-form select,
.mobile-entry-form textarea,
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="number"],
.wpcf7 form select,
.wpcf7 form textarea {
  width: 100%;
  padding: 16px 18px;

  border: 1px solid #c9d7e2;
  border-radius: 12px; /* 20px以上なら強すぎるので抑える */
  background: #fff;

  color: #2d3f55;
  font-size: 1rem;
  line-height: 1.6;
  box-sizing: border-box;
}

/* selectだけ右側が窮屈になりやすいので少し余白追加 */
.mobile-entry-form select,
.wpcf7 form select {
  padding-right: 42px;
}

/* textarea */
.mobile-entry-form textarea,
.wpcf7 form textarea {
  min-height: 180px;
  resize: vertical;
}

/* -----------------------------------------
   プレースホルダー文字
----------------------------------------- */
.mobile-entry-form input::placeholder,
.mobile-entry-form textarea::placeholder,
.wpcf7 form input::placeholder,
.wpcf7 form textarea::placeholder {
  color: #7b8794;
  opacity: 1;
}

/* -----------------------------------------
   ラベルまわり
----------------------------------------- */
.mobile-entry-form__label,
.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;

  color: #0d3f84;
  font-weight: 700;
  line-height: 1.5;
}

/* -----------------------------------------
   行全体
----------------------------------------- */
.mobile-entry-form__row,
.form-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: center;

  padding: 26px 0;
  border-top: 1px solid #dbe4ec;
}

.mobile-entry-form__row:last-child,
.form-row:last-child {
  border-bottom: 1px solid #dbe4ec;
}

/* -----------------------------------------
   SP
----------------------------------------- */
@media (max-width: 768px) {
  .mobile-entry-form__row,
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .mobile-entry-form__question-number,
  .mobile-entry-form__q-number,
  .form-question-number {
    min-width: 52px;
    height: 30px;
    font-size: 0.82rem;
  }

  .mobile-entry-form__required,
  .form-required,
  .required-badge {
    min-width: 40px;
    height: 28px;
    font-size: 0.68rem;
  }
}

/* =========================================================
   法人申込 担当者見出し
========================================================= */

.michimaru-form-subheading {
  grid-column:
    1 / -1;

  margin-top:
    22px;

  padding:
    18px
    22px;

  border-left:
    4px solid
    var(--mobile-blue);

  background:
    #f2f8fc;
}


.michimaru-form-subheading h4 {
  margin: 0;

  color:
    var(--mobile-dark);

  font-family:
    var(--font-round);

  font-size:
    1.05rem;

  font-weight:
    700;
}

/* =========================================================
   MICHIMARU MOBILE
   SMARTPHONE MENU
========================================================= */

@media (max-width: 768px) {

  /* =====================================================
     MENU PANEL
  ===================================================== */

  .mobile-page-menu {
    position: fixed !important;

    z-index: 99999 !important;

    top: 66px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    height: calc(100dvh - 66px) !important;

    margin: 0 !important;

    padding:
      22px
      28px
      40px !important;

    box-sizing: border-box;

    /*
     * 背後を透けさせない
     */
    background: #f7fcff !important;

    /*
     * 閉じている状態
     */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
      translateY(-8px);

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;

    /*
     * メニュー内で必要な場合だけスクロール
     */
    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior:
      contain;

    -webkit-overflow-scrolling:
      touch;

    /*
     * スクロールバー非表示
     */
    scrollbar-width: none;
  }


  .mobile-page-menu::-webkit-scrollbar {
    display: none;
  }


  /* =====================================================
     OPEN
  ===================================================== */

  .mobile-page-menu.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform:
      translateY(0) !important;
  }


  /* =====================================================
     NAV
  ===================================================== */

  .mobile-page-menu__nav {
    width: 100%;
    max-width: none;

    margin: 0;
  }


  .mobile-page-menu__list {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
  }


  .mobile-page-menu__item {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    border-bottom:
      1px solid
      rgba(6, 62, 126, 0.12);
  }


  .mobile-page-menu__item:first-child {
    border-top:
      1px solid
      rgba(6, 62, 126, 0.12);
  }


  .mobile-page-menu__link {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 58px;

    margin: 0;

    padding:
      14px
      5px;

    box-sizing:
      border-box;

    color:
      var(--mobile-dark);

    font-family:
      var(--font-round);

    font-size:
      0.95rem;

    font-weight:
      700;

    line-height:
      1.5;

    text-decoration:
      none;
  }


  .mobile-page-menu__link::before {
    content: "";

    flex-shrink: 0;

    width: 6px;
    height: 6px;

    margin-right:
      14px;

    border-radius:
      50%;

    background:
      var(--mobile-blue);
  }


  .mobile-page-menu__link span:first-child {
    flex: 1;
  }


  .mobile-page-menu__arrow {
    margin-left:
      15px;

    color:
      var(--mobile-blue);

    font-size:
      1rem;
  }


  /* =====================================================
     CTA
  ===================================================== */

  .mobile-page-menu__cta {
    display: grid;

    grid-template-columns:
      1fr;

    gap:
      12px;

    margin-top:
      28px;
  }


  .mobile-page-menu__button {
    display: flex;

    align-items: center;
    justify-content: center;

    gap:
      12px;

    width: 100%;
    min-height: 54px;

    padding:
      14px
      20px;

    box-sizing:
      border-box;

    border-radius:
      12px;

    font-family:
      var(--font-round);

    font-size:
      0.92rem;

    font-weight:
      700;

    text-decoration:
      none;
  }


  .mobile-page-menu__button--personal {
    color:
      var(--mobile-dark);

    background:
      var(--mobile-yellow);
  }


  .mobile-page-menu__button--corporate {
    color:
      #fff;

    background:
      var(--mobile-blue);
  }


  /* =====================================================
     MENU OPEN BODY
  ===================================================== */

  body.is-mobile-page-menu-open {
    overflow: hidden !important;

    touch-action:
      none;
  }

}