/* 自動生成: style.css を役割別に分割 (STEP2). 手動編集は各パーシャルで. */

/* ============================================================
   大榮 / DAIEI EXPRESS — TOP page
   ============================================================ */

:root {
  --primary: #03968f;
  --black: #333333;
  --white: #ffffff;
  --senary: #eef3f7;   /* pale blue-grey */
  --secondary: #dcf8f6; /* pale teal */
  --content: 840px;    /* narrow content block */
  --wide: 1220px;      /* wide content block */
  --max: 1440px;
  --pad: 40px;         /* side gutter on smaller screens */
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Sora", sans-serif;
  --font-num: "Poppins", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--font-jp);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ---------- ローディング画面（セッション中の初回のみ） ----------
   <html> に .dex-preload が付いているときだけ表示。
   クラスは header.php の head 内インラインJSが描画前に付与し、
   読み込み完了後に preloader.js が外す（＝JS無効時は最初から非表示）。 */

.preloader { display: none; }

html.dex-preload, html.dex-preload body { overflow: hidden; }

.dex-preload .preloader {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: var(--white);
  opacity: 1;
  transition: opacity .5s ease;
}

.dex-preload .preloader.is-done { opacity: 0; pointer-events: none; }

.preloader__logo {
  width: 120px;
  height: 120px;
  animation: dex-blink 1.8s ease-in-out infinite;
}

@keyframes dex-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .25; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader__logo { animation: none; }
}

/* ---------- shared section label ---------- */

.sec-label { display: flex; flex-direction: column; }

.sec-label--center { align-items: center; gap: 2px; }

.sec-label--left { gap: 5px; }

.sec-label__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 32px;
  color: var(--black);
  line-height: 1.2;
}

.sec-label__en--lg { font-size: clamp(38px, 6vw, 64px); }

.sec-label__ja { font-size: 14px; font-weight: 500; color: var(--black); }

.sec-label--center .sec-label__ja { font-size: 14px; }

/* ---------- icons ---------- */

.ico-arrow { width: 7px; height: 12px; flex-shrink: 0; }

.ico-chevron-down { width: 10px; height: 7px; margin-left: 4px; }

/* ---------- buttons ---------- */

.btn-green, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  align-self: flex-start;   /* flex親内で横に伸びないように */
  gap: 20px;
  min-width: 174px;
  padding: 15px 20px 15px 30px;
  border-radius: 10px;
  border: 1px solid var(--primary);   /* 常時ボーダーでホバー時のサイズ変化を防止 */
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;      /* テキストを1行で表示（折り返し防止） */
  transition: background .25s, color .25s, border-color .25s;
}

/* green：通常＝緑塗り／ホバー＝白地・緑文字（whiteの見た目へ） */

.btn-green { background: var(--primary); color: var(--white); }

.btn-green:hover { background: var(--white); color: var(--primary); }

/* white：通常＝白地・緑文字／ホバー＝緑塗り（greenの見た目へ） */

.btn-outline { background: var(--white); color: var(--primary); }

.btn-outline:hover { background: var(--primary); color: var(--white); }

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0);
  transition: background .3s, box-shadow .3s;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
  backdrop-filter: blur(6px);
}

.header__inner {
  max-width: none;
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
}

.header__logo {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--white);
  padding: 20px;
  border-bottom-right-radius: 10px;
  line-height: 0;
  z-index: 2;
}

.header__logo img { width: 100px; height: 100px; }

.nav {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 20px 20px 0 0;
}

.nav__menu { display: flex; align-items: center; gap: 25px; }

.nav__item > a {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--black);
  transition: color .2s;
}

.nav__item > a:hover { color: var(--primary); }

/* ドロップダウン（サービス紹介） */

.nav__item--dropdown { position: relative; }

.nav__submenu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); min-width: 176px; background: #fff; border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.16); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, transform .22s cubic-bezier(.34,1.4,.6,1); z-index: 60; }

.nav__submenu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }

.nav__item--dropdown:hover .nav__submenu, .nav__item--dropdown:focus-within .nav__submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(4px); }

.nav__submenu li { list-style: none; }

.nav__submenu a { display: block; padding: 10px 22px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #1a1a1a; white-space: nowrap; transition: background-color .18s, color .18s; }

.nav__submenu a:hover { background: #f1f6f9; color: var(--primary); }

.kamome-page .nav__submenu a:hover { background: #eef8fd; color: var(--kamome); }

.choshaku-page .nav__submenu a:hover { background: #eef2f9; color: var(--kamome); }

/* お悩みから探す：幅広ドロップダウン（左寄せ・テキスト折り返し可） */
.nav__submenu--wide { left: 0; transform: translateX(0) translateY(10px); min-width: 300px; max-width: 360px; }
.nav__item--dropdown:hover .nav__submenu--wide, .nav__item--dropdown:focus-within .nav__submenu--wide { transform: translateX(0) translateY(4px); }
.nav__submenu--wide a { white-space: normal; line-height: 1.5; }

/* Coming soon（未公開サービス：非クリック） */
.nav__submenu-soon { display: flex; align-items: center; gap: 8px; padding: 10px 22px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #b0b5bd; white-space: nowrap; cursor: default; user-select: none; }
.nav__submenu-soon em { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .03em; line-height: 1; color: #fff; background: #b9bfc7; padding: 3px 6px; border-radius: 3px; text-transform: uppercase; }

.nav__buttons { display: flex; align-items: center; gap: 7px; }

.btn-login, .btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s;
}

.btn-login { background: var(--black); border-color: var(--black); padding: 0 18px; }

.btn-contact { background: var(--primary); border-color: var(--primary); padding: 0 20px; }

/* ホバーで反転（背景↔文字色） */

.btn-login:hover { background: var(--white); color: var(--black); }

.btn-contact:hover { background: var(--white); color: var(--primary); }

/* hamburger */

.nav-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid #e4e9ee;
  border-radius: 8px;
  cursor: pointer;
  z-index: 3;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--black);
  transition: transform .3s, opacity .3s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }

.nav-toggle.is-open span:nth-child(2) { opacity: 0; }

.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  position: relative;
  background-image: linear-gradient(rgba(20, 40, 45, .45), rgba(20, 40, 45, .45)), url('../assets/img/common/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 49px 0 80px;
}

.contact__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact__head { margin-bottom: 10px; }

.contact__title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 96px);
  color: var(--white);
  letter-spacing: .02em;
  line-height: 1;
}

.contact__lead {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 3px 4px rgba(0, 0, 0, .25);
  margin-top: 6px;
}

.contact__card { background: var(--white); border-radius: 30px; }

.contact__cardhead {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
}

.ico-tel { width: 14px; height: 14px; }

.ico-mail { width: 22px; height: 22px; }

.contact__card--tel { padding: 40px 50px 30px; display: flex; flex-direction: column; gap: 30px; }

.tel-group { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.tel { display: flex; flex-direction: column; gap: 15px; }

.tel__label {
  align-self: flex-start;
  border: 1px solid var(--black);
  border-radius: 20px;
  padding: 5px 20px;
  font-size: 14px;
  font-weight: 500;
}

.tel__num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 25px;
  color: var(--primary);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.tel + .tel { border-left: 2px solid #e6e9ec; padding-left: 28px; }

.contact__card--mail {
  padding: 34px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.btn-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 53px;
  min-width: 361px;
  border-radius: 30px;
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  font-size: 16px;
  font-weight: 700;
  transition: background .25s, color .25s;
}

.btn-mail:hover { background: var(--white); color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer { display: flex; align-items: stretch; }

.footer__left {
  background: var(--white);
  padding: 40px 185px 40px 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  flex-shrink: 0;
}

.footer__logo img { width: 235px; height: auto; max-width: 100%; }

.footer__address { font-size: 14px; font-weight: 500; line-height: 1.5; margin-top: -32px; }

.footer__right {
  flex: 1;
  background: var(--primary);
  color: var(--white);
  padding: 46px 300px 40px 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 53px;
}

.footer__nav { display: flex; gap: 74px; width: 100%; }

.footer__col { display: flex; flex-direction: column; gap: 30px; }

.footer__link { font-size: 14px; font-weight: 700; white-space: nowrap; transition: opacity .2s; }

.footer__link:hover { opacity: .7; }

.footer__sub { display: flex; flex-direction: column; gap: 20px; }

.footer__sub a { font-size: 14px; font-weight: 700; white-space: nowrap; transition: opacity .2s; }

.footer__sub a:hover { opacity: .7; }

/* Coming soon（フッター事業紹介：未公開・非クリック） */
.footer__soon { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; color: rgba(255,255,255,.55); cursor: default; user-select: none; }
.footer__soon em { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .03em; line-height: 1; color: var(--primary); background: rgba(255,255,255,.85); padding: 3px 6px; border-radius: 3px; text-transform: uppercase; }

.footer__bottom {
  display: flex;
  gap: 40px;
  align-items: center;
}

.footer__bottom a, .footer__bottom span { font-size: 10px; font-weight: 700; line-height: 1.5; }

.footer__bottom a { transition: opacity .2s; }

.footer__bottom a:hover { opacity: .7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- footer の横はみ出し対策 ----
   フッターは「白ブロック(logo235px + 左右余白295px = 535px)」＋「緑ブロック
   (左余白260px + ナビ457px + 右余白300px = 1017px)」で最低 1547px を必要とする。
   ナビ3列は white-space:nowrap で縮まない（「Coming soon」バッジぶん幅が増えた）ため、
   設計幅1440pxでも107pxはみ出していた。余白側を段階的に詰めて必ず収まるようにする。
   1547px 以上では設計値どおりの余白になる。 */

@media (max-width: 1546px) {
  .footer__left { padding: 40px 120px 40px 80px; }   /* 435px */
  .footer__right { padding: 46px 180px 40px 160px; } /* + nav457 = 797px（計1232px） */
}

@media (max-width: 1279px) {
  .footer__left { padding: 40px 60px; }              /* 355px */
  .footer__right { padding: 46px 60px 40px; }
  .footer__nav { gap: 50px; }                        /* + nav410 = 530px（計885px） */
}

@media (max-width: 900px) {
  .footer__left { padding: 40px 32px; }              /* 299px */
  .footer__right { padding: 46px 32px 40px; }
  .footer__nav { gap: 32px; }                        /* + nav374 = 438px（計737px） */
}

@media (max-width: 1024px) {
  /* ドロワーは画面外(右)に退避するので、fixed要素のはみ出しを html 側で切り取る
     （body の overflow-x:hidden だけでは fixed 要素は切り取れず横に出続けるため）*/
  html { overflow-x: hidden; overflow-x: clip; }
  /* nav → drawer */
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    padding: 90px 30px 30px;
    background: var(--white);
    box-shadow: -6px 0 24px rgba(0, 0, 0, .12);
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__menu { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav__item > a { font-size: 15px; }
  .nav__submenu { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; background: transparent; min-width: 0; padding: 12px 0 0 16px; }
  .nav__submenu a { padding: 8px 0; }
  .nav__submenu--wide { min-width: 0; max-width: none; }
  .nav__submenu-soon { padding: 8px 0; }
  .nav__item--dropdown .ico-chevron-down { display: none; }
  .nav__buttons { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .btn-login, .btn-contact { height: 50px; width: 100%; }
  /* かもめ/長尺の白文字ヘッダーでも、白背景ドロワー内は濃色で表示する */
  .header--kamome .nav .nav__item > a,
  .header--choshaku .nav .nav__item > a,
  .header--kamome:not(.is-scrolled) .nav .nav__item > a,
  .header--choshaku:not(.is-scrolled) .nav .nav__item > a { color: #1a1a1a; text-shadow: none; }
  .header--kamome:not(.is-scrolled) .nav .nav__item > a:hover,
  .header--choshaku:not(.is-scrolled) .nav .nav__item > a:hover { color: var(--kamome); opacity: 1; }
}

@media (max-width: 768px) {
  :root { --pad: 20px; }
  .header__logo { padding: 12px; }
  .header__logo img { width: 64px; height: 64px; }
  /* contact */
  .contact__card--tel { padding: 28px 24px; }
  .tel-group { flex-direction: column; align-items: stretch; gap: 20px; }
  .tel + .tel { border-left: none; border-top: 2px solid #e6e9ec; padding-left: 0; padding-top: 20px; }
  .tel { align-items: flex-start; }
  .contact__card--mail { flex-direction: column; align-items: stretch; padding: 28px 24px; text-align: center; }
  .contact__cardhead { justify-content: center; }
  .btn-mail { min-width: 0; width: 100%; }
  /* footer */
  .footer { flex-direction: column; }
  .footer__left { padding: 40px var(--pad); align-items: flex-start; }
  .footer__right { padding: 40px var(--pad); align-items: flex-start; gap: 36px; }
  .footer__nav { flex-wrap: wrap; gap: 30px 50px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   SUBPAGE — 会社概要 (company.html)
   ============================================================ */

.header--solid { background: rgba(255, 255, 255, .97); box-shadow: 0 2px 14px rgba(0, 0, 0, .06); backdrop-filter: blur(6px); }

.subpage { padding-top: 0; }

.page { max-width: 1040px; margin: 0 auto; padding-inline: var(--pad); }

/* ---- page hero (COMPANY 見出し + バナー) ---- */

.subhero { padding-top: 56px; }

.subhero__title {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  padding-left: 64px;
  margin-bottom: 56px;
}

.subhero__deco {
  position: absolute;
  left: 0;
  top: -4px;
  width: 96px;
  height: 116px;
  background: var(--primary);
  clip-path: polygon(44% 0, 100% 0, 56% 100%, 0 100%);
  z-index: 0;
}

.subhero__en {
  position: relative;
  z-index: 1;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.2;
  color: var(--black);
}

.subhero__ja { position: relative; z-index: 1; font-size: 14px; margin-top: 2px; }

.subhero__banner { margin-right: calc(50% - 50vw); }

/* 右端を画面端まで伸ばす */

.subhero__banner img { display: block; width: 100%; height: clamp(220px, 34vw, 440px); object-fit: cover; }

/* 1440px以上：subhero(タイトル+バナー)のみ左ガターを14%（1440pxで約200px）。バナーは右端までフル。下のセクションは1040px中央のまま */

@media (min-width: 1440px) {
  .subhero .page { max-width: none; margin: 0; padding-left: 14%; padding-right: 0; }
  .subhero__banner { margin-right: 0; }
}

.sec-head { display: flex; align-items: center; gap: 20px; margin-bottom: 48px; }

.sec-head__bar { width: 4px; height: 30px; background: var(--primary); flex-shrink: 0; }

.sec-head h2 { font-size: 20px; font-weight: 600; color: var(--black); }

/* ---- news 1行（TOPのNEWS / お知らせ一覧で共用） ---- */

.news__row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 0;
  border-bottom: 1px solid #d9dfe4;
  transition: opacity .2s;
}

.news__row:hover { opacity: .6; }

.news__meta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.news__meta time { font-size: 14px; font-weight: 500; }

.news__cat {
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.news__text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news__arrow { color: var(--primary); }

/* ---- レスポンシブ ---- */

@media (max-width: 768px) {
  .preloader__logo { width: 88px; height: 88px; }
  .subhero { padding-top: 40px; }
  .subhero__title { padding-left: 52px; margin-bottom: 36px; }
  .subhero__deco { width: 74px; height: 88px; }
  .subhero__ja { font-size: 14px; }
  .sec-head { margin-bottom: 32px; }
}

/* POINT03/04 サブセクション */

.vpd .sec-head { margin-bottom: 24px; }

.fee .sec-head { margin-bottom: 0; }

.kpage { max-width: 1040px; margin: 0 auto; padding-inline: var(--pad); }

/* --- ヘッダー（ヒーロー上・白ナビ） --- */

.header--kamome { position: absolute; background: transparent; box-shadow: none; }

.header--kamome:not(.is-scrolled) .nav__item > a { color: #fff; }

.header--kamome:not(.is-scrolled) .nav__item > a:hover { opacity: .8; color: #fff; }

.header--kamome:not(.is-scrolled) .ico-chevron-down { color: #fff; }

.header--kamome:not(.is-scrolled) .btn-login { background: #292929; color: #fff; border-color: #292929; }

.header--kamome:not(.is-scrolled) .btn-contact { background: #fff; color: var(--kamome); border-color: #fff; }

.header--kamome:not(.is-scrolled) .btn-login:hover { background: #fff; color: #292929; }

.header--kamome:not(.is-scrolled) .btn-contact:hover { background: var(--kamome); color: #fff; }

.header--kamome.is-scrolled { position: fixed; }

.header--kamome.is-scrolled .btn-contact { background: var(--kamome); border-color: var(--kamome); }

.header--kamome.is-scrolled .btn-contact:hover { background: #fff; color: var(--kamome); }

/* --- ヒーロー --- */

.khero { position: relative; height: 675px; overflow: hidden; }

.khero__bg { position: absolute; inset: 0; overflow: hidden; }

.khero__bg img { width: 100%; height: 100%; object-fit: cover; }

.khero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; will-change: opacity, transform; }

.khero__slide.is-active { opacity: 1; animation: khero-zoom 6.2s linear both; }

@keyframes khero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .khero__slide.is-active { animation: none; }
}

.khero__dots { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 10px; }

.khero__dots button { width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: background-color .25s, transform .25s; }

.khero__dots button.is-active { background: #fff; transform: scale(1.25); }

.khero__inner { position: relative; z-index: 1; max-width: none; margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) 96px clamp(24px, 11vw, 168px); }

.khero__ttl1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; color: #fff; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.3); }

.khero__ttl2 { font-size: clamp(38px, 6vw, 64px); font-weight: 700; color: #fff; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.3); }

.khero__sub { font-size: 16px; font-weight: 700; color: #fff; margin-top: 16px; text-shadow: 0 2px 6px rgba(0,0,0,.3); }

/* --- CTA 青カード --- */

.kcta { margin-top: 64px; position: relative; z-index: 2; }

.kcta__box { max-width: 1040px; margin: 0 auto; background: var(--kamome); border-radius: 20px; padding: 40px; display: flex; align-items: center; justify-content: center; gap: clamp(32px, 8vw, 152px); flex-wrap: wrap; }

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

.kcta__pills { display: flex; gap: 8px; flex-wrap: nowrap; }

.kcta__pill { display: inline-flex; align-items: center; gap: 4px; background: #fff; border-radius: 5px; padding: 2px 8px 2px 2px; color: var(--kamome); font-size: 16px; font-weight: 700; flex-shrink: 0; white-space: nowrap; }

.kcta__pill svg { width: 22px; height: 22px; color: var(--kamome); }

.kcta__msg { font-size: 24px; font-weight: 600; color: #fff; line-height: 1.4; text-align: center; max-width: 408px; }

.kcta__right { text-align: center; color: #fff; }

.kcta__right p { font-size: 16px; font-weight: 700; margin-bottom: 8px; }

.kcta__tel { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(26px, 3.4vw, 32px); font-weight: 700; color: #fff; }

.kcta__tel svg { width: 24px; height: 24px; }

/* --- Contact フォーム --- */

.kcontact { padding: 80px 0 100px; }

.kcontact__inner { max-width: 1040px; margin: 0 auto; padding-inline: var(--pad); }

.kcontact__ttl { font-family: var(--font-en); font-weight: 700; font-size: clamp(48px, 7vw, 80px); color: var(--kamome); line-height: 1; }

.kcontact__sub { font-weight: 700; margin-top: 4px; }

.kform { background: #eef3f7; border-radius: 20px; padding: clamp(24px, 5vw, 60px); margin-top: 40px; }

.kform__h { font-size: 32px; font-weight: 700; text-align: center; }

.kform__tel { background: #fff; border-radius: 16px; max-width: 420px; margin: 30px auto 0; padding: 20px; text-align: center; }

.kform__tel a { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; color: var(--kamome); }

.kform__tel a svg { width: 22px; height: 22px; flex-shrink: 0; }

.kform__tel small { display: block; color: #555; font-size: 12px; margin-top: 6px; line-height: 1.6; }

.kform__mail-h { text-align: center; font-size: 20px; font-weight: 700; margin-top: 40px; }

.kform__note { text-align: center; font-size: 12px; color: #666; margin-top: 8px; line-height: 1.6; }

.kfield { margin-top: 24px; }

.kfield__label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 8px; }

.kfield__req { background: #FFF420; color: #333; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px; }

.kfield input, .kfield textarea { width: 100%; background: #fff; border: 1px solid #dfe4e8; border-radius: 8px; padding: 14px 16px; font-size: 15px; font-family: inherit; }

.kfield textarea { min-height: 160px; resize: vertical; }

.kform__submit { display: block; width: min(360px, 100%); margin: 32px auto 0; background: var(--kamome); color: #fff; border-radius: 40px; height: 56px; font-size: 16px; font-weight: 700; cursor: pointer; }

@media (max-width: 768px) {
  .khero { height: 460px; }
  .khero__inner { padding-bottom: 56px; }
  .kcta { margin-top: 40px; }
  .kcta__box { flex-direction: column; padding: 28px; gap: 24px; }
  .kcta__pills { flex-wrap: wrap; }
}

.kfeat > .kpage { position: relative; z-index: 1; }

/* FAQ */

.kfaq { margin-top: 64px; }

.kfaq__h { text-align: center; font-weight: 700; font-size: 20px; margin-bottom: 24px; }

.kfaq__h small { display: block; font-size: 13px; color: var(--kamome); font-weight: 700; margin-bottom: 4px; }

.kfaq__list { background: #eef3f7; border-radius: 16px; padding: clamp(16px, 3vw, 28px); }

.kfaq__item { background: #fff; border-radius: 10px; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(20,60,90,.04); }

.kfaq__item:last-child { margin-bottom: 0; }

.kfaq__q { display: flex; align-items: center; gap: 14px; width: 100%; background: none; border: none; padding: 18px 22px; cursor: pointer; text-align: left; font-family: inherit; font-size: 15px; font-weight: 700; color: #292929; }

.kfaq__q .qmark { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--kamome); color: #fff; display: grid; place-items: center; font-family: var(--font-en); font-size: 14px; }

.kfaq__q .toggle { margin-left: auto; flex-shrink: 0; font-size: 22px; color: var(--kamome); transition: transform .25s; }

.kfaq__item.is-open .toggle { transform: rotate(45deg); }

.kfaq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }

.kfaq__a p { padding: 0 22px 18px 48px; font-size: 14px; line-height: 1.7; color: #444; }

body.kie-modal-open { overflow: hidden; }

/* ===== かもめ便 スクロール出現 & ポップ・インタラクション ===== */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(32px); transition: none !important; }
  /* 隠す時は即時（要素自身のtransitionも無効化して画面外でも確実に） */
  .reveal.is-visible { opacity: 1; transform: none; transition: opacity .65s ease, transform .7s cubic-bezier(.22, .9, .28, 1.12) !important; will-change: opacity, transform; }
}

.kcta__pill { transition: transform .28s cubic-bezier(.34, 1.7, .5, 1); }

.kcta__pill:hover { transform: translateY(-2px) scale(1.05); }

.kform__submit, .btn-mail, .btn-green, .kcta__tel, .kport__map, .ktargets__ttl b { }

.kform__submit, .btn-mail { transition: background .25s, color .25s, transform .25s cubic-bezier(.34, 1.5, .6, 1); }

.kform__submit { border: 1px solid var(--kamome); }

.kform__submit:hover, .btn-mail:hover { transform: translateY(-2px) scale(1.02); }

.kform__submit:hover { background: #fff; color: var(--kamome); }

.choshaku-page .kfield__req { background: var(--navy); color: #fff; }

/* ---- header (ヒーロー上に重なる透過ヘッダー) ---- */

.header--choshaku { position: absolute; background: transparent; box-shadow: none; }

.header--choshaku:not(.is-scrolled) .nav__item > a { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.4); }

.header--choshaku:not(.is-scrolled) .nav__item > a:hover { opacity: .8; color: #fff; }

.header--choshaku:not(.is-scrolled) .ico-chevron-down { color: #1a1a1a; }

.header--choshaku:not(.is-scrolled) .btn-login { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

.header--choshaku:not(.is-scrolled) .btn-contact { background: var(--navy); color: #fff; border-color: var(--navy); }

.header--choshaku:not(.is-scrolled) .btn-login:hover { background: #fff; color: #1a1a1a; }

.header--choshaku:not(.is-scrolled) .btn-contact:hover { background: #fff; color: var(--navy); }

.header--choshaku.is-scrolled { position: fixed; }

.header--choshaku.is-scrolled .btn-contact { background: var(--navy); border-color: var(--navy); }

.header--choshaku.is-scrolled .btn-contact:hover { background: #fff; color: var(--navy); }

/* ---- Hero スライドショー ---- */

.khero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }

.khero__slide.is-active { opacity: 1; }

/* ドットは既存の .khero__dots（中央下・かもめ流用）を使用。念のため位置を明示 */

.khero .khero__dots { z-index: 3; bottom: 28px; }

.khero__dot.is-active { background: #fff; transform: scale(1.25); }

@keyframes cabout-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.cfaq-sec .kfaq { margin-top: 0; }

.cfaq-sec .kfaq__h { font-size: clamp(22px, 3vw, 30px); }

.cfaq-sec .kfaq__h small { font-size: 14px; color: #1a1a1a; }

/* ============================================================
   CONTACT ページ（お問い合せフォーム）
   ============================================================ */

.cf { padding: 72px 0 96px; }

.cf__inner { display: flex; flex-direction: column; }

/* 見出し（電話 / メール 共通） */

.cf__h { text-align: center; font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; color: var(--black); }

/* 電話ブロック */

.cf__tel { text-align: center; }

.cf__tel .cf__h { margin-bottom: 28px; }

.cf__tel-list { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.cf__tel-item { display: inline-flex; align-items: center; gap: 14px; }

.cf__tel-num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.cf__tel-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 6px;
  line-height: 1.4;
}

/* 区切り線 */

.cf__divider { border: 0; border-top: 1px solid var(--black); margin: 44px 0; }

/* メールブロック */

.cf__mail { text-align: center; }

.cf__mail .cf__h { margin-bottom: 18px; }

.cf__mail-desc { font-size: 15px; line-height: 1.9; }

/* 注意書き */

.cf__notice { margin-top: 48px; font-size: 15px; line-height: 1.9; }

.cf__notice-em { color: #e2342d; font-weight: 700; }

/* フォーム本体 */

.cf__form { margin-top: 40px; }

.cf__row {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 16px 30px;
  padding: 16px 0;
}

.cf__row--msg { align-items: start; }

.cf__label { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; }

.cf__req {
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  padding: 3px 12px;
  border-radius: 5px;
  white-space: nowrap;
}

.cf__control { min-width: 0; }

.cf__control input[type="text"],
.cf__control input[type="tel"],
.cf__control input[type="email"],
.cf__control textarea {
  width: 100%;
  background: #f2f4f6;
  border: 1px solid #f2f4f6;
  border-radius: 8px;
  padding: 15px 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--black);
  transition: border-color .2s, background .2s;
}

.cf__control input::placeholder,
.cf__control textarea::placeholder { color: #b7bec5; }

.cf__control input:focus,
.cf__control textarea:focus { outline: none; background: #fff; border-color: var(--primary); }

.cf__control textarea { min-height: 320px; resize: vertical; line-height: 1.7; }

/* セレクト（プルダウン） */

.cf__control select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-color: #f2f4f6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23333333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  border: 1px solid #f2f4f6;
  border-radius: 8px;
  padding: 15px 46px 15px 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--black);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}

.cf__control select:focus { outline: none; background-color: #fff; border-color: var(--primary); }

/* ラジオボタン */

.cf__checks input[type="radio"],
.cf__control input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: #f2f4f6;
  border: 1px solid #d6dbe0;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: background .2s, border-color .2s;
}

.cf__checks input[type="radio"]:checked,
.cf__control input[type="radio"]:checked { background: #fff; border-color: var(--primary); }

.cf__checks input[type="radio"]:checked::after,
.cf__control input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

/* 郵便番号 */

.cf__zip { display: flex; align-items: center; gap: 12px; }

.cf__zip-mark { font-size: 18px; font-weight: 700; }

.cf__zip-sep { color: #9aa2a9; }

.cf__zip input { width: 96px; text-align: center; }

/* インラインチェック（営業メールではありません） */

.cf__inline-check { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; user-select: none; }

.cf__inline-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 24px; height: 24px; flex-shrink: 0;
  background: #f2f4f6; border: 1px solid #d6dbe0; border-radius: 4px;
  cursor: pointer; position: relative; transition: background .2s, border-color .2s;
}

.cf__inline-check input[type="checkbox"]:checked { background: var(--primary); border-color: var(--primary); }

.cf__inline-check input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 8px; top: 4px;
  width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* 同意 + 送信 */

.cf__agree { text-align: center; margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.cf__agree-lead { font-size: 15px; }

.cf__policy-link { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }

.cf__inline-check--center { justify-content: center; }

/* Contact Form 7 対応: CF7 は input と文字を span で多重ラップし、
   .wpcf7-list-item に margin-left:1em を付けるため、
   チェックボックスが縦にずれ、全体も右に1emずれる。 */

.cf__inline-check .wpcf7-list-item { margin: 0; }

.cf__inline-check .wpcf7-list-item label {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
}

.cf__inline-check .wpcf7-list-item-label::before,
.cf__inline-check .wpcf7-list-item-label::after { content: none; }

.cf__submit {
  display: block;
  width: min(460px, 100%);
  margin: 32px auto 0;
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  border-radius: 40px;
  height: 64px;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .25s, color .25s;
}

.cf__submit:hover { background: var(--white); color: var(--primary); }

@media (max-width: 768px) {
  .cf { padding: 48px 0 72px; }
  .cf__divider { margin: 36px 0; }
  .cf__notice { margin-top: 36px; font-size: 14px; }
  .cf__tel-list { gap: 14px; }
  .cf__row { grid-template-columns: 1fr; align-items: start; gap: 10px; padding: 14px 0; }
  .cf__label { font-size: 15px; }
  .cf__control textarea { min-height: 200px; }
  .cf__submit { height: 58px; font-size: 16px; }
}

.pp .sec-head { align-items: flex-start; gap: 18px; margin-bottom: 28px; }

.pp .sec-head__bar { width: 4px; height: 28px; margin-top: 2px; }

.pp .sec-head h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  letter-spacing: .02em;
}

@media (max-width: 768px) {
  .pp .sec-head { margin-bottom: 20px; }
  .pp .sec-head h2 { font-size: 19px; }
}

.dw .sec-head { margin-bottom: 64px; }

.dw .sec-head h2 { font-size: 22px; font-weight: 700; color: var(--black); }

/* サブ見出し（会社情報項目 など・下線付き） */

.cf__sub {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  border-bottom: 2px solid var(--black);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.cf__notice--sm { margin-top: 20px; font-size: 14px; line-height: 1.95; }

/* 小見出し（▼送状別表記…▼） */

.cf__mini { font-size: 15px; font-weight: 700; color: var(--black); padding: 14px 0 2px; }

/* 行の上揃え（ラベルが複数行のとき） */

.cf__row--top { align-items: start; }

/* チェックボックス群 */

.cf__checks { display: flex; flex-wrap: wrap; gap: 16px 26px; }

.cf__checks .cf__inline-check { font-size: 15px; }

@media (max-width: 768px) {
  .dw .sec-head { margin-bottom: 40px; }
  .dw .sec-head h2 { font-size: 19px; }
  .cf__sub { font-size: 16px; }
  .cf__checks { gap: 12px 20px; }
}

/* ============================================================
   アクセシビリティ / 検索フォーム（WPテーマ用ユーティリティ）
   ============================================================ */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
  position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto !important; clip-path: none; color: var(--primary);
  display: block; height: auto; left: 5px; top: 5px; padding: 12px 18px;
  width: auto; z-index: 100000;
}
.dex-searchform { display: flex; gap: 10px; max-width: 480px; }
.dex-searchform__input {
  flex: 1; background: #f2f4f6; border: 1px solid #dfe4e8; border-radius: 8px;
  padding: 12px 16px; font-size: 15px; font-family: inherit;
}
.dex-searchform__input:focus { outline: none; border-color: var(--primary); background: #fff; }
.dex-searchform__submit {
  background: var(--primary); color: #fff; border: 1px solid var(--primary);
  border-radius: 8px; padding: 0 22px; font-weight: 700; font-family: inherit; cursor: pointer;
  transition: background .25s, color .25s;
}
.dex-searchform__submit:hover { background: #fff; color: var(--primary); }
