/* ==================================================
   四国交通 定期観光バスLP
   style.css
   ================================================== */


/* ------------------------------
   基本設定
------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #222;
  background: #fff;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* ------------------------------
   共通レイアウト
------------------------------ */

.container {
  width: min(100% - 32px, 1080px);
  margin-inline: auto;
}

.section {
  padding: 56px 0;
}

.section--light {
  background: #f6f8f5;
}

.section--accent {
  background: #eef5ef;
}

.section-title {
  margin: 0 0 24px;
  color: #183d2d;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1.4;
  text-align: center;
}

.section-lead {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.text-center {
  text-align: center;
}

.text-small {
  font-size: 0.875rem;
}

.text-muted {
  color: #666;
}


/* ------------------------------
   Header
------------------------------ */

.site-header{
    background:#ffffff;
    border-bottom:1px solid #ececec;
}

.site-header__inner{
    display:flex;
    align-items:center;
    gap:24px;
    padding:18px 0;
}

.site-header__brand{
    display:block;
    flex-shrink:0;
}

.site-header__logo{
    height:52px;
    width:auto;
    display:block;
}

.site-header__heading{
    display:flex;
    flex-direction:column;
}

.site-header__subtitle{
    margin:0;
    color:#666;
    font-size:0.95rem;
    font-weight:600;
    letter-spacing:.08em;
}

.site-header__title{
    margin:2px 0 0;
    color:#173d2d;
    font-size:2rem;
    font-weight:700;
    line-height:1.2;
}

@media(max-width:767px){

.site-header__inner{
    gap:14px;
    padding:14px 0;
}

.site-header__logo{
    height:40px;
}

.site-header__subtitle{
    font-size:.8rem;
}

.site-header__title{
    font-size:1.4rem;
}

}

/* ------------------------------
   ファーストビュー
------------------------------ */

.hero {
  background: #fff;
}

.hero__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero__content {
  padding: 32px 0 40px;
  text-align: center;
}

.hero__label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  color: #fff;
  background: #245c43;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.hero__title {
  margin: 0;
  color: #183d2d;
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.hero__catch {
  margin: 16px 0 0;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.6;
}

.hero__description {
  max-width: 720px;
  margin: 16px auto 0;
}

.hero__price {
  margin: 24px 0 0;
  color: #183d2d;
  font-weight: 700;
}

.hero__price-main {
  display: block;
  margin-top: 2px;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.2;
}

.hero__price-unit {
  margin-left: 4px;
  font-size: 1rem;
}


/* ------------------------------
   特徴・料金補足
------------------------------ */

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 0;
}

.feature-card {
  padding: 24px 18px;
  background: #fff;
  border: 1px solid #dde7df;
  border-radius: 12px;
  text-align: center;
}

.feature-card__title {
  margin: 0 0 8px;
  color: #183d2d;
  font-size: 1.1rem;
}

.feature-card__text {
  margin: 0;
  font-size: 0.95rem;
}


/* ------------------------------
   行程
------------------------------ */

.schedule {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.schedule__item {
  position: relative;
  padding: 0 0 28px 42px;
}

.schedule__item:last-child {
  padding-bottom: 0;
}

.schedule__item::before {
  position: absolute;
  top: 7px;
  left: 11px;
  width: 14px;
  height: 14px;
  background: #2f7655;
  border: 3px solid #dcebe1;
  border-radius: 50%;
  content: "";
}

.schedule__item::after {
  position: absolute;
  top: 23px;
  bottom: -7px;
  left: 17px;
  width: 2px;
  background: #c7dbcd;
  content: "";
}

.schedule__item:last-child::after {
  display: none;
}

.schedule__time {
  display: block;
  color: #245c43;
  font-weight: 700;
}

.schedule__title {
  margin: 2px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.schedule__text {
  margin: 6px 0 0;
  color: #555;
  font-size: 0.95rem;
}


/* ------------------------------
   CTA・予約ボタン
------------------------------ */

.cta {
  padding: 40px 0;
  color: #fff;
  background: #183d2d;
  text-align: center;
}

.cta__title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.5;
}

.cta__text {
  margin: 0 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  min-height: 58px;
  padding: 14px 24px;
  border: 0;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid #f4c84c;
  outline-offset: 3px;
}

.button--primary {
  color: #fff;
  background: #d85b25;
  box-shadow: 0 4px 10px rgb(0 0 0 / 18%);
}

.button--secondary {
  color: #183d2d;
  background: #fff;
  border: 2px solid #183d2d;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}


/* ------------------------------
   問い合わせ
------------------------------ */

.contact-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 1px solid #dde3df;
  border-radius: 12px;
  text-align: center;
}

.contact-box__name {
  margin: 0;
  font-weight: 700;
}

.contact-box__tel {
  display: inline-block;
  margin-top: 8px;
  color: #183d2d;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
}


/* ------------------------------
   注意事項
------------------------------ */

.notice {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 18px 20px;
  background: #fffbea;
  border: 1px solid #eadb9e;
  border-radius: 8px;
  font-size: 0.9rem;
}

.notice p {
  margin: 0;
}

.notice p + p {
  margin-top: 8px;
}


/* ------------------------------
   フッター
------------------------------ */

.site-footer {
  padding: 28px 0 90px;
  color: #fff;
  background: #122a20;
  text-align: center;
}

.site-footer__text {
  margin: 0;
  font-size: 0.85rem;
}


/* ------------------------------
   スマートフォン固定CTA
------------------------------ */

.fixed-cta {
  display: none;
}


/* ------------------------------
   タブレット・スマートフォン
------------------------------ */

@media (max-width: 767px) {
  body {
    padding-bottom: 72px;
  }

  .container {
    width: min(100% - 24px, 1080px);
  }

  .section {
    padding: 44px 0;
  }

  .site-header__inner {
    min-height: 58px;
  }

  .site-header__title {
    font-size: 0.9rem;
  }

  .hero__image {
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .hero__content {
    padding: 26px 0 34px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__catch {
    font-size: 1.05rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 20px 16px;
  }

  .schedule__item {
    padding-left: 36px;
  }

  .contact-box {
    padding: 24px 18px;
  }

  .button {
    width: 100%;
  }

  .fixed-cta {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 8px 12px;
    background: rgb(255 255 255 / 96%);
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 12px rgb(0 0 0 / 12%);
  }

  .fixed-cta .button {
    min-height: 52px;
    font-size: 1rem;
  }
}


/* ------------------------------
   大きな画面
------------------------------ */

@media (min-width: 960px) {
  .hero__image {
    max-height: 660px;
  }

  .hero__content {
    padding: 40px 0 52px;
  }
}


/* ------------------------------
   動きを減らす設定
------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}