@charset "UTF-8";

/* ==========================================================
   株式会社AIU コーポレートサイト
   色や文字サイズを変えたいときは、下の :root の値を書き換えてください
   ========================================================== */

:root {
  --ink:        #23282b;   /* 本文の文字色 */
  --ink-soft:   #5c666c;   /* 補助テキスト */
  --brand:      #2f5d50;   /* メインカラー（深緑） */
  --brand-dark: #234539;
  --accent:     #b08d57;   /* アクセント（真鍮色） */
  --bg:         #ffffff;
  --bg-tint:    #f6f4ef;   /* 生成りの背景 */
  --line:       #e3ded4;
  --shadow:     0 2px 20px rgba(35, 40, 43, .07);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
          "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); }

.wrap { width: min(1080px, 88vw); margin-inline: auto; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}
.logo { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; color: inherit; }
.logo__mark { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .12em; color: var(--brand); }
.logo__name { font-size: .78rem; letter-spacing: .18em; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .87rem;
  letter-spacing: .06em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--accent); }
.nav .btn { border: none; }

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  font-size: .87rem;
  letter-spacing: .06em;
  transition: background .2s;
}
.btn:hover { background: var(--brand-dark); }
.btn--ghost {
  background: transparent;
  color: var(--brand) !important;
  border: 1px solid var(--brand);
}
.btn--ghost:hover { background: var(--brand); color: #fff !important; }
.btn--lg { padding: 1rem 2.4rem; font-size: .95rem; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; }
.hero__img {
  width: 100%;
  height: clamp(380px, 68vh, 620px);
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 30, 26, .62) 0%, rgba(20, 30, 26, .28) 55%, rgba(20, 30, 26, .12) 100%);
}
.hero__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.hero__lead {
  font-size: .8rem;
  letter-spacing: .28em;
  margin: 0 0 1.1rem;
  opacity: .9;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 1.2rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero__text {
  max-width: 30em;
  font-size: clamp(.9rem, 1.6vw, 1rem);
  margin: 0 0 2rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__actions .btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.75); }
.hero__actions .btn--ghost:hover { background: #fff; color: var(--brand) !important; }

/* ---------- セクション共通 ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section--tint { background: var(--bg-tint); }

.section__label {
  font-size: .72rem;
  letter-spacing: .3em;
  color: var(--accent);
  margin: 0 0 .8rem;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 1.4rem;
}
.section__intro { max-width: 34em; color: var(--ink-soft); margin: 0 0 3rem; }
.center { text-align: center; }
.center .section__intro { margin-inline: auto; }

/* ---------- 数字（実績） ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.stat { background: #fff; padding: 2rem 1.2rem; text-align: center; }
.stat__num {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--brand);
  display: block;
}
.stat__num small { font-size: .95rem; margin-left: .15em; }
.stat__label { font-size: .82rem; color: var(--ink-soft); margin: .4rem 0 0; }

/* ---------- 事業内容カード ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow);
}
.card__no {
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .2em;
  color: var(--accent);
  display: block;
  margin-bottom: .9rem;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 .9rem;
  line-height: 1.6;
}
.card p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ---------- ギャラリー ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.shot {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease;
}
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  padding: .9rem 1.1rem 1.1rem;
  font-size: .82rem;
  color: var(--ink-soft);
}
.shot figcaption strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .15rem;
}
.shot--tall { grid-row: span 1; }

/* ---------- 選ばれる理由 ---------- */
.reasons { display: grid; gap: 1.4rem; }
.reason {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.2rem;
  align-items: start;
  background: #fff;
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}
.reason__icon {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--brand);
  line-height: 1.4;
}
.reason h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.reason p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ---------- 会社概要テーブル ---------- */
.profile { width: 100%; border-collapse: collapse; font-size: .93rem; }
.profile th, .profile td {
  text-align: left;
  padding: 1.1rem .4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.profile th {
  width: 11em;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .06em;
}
.profile td { color: var(--ink); }

/* ---------- 提携金融機関 ---------- */
.banks { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.banks li {
  font-size: .82rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: .35rem 1rem;
}

/* ---------- お問い合わせ ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info dl { margin: 0 0 1.8rem; }
.contact-info dt {
  font-size: .74rem;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: .3rem;
}
.contact-info dd { margin: 0 0 1.2rem; font-size: 1rem; }
.contact-info dd a { text-decoration: none; }

.form-embed {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.form-embed iframe { width: 100%; border: 0; display: block; min-height: 760px; }
.form-placeholder {
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: .9rem;
}
.form-placeholder strong { display: block; color: var(--ink); margin-bottom: .6rem; font-size: 1rem; }

/* ---------- CTA帯 ---------- */
.cta {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin: 0 0 1rem;
  line-height: 1.7;
}
.cta p { margin: 0 auto 2rem; max-width: 32em; opacity: .9; font-size: .93rem; }
.cta .btn { background: #fff; color: var(--brand) !important; }
.cta .btn:hover { background: var(--bg-tint); }

/* ---------- フッター ---------- */
.footer {
  background: #1d2422;
  color: rgba(255, 255, 255, .72);
  padding: 3rem 0 2rem;
  font-size: .84rem;
}
.footer__inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer__name { font-family: var(--serif); font-size: 1.15rem; color: #fff; margin: 0 0 .6rem; letter-spacing: .1em; }
.footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer__copy {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: .76rem;
  opacity: .6;
}

/* ---------- スマホ対応 ---------- */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .nav { gap: 1rem; }
  .nav a:not(.btn) { display: none; }   /* スマホではボタンのみ表示 */
  .hero__img { height: 74vh; }
  .profile th, .profile td { display: block; width: auto; }
  .profile th { border-bottom: 0; padding-bottom: 0; }
  .profile td { padding-top: .3rem; }
}
