@charset "UTF-8";

/* ==================================================
   共通変数
================================================== */
:root {
  --color-bg: #fbf0cd;
  --color-main: #a06312;
  --color-second: #33a7f9;
  --color-white: #ffffff;
  --color-ink: #102238;
  --color-muted: #607086;
  --color-navy: #05234a;
  --color-blue: #0b65d8;
  --color-blue-dark: #064aa2;
  --color-cyan: #20c2e8;
  --color-sky: #eaf7ff;
  --color-gray: #f5f8fb;
  --color-gray-dark: #d5d5d5;
  --color-line: #d9e6f2;
  --gradient-blue: linear-gradient(135deg, var(--color-main) 0%, var(--color-cyan) 100%);
  --gradient-deep: linear-gradient(135deg, #05234a 0%, #0b65d8 58%, #20c2e8 100%);
  --content-width: 1200px;
  --content-full: 100%;
  --header-height: 65px;
  --header-bg: #fbf0cd;
  --hero-gutter: clamp(16px, 2.4vw, 48px);
  --transition: 0.25s ease;
  --radius: 10px;
}

/* ==================================================
   基本設定
================================================== */
body {
  overflow-x: hidden;
  color: var(--color-ink);
  background: var(--color-bg);
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.8;
}

::selection {
  color: var(--color-white);
  background: var(--color-main);
}

a,
button {
  transition: color var(--transition), background var(--transition), opacity var(--transition), transform var(--transition), border-color var(--transition);
}

a:hover {
  color: var(--color-main);
}

img {
  object-fit: cover;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 10000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--color-white);
  background: var(--color-main);
  border-radius: var(--radius);
}

/* ==================================================
   レイアウト
================================================== */
.l-container {
  width: min(calc(100% - 100px), var(--content-width));
  margin-inline: auto;
}

.l-container--full {
  width: min(calc(100% - 100px), var(--content-full));
}

.l-main {
  min-height: 60vh;
}

/* トップはヘッダー・フッターの実際の高さを除いた領域をメインに割り当てる。 */
body.home {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}

.home .l-main {
  display: flex;
  min-height: 0;
}

.l-section {
  padding: 88px 0;
}

.l-section[id] {
  scroll-margin-top: var(--header-height);
}

.l-section--white {
  background: var(--color-white);
}

.l-section--gray {
  background: #fcf9f0;
}

/* ==================================================
   ヘッダー
================================================== */
.l-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  background: var(--header-bg);
}

.l-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(5, 35, 74, 0.08);
}

.l-header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: center;
}

.l-header__nav {
  margin-inline: auto;
}

.p-global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.2vw, 64px);
  list-style: none;
}

.p-global-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 4px;
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.p-global-nav a:hover {
  color: var(--color-ink);
  opacity: 0.68;
}

.c-heading {
  display: grid;
  gap: 14px;
  align-content: start;
  margin-bottom: 42px;
}

.c-heading__ja,
.c-heading__en {
  margin: 0;
}

.c-heading__en {
  color: var(--color-main);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 0.95;
}

.c-heading__ja {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
}

.c-heading__ja::before {
  width: 14px;
  height: 1px;
  content: "";
  background: currentColor;
}

.c-heading>p:not(.c-heading__en) {
  max-width: 620px;
  margin-top: 4px;
  color: var(--color-muted);
}

.c-section-label {
  margin-bottom: 8px;
  color: var(--color-main);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.p-page-hero__title {
  font-size: clamp(1rem, 2vw, 2rem);
  line-height: 1.45;
}

/* ==================================================
   メインビジュアル
================================================== */
.p-hero {
  --hero-radius: clamp(20px, 1.8vw, 40px);
  --hero-frame-inset: clamp(6px, 0.65vw, 12px);
  position: relative;
  display: grid;
  margin: 0 var(--hero-gutter);
  overflow: hidden;
  isolation: isolate;
  place-items: center;
  color: var(--color-white);
  background: var(--color-navy);
  border: 3px solid var(--color-main);
  border-radius: var(--hero-radius);
}

.p-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.48));
}

.p-hero::after {
  position: absolute;
  z-index: 3;
  inset: var(--hero-frame-inset);
  content: "";
  pointer-events: none;
  border: 1px solid rgba(251, 240, 205, 0.65);
  border-radius: calc(var(--hero-radius) - var(--hero-frame-inset) - 2px);
}

.p-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(32px, 4vw, 64px);
  width: 100%;
  padding: clamp(40px, 8vh, 96px) clamp(24px, 5vw, 96px);
  text-align: center;
}

.p-hero__brand {
  width: min(100%, clamp(220px, 25vw, 480px));
  line-height: 1;
}

.p-hero__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-hero__text {
  color: var(--color-white);
  font-size: clamp(1.125rem, 2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.9;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.p-hero__text span {
  display: block;
}

.home .p-hero {
  flex: 1;
  min-height: 0;
  container-type: size;
}

.home .p-hero__content {
  gap: clamp(8px, 5cqh, 64px);
  padding-block: clamp(8px, 7cqh, 64px);
}

.home .p-hero__brand {
  width: min(100%, clamp(160px, 25vw, 480px), 90cqh);
}

.home .p-hero__text {
  font-size: clamp(0.875rem, min(2vw, 5cqh), 2.25rem);
  line-height: 1.7;
}

/* ==================================================
   アクセス
================================================== */
.p-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.p-two-column p:not(.c-heading__en) {
  margin-top: 20px;
}

.p-two-column figure {
  aspect-ratio: 4 / 3;
}

.p-two-column figure img {
  width: 100%;
  height: 100%;
}

.p-access {
  align-items: start;
}

.p-access__address {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.9;
}

.p-access__map {
  width: 100%;
  min-width: 0;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
}

.p-access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==================================================
   下層ページ
================================================== */
.p-page-hero {
  padding: 86px 0 72px;
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(74, 53, 5, 0.92), rgba(216, 141, 11, 0.82)),
    url("../images/pages/company.jpg") center 60% / cover;
}

.p-page-hero__inner {
  display: grid;
  gap: 8px;
}

.p-page-hero .c-section-label {
  color: #fff;
}

.c-info-table {
  margin-top: 56px;
  border-top: 1px solid var(--color-line);
}

.c-info-table--compact {
  margin-top: 24px;
}

.c-info-table dl {
  display: grid;
  grid-template-columns: 180px 1fr;
}

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

.c-info-table dt {
  color: var(--color-main);
  font-weight: 800;
}

/* ==================================================
   フッター
================================================== */
.l-footer {
  color: var(--color-ink);
  background: var(--color-bg);
}

.l-footer__copyright {
  padding-block: 24px;
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  line-height: 1.7;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 860px) {

  body {
    font-size: 14px;
  }

  .l-container {
    width: min(calc(100% - 32px), var(--content-width));
  }

  .l-section {
    padding: 64px 0;
  }

  .p-page-hero__title {
    font-size: 1.5rem;
  }

  .c-heading {
    margin-bottom: 28px;
  }

  .c-heading__en {
    font-size: 4rem;
  }

  :root {
    --header-height: 80px;
  }

  .l-header__inner {
    min-height: var(--header-height);
    gap: 14px;
  }

  .p-global-nav {
    gap: clamp(12px, 3vw, 24px);
  }

  .p-global-nav a {
    font-size: clamp(0.8125rem, 2.8vw, 0.92rem);
  }

  .p-two-column {
    grid-template-columns: 1fr;
  }

  .p-two-column {
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .l-section {
    padding: 54px 0;
  }

  .p-page-hero {
    padding: 64px 0 52px;
  }

  .c-info-table dl {
    grid-template-columns: 1fr;
  }

  .c-info-table dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .c-info-table dd {
    padding-top: 0;
  }
}
:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 4px;
}

.p-not-found {
  text-align: center;
}

.p-not-found p {
  margin-top: 24px;
}

.p-not-found a {
  text-decoration: underline;
}

