@charset "UTF-8";

/* =========================================
   Reset
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, dl, dd, figure, address {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
address {
  font-style: normal;
}

/* =========================================
   Base
   ========================================= */
:root {
  --color-text: #252525;
  --color-text-sub: #666666;
  --color-white: #ffffff;
  --color-bg-gray: #f4f4f4;
  --color-tag: #ededed;
  --color-tag-news: #e9e9e9;
  --color-border: #d9d9d9;
  --color-scrollbar-track: #eaeaea;
  --color-footer: #252525;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-serif: "Shippori Mincho", serif;
  --header-height-sp: 64px;
  --sidebar-width: 100px;
  --opacity-hover: 0.7;
}

html {
  scroll-padding-top: var(--header-height-sp);
}
@media (min-width: 1024px) {
  html {
    scroll-padding-top: 0;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-text-size-adjust: 100%;
}
body.is-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: underline;
  transition: opacity 0.3s;
}
a:hover {
  opacity: var(--opacity-hover);
}

:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important; /* 動きを抑えるユーザー設定を全要素に優先させるため */
    animation-duration: 0.01ms !important; /* 同上 */
    animation-iteration-count: 1 !important; /* 同上 */
  }
}

/* =========================================
   Layout
   ========================================= */
.l-wrapper {
  overflow-x: clip;
}
@media (min-width: 1024px) {
  .l-wrapper {
    padding-left: var(--sidebar-width);
  }
}

.l-container {
  width: 100%;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .l-container {
    padding-inline: 40px;
  }
}
@media (min-width: 1024px) {
  .l-container {
    padding-inline: 100px;
  }
}

/* header */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height-sp);
  padding: 8px 8px 8px 20px;
  background-color: var(--color-white);
}
@media (min-width: 1024px) {
  .l-header {
    position: static;
    justify-content: flex-end;
    min-height: 69px;
    padding: 0 50px 0 0;
  }
}

.l-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .l-header__brand {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: var(--sidebar-width);
    height: 100vh;
    padding: 40px 0;
    overflow-y: auto;
    background-color: var(--color-white);
  }
  .l-header__logo {
    flex-direction: column;
    gap: 15px;
    min-width: 44px;
  }
}

.l-header__logo-mark {
  width: 30px;
}
@media (min-width: 1024px) {
  .l-header__logo-mark {
    width: 34px;
  }
}

.l-header__logo-text {
  font-size: 16px;
  line-height: 1.2;
}
@media (min-width: 1024px) {
  .l-header__logo-text {
    writing-mode: vertical-rl;
    font-size: 22px;
  }
}

.l-header__copyright {
  display: none;
}
@media (min-width: 1024px) {
  .l-header__copyright {
    display: block;
    margin-top: 40px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    color: var(--color-text-sub);
  }
}

.l-header__menu-btn {
  position: relative;
  width: 48px;
  height: 48px;
}
@media (min-width: 1024px) {
  .l-header__menu-btn {
    display: none;
  }
}

.l-header__menu-icon,
.l-header__menu-icon::before,
.l-header__menu-icon::after {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  margin-left: -12px;
  background-color: var(--color-text);
  transition: transform 0.3s, background-color 0.3s;
}
.l-header__menu-icon {
  top: 50%;
  margin-top: -1px;
}
.l-header__menu-icon::before,
.l-header__menu-icon::after {
  content: "";
}
.l-header__menu-icon::before {
  top: -8px;
}
.l-header__menu-icon::after {
  top: 8px;
}
.l-header__menu-btn[aria-expanded="true"] .l-header__menu-icon {
  background-color: transparent;
}
.l-header__menu-btn[aria-expanded="true"] .l-header__menu-icon::before {
  transform: translateY(8px) rotate(45deg);
}
.l-header__menu-btn[aria-expanded="true"] .l-header__menu-icon::after {
  transform: translateY(-8px) rotate(-45deg);
}

.l-header__nav {
  position: fixed;
  top: var(--header-height-sp);
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px 20px 40px;
  overflow-y: auto;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-tag);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.l-header__nav.is-open {
  visibility: visible;
  opacity: 1;
}
@media (min-width: 1024px) {
  .l-header__nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 0;
    overflow: visible;
    border-top: 0;
    visibility: visible;
    opacity: 1;
    transition: none;
  }
}

@media (min-width: 1024px) {
  .l-header__nav-list {
    display: flex;
    gap: 6px;
  }
}

.l-header__nav-item {
  border-bottom: 1px solid var(--color-tag);
}
@media (min-width: 1024px) {
  .l-header__nav-item {
    border-bottom: 0;
  }
}

.l-header__nav-link {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .l-header__nav-link {
    min-height: 44px;
    padding-inline: 12px;
  }
}

.l-header__contact {
  align-self: center;
}

/* footer */
.l-footer {
  padding: 48px 0 40px;
  color: var(--color-white);
  background-color: var(--color-footer);
}
@media (min-width: 1024px) {
  .l-footer {
    padding: 60px 0;
  }
}
.l-footer :focus-visible {
  outline-color: var(--color-white);
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .l-footer__inner {
    padding-inline: 40px;
  }
}
@media (min-width: 1024px) {
  .l-footer__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-inline: 100px;
  }
}

.l-footer__site-name {
  font-size: 20px;
  line-height: 1.4;
}

.l-footer__address {
  margin-top: 16px;
  line-height: 1.6;
}

.l-footer__sub {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 1024px) {
  .l-footer__sub {
    align-items: flex-end;
  }
}

.l-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
@media (min-width: 1024px) {
  .l-footer__nav {
    flex-direction: row;
    align-items: center;
    gap: 36px;
  }
}

.l-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
}
@media (min-width: 1024px) {
  .l-footer__nav-list {
    column-gap: 6px;
  }
}

.l-footer__nav-link {
  display: flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  line-height: 1.4;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .l-footer__nav-link {
    padding-inline: 12px;
  }
}

.l-footer__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 44px;
  padding: 8px 30px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--color-white);
}

.l-footer__copyright {
  font-size: 14px;
  line-height: 1.5;
}
.l-footer__copyright small {
  font-size: inherit;
}

/* =========================================
   Component
   ========================================= */
/* スキップリンク */
.c-skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--color-white);
  background-color: var(--color-text);
  transform: translateY(-200%);
}
.c-skip-link:focus {
  transform: none;
}
.c-skip-link:focus-visible {
  outline-color: var(--color-white);
  outline-offset: -4px;
}

/* セクション見出し */
.c-section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .c-section-title {
    font-size: 32px;
  }
}

/* 枠線ボタン（お問合せ） */
.c-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 44px;
  padding: 8px 30px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--color-text);
}

/* 矢印付きボタン */
.c-btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 54px;
  padding: 10px 20px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid var(--color-text);
}
.c-btn-arrow::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 12px;
  background: url("../images/common/icon-arrow.svg") no-repeat center / contain;
}

/* カード */
.c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  transition: opacity 0.3s;
}
/* リンクのあるカードは全体をクリック可能にし、カード全体で hover・フォーカスを示す */
.c-card:has(.c-card__link:hover) {
  opacity: var(--opacity-hover);
}
.c-card:has(.c-card__link:focus-visible) {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.c-card__img {
  width: 100%;
  aspect-ratio: 373 / 252;
  object-fit: cover;
}

.c-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 20px;
  padding: 30px 20px;
}

.c-card__title {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.c-card__info {
  color: var(--color-text-sub);
}

.c-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
}

.c-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 49px;
  padding: 12px 20px;
  line-height: 1.5;
  text-decoration: none;
  border-top: 1px solid var(--color-text);
}
/* 擬似要素をカード全体に広げて、li 全体をリンクの範囲にする */
.c-card__link::before {
  content: "";
  position: absolute;
  inset: 0;
}
.c-card__link:hover {
  opacity: 1; /* カード側で opacity を変えるため、二重にかからないようにする */
}
.c-card__link:focus-visible {
  outline: none; /* 代わりにカード全体（.c-card）にフォーカス枠を表示する */
}
.c-card__link--external::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: url("../images/common/icon-external.svg") no-repeat center / contain;
}

/* タグ */
.c-tag {
  padding: 3px 13px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  background-color: var(--color-tag);
  border-radius: 20px;
}

/* お知らせ（高さ固定のスクロール領域。PC: 330px 指定） */
.c-news__scroll {
  max-height: 400px;
  margin-top: 40px;
  padding-right: 20px;
  overflow-y: scroll; /* 中身が少なくてもスクロールバーを常に表示する */
  overscroll-behavior: contain;
}
/* スクロールバー（Chrome / Edge / Safari） */
/*.c-news__scroll::-webkit-scrollbar {
  width: 3px;
}
.c-news__scroll::-webkit-scrollbar-track {
  background-color: var(--color-scrollbar-track);
}
.c-news__scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-text);
  border-radius: 4px;
}*/
/* スクロールバー（Firefox。上の指定が効かないブラウザのみ） */
@supports not selector(::-webkit-scrollbar) {
  .c-news__scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--color-text) var(--color-scrollbar-track);
  }
}
@media (min-width: 1024px) {
  .c-news__scroll {
    max-height: 330px;
    margin-top: 50px;
  }
}

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

.c-news__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-text);
}
.c-news__item:last-child {
  border-bottom: 0;
}
@media (min-width: 768px) {
  .c-news__item {
    flex-direction: row;
    gap: 20px;
    padding-right: 20px;
  }
}

.c-news__date {
  flex-shrink: 0;
  line-height: 1.4;
  color: var(--color-text-sub);
}

.c-news__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.c-news__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.c-news__cat {
  min-width: 88px;
  padding: 3px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  background-color: var(--color-tag-news);
  border-radius: 20px;
}

.c-news__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.c-news__text {
  line-height: 1.7;
}

/* 下層ページの見出しエリア */
.c-page-header {
  padding-top: 48px;
}
@media (min-width: 1024px) {
  .c-page-header {
    padding-top: 100px;
  }
}
.c-page-header--text-only {
  padding-bottom: 48px;
}
@media (min-width: 1024px) {
  .c-page-header--text-only {
    padding-bottom: 100px;
  }
}

.c-page-header__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .c-page-header__inner {
    padding-inline: 40px;
  }
}
@media (min-width: 1024px) {
  .c-page-header__inner {
    gap: 20px;
    padding-inline: 80px;
  }
}

.c-page-header__title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .c-page-header__title {
    font-size: 20px;
  }
}
.c-page-header__title--large {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
}
@media (min-width: 768px) {
  .c-page-header__title--large {
    font-size: 40px;
  }
}

.c-page-header__catch {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .c-page-header__catch {
    font-size: 32px;
  }
}
@media (min-width: 1024px) {
  .c-page-header__catch {
    font-size: 40px;
  }
}

.c-page-header__img {
  width: 100%;
  height: 200px;
  margin-top: 32px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .c-page-header__img {
    height: 300px;
  }
}
@media (min-width: 1024px) {
  .c-page-header__img {
    height: 405px;
    margin-top: 50px;
  }
}

/* セクション */
.c-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-tag-news);
}
@media (min-width: 1024px) {
  .c-section {
    padding: 120px 0;
  }
}
.c-section--gray {
  background-color: var(--color-bg-gray);
  border-bottom: 0;
}
.c-section--no-border {
  border-bottom: 0;
}

.c-section__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}
@media (min-width: 1024px) {
  .c-section__body {
    gap: 50px;
    margin-top: 50px;
  }
}

/* 見出し（下線付き） */
.c-heading {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .c-heading {
    font-size: 32px;
  }
}
.c-heading::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  margin-top: 20px;
  background-color: var(--color-text);
}

/* 小見出し */
.c-subheading {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

/* 黒帯見出し付きボックス */
.c-box-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .c-box-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.c-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-text);
}

.c-box__head {
  padding: 16px 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-white);
  background-color: var(--color-text);
}

.c-box__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.c-box__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-box__item + .c-box__item {
  padding-top: 20px;
  border-top: 1px solid var(--color-text);
}
.c-box__body--plain .c-box__item + .c-box__item {
  padding-top: 0;
  border-top: 0;
}

.c-box__term {
  font-weight: 700;
  line-height: 1.5;
}

/* 料金表など（列見出しが黒） */
.c-table-wrap {
  overflow-x: auto;
}

.c-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  line-height: 1.5;
}

.c-table tr {
  display: flex;
}

.c-table th,
.c-table td {
  padding: 10px 16px;
  text-align: left;
  border: 1px solid var(--color-tag-news);
  flex: 1;
}

.c-table thead th {
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-text);
  border-color: var(--color-text);
  border-right-color: var(--color-white);
}
.c-table thead th:last-child {
  border-right-color: var(--color-text);
}

.c-table tbody th {
  font-weight: 400;
}
.c-table--row-head tbody th {
  background-color: var(--color-tag-news);
}

/* 概要表（左：項目 / 右：内容） */
.c-info-table {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) 2fr;
  line-height: 1.5;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .c-info-table {
    grid-template-columns: 1fr 1fr;
  }
}

.c-info-table__row {
  display: contents;
}

.c-info-table dt,
.c-info-table dd {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

.c-info-table dt {
  background-color: var(--color-tag-news);
}

.c-info-table dd {
  border-right: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .c-info-table--wide {
    grid-template-columns: 1fr 3fr;
  }
}

/* 4列（項目・内容を2組ずつ並べる） */
@media (min-width: 768px) {
  .c-info-table--pair {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .c-info-table--pair .c-info-table__row--full dd {
    grid-column: span 3;
  }
}

/* 横並びのボタン */
.c-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

/* 下部のお問合せエリア */
.c-cta {
  padding: 80px 0;
  text-align: center;
  background-color: var(--color-bg-gray);
}
@media (min-width: 1024px) {
  .c-cta {
    padding: 120px 0;
  }
}

.c-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.c-cta__title {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .c-cta__title {
    font-size: 24px;
  }
}

.c-cta__text {
  line-height: 2;
}

/* ページ内リンク */
.c-anchor-nav {
  padding: 32px 0;
  border-bottom: 1px solid var(--color-tag-news);
}
@media (min-width: 1024px) {
  .c-anchor-nav {
    padding: 40px 0;
  }
}

.c-anchor-nav__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 768px) {
  .c-anchor-nav__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .c-anchor-nav__list {
    grid-template-columns: repeat(6, 1fr);
  }
}

.c-anchor-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-decoration: none;
  background-color: var(--color-white);
  border: 1px solid var(--color-text);
}
.c-anchor-nav__link::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 12px;
  background: url("../images/common/icon-arrow.svg") no-repeat center / contain;
  transform: rotate(90deg);
}

/* 自動で流れる横スクロール（JS が有効なときだけ動かす） */
.c-marquee {
  position: relative;
  overflow-x: auto;
}
.c-marquee.is-ready {
  overflow: hidden;
}

.c-marquee__track {
  display: flex;
  width: max-content;
}
.c-marquee.is-ready .c-marquee__track {
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}
.c-marquee.is-paused .c-marquee__track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .c-marquee.is-ready {
    overflow-x: auto;
  }
  .c-marquee.is-ready .c-marquee__track {
    animation: none;
  }
  .c-marquee__list[aria-hidden="true"] {
    display: none;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.c-marquee__list {
  display: flex;
  gap: 8px;
  padding-right: 8px;
}
@media (min-width: 1024px) {
  .c-marquee__list {
    gap: 20px;
    padding-right: 20px;
  }
}

.c-marquee__img {
  width: 260px;
  max-width: none;
  aspect-ratio: 523 / 447;
  object-fit: cover;
  background-color: var(--color-tag);
}
@media (min-width: 768px) {
  .c-marquee__img {
    width: 380px;
  }
}
@media (min-width: 1024px) {
  .c-marquee__img {
    width: 523px;
  }
}

/* 一時停止・再生ボタン（自動で動く要素用） */
.c-pause-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(37, 37, 37, 0.6);
  border-radius: 50%;
  transition: opacity 0.3s;
}
@media (min-width: 1024px) {
  .c-pause-btn {
    right: 20px;
    bottom: 20px;
  }
}
.c-pause-btn:hover {
  opacity: var(--opacity-hover);
}
.c-pause-btn:focus-visible {
  outline-color: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-text);
}
@media (prefers-reduced-motion: reduce) {
  .c-pause-btn {
    display: none;
  }
}

.c-pause-btn__icon {
  width: 12px;
  height: 14px;
  border-right: 4px solid var(--color-white);
  border-left: 4px solid var(--color-white);
}
.is-paused .c-pause-btn__icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-right: 0;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--color-white);
}

/* 地図の埋め込み */
.c-map {
  width: 100%;
  aspect-ratio: 500 / 424;
}
.c-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.c-box__def {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-cta .c-btn-arrow {
  background-color: var(--color-white);
}

/* 概要表＋写真・地図の2カラム */
.c-access {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 1024px) {
  .c-access {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
  }
}

.c-access__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 1024px) {
  .c-access .c-access__info {
    flex: 0 1 600px;
  }
}

.c-access__img {
  width: 100%;
}
@media (min-width: 1024px) {
  .c-access__img {
    flex: 0 1 500px;
  }
}

/* =========================================
   Project
   ========================================= */
/* トップ：メインビジュアル */
.p-top-mv {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 360px;
}
@media (min-width: 768px) {
  .p-top-mv {
    min-height: 460px;
  }
}
@media (min-width: 1024px) {
  .p-top-mv {
    min-height: 580px;
  }
}

.p-top-mv__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* 切り替え：フェード 2秒 ＋ 表示中に 10秒かけて 1.15倍までズーム */
.p-top-mv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s;
}
.p-top-mv__slide.is-active {
  z-index: 2;
  opacity: 1;
}
.p-top-mv__slide.is-prev {
  z-index: 1;
  opacity: 1;
  transition: none;
}

.p-top-mv__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-top-mv__slide.is-zoom .p-top-mv__img {
  animation: mv-zoom 10s linear both;
}
.p-top-mv__slider.is-paused .p-top-mv__img {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .p-top-mv__slide.is-zoom .p-top-mv__img {
    animation: none;
  }
}

@keyframes mv-zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

/* 一時停止・再生ボタン */
.p-top-mv__toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(37, 37, 37, 0.6);
  border-radius: 50%;
  transition: opacity 0.3s;
}
@media (min-width: 1024px) {
  .p-top-mv__toggle {
    right: 20px;
    bottom: 20px;
  }
}
.p-top-mv__toggle:hover {
  opacity: var(--opacity-hover);
}
.p-top-mv__toggle:focus-visible {
  outline-color: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-text);
}

/* 一時停止アイコン（縦線2本） */
.p-top-mv__toggle-icon {
  width: 12px;
  height: 14px;
  border-right: 4px solid var(--color-white);
  border-left: 4px solid var(--color-white);
}
/* 再生アイコン（三角） */
.p-top-mv__slider.is-paused .p-top-mv__toggle-icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-right: 0;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--color-white);
}

.p-top-mv__title {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .p-top-mv__title {
    padding: 60px 40px;
    font-size: 32px;
  }
}
@media (min-width: 1024px) {
  .p-top-mv__title {
    padding: 68px 100px;
    font-size: 40px;
  }
}

/* トップ：グループ紹介 */
.p-top-intro {
  padding: 80px 0;
}
@media (min-width: 1024px) {
  .p-top-intro {
    padding: 150px 0;
  }
}

.p-top-intro__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 1024px) {
  /* 2カラムが収まらない幅では自動で縦積みに戻す */
  .p-top-intro__inner {
    flex-flow: row wrap;
    gap: 40px 100px;
  }
}

.p-top-intro__title {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .p-top-intro__title {
    font-size: 32px;
  }
}
@media (min-width: 1024px) {
  .p-top-intro__title {
    font-size: 40px;
  }
}

.p-top-intro__body {
  display: flex;
  flex-direction: column;
  gap: 1.8em;
  line-height: 1.8;
}

/* トップ：グループ事業紹介 */
.p-top-business {
  padding: 80px 0;
  background-color: var(--color-bg-gray);
}
@media (min-width: 1024px) {
  .p-top-business {
    padding: 150px 0;
  }
}

.p-top-business__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .p-top-business__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (min-width: 1024px) {
  .p-top-business__list {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
  }
}

/* トップ：お知らせ */
.p-top-news {
  padding: 80px 0;
}
@media (min-width: 1024px) {
  .p-top-news {
    padding: 150px 0;
  }
}

/* トップ：小代築炉工業株式会社 */
.p-top-company {
  padding-bottom: 80px;
}
@media (min-width: 1024px) {
  .p-top-company {
    padding-bottom: 150px;
  }
}

.p-top-company__img {
  width: 100%;
  height: 200px;
  margin-bottom: 48px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .p-top-company__img {
    height: 280px;
  }
}
@media (min-width: 1024px) {
  .p-top-company__img {
    height: 345px;
    margin-bottom: 80px;
  }
}

.p-top-company__name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .p-top-company__name {
    font-size: 20px;
  }
}

.p-top-company__title {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .p-top-company__title {
    font-size: 40px;
  }
}

.p-top-company__text {
  margin-top: 30px;
  line-height: 2;
}

.p-top-company .c-btn-arrow {
  margin-top: 30px;
}

/* ゴルフ：お知らせ */
.p-golf-news {
  padding: 64px 0;
}
@media (min-width: 1024px) {
  .p-golf-news {
    padding: 100px 0;
  }
}

.p-golf-news__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  .p-golf-news__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }
}

.p-golf-news__title {
  flex-shrink: 0;
}

.p-golf-news__scroll {
  margin-top: 0;
}
@media (min-width: 1024px) {
  .p-golf-news__scroll {
    flex: 0 1 861px;
    margin-top: 0;
  }
}

/* ゴルフ：料金表 */
.p-golf-price {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-golf-price__note {
  line-height: 1.7;
}

/* ゴルフ：施設案内 */
.p-golf-facility {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 30px;
}
@media (min-width: 768px) {
  .p-golf-facility {
    grid-template-columns: repeat(2, 1fr);
  }
}

.p-golf-facility__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-golf-facility__img {
  width: 100%;
  aspect-ratio: 555 / 308;
  margin-bottom: 18px;
  object-fit: cover;
}

.p-golf-facility__text {
  line-height: 2;
}

/* ゴルフ：スクールなどの小ブロック */
.p-golf-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-golf-block__text {
  line-height: 2;
}

.p-golf-school__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.p-golf-school__fee {
  display: flex;
  flex-wrap: wrap;
  gap: 0 50px;
  line-height: 2;
}

.p-golf-school__fee-name {
  font-weight: 700;
}

.p-golf-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.7;
}

.p-golf-list {
  line-height: 2;
}

/* 匠工房：会社紹介 */
.p-takumi-about {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 1024px) {
  .p-takumi-about {
    flex-direction: row;
    align-items: stretch;
    gap: 50px;
  }
}

.p-takumi-about__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
@media (min-width: 1024px) {
  .p-takumi-about__text {
    flex: 0 1 598px;
    gap: 50px;
  }
}

.p-takumi-about__lead {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .p-takumi-about__lead {
    font-size: 24px;
  }
}

.p-takumi-about__img {
  width: 100%;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .p-takumi-about__img {
    flex: 0 1 492px;
    width: auto;
    min-width: 0;
  }
}

/* 匠工房：製作事例 */
.p-takumi-works {
  padding-bottom: 80px;
  background-color: var(--color-bg-gray);
}
@media (min-width: 1024px) {
  .p-takumi-works {
    padding-bottom: 150px;
  }
}

.p-takumi-works__section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 80px;
}
@media (min-width: 1024px) {
  .p-takumi-works__section {
    gap: 50px;
    padding-top: 120px;
  }
}

.p-takumi-works__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 1024px) {
  .p-takumi-works__head {
    flex-direction: row;
    gap: 50px;
  }
}

@media (min-width: 1024px) {
  .p-takumi-works__title {
    flex: 0 0 167px;
  }
}

.p-takumi-works__desc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 2;
}

.p-takumi-works__lead {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .p-takumi-works__lead {
    font-size: 24px;
  }
}

/* ソーラー */
.p-solar-service__text {
  line-height: 2;
}

.p-solar-shop {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-solar-tel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
@media (min-width: 768px) {
  .p-solar-tel {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
}

.p-solar-tel__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 20px;
  background-color: var(--color-white);
}
@media (min-width: 768px) {
  .p-solar-tel__item {
    padding: 20px 50px;
  }
}

.p-solar-tel__name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.p-solar-tel__number {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}
@media (min-width: 768px) {
  .p-solar-tel__number {
    font-size: 32px;
  }
}

.p-solar-tel__time {
  font-size: 14px;
  line-height: 1.4;
}

/* お問合せ */
.p-contact {
  padding: 64px 0 80px;
  background-color: var(--color-bg-gray);
  border-radius: 10px 10px 0 0;
}
@media (min-width: 1024px) {
  .p-contact {
    padding: 120px 0 150px;
  }
}

.p-contact__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  .p-contact__inner {
    gap: 45px;
  }
}

.p-contact__lead {
  line-height: 1.8;
}

/* formzu の埋め込み枠（内部要素にはスタイルを当てない） */
.p-contact__form {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: var(--color-white);
}
@media (min-width: 1024px) {
  .p-contact__form {
    padding: 100px 50px;
  }
}

/* =========================================
   Utility
   ========================================= */
/* SP のみ表示（768px 未満） */
@media (min-width: 768px) {
  .u-sp-only {
    display: none;
  }
}

/* PC のみ表示（768px 以上） */
.u-pc-only {
  display: none;
}
@media (min-width: 768px) {
  .u-pc-only {
    display: revert;
  }
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}


iframe.contact-form {
    height: 670px;
    max-width: 800px;
}
@media (max-width: 768px) {
  iframe.contact-form {
    height: 890px;
  }
}