@charset "UTF-8";
/* ============================================================
   下層ページ共通
   全ページで同じ「緑の見出し帯」「パンくず」「CONTACT」「フォーム部品」など。
   ページ固有の指定は各ページの CSS 側に置く。
   ============================================================ */

.ico--6  { width: 6px;  height: 6px; }
.ico--12 { width: 12px; height: 12px; }
.ico--33 { width: 33px; height: 30px; }

/* ------------------------------------------------------------
   ページ見出し（緑帯 / 高さ 342）
   ------------------------------------------------------------ */
.page-head {
  position: relative;
  height: 342px;
  background: var(--green-mid) url("../img/green-paper.jpg") center / cover no-repeat;
  color: #fff;
}
.breadcrumb {
  position: absolute;
  top: 138px;
  left: calc(50% - 644px);   /* デザイン x=76 */
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 18px;
}
.breadcrumb a { font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { font-weight: 400; }
.breadcrumb__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex: none; }

.page-head__inner {
  position: absolute;
  top: 194px;
  left: 50%;
  transform: translateX(-50%);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-head__en { font-family: var(--ff-en); font-size: 18px; line-height: 18px; }
.page-head__ja { margin-top: 8px; font-size: 42px; line-height: 42px; font-weight: 500; }

/* ページ内リンク（会社概要ページなど） */
.page-nav { display: flex; align-items: center; gap: 40px; }
.page-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  transition: opacity .2s ease;
}
.page-nav a:hover { opacity: .75; }
.page-nav__ico {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  display: grid; place-items: center;
  flex: none;
  transition: transform .25s ease;
}
.page-nav a:hover .page-nav__ico { transform: translate(2px, -2px); }

/* ------------------------------------------------------------
   CONTACT（下層ページ版 / 高さ 370）
   トップページ版より背が高く、営業時間の行が入る。
   ------------------------------------------------------------ */
.contact--page { height: 370px; }
.contact--page .contact__body { width: 640px; }
.contact__hours {
  margin-top: 24px;
  font-size: 18px;
  line-height: 18px;
  font-weight: 500;
  color: #fff;
  text-align: center;
}
.contact--page .tel-btn span { text-align: left; }

/* ------------------------------------------------------------
   共通の見出しセット（● + 英字 / 和文）
   ------------------------------------------------------------ */
.sec-head { text-align: center; }
.sec-head .label { justify-content: center; }
.sec-head .sec-title { margin-top: 12px; }

/* ------------------------------------------------------------
   フォーム部品（お問い合わせページ）
   ------------------------------------------------------------ */
.form-field + .form-field { margin-top: 40px; }
.form-field__head { display: flex; align-items: center; gap: 10px; height: 32px; }
.form-field__badge {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 21px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  line-height: 13px;
  font-weight: 700;
}
.form-field__label { font-size: 18px; line-height: 32px; font-weight: 500; color: #261d1b; }
.form-field__body { margin-top: 12px; }

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: 19px 20px;
  border: 1px solid #dbd9d6;
  border-radius: 5px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 26px;
  font-weight: 500;
  color: #261d1b;
}
.form-input, .form-select { height: 64px; }
.form-textarea { height: 260px; resize: vertical; }
.form-input::placeholder,
.form-textarea::placeholder { color: #d4d6d6; }
.form-select {
  appearance: none;
  color: #d4d6d6;
  background-image: linear-gradient(45deg, transparent 50%, #262626 50%), linear-gradient(135deg, #262626 50%, transparent 50%);
  background-position: calc(100% - 26px) 30px, calc(100% - 20px) 30px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-select:focus, .form-input:focus, .form-textarea:focus { border-color: var(--green); outline: none; }

.form-agree {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  gap: 16px;
  font-size: 16px;
  line-height: 19px;
  color: #261d1b;
}
.form-agree input { width: 18px; height: 18px; accent-color: var(--green); }
.form-agree a { font-weight: 700; color: var(--green); text-decoration: underline; }

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 308px;
  height: 60px;
  margin: 22px auto 0;
  padding: 14px 20px 14px 24px;
  border: 1px solid #fff;
  border-radius: 50px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  line-height: 18px;
  font-weight: 700;
  transition: transform .25s ease, filter .25s ease;
}
.form-submit:hover { transform: translateY(-2px); filter: brightness(1.08); }
.form-submit__ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  display: grid; place-items: center;
  flex: none;
}

/* ============================================================
   SP（760px 以下 / 下層ページ共通）
   全体のリセットや .contact の基本形は sp.css 側で読み込み。
   ここでは page.css が持つ固有パーツだけを上書きする。
   ============================================================ */
@media (max-width: 760px) {
  /* ------------------------------------------------------------
     ページ見出し（緑帯）
     ------------------------------------------------------------ */
  .page-head { height: auto; padding: 100px 16px 24px; }
  .breadcrumb {
    position: static;
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 17px;
  }
  .page-head__inner {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    height: auto;
    display: block;
  }
  .page-head .page-head__inner { padding-inline: 0; }   /* sp.css の .container 余白を打ち消す */
  .page-head__en { font-size: 13px; line-height: 13px; }
  .page-head__ja { margin-top: 6px; font-size: 28px; line-height: 28px; }

  .page-nav {
    flex-flow: row wrap;
    align-items: stretch;
    gap: 12px 11px;
    /* 緑帯の左右・下の余白を打ち消し、ナビ部分はクリーム背景で帯の外に見せる */
    margin: 24px -16px -24px;
    padding: 24px 16px 32px;
    background: var(--cream);
  }
  .page-nav a {
    flex: 1 1 calc(50% - 6px);
    justify-content: space-between;
    gap: 6px;
    padding: 9px 10px 9px 16px;
    white-space: nowrap;
    border: 1px solid var(--green);
    border-radius: 999px;
    color: var(--green);
    font-size: 15px;
    line-height: 20px;
    max-width: calc(50% - 6px);
  }
  /* SP は矢印を右側に置き、アイコン画像（下向き矢印）に差し替える */
  .page-nav__ico {
    order: 2;
    width: 19px; height: 19px;
    background: url("../icon/yajirusi.png") center / contain no-repeat;
  }
  .page-nav__ico svg { display: none; }
  .page-nav a:hover .page-nav__ico { transform: translateY(2px); }

  /* ------------------------------------------------------------
     CONTACT（下層ページ版）
     ------------------------------------------------------------ */
  .contact--page .contact__body { width: 100%; }
  .contact--page .tel-btn span { text-align: center; }
  .contact__hours { margin-top: 16px; font-size: 13px; line-height: 20px; }

  /* ------------------------------------------------------------
     フォーム部品（お問い合わせページ）
     ------------------------------------------------------------ */
  .form-field + .form-field { margin-top: 24px; }
  .form-field__head { height: auto; flex-wrap: wrap; gap: 8px; }
  .form-field__label { font-size: 15px; line-height: 24px; }
  .form-field__body { margin-top: 8px; }
  .form-input, .form-select { height: 52px; padding: 13px 16px; font-size: 14px; }
  .form-textarea { height: 180px; padding: 13px 16px; }
  .form-select { background-position: calc(100% - 20px) 24px, calc(100% - 14px) 24px; }
  .form-agree { flex-direction: column; height: auto; gap: 8px; font-size: 13px; text-align: center; }
  .form-submit { width: 100%; height: 56px; margin-top: 16px; font-size: 16px; }
}
