@charset "UTF-8";

/* =========================================================
   名古屋國際綜合事務所 — Landing Page
   ========================================================= */

:root{
  --navy:        #0d2a48;
  --navy-deep:   #0a2038;
  --ink:         #0a1526;
  --ink-body:    #333c4a;
  --gold:        #b08a5c;
  --gold-light:  #c9a87c;
  --bg:          #f7f8fa;
  --white:       #ffffff;
  --line:        #e6e9ee;

  --wrap: 1000px;
  --pad: 32px;

  /* ゴシック体で統一。CJK のフォールバックも明朝を含めない */
  --font-sans: "Noto Sans TC", "Noto Sans JP", "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic",
               "Microsoft JhengHei", "PingFang TC", "Heiti TC", Meiryo,
               system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img{ display: block; max-width: 100%; height: auto; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
p{ margin: 0; }
h1, h2, h3{ margin: 0; font-weight: 700; line-height: 1.4; }
a{ color: inherit; }

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- scroll reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero__media{
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  z-index: 0;
}
.hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    rgba(255,255,255,.92) 14%,
    rgba(255,255,255,.35) 42%,
    rgba(255,255,255,0) 70%
  );
}

.hero__inner{
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 46px var(--pad) 100px;
}

.hero__eyebrow{
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .09em;
}

.flags{ display: inline-flex; gap: 7px; }
.flag{
  width: 30px;
  height: 20px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}

.hero__title{
  margin: 22px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(38px, 6.4vw, 64px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: .05em;
  color: var(--ink);
}

.hero__tagline{
  margin: 20px 0 0;
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
}

.hero__lead{
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-body);
}

/* =========================================================
   STRENGTH BAND
   ========================================================= */
.band{
  background: var(--navy);
  color: #dfe6ef;
}

.band__list{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.band__item{
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 4px 22px;
}
.band__item + .band__item{
  border-left: 1px solid rgba(255,255,255,.16);
}

.band__icon{
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  margin-top: 4px;
}

.band__title{
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--gold-light);
}

.band__text p{
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #d3dbe6;
}

/* =========================================================
   SECTION TITLE
   ========================================================= */
.section-title{
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 18px;
  font-size: clamp(24px, 3.6vw, 31px);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
  text-align: center;
}
.section-title::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 74px;
  height: 3px;
  background: var(--gold);
}

/* =========================================================
   FEATURES
   ========================================================= */
.features{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 60px var(--pad) 20px;
}

.cards{
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 24px 30px;
  box-shadow: 0 2px 10px rgba(13,42,72,.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(13,42,72,.11);
}

.card__head{
  display: flex;
  align-items: center;
  gap: 14px;
}

.num{
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.card__title{
  font-size: 18px;
  letter-spacing: .05em;
  color: var(--ink);
}

.card__body{
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.card__icon{
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
}

.card__body p{
  font-size: 13.5px;
  line-height: 1.9;
  color: #4a5464;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--pad) 64px;
}

.services__list{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 0 56px;
  padding: 0 26px;
}

.service{
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
}

.service .num{
  width: 27px;
  height: 27px;
  font-size: 11px;
  margin-top: 2px;
}

.service p{
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery{
  display: grid;
  grid-template-columns: 309fr 335fr 352fr;
  gap: 2px;
  background: var(--white);
}
.gallery figure{ margin: 0; overflow: hidden; }
.gallery img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery figure:hover img{ transform: scale(1.05); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  background: var(--navy);
  color: #e7ecf3;
}

.footer__inner{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 46px var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.footer__name{
  font-family: var(--font-sans);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 900;
  letter-spacing: .07em;
  color: var(--white);
}

.footer__slogan{
  margin-top: 14px;
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--gold-light);
}

.contact li{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 7px 0;
  font-size: 15px;
  line-height: 1.7;
}

.contact__icon{
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 4px;
}

.contact a{
  text-decoration: none;
  transition: color .2s ease;
}
.contact a:hover{ color: var(--gold-light); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .band__list{ grid-template-columns: 1fr; gap: 26px; }
  .band__item{ padding: 0; }
  .band__item + .band__item{
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.16);
    padding-top: 26px;
  }
  .band__text br{ display: none; }

  .cards{ grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .footer__inner{ grid-template-columns: 1fr; }
}

@media (max-width: 700px){
  :root{ --pad: 20px; }

  .hero__media{
    width: 100%;
    opacity: .5;
  }
  .hero__media::after{
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,.9) 0%,
      rgba(255,255,255,.72) 60%,
      rgba(255,255,255,.95) 100%
    );
  }
  .hero__inner{ padding: 34px var(--pad) 54px; }
  .hero__eyebrow{ font-size: 15px; }
  .hero__lead br{ display: none; }

  .cards{ grid-template-columns: 1fr; }

  .services__list{
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 0;
    padding: 0;
  }

  .gallery{ grid-template-columns: 1fr; }
  .gallery img{ height: 190px; }
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal{ opacity: 1; transform: none; }
}
