@charset "UTF-8";
/* ==========================================================================
   Axialport — style.css
   デザイン基準：幅 1699px / コンテンツ幅 1246px
   日本語版（/index.html）と英語版（/en/index.html）で共通です。
   ========================================================================== */

/* ---------- 1. 変数 ---------- */
:root {
  --c-navy: #151a59;
  --c-text: #231815;
  --c-line: #817499;
  --c-white: #fff;

  --content: 1246px;
  --gutter: clamp(20px, 4vw, 40px);

  /* 和文：Noto Sans JP（Google Fonts） */
  --ff-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  /* 欧文：Brandon Grotesque（Adobe Fonts／Light 300・Regular 400） */
  --ff-en: "brandon-grotesque", "Brandon Grotesque", var(--ff-ja);

  /* 画面端からコンテンツ端（1246px の枠）までの距離 */
  --side: max(var(--gutter), calc((100cqw - var(--content)) / 2));

  --nav-gap: 56px;
  --nav-fs: 21px;
}

/* ---------- 2. ベース ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

body {
  margin: 0;
  font-family: var(--ff-ja);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .04em;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: inherit; font-size: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* 日本語は文節で改行／和欧間に自動でアキを入れる（対応ブラウザのみ） */
html:lang(ja) :where(h1, h2, h3, p, li, dt, dd) { word-break: auto-phrase; }
html:lang(ja) body { text-autospace: normal; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* main をコンテナにして、--side（100cqw）の基準にします */
main { container-type: inline-size; display: block; }

.l-container {
  width: min(100% - var(--gutter) * 2, var(--content));
  margin-inline: auto;
}

/* 改行の出し分け
   .br-flow … デザイン上の行末。幅が狭い画面では外して自然に折り返します
   .u-sp    … スマホだけで改行 */
@media (max-width: 900px) {
  .br-flow { display: none; }
}
.u-sp { display: none; }
@media (max-width: 600px) {
  .u-sp { display: inline; }
  .u-pc { display: none; }
}

/* 大きな欧文の装飾ワード（About / Business / Services / Message / Company） */
.deco-word {
  position: absolute;
  font-family: var(--ff-en);
  font-weight: 300;
  font-size: clamp(64px, 10vw, 170px);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.deco-word--vertical { writing-mode: vertical-rl; }

/* ラベル（事業内容 / 事業開発領域） */
.label-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 37px 1px;
  border-radius: 999px;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 26px 0 12px;
  color: var(--c-white);
  transition: padding .3s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(21, 26, 89, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(21, 26, 89, .15);
  opacity: 0;
  transition: opacity .3s ease;
}
.site-header.is-scrolled { padding: 12px 0; }
.site-header.is-scrolled::before { opacity: 1; }

.site-header__inner {
  width: min(100% - var(--gutter) * 2, var(--content));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo { flex-shrink: 0; }
.site-header__logo img { width: 183px; }

.global-nav {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  font-family: var(--ff-en);
  font-size: var(--nav-fs);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}
.global-nav__list { display: flex; gap: var(--nav-gap); }

/* 現在地は下線で表示（文字の太さは Regular のまま） */
.nav-link {
  position: relative;
  display: inline-block;
  font-weight: 400;
  white-space: nowrap;
}
.nav-link::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -5px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .3s ease;
}
.nav-link:hover::before,
.nav-link.is-current::before { transform: scaleX(1); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switch__sep { font-weight: 300; }

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 49px;
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-navy);
  letter-spacing: .04em;
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.btn-contact:hover {
  background: transparent;
  color: var(--c-white);
  box-shadow: inset 0 0 0 1.5px var(--c-white);
}

/* ハンバーガー（タブレット・スマホのみ表示） */
.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle__bar {
  position: absolute;
  left: 9px;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle__bar:nth-child(1) { top: 14px; }
.menu-toggle__bar:nth-child(2) { top: 21px; }
.menu-toggle__bar:nth-child(3) { top: 28px; }
.is-menu-open .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-menu-open .menu-toggle__bar:nth-child(2) { opacity: 0; }
.is-menu-open .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1360px) {
  :root { --nav-gap: clamp(20px, 2.6vw, 40px); --nav-fs: 18px; }
  .btn-contact { width: 132px; height: 44px; }
  .site-header__logo img { width: 160px; }
}

@media (max-width: 1024px) {
  .site-header { padding: 14px 0; }
  .site-header.is-scrolled { padding: 10px 0; }
  .site-header__logo { position: relative; z-index: 2; }
  .site-header__logo img { width: 140px; }
  .menu-toggle { display: block; }

  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 80px var(--gutter) 40px;
    background: var(--c-navy);
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    overflow-y: auto;
  }
  .is-menu-open .global-nav { opacity: 1; visibility: visible; }
  .global-nav__list { flex-direction: column; align-items: center; gap: 28px; }
  .btn-contact { width: 200px; height: 52px; }
  html.is-menu-open { overflow: hidden; }
}

/* ==========================================================================
   Hero（Top）
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(600px, 100svh, 930px);
  padding: 128px var(--gutter) 20px;
  overflow: hidden;
  color: var(--c-white);
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 100%;
}
.hero__title {
  font-size: clamp(25px, 4.6vw, 56px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: .05em;
}
.hero__lead {
  margin-top: 24px;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.88;
  letter-spacing: .1em;
}
.hero__logo {
  width: clamp(200px, 23.5vw, 399px);
  margin: 40px auto 0;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  position: relative;
  isolation: isolate;
  padding: 118px 0 144px;
  overflow: hidden;
  text-align: center;
}
.about__word {
  top: -2px;
  right: var(--side);
  z-index: -1;
  color: rgba(21, 26, 89, .1);
}
.about__mark {
  position: absolute;
  top: 45px;
  left: 50%;
  z-index: -2;
  width: min(766px, 88%);
  transform: translateX(-50%);
}
.about__catch {
  color: var(--c-navy);
  font-size: clamp(21px, 3.85vw, 50px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .02em;
}
.about__text {
  margin-top: 31px;
  line-height: 42px;
  letter-spacing: .04em;
}

/* ==========================================================================
   Business（事業内容）
   ========================================================================== */
.business {
  display: grid;
  grid-template-columns: 49.5% 1fr;
  align-items: start;
}
.business__visual {
  position: relative;
  aspect-ratio: 841 / 738;
  overflow: hidden;
  border-radius: 0 40px 44% 0 / 0 40px 50% 0;
}
.business__visual img,
.services__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business__visual img { object-position: 100% 50%; }
.business__word {
  top: 27px;
  right: -.15em;
  color: var(--c-white);
  transform: rotate(180deg);
}
.business__body {
  padding-left: clamp(32px, 4.8vw, 81px);
  padding-right: var(--side);
}
.biz-items { margin-top: 52px; }
.biz-item + .biz-item { margin-top: 40px; }
.biz-item__title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-navy);
  line-height: 60px;
}
.biz-item__en {
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 400;
  letter-spacing: .04em;
}
.biz-item__ja {
  font-size: 19px;
  letter-spacing: .06em;
  line-height: 1.4;
}
.biz-item__text {
  margin-top: 15px;
  line-height: 31px;
}

/* ---------- ご相談ボックス ---------- */
.consult {
  margin-top: 91px;
}
.consult__box {
  width: min(904px, 100%);
  margin-inline: auto;
  padding: 19px 32px 36px;
  border-radius: 28px;
  background: #4f9ad0 url("../images/consult-bg.jpg") 50% 84.5% / cover no-repeat;
  text-align: center;
}
.consult__title {
  color: var(--c-white);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.6;
  letter-spacing: .05em;
}
.consult__list {
  margin-top: 5px;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 35px;
  letter-spacing: .04em;
}

/* ==========================================================================
   Services（事業開発領域）
   ========================================================================== */
.services {
  margin-top: 92px;
  display: grid;
  grid-template-columns: 1fr 42.7%;
  column-gap: clamp(32px, 4.4vw, 75px);
  align-items: start;
}
.services__body { padding-left: calc(var(--side) + 25px); }
.service-list {
  max-width: 627px;
  margin: 37px 0 0 20px;
}
.service-item + .service-item { margin-top: 30px; }
.service-item__title {
  padding: 0 0 0 3px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-navy);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.4;
  letter-spacing: .05em;
}
.service-item__text {
  margin-top: 12px;
  padding-left: 3px;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 30px;
  letter-spacing: .04em;
}
.services__visual {
  position: relative;
  aspect-ratio: 725 / 737;
  overflow: hidden;
  border-radius: 50% 0 0 30px / 50% 0 0 30px;
}
.services__visual img { object-position: 0 0; }
.services__word {
  bottom: 5px;
  left: -.16em;
  color: var(--c-white);
}

/* ==========================================================================
   Message（創業者メッセージ）
   ========================================================================== */
.message {
  position: relative;
  isolation: isolate;
  margin-top: 42px;
  padding: 53px 0 52px;
  overflow: hidden;
  text-align: center;
}
.message__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 95%;
}
.message::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .55);
}
.message__word {
  top: 26px;
  z-index: -1;
  left: max(0px, calc(var(--side) - 40px));
  color: rgba(21, 26, 89, .32);
}
.message__title {
  color: var(--c-navy);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.6;
  letter-spacing: .05em;
}
.message__text {
  margin-top: 18px;
  line-height: 42px;
}
.message__sign {
  margin-top: 40px;
  font-size: 19px;
  line-height: 27px;
}
.message__sign span { display: block; }
.message__sign img {
  width: 211px;
  margin: 15px auto 0;
  transform: translateX(8px);
}
.profile {
  width: min(936px, 100%);
  margin: 44px auto 0;
  padding: 20px 56px 28px;
  border-radius: 28px;
  background: var(--c-white);
  text-align: justify;
  word-break: normal;
}
.profile * { word-break: normal; }
.profile__title {
  color: var(--c-navy);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .05em;
}
.profile__text {
  margin-top: 2px;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 35px;
  letter-spacing: 0;
}

/* ==========================================================================
   Company（会社概要）
   ========================================================================== */
.company { margin-top: 123px; }
.company__box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 106px clamp(24px, 9.6vw, 164px) 136px;
  border-radius: 30px;
  background: linear-gradient(180deg, #c7d9f0 0%, #f5fbfe 100%);
}
.company__word {
  top: -24px;
  left: 18px;
  z-index: -1;
  color: rgba(255, 255, 255, .5);
}
.company-table__row {
  display: grid;
  grid-template-columns: 177px 1fr;
  column-gap: 11px;
}
.company-table dt,
.company-table dd,
.company-table__line {
  padding: 14px 5px 3px;
  border-bottom: 1px solid var(--c-line);
  font-size: 19px;
  line-height: 27px;
  letter-spacing: .06em;
}
.company-table dd:has(.company-table__line) { padding: 0; border-bottom: 0; }
.company-table__line { display: block; }
/* 事業内容の行：左列にも1行目の罫線を引く（デザイン準拠） */
.company-table__row--multi dt {
  background: linear-gradient(var(--c-line), var(--c-line)) 0 44px / 100% 1px no-repeat;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 145px;
  background: var(--c-navy);
  color: var(--c-white);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  gap: clamp(40px, 10.4vw, 176px);
  padding: 45px 0 44px;
}
.site-footer__logo img { width: 291px; }
.site-footer__copy {
  padding-top: 14px;
  font-size: 14px;
  letter-spacing: .06em;
}
.site-footer__copy small { font-size: inherit; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---------- タブレット（横） ---------- */
@media (max-width: 1100px) {
  body { font-size: 16px; }
  .about__text,
  .message__text { line-height: 2.4; }
  .biz-item__text .br-flow { display: none; }
  .company__box { padding-top: 96px; padding-bottom: 80px; }
}

/* ---------- タブレット（縦） ---------- */
@media (max-width: 900px) {
  .business { grid-template-columns: 1fr; }
  .business__visual {
    width: 92%;
    aspect-ratio: 16 / 10;
  }
  .business__body {
    padding: 56px var(--gutter) 0;
    max-width: calc(560px + var(--gutter) * 2);
    margin-inline: auto;
    width: 100%;
  }

  .services { grid-template-columns: 1fr; }
  .services__visual {
    order: -1;
    width: 92%;
    margin-left: auto;
    aspect-ratio: 16 / 10;
  }
  .services__body {
    padding: 56px var(--gutter) 0;
    max-width: calc(647px + var(--gutter) * 2);
    margin-inline: auto;
    width: 100%;
  }
  .service-list { margin-left: 0; }
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  body { font-size: 14px; letter-spacing: .03em; }

  .hero__lead { max-width: 22em; margin-inline: auto; }

  .about { padding: 92px 0 80px; }
  .about__word { top: 0; }
  .about__mark { top: 40px; }
  .about__text { margin-top: 32px; line-height: 2.3; }
  /* 長文はスマホでは左揃えにして、1文字だけの行（例：「ぎ、」）が出ないようにします */
  .about__text,
  .message__text { text-align: left; }

  .business__visual,
  .services__visual { aspect-ratio: 4 / 3; }
  .business__visual { border-radius: 0 24px 44% 0 / 0 24px 50% 0; }
  .services__visual { border-radius: 50% 0 0 20px / 50% 0 0 20px; }
  .business__body,
  .services__body { padding-top: 40px; }
  .label-pill { height: 38px; padding-inline: 28px; font-size: 17px; }
  .biz-items { margin-top: 32px; }
  .biz-item__title { line-height: 1.5; }
  .biz-item__text { line-height: 1.9; }
  .service-list { margin-top: 24px; }
  .service-item + .service-item { margin-top: 22px; }
  .service-item__text { margin-top: 8px; }

  .consult { margin-top: 64px; }
  .consult__box { padding: 20px 20px 28px; border-radius: 20px; }
  .consult__list { margin-top: 10px; line-height: 1.8; text-align: left; }
  .consult__list li { padding-left: 1em; text-indent: -1em; }
  .consult__list li::before { content: "・"; }
  .consult__list li + li { margin-top: 6px; }

  .services { margin-top: 64px; }

  .message { margin-top: 64px; padding: 56px 0; }
  .message__word { color: rgba(21, 26, 89, .16); }
  .message__text { line-height: 2.2; }
  .message__sign { margin-top: 32px; font-size: 15px; line-height: 1.8; }
  .message__sign img { width: 160px; }
  .profile { padding: 20px 20px 24px; border-radius: 20px; text-align: left; }
  .profile__text { line-height: 1.9; }

  .company { margin-top: 72px; }
  .company__box { padding: 72px 20px 48px; border-radius: 20px; }
  .company__word { top: -12px; left: 10px; }
  .company-table__row { grid-template-columns: 1fr; }
  .company-table dt {
    padding: 16px 0 0;
    border-bottom: 0;
    color: var(--c-navy);
    font-size: 13px;
    line-height: 1.6;
  }
  .company-table dd,
  .company-table__line {
    padding: 2px 0 8px;
    font-size: 15px;
    line-height: 1.7;
  }
  .company-table dd:has(.company-table__line) { padding: 0; }
  .company-table__row--multi dt { background: none; }

  .site-footer { margin-top: 72px; }
  .site-footer__inner {
    flex-direction: column;
    gap: 16px;
    padding: 40px 0 32px;
  }
  .site-footer__logo img { width: 200px; }
  .site-footer__copy { padding-top: 0; font-size: 11px; }
}

/* ==========================================================================
   英語版の調整（/en/）
   ========================================================================== */
html:lang(en) body { letter-spacing: .01em; }
/* 英文の Brandon Grotesque は Regular（400）に統一。太字は使いません */
html:lang(en) :is(.hero__title, .about__catch, .consult__title, .message__title,
  .service-item__title, .profile__title, .biz-item__ja, .label-pill) {
  font-family: var(--ff-en);
  font-weight: 400;
  letter-spacing: .02em;
}
html:lang(en) .hero__title {
  font-size: clamp(28px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.25;
}
html:lang(en) .hero__lead { max-width: 40em; margin-inline: auto; letter-spacing: .03em; }
html:lang(en) .about__catch { font-size: clamp(26px, 3.85vw, 54px); }
html:lang(en) .about__text,
html:lang(en) .message__text {
  max-width: 760px;
  margin-inline: auto;
  line-height: 2;
  text-wrap: pretty;
}
html:lang(en) .about__text p + p,
html:lang(en) .message__text p + p { margin-top: 1.4em; }
html:lang(en) .biz-item__ja { font-size: 20px; font-weight: 400; }
html:lang(en) .biz-item__text { max-width: 520px; line-height: 1.75; }
html:lang(en) .consult__title { font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); }
html:lang(en) .consult__list { line-height: 1.8; padding-top: 4px; }
html:lang(en) .service-item__title { font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.5; }
html:lang(en) .service-item__text { line-height: 1.5; }
html:lang(en) .service-item + .service-item { margin-top: 22px; }
html:lang(en) .message__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; }
html:lang(en) .message__sign { font-size: 17px; }
html:lang(en) .profile { text-align: left; }
html:lang(en) .profile__title { font-size: clamp(18px, 1.6vw, 22px); }
html:lang(en) .profile__text { line-height: 1.85; letter-spacing: .01em; }
html:lang(en) .profile__text p + p { margin-top: .8em; }
html:lang(en) .company-table__row { grid-template-columns: 220px 1fr; }
html:lang(en) .company-table__row--multi dt { background: none; }
html:lang(en) .label-pill { letter-spacing: .04em; }
html:lang(en) .company-table dt,
html:lang(en) .company-table dd,
html:lang(en) .company-table__line { font-size: 17px; letter-spacing: .02em; }
@media (max-width: 600px) {
  html:lang(en) .company-table__row { grid-template-columns: 1fr; }
  html:lang(en) .company-table dt { font-size: 13px; }
  html:lang(en) .company-table dd,
  html:lang(en) .company-table__line { font-size: 15px; }
  html:lang(en) .consult__list li::before { content: "– "; }
}
