@charset "utf-8";
/* ==========================================================================
   Responsive CSS
   ========================================================================== */

.br-700,
.br-450{display:none;}

@media(max-width:700px){.br-700{display:inline;}}
@media(max-width:450px){.br-450{display:inline;}}

/* ==========================================================================
   Breakpoint: <= 1200px
   ========================================================================== */

@media screen and (max-width: 1200px) {
  section {
    margin-left: 80px;
    margin-right: 80px;
  }

  /* --- Information --- */
  .information_tabs {
    width: 100%;
  }
  .information_boxes {
    width: 100%;
  }
  .information_box_item {
    padding: 10px 50px;
    background-color: #fff;
    height: auto;
  }
  .info-tab {
    width: 120px;
    padding: 10px 0;
  }

  .guide_step_head .guide_step_title::after{
    background: linear-gradient(
      to right,
      #111 0 calc(100% - (var(--leftLine) + var(--gap))),
      transparent calc(100% - (var(--leftLine) + var(--gap))) calc(100% - var(--leftLine)),
      #111 calc(100% - var(--leftLine)) 100%
    );
  }
  .guide_step_head .guide_step_title::before{
    left: auto;
    right: var(--leftLine);
    transform-origin: right center;
    transform: rotate(calc(var(--slashDeg) * -1));
  }

  /* 画面両脇の左右の細線を消す */
  .header-inner,
  .hero-sub-inner,
  .layout-inner,
  .footer-inner{
    border-left: none;
    border-right: none;
  }

  /* フッタの上の細線の位置を直す */
  .footer-inner {
    border-top: #c6beb9 solid 1px;
    max-width: none;
    padding: 0;
  }
  .footer-inner_flex_box{
    border-top: none;
  }
}

@media screen and (max-width: 1139px) {
  .hero{
    padding: 0;
    margin: 0;
  }
  .hero-inner{
    padding: 0;
    margin: 0;
  }
}

/* ==========================================================================
   Breakpoint: <= 768px
   ========================================================================== */

@media (max-width: 768px) {
  .service-box{
    padding: 25px 15px;
  }
  /* --- Information --- */
  .information_tabs {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
  }
  .info-tab {
    width: calc(50% - 4px);
    padding: 8px 0;
  }
  .info-tab::before {
    inset: 6px 8px;
  }
  .info-tab.current::after {
    bottom: -5px;
    height: 10px;
    filter: blur(5px);
  }
  .information_boxes {
    margin-bottom: 16px;
  }
  .information_box_item {
    min-height: auto;
  }
  .information_box_inner {
    width: 100%;
    margin: 0;
    padding: 15px 8px 22px;
    font-size: 16px;
  }
  .guide_notice{
    width: 60%;
    margin: 0 auto;
  }
  .guide_step{
    width: 100%;
    margin: 0;
  }

  /* HOME（呼び出し）側 */
  .form-privacy input[type="checkbox"]{
    width: 20px;
    height: 20px;
    transform: translateY(5px);
  }
  .form-privacy .privacy-box{
    padding: 14px 12px;
  }
  .form-privacy .privacy-title{
    margin-bottom: 8px;
  }
}

/* ==========================================================================
   Breakpoint: <= 740px
   ========================================================================== */

@media screen and (max-width: 740px) {
  .menu-bar ul {
    gap: 20px;
  }
  .hero{
    margin-top: 0;
    padding-top: 0;
  }
  .section-about .layout-inner{
    padding: 0;
  }
  section {
    padding: 0;
    margin: 100px 20px;
  }

  /* --- Information --- */
  .information_boxes {
    width: 100%;
  }
  .information_box_item {
    padding: 10px 10px;
  }
  .info-tab {
    width: 100px;
    padding: 10px 0;
  }
  .information_tabs {
    width: 100%;
  }
  .credit {
    margin: 0 auto;
  }
}

/* ==========================================================================
   Breakpoint: <= 700px
   ========================================================================== */

@media (max-width: 700px) {
  /* ----------------------------------
     キャッチの白マスク制御 <=700px)
     ---------------------------------- */

  /* ▼ 白帯の高さを手動調整する変数 */
  .hero-sub-inner{
    --mask-top: 40px;     /* 上（白にしたい範囲の開始 値が 小さい と 上 の方まで白） */
    --mask-bottom: 53px;  /* 下（白にしたい範囲の終了 値が 小さい と 下 の方まで白） */

    height: 600px;
    position: relative;
    overflow: hidden;
  }

  /* SPでは鏡文字は消す */
  .hero-catch-out-left,
  .hero-catch-out-right{
    display: none;
  }

  /* キャッチコピーの外側の余白を確保 */
  .hero-catch-in-left{
    left: 30px;
  }
  .hero-catch-in-right{
    right: 30px;
  }

  /* SPのキャッチ（in）は黒 */
  .hero-sub-inner .hero-catch-in-left,
  .hero-sub-inner .hero-catch-in-right{
    position: absolute;
    color: #222;
  }

  /* ▼ 白帯（重ね文字） */
  .hero-sub-inner .hero-catch-in-left::after,
  .hero-sub-inner .hero-catch-in-right::after{
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 100%;
    display: block;

    color: #E8E4E1;
    pointer-events: none;

    clip-path: inset(
      var(--mask-top, 0px) 0
      var(--mask-bottom, 9999px) 0
    );

    text-shadow: 0 0 4px rgba(0,0,0,.35);
  }

  /* 写真：SPトリミング（必要なときだけ） */
  .hero-photo{
    margin: 90px auto;
    width: 100%;
    height: 530px;
    position: relative;
    overflow: hidden;
  }
  .hero-photo img{
    height: 100%;
    width: auto;
    max-width: none;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-48%, -80%);
  }
}

@media screen and (max-width: 768px){
  /* --- Contact (<=700px) --- */
  .contact-box{
    width: 100%;
  }

  /* --- Footer (<=700px) --- */
  .footer-inner_flex_box_child1 img {
    width: clamp(180px, 30vw, 260px);
    top: -30px;
    left: 0px;
  }
}

/* ==========================================================================
   Breakpoint: <= 599px (アンカーリンク時のリンク位置調整　※ヘッダに被らないように）
   ========================================================================== */

@media (max-width: 599px) {
  #about {
    scroll-margin-top: 130px;
  }
  #contact {
    scroll-margin-top: 80px;
  }
}

/* ==========================================================================
   Breakpoint: <= 550px
   ========================================================================== */

@media (max-width: 550px) {
  .hero-photo{
    height: 450px;
  }
  .hero-photo img{
    transform: translate(-53%, -70%);
  }
}

/* ==========================================================================
   Breakpoint: <= 500px
   ========================================================================== */

@media (max-width: 500px) {
  .section-contact .layout-inner{
    padding: 0;
  }
  .contact-submit {
    width: 70vw;
  }
  .footer-inner_flex_box_child1 img {
    width: clamp(180px, 30vw, 260px);
    top: -50px;
    left: 0px;
  }
}

/* ==========================================================================
   Breakpoint: <= 499px
   ========================================================================== */

@media screen and (max-width: 499px) {
  /* --- Footer layout --- */
  .footer-inner_flex_box {
    height: 100px;
    gap: 20px;
  }
  .footer-inner_flex_box_child1 {
    width: 30%;
  }
}

/* ==========================================================================
   Breakpoint: <= 450px
   ========================================================================== */

@media (max-width: 450px) {
  .hero-catch-in-left{
    margin-top: 50px;
  }
  .hero-photo{
    width: auto;
    height: 400px;
  }
  .hero-photo img{
    transform: translate(-45%, -70%);
  }
  .guide_details_btn{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

/* ==========================================================================
   Breakpoint: <= 400px
   ========================================================================== */

@media (max-width: 400px) {
  .footer-inner_flex_box_child1 img {
    width: clamp(180px, 30vw, 260px);
    top: -70px;
    left: -20px;
  }
}

/* ★臨時対応　クレジット表示崩れのためこちらに記載　修正予定箇所★ */
/* =========================
   Hero Photo Credit（中央固定）
   ========================= */

.hero-photo-credit{
  display: block;
  margin: 6px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 24px);
}
.hero-photo-credit a{
  text-decoration: underline;
}

@media (max-width: 768px){
  .hero-photo-credit{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8px;
    margin: 0;
    padding: 2px 8px;
    border-radius: 999px;
    color: #616060;
  }
  .hero-photo{ position: relative; } /* ←これが必要になるけど“クレジット以外触らない”縛りに当たる */
  .hero-photo-credit a{
    text-decoration: 616060;
  }
}