/* ========================================================
 Header (fixed化) 
 ======================================================== */
.l_header {
  position: fixed;
  /* absolute → fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.85);
  /* 少しだけ白を強める */
  backdrop-filter: blur(6px);
  /* ガラス感（対応ブラウザのみ） */
}

.l_header__caption_pc h1 {
  padding: 0px 0 5px 0;
  margin-bottom: 0;
  font-size: clamp(11px, 1vw, 13px);
}

.l_header__caption_sp {
  display: none;
}

.l_header__inner {
  /* max-width: 1080px; */
  margin: 0 auto;
  padding: 0 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.l_header__brand {
  margin-bottom: 0;
}

.l_header__brandLink {
  display: inline-flex;
  align-items: center;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  color: #333;
}

.l_header__logo {
  width: 150px;
  display: block;
}

.l_header__nav {
  margin-left: auto;
}

.l_header__menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.l_header__link {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  position: relative;
  padding: 8px 2px;
}

.l_header__link:hover {
  opacity: .75;
}

.l_header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.l_header__btn--recruit {
  background: var(--cta);
  color: #fff;
}

.l_header__btn--contact {
  background: var(--cta);
  /* 青 */
  color: #fff;
}

/* ========== SP toggle ========== */
.l_header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.l_header__toggleLines {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  position: relative;
  margin: 0 auto;
}

.l_header__toggleLines::before,
.l_header__toggleLines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #111;
}

.l_header__toggleLines::before {
  top: -7px;
}

.l_header__toggleLines::after {
  top: 7px;
}

/* ========== Drawer ========== */
html.is-locked,
html.is-locked body {
  overflow: hidden;
}

.l_drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.l_header.is-drawer-open .l_drawer {
  display: block;
}

.l_drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}

.l_drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  /* width: min(86vw, 360px); */
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 18px 18px 22px;
  box-shadow: -12px 0 32px rgba(0, 0, 0, .16);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
}

.l_drawer__close {
  align-self: flex-end;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.l_drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
  width: 100%;
  /* align-items: center; */
}

.l_drawer__link {
  text-decoration: none;
  color: #111;
  font-weight: 700;
  padding: 12px 10px;
  /* border-bottom: 1px solid rgba(0, 0, 0, .08); */
  text-align: center;
}

.l_drawer__btn {
  margin-top: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 14px;
  font-weight: 800;
  letter-spacing: .06em;
}

.l_drawer__btn--recruit {
  background: var(--cta);
  color: #fff;
}

.l_drawer__btn--contact {
  background: #000;
  color: #fff;
}

/* =========================
   お問い合わせを目立たせる（アイコンなし）
========================= */

.l_header__btn--contact {
  height: 80px;
  /* ← 少し大きめ */
  padding: 0 26px;
  /* 少しだけ大きく */
  font-weight: 800;
  letter-spacing: .08em;
  /* 既存カラー */
  color: #fff;

  box-shadow: 0 12px 24px rgba(0, 0, 0, .15);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

/* hover */
.l_header__btn--contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .2);
  opacity: .95;
}


/* =========================
   Drawer：全画面（強制）
========================= */
.l_drawer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: none;
  height: 100vh;
}

.l_header.is-drawer-open .l_drawer {
  display: block !important;
}

.l_drawer__overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, .35) !important;
}

/* “白いパネル”を画面いっぱいにする */
.l_drawer__panel {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  background: #fff !important;
  padding: 110px 20px 40px !important;
  /* ヘッダー分あける：必要なら調整 */
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-direction: column !important;
  gap: 14px !important;
}

/* ナビを中央寄せで大きく */
.l_drawer__nav {
  width: min(520px, 100%) !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.l_drawer__link {
  font-size: 18px !important;
  padding: 16px 14px !important;
  text-align: center !important;
}

/* もし×ボタンが残っていても非表示にする（保険） */
.l_drawer__close {
  display: none !important;
}


/* =========================
   トグルボタンを固定＆×に変形（ズレ防止）
========================= */

/* ふだん */
.l_header__toggle {
  position: relative;
  z-index: 10000;
}

/* 開いた時：トグルを画面右上に固定（ここが“ズレ対策”の肝） */
.l_header.is-drawer-open .l_header__toggle {
  position: fixed !important;
  top: 26px !important;
    right: 5px !important;
  z-index: 100000 !important;
}

/* 三本線 → × */
.l_header.is-drawer-open .l_header__toggleLines {
  background: transparent !important;
}

.l_header.is-drawer-open .l_header__toggleLines::before {
  top: 0 !important;
  transform: rotate(45deg) !important;
}

.l_header.is-drawer-open .l_header__toggleLines::after {
  top: 0 !important;
  transform: rotate(-45deg) !important;
}

/* アニメ */
.l_header__toggleLines,
.l_header__toggleLines::before,
.l_header__toggleLines::after {
  transition: transform .2s ease, background-color .2s ease, top .2s ease;
}


/* SP：ボタン感をもっと出す（ドロワー内の「お問い合わせ」も目立たせたい場合） */
@media (max-width:768px) {

  .l_drawer__link[href$="/contact"],
  .l_drawer__link[href$="/contact/"] {
    background: var(--cta);
    color: #fff;
    border-radius: 999px;
    border-bottom: 0;
    margin-top: 8px;
    padding: 14px 12px;
    font-weight: 800;
  }

  .l_header__nav {
    display: none;
  }

  .l_header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }


  .l_header__caption_sp {
    display: block;
  }

  .l_header__caption_sp h1 {
    font-size: 10.5px;
        padding: 5px 10px;
        margin-bottom: 0;
  }

  .l_header__caption_pc {
    display: none;
  }
}







/* =======================================================================
   SUMI HERO
======================================================================= */
:root {
  --catch-text-size: clamp(40px, 5vw, 80px);
}

.sumiHero {
  position: relative;
  /* padding: clamp(26px, 3.5vw, 42px) 0; */
  padding: 0;
  overflow: hidden;
  height: clamp(250px, 80vh, 700px);
}

.sumiHero__inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(15px, 3.2vw, 44px);
  position: relative;
  z-index: 10;
  padding: 0;
  height: 100%;
}

/* --- Left (copy) --- */
.sumiHero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--main);
  opacity: .9;
  margin: 0 0 12px;
}

.sumiHero__kicker::before {
  content: "";
  width: 44px;
  height: 2px;
  background: currentColor;
  opacity: .35;
}

.sumiHero__title {
  margin: 0 0 1em;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.15;
  letter-spacing: .01em;
  /* color: #fff; */
  font-weight: bold;
}

.sumiHero__lead {
  margin: 0 0 18px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.9;
  color: #333;
  opacity: .92;
  max-width: 42em;
}

.sumiHero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  will-change: transform;
}

.sumiHero__btn:focus-visible {
  outline: 3px solid rgba(0, 0, 0, .15);
  outline-offset: 3px;
}

.sumiHero__btn--primary {
  background: #111;
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.sumiHero__btn--ghost {
  background: rgba(255, 255, 255, .75);
  color: #111;
  border: 1px solid rgba(0, 0, 0, .14);
  backdrop-filter: blur(6px);
}

.sumiHero__catch {
  /* 背景にグラデーションを指定 */
  background: linear-gradient(90deg, #1E88E5, #3BB273); 
  
  /* 背景を文字の形に合わせて切り抜く（ここが重要！） */
  -webkit-background-clip: text;
  background-clip: text;

  /* 文字自体の色を透明にする（背景を透けさせるため） */
  color: transparent;

  /* 見出しっぽく太く大きくする場合 */  
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0px;
  z-index: 11;
/* 【重要】text-shadowを消して、こちらに差し替え */
  /* filter: drop-shadow(4px 4px 6px rgba(0,0,0,0.2)); */

  /* ↓ここを追加：もし文字が細く感じるなら、0.5px程度の縁取りを入れる */
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.05);
}

.sumiHero__ctbg {
  width: 100%;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  height: calc(var(--catch-text-size)/2);
  z-index: 8;
}

.sumiHero__catch p {
    margin: 0;
    line-height: 1em;
    font-size: var(--catch-text-size);
      font-weight: bold;
      text-align: right;
}


@media (hover:hover) {
  .sumiHero__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .20);
  }

  .sumiHero__btn--ghost:hover {
    background: rgba(255, 255, 255, .92);
  }

}

.sumiHero__chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: #111;
  background: rgba(0, 0, 0, .06);
}

/* --- Right (photos) --- */
.sumiHero__media {
  position: relative;
  min-height: clamp(150px, 34vw, 480px);
}

.sumiHero__photo {
  position: absolute;
  inset: auto;
  margin: 0;
  /* border-radius: 22px; */
  overflow: hidden;
  background: #e9e9e9;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.sumiHero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

/* メイン写真：大きめ */
.sumiHero__photo--main {
  right: 0;
  top: 0;
  width: min(520px, 100%);
  height: clamp(300px, 32vw, 440px);
}

/* サブ写真：左下に重ねる */
.sumiHero__photo--sub {
  left: 0;
  bottom: 0;
  width: min(340px, 72%);
  height: clamp(190px, 18vw, 240px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
  border: 6px solid rgba(255, 255, 255, .85);
}

.sumiHero__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  opacity: 0.6;
}

.sumiHero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.sumiHero_cta a {
  display: block;
  background: linear-gradient(90deg, var(--main), var(--accent));
  text-align: center;
  color: #fff;
  width: 100%;
  padding: 10px;
  max-width: 350px;
  border-radius: 20px;
  text-decoration: none;
}

.sumiHero__sp_cta {
  display: none;
}

.sumiHero__bg .swiper {
    width: 100%;
    height: 100%;
}

.sumiHero__bg .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の比率を保ったまま枠を埋める */
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .sumiHero__inner {
    grid-template-columns: 1fr;
  }

  .sumiHero__media {
    /* min-height: 420px; */
  }

  .sumiHero__photo--main {
    position: relative;
    width: 100%;
    /* height: 320px; */
    aspect-ratio: 2 / 1;
    height: 100%;
  }

  .sumiHero__photo--sub {
    width: 72%;
    height: 220px;
    left: 12px;
    bottom: -24px;
  }


  .sumiHero__sp_cta {
    display: block;
    margin: 0 auto;
  }
}

@media screen and (max-width:768px) {
  .sumiHero__kicker {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .sumiHero__meta {
    display: none;
  }

  .sumiHero__pc_cta {
    display: none;
  }

  .sumiHero__ctbg {
    height: var(--catch-text-size);
  }


}


@media (max-width: 520px) {
  .sumiHero__inner {
    width: calc(100% - 28px);
  }

  .sumiHero__btn {
    width: 100%;
    height: 50px;
  }

  .sumiHero__media {
    /* min-height: 380px; */
  }

  .sumiHero__photo--sub {
    width: 86%;
    height: 210px;
    bottom: -22px;
  }
}