/*
Theme Name: ららべるTRAVEL
Theme URI: https://example.com/
Author: Design&Arts Monster
Description: ららべるTRAVEL用オリジナルテーマ
Version: 1.0.0
Text Domain: lalabell-travel
*/

:root {
  --base: #ffffff;
  --soft: #faf7f2;
  --brown: #513628;
  --brown-light: #7b6253;
  --red: #a7212f;
  --line: #e6ddd5;
  --gray: #d9d9d9;
  --max: 1200px;
  --serif: "Shippori Mincho", "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--brown);
  background: var(--base);
  font-family: var(--serif);
  line-height: 2;
  letter-spacing: .05em;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
fieldset { min-width: 0; }

.pc-none {
  display: none;
}

.section-shell {
  width: min(calc(100% - 80px), var(--max));
  margin-inline: auto;
}

.hero.section-shell {
  width: 100%;
}

.section { padding: 110px 0; }
.section-muted { background: var(--soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(81,54,40,.08);
  backdrop-filter: blur(10px);
}
.header-inner {
  width: min(calc(100% - 40px), 1360px);
  min-height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}
.language-switch {
  display: flex;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
}
.language-switch a[aria-current="page"] { color: var(--red); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 600;
  white-space: nowrap;
}
.logo-mark { color: var(--red); font-size: 28px; height:56px; }
.site-footer .logo-mark {height:86px; }
.global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
}
.global-nav a { transition: color .25s; }
.global-nav a:hover { color: var(--red); }
.nav-cta {
  padding: 11px 20px;
  color: #fff;
  background: var(--red);
}
.menu-button { display: none; }

.hero { padding-top: 0px; }
.hero .hero-image {
  min-height: 720px;
  display: grid;
  place-items: center;
  background: #d8d8d8;
  position: relative;
  background: url(./assets/images/fv_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
  margin-top: -150px;
}
.hero-title {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 67px);
  letter-spacing: .14em;
}
.hero-lead { margin: 24px 0 0; font-size: 15px; }
.ribbon-line {
  display: flex;
  color: var(--red);
  font-size: 34px;
  line-height: 1;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
}

.hero .ribbon-line {
  margin-top: 0;
}

.tour-layout .ribbon-line {
  justify-content: start;
}

.ribbon-line img {
  width: 20px;
}
.ribbon-line::before,
.ribbon-line::after {
  content: "";
  display: inline-block;
  width: 130px;
  height: 1px;
  background: var(--red);
  vertical-align: middle;
  margin: 0 16px;
}
.ribbon-line.small::before,
.ribbon-line.small::after { width: 80px; }

.image-placeholder {
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(0,0,0,.04)),
    #d8d8d8;
  position: relative;
}
.image-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #777;
  font-family: sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.section-copy { max-width: 520px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-style: italic;
  font-size: 17px;
}
h2 {
  margin: 0;
  font-size: clamp(27px, 2.7vw, 42px);
  font-weight: 500;
  line-height: 1.5;
}
.subheading { margin-bottom: 4px; font-size: 18px; }
.small-line { width: 42px; height: 1px; background: var(--red); margin: 20px 0 26px; }
.media-frame { margin: 0; min-height: 390px; overflow: hidden; }

.tour-gallery { display: grid; gap: 12px; }
.gallery-main { margin: 0; height: 330px; overflow: hidden; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid figure { margin: 0; height: 150px; overflow: hidden; }

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}
.section-note { margin: 8px 0 0; font-size: 14px; }
.outline-button {
  border: 1px solid var(--red);
  color: var(--red);
  padding: 14px 28px;
  font-size: 13px;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.instagram-card { aspect-ratio: 1 / 1; overflow: hidden; position: relative; }

.access-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  align-items: stretch;
}
.access-list { margin-top: 25px; font-size: 14px; }
.access-list p { margin: 0 0 15px; }
.pickup-box {
  margin-top: 28px;
  padding: 20px 22px;
  background: #f3e7d8;
  border-left: 3px solid var(--red);
}

.access-info {
    font-size: 12px;
    color: var(--red);
}
.pickup-box p { margin: 6px 0 0; font-size: 12px; line-height: 1.8; }
.map-frame { min-height: 430px; background: #eee; }

.contact-intro { margin-bottom: 42px; max-width: 560px; }
.required-note { font-size: 12px; color: var(--brown-light); }

.consultation-form { border-top: 1px solid var(--line); }
.form-row {
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.form-row > label,
.form-row > legend {
  padding: 24px 28px;
  background: var(--soft);
  font-weight: 600;
  font-size: 14px;
}
.form-row > label span,
.form-row > legend span {
  color: var(--red);
  font-size: 11px;
  margin-left: 6px;
}
.form-row small {
  display: inline-block;
  color: var(--brown-light);
  font-size: 11px;
  font-weight: 400;
  margin-left: 6px;
}
.form-row > input,
.form-row > textarea,
.form-row > .choice-grid,
.form-row > .destination-grid,
.form-row > .other-option-wrap,
.form-row > .other-option {
  margin: 18px 24px;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: calc(100% - 48px);
  border: 1px solid #d9d0c8;
  background: #fff;
  padding: 14px 16px;
  color: var(--brown);
}
textarea { resize: vertical; }
input:focus, textarea:focus {
  outline: 2px solid rgba(200,36,44,.18);
  border-color: var(--red);
}
.choice-grid {
  display: grid;
  gap: 16px 28px;
  align-items: center;
}
.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.choice-grid label,
.other-option label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.destination-card {
  display: grid;
  gap: 8px;
  font-size: 12px;
}
.destination-card.wide { grid-column: span 2; }
.thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  position: relative;
}
.other-option {
  display: grid;
  grid-template-columns: 130px minmax(0,1fr);
  gap: 18px;
  align-items: center;
  grid-column: 2;
  margin-top: 30px;
}
.other-option input[type="text"] { width: 100%; margin: 0; }
.form-submit { text-align: center; padding-top: 48px; }
.form-submit button {
  width: min(100%, 420px);
  border: 0;
  padding: 17px 30px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  transition: opacity .25s;
}
.form-submit button:hover { opacity: .85; }

.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding: 48px 0 26px;
}
.footer-inner { text-align: center; }
.footer-logo { justify-content: center; }
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 26px 0 14px;
  font-size: 11px;
}
.site-footer small { font-size: 10px; }

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brown);
}

@media (max-width: 1100px) {
  .global-nav { display: none; }
  .global-nav.is-open {
    position: fixed;
    inset: 84px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
  }
  .global-nav.is-open a { padding: 12px 8px; }
  .menu-button {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    display: grid;
    align-content: center;
    gap: 6px;
    cursor: pointer;
  }
  .menu-button span { height: 1px; background: var(--brown); }
  .form-row { grid-template-columns: 230px minmax(0,1fr); }
  .cols-5 { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 800px) {
  .section-shell { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 72px; }
  .language-switch { order: 3; margin-left: auto; }
  .logo { font-size: 17px; }
  .menu-button { margin-left: 0; }
  .global-nav.is-open { inset: 72px 0 auto; }

  .hero { width: 100%; padding: 0; }
  .hero .hero-image { min-height: 520px; }
  .hero-copy { padding: 24px; }
  .hero-lead br { display: none; }
  .ribbon-line::before,
  .ribbon-line::after { width: 60px; }

  .two-column,
  .access-layout { grid-template-columns: 1fr; gap: 40px; }
  .media-frame { min-height: 300px; }
  .tour-layout .section-copy { order: 1; }
  .tour-layout .tour-gallery { order: 2; }
  .gallery-main { height: 250px; }
  .gallery-grid figure { height: 110px; }

  .section-heading-row { display: grid; align-items: start; }
  .outline-button { width: fit-content; }
  .instagram-grid { grid-template-columns: repeat(3,1fr); }

  .form-row { grid-template-columns: 1fr; }
  .form-row > label,
  .form-row > legend {
    padding: 18px 18px 10px;
    background: transparent;
  }
  .form-row > input,
  .form-row > textarea,
  .form-row > .choice-grid,
  .form-row > .destination-grid,
  .form-row > .other-option {
    margin: 0 18px 18px;
  }
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea { width: calc(100% - 36px); }
  .cols-4, .cols-5 { grid-template-columns: repeat(2,1fr); }
  .destination-grid { grid-template-columns: repeat(2,1fr); }
  .destination-card.wide { grid-column: auto; }
  .other-option { grid-column: auto; grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  /*.language-switch { display: none; }*/
  .hero-title { font-size: 34px; }
  /* .gallery-grid { grid-template-columns: 1fr; } */
  .gallery-grid figure { height: 100px; }
  .instagram-grid { grid-template-columns: repeat(2,1fr); }
  .cols-4, .cols-5 { grid-template-columns: 1fr 1fr; }
  .destination-grid { grid-template-columns: 1fr; grid-template-columns: repeat(2, 1fr); }
  .pc-none {display: inline-block;}
  .logo-mark img { color: var(--red); width:156px; height:56px; }
  .site-footer .logo-mark img { width: 238px; height: 86px;}
  .thumb {height: 110px;}
}

/* fieldset内のチェックボックス項目を2カラムに固定 */
fieldset.form-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: stretch;
}

/* legendを左カラムの項目名として配置 */
fieldset.form-row > legend {
  grid-column: 1;
  grid-row: 1 / span 2;
  float: none;
  width: auto;
  margin: 0;
  padding: 24px 28px;
  background: var(--soft);
  box-sizing: border-box;
}

/* 選択肢グループを右カラムへ */
fieldset.form-row > .choice-grid,
fieldset.form-row > .destination-grid {
  grid-column: 2;
  margin: 18px 24px;
}

/* 「その他」の入力欄も右カラムへ */
fieldset.form-row > .other-option {
  grid-column: 2;
  margin: 0 24px 18px;
}

/* legendの標準余白・幅崩れ対策 */
fieldset.form-row > legend {
  max-width: none;
  white-space: normal;
}

@media (max-width: 800px) {
  fieldset.form-row {
    grid-template-columns: 1fr;
  }

  fieldset.form-row > legend {
    grid-column: 1;
    grid-row: auto;
    padding: 18px 18px 10px;
    background: transparent;
  }

  fieldset.form-row > .choice-grid,
  fieldset.form-row > .destination-grid,
  fieldset.form-row > .other-option {
    grid-column: 1;
    margin: 0 18px 18px;
  }
}

.footer-list {
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 10px;
    border: 1px solid var(--line);
    max-width: 450px;
    margin: 40px auto 0;
}

@media (max-width: 520px) {
  .footer-list {
    flex-direction: column;
    max-width: 250px;
    padding: 15px 0px;
  }
}

/* ここからコンタクトフォーム　差し替え前 */

/* CF7が生成するラッパー */
.consultation-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  min-width: 0;
}

.consultation-form .form-row > .wpcf7-form-control-wrap {
  margin: 18px 24px;
}

.consultation-form .wpcf7-form-control-wrap input[type="text"],
.consultation-form .wpcf7-form-control-wrap input[type="email"],
.consultation-form .wpcf7-form-control-wrap input[type="tel"],
.consultation-form .wpcf7-form-control-wrap textarea {
  width: calc(100% - 36px);
  margin: 0;
}

/* fieldsetを既存の2カラムで維持 */
.consultation-form fieldset.form-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: stretch;
}

.consultation-form fieldset.form-row > legend {
  grid-column: 1;
  grid-row: 1 / span 2;
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 24px 28px;
  background: var(--soft);
  box-sizing: border-box;
  white-space: normal;
}

.consultation-form .choice-grid .wpcf7-form-control-wrap,
.consultation-form .choice-grid .wpcf7-checkbox {
  display: contents;
}

.consultation-form .choice-grid .wpcf7-list-item {
  margin: 0;
}

.consultation-form .choice-grid .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.consultation-form .other-option .wpcf7-form-control-wrap,
.consultation-form .other-option input[type="text"] {
  width: 100%;
  margin: 0;
}

.consultation-form .other-option input:disabled {
  opacity: .45;
  background: #f3f3f3;
}

.privacy-consent {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--soft);
  text-align: center;
}

.privacy-consent .wpcf7-list-item { margin: 0; }
.privacy-consent label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.privacy-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--red);
}
.privacy-consent a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.privacy-consent-note {
  margin: 8px 0 0;
  color: var(--brown-light);
  font-size: 11px;
}

.cf7-client-error {
  margin-bottom: 25px;
  padding: 14px 18px;
  border: 1px solid var(--red);
  color: var(--red);
  background: #fff7f7;
  font-size: 13px;
}

.consultation-form input.is-invalid,
.consultation-form textarea.is-invalid {
  border-color: var(--red) !important;
}

/* 確認ページ */
.confirmation-list {
  border-bottom: 1px solid var(--line);
}
.confirmation-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
.confirmation-label {
  padding: 24px 28px;
  background: var(--soft);
  font-size: 14px;
  font-weight: 600;
}
.confirmation-value {
  min-width: 0;
  padding: 24px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.confirmation-form input[type="hidden"],
.confirmation-form .wpcf7-form-control-wrap:has(input[type="hidden"]) {
  display: none !important;
}

.confirmation-submit {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.confirmation-submit .back-button,
.confirmation-submit .send-button {
  width: min(100%, 390px);
  min-height: 58px;
  padding: 15px 28px;
  border: 1px solid var(--red);
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}
.confirmation-submit .back-button {
  color: var(--red);
  background: #fff;
}
.confirmation-submit .send-button {
  color: #fff;
  background: var(--red);
}

.travel-thanks {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 130px 0;
  text-align: center;
}
.travel-thanks h1 {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
}
.travel-thanks p { line-height: 2.2; }

@media (max-width: 800px) {
  .consultation-form .form-row > .wpcf7-form-control-wrap {
    margin: 0 18px 18px;
  }
  .consultation-form fieldset.form-row {
    grid-template-columns: 1fr;
  }
  .consultation-form fieldset.form-row > legend {
    grid-column: 1;
    grid-row: auto;
    padding: 18px 18px 10px;
    background: transparent;
  }
  .confirmation-row {
    grid-template-columns: 1fr;
  }
  .confirmation-label {
    padding: 18px 18px 8px;
    background: transparent;
  }
  .confirmation-value {
    padding: 8px 18px 20px;
  }
  .confirmation-submit {
    flex-direction: column-reverse;
  }
}

/* 会社概要 */

.company-page { color: var(--brown); }

.company-hero {
  padding-top: 120px;
  padding-bottom: 70px;
  text-align: center;
}

.company-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: .12em;
}

.company-hero__lead {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 2.2;
}

.company-section { padding-bottom: 120px; }

.company-table { border-top: 1px solid var(--line); }

.company-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.company-label {
  padding: 26px 30px;
  background: var(--soft);
  font-size: 14px;
  font-weight: 600;
}

.company-value {
  min-width: 0;
  padding: 26px 32px;
  font-size: 14px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.company-value a { color: inherit; text-decoration: none; }
.company-value a:hover { color: var(--red); }

.company-note {
  color: var(--brown-light);
  font-size: 12px;
}

.company-contact { padding-bottom: 120px; }

.company-contact__inner {
  padding: 70px 40px;
  background: var(--soft);
  text-align: center;
}

.company-contact__inner h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
}

.company-contact__inner p {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 2;
}

.company-contact__button {
  display: inline-grid;
  place-items: center;
  min-width: 340px;
  min-height: 58px;
  margin-top: 34px;
  padding: 14px 28px;
  color: #fff;
  background: var(--red);
  transition: opacity .2s ease;
}

.company-contact__button:hover { opacity: .82; }

@media (max-width: 800px) {
  .company-hero {
    padding-top: 80px;
    padding-bottom: 50px;
  }

  .company-section,
  .company-contact {
    padding-bottom: 80px;
  }

  .company-row { grid-template-columns: 1fr; }

  .company-label {
    padding: 18px 20px 8px;
    background: transparent;
  }

  .company-value { padding: 8px 20px 20px; }

  .company-contact__inner { padding: 50px 24px; }

  .company-contact__button {
    width: 100%;
    min-width: 0;
  }
}
