@charset "UTF-8";
/* =========================================================
   弁理士法人せとうち国際特許事務所 ウェブサイト
   style.css  ―  瀬戸内ブルー／晴天イメージ
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, figure, figcaption, table, th, td {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img, svg { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

/* ---------- Design tokens ---------- */
:root {
  --navy:   #10394f;   /* 深い瀬戸内の海 */
  --blue:   #1f6f96;   /* メインブルー */
  --blue-l: #4a9cc2;
  --sky:    #a8d8ea;   /* 晴天 */
  --pale:   #eef6fa;   /* 薄い水色背景 */
  --paler:  #f7fbfd;
  --ink:    #1e2b32;
  --gray:   #5f7480;
  --line:   #d5e4ec;
  --white:  #ffffff;
  --sun:    #f2b544;   /* 晴れの国のアクセント */

  --mincho: "Zen Old Mincho", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --gothic: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --header-h: 78px;
  --maxw: 1120px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.narrow { width: min(100% - 48px, 860px); margin-inline: auto; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header.is-scrolled,
.header.is-solid {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  width: min(100% - 48px, 1280px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.logo__mark {
  flex: none; width: 42px; height: 42px; object-fit: contain;
  transition: filter .4s var(--ease);
}
.logo__text { font-family: var(--mincho); }
.logo__ja { display: block; font-size: 17px; letter-spacing: .08em; color: var(--navy); }
.logo__en { display: block; font-size: 10px; letter-spacing: .22em; color: var(--blue); font-family: var(--gothic); }
.header.is-hero-top .logo__ja { color: var(--white); }
.header.is-hero-top .logo__en { color: var(--sky); }
/* 濃色背景の上ではロゴを明るく（視認性確保） */
.header.is-hero-top .logo__mark { filter: brightness(1.35) saturate(.95); }

.gnav ul { display: flex; align-items: center; gap: 30px; }
.gnav a {
  position: relative; font-size: 13px; letter-spacing: .14em; color: var(--navy);
  padding-block: 6px; transition: color .3s var(--ease);
}
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header.is-hero-top .gnav a { color: var(--white); }

.lang {
  font-size: 12px; letter-spacing: .12em; color: var(--blue);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 16px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.lang:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.header.is-hero-top .lang { color: var(--white); border-color: rgba(255,255,255,.55); }
.header.is-hero-top .lang:hover { background: var(--white); color: var(--navy); }

/* Hamburger */
.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; position: relative; z-index: 120;
}
.burger span {
  position: absolute; left: 10px; width: 24px; height: 1.5px; background: var(--navy);
  transition: transform .35s var(--ease), opacity .25s var(--ease), background .3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.header.is-hero-top .burger span { background: var(--white); }
.burger.is-open span { background: var(--white); }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 110;
  background: linear-gradient(160deg, var(--navy), var(--blue));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer a {
  color: var(--white); font-family: var(--mincho); font-size: 20px; letter-spacing: .16em;
  padding: 14px 20px;
}
.drawer small { display: block; font-family: var(--gothic); font-size: 11px; letter-spacing: .1em; color: var(--sky); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; color: var(--white);
  background: linear-gradient(180deg, #10394f 0%, #1f6f96 55%, #4a9cc2 100%);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,42,60,.72) 0%, rgba(10,42,60,.35) 55%, rgba(10,42,60,.15) 100%);
}
.hero__inner { position: relative; z-index: 2; width: min(100% - 48px, var(--maxw)); margin-inline: auto; padding-top: var(--header-h); }
.hero__copy {
  font-family: var(--mincho); font-weight: 500;
  font-size: clamp(30px, 5.4vw, 62px); line-height: 1.6; letter-spacing: .1em;
  text-shadow: 0 2px 24px rgba(0,20,35,.35);
}
.hero__copy span { display: block; }
.hero__lead {
  margin-top: 28px; font-size: clamp(13px, 1.5vw, 16px); line-height: 2.2; letter-spacing: .08em;
  max-width: 34em; color: rgba(255,255,255,.92);
}
.hero__en {
  margin-top: 34px; font-size: 11px; letter-spacing: .35em; color: var(--sky);
}
.scrolldown {
  position: absolute; left: 50%; bottom: 28px; z-index: 3; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .28em; color: rgba(255,255,255,.85);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scrolldown::after {
  content: ""; width: 1px; height: 56px; background: rgba(255,255,255,.6);
  animation: scrollline 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollline {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; transform-origin: bottom; }
}

/* ---------- Section common ---------- */
.section { padding-block: clamp(72px, 10vw, 130px); }
.section--pale { background: var(--pale); }
.section--paler { background: var(--paler); }

.sec-head { margin-bottom: clamp(34px, 5vw, 60px); }
.sec-head__en {
  display: block; font-size: clamp(30px, 4.6vw, 52px); font-family: var(--mincho);
  letter-spacing: .1em; color: var(--navy); line-height: 1.2;
}
.sec-head__ja {
  display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: .22em; color: var(--blue);
  position: relative; padding-left: 40px;
}
.sec-head__ja::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 1px; background: var(--blue-l);
}
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__ja { padding-left: 0; }
.sec-head--center .sec-head__ja::before { display: none; }

.lede { font-size: clamp(15px, 1.7vw, 17px); line-height: 2.4; letter-spacing: .05em; }
.lede + .lede { margin-top: 1.8em; }

/* ---------- News / Column ---------- */
.news { border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a, .news .news__row {
  display: grid; grid-template-columns: 140px 1fr; gap: 8px 20px; align-items: start;
  padding: 22px 8px; transition: background .3s var(--ease);
}
.news a:hover { background: rgba(168,216,234,.18); }
.news time, .news__tag {
  font-size: 12px; letter-spacing: .14em; color: var(--blue); padding-top: .45em;
}
.news__title { font-size: 15px; line-height: 1.9; letter-spacing: .04em; }
.news a .news__title { text-decoration: underline; text-decoration-color: rgba(31,111,150,.28); text-underline-offset: 5px; }
.news a:hover .news__title { text-decoration-color: var(--blue); }
.news__src { display: block; font-size: 12px; color: var(--gray); margin-top: 4px; letter-spacing: .04em; }
.news__pdf {
  display: inline-block; margin-left: 8px; font-size: 10px; letter-spacing: .1em;
  border: 1px solid var(--blue-l); color: var(--blue); border-radius: 3px; padding: 1px 7px;
  vertical-align: 2px;
}

.more {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 40px;
  font-size: 13px; letter-spacing: .16em; color: var(--navy);
}
.more::after {
  content: ""; width: 44px; height: 1px; background: var(--navy); transition: width .4s var(--ease);
}
.more:hover::after { width: 64px; }

/* ---------- About ---------- */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start;
}
/* 英語版：引用ブロックが窮屈にならないよう右カラムを広めに */
.about__grid > * { min-width: 0; }
.about__grid--en { grid-template-columns: 0.85fr 1.15fr; }
.about__grid--en .figure-quote { padding: 34px 40px; font-size: 16px; line-height: 2.1; }
.about__fig { position: relative; }
.about__fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }
.about__fig figcaption {
  margin-top: 12px; font-size: 11px; letter-spacing: .1em; color: var(--gray);
}
.sign { margin-top: 46px; font-family: var(--mincho); line-height: 2.1; letter-spacing: .08em; }
.sign strong { display: block; font-weight: 500; font-size: 18px; }
.sign span { display: block; font-size: 14px; color: var(--gray); font-family: var(--gothic); }

/* 役職名の幅を揃えて氏名の先頭を縦に揃える（日本語版の署名） */
.sign--cols { display: grid; grid-template-columns: max-content 1fr; column-gap: 1.4em; }
.sign--cols strong { grid-column: 1 / -1; }
.sign--cols span { display: contents; }
.sign--cols i, .sign--cols b {
  font-style: normal; font-weight: 400;
  font-size: 14px; color: var(--gray); font-family: var(--gothic);
}
.sign--cols i { white-space: nowrap; }

.figure-quote {
  margin-top: 8px; padding: 30px 34px; background: var(--white);
  border-left: 3px solid var(--sky); font-family: var(--mincho);
  font-size: 15px; line-height: 2.2; letter-spacing: .08em; color: var(--navy);
}

/* ---------- Strength cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); padding: 40px 30px; border-radius: 2px;
  box-shadow: 0 1px 3px rgba(16,57,79,.06); border-top: 2px solid var(--sky);
}
.card__no { font-family: var(--mincho); font-size: 12px; letter-spacing: .2em; color: var(--blue-l); }
.card h3 { margin-top: 10px; font-family: var(--mincho); font-size: 19px; letter-spacing: .08em; color: var(--navy); font-weight: 500; line-height: 1.7; }
.card p { margin-top: 14px; font-size: 14px; line-height: 2.1; color: var(--gray); }

/* ---------- Profile ---------- */
.profiles { display: grid; gap: clamp(40px, 6vw, 72px); }
.profile {
  display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 56px); align-items: start;
  padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line);
}
.profiles .profile:last-child { border-bottom: 0; padding-bottom: 0; }
.profile__photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--pale); border-radius: 2px;
}
.profile__role { font-size: 12px; letter-spacing: .2em; color: var(--blue); }
.profile__name {
  margin-top: 8px; font-family: var(--mincho); font-size: clamp(24px, 3vw, 32px);
  font-weight: 500; letter-spacing: .12em; color: var(--navy);
}
.profile__name small { display: block; margin-top: 8px; font-family: var(--gothic); font-size: 12px; letter-spacing: .1em; color: var(--gray); }
.profile__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.profile__tags li {
  font-size: 11px; letter-spacing: .08em; color: var(--blue);
  background: var(--pale); border-radius: 999px; padding: 4px 14px;
}
.profile__body { margin-top: 22px; font-size: 14.5px; line-height: 2.15; letter-spacing: .04em; color: #33454e; }
.profile__body dt { margin-top: 18px; font-size: 12px; letter-spacing: .16em; color: var(--blue); }
.profile__body dd { margin-top: 4px; }

/* ---------- Access ---------- */
.access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.access__addr { font-family: var(--mincho); font-size: clamp(16px, 2vw, 20px); line-height: 2.1; letter-spacing: .08em; color: var(--navy); }
.access__addr small { display: block; font-family: var(--gothic); font-size: 13px; letter-spacing: .06em; color: var(--gray); margin-top: 14px; line-height: 2.2; }
.map-frame { position: relative; width: 100%; aspect-ratio: 4/3; background: var(--pale); border-radius: 2px; overflow: hidden; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 地図中心に事務所の位置マーカーを重ねる */
.map-pin {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%); pointer-events: none;
  width: 40px; height: 40px;
}
.map-pin::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: rgba(31,111,150,.22);
  animation: pinpulse 2.4s ease-out infinite;
}
.map-pin svg {
  position: absolute; left: 50%; bottom: 50%;
  transform: translateX(-50%); width: 30px; height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,20,35,.35));
}
@keyframes pinpulse {
  0%   { transform: scale(.4); opacity: .9; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin::before { animation: none; }
}

.route { margin-top: 34px; }
.route h3 {
  font-size: 13px; letter-spacing: .18em; color: var(--white); font-weight: 500;
  background: var(--blue); display: inline-block; padding: 4px 16px; border-radius: 2px;
}
.route ul { margin-top: 14px; }
.route li {
  position: relative; padding-left: 20px; font-size: 14.5px; line-height: 2.1; color: #33454e;
}
.route li::before {
  content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 1px; background: var(--blue-l);
}
.route .note { font-size: 12.5px; color: var(--gray); padding-left: 20px; }
.route + .route { margin-top: 30px; }

/* ---------- Recruit / generic content page ---------- */
.page-hero {
  position: relative; min-height: 46svh; display: flex; align-items: flex-end;
  padding-block: 60px; color: var(--white);
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 70%, var(--blue-l) 100%);
}
.page-hero__inner { width: min(100% - 48px, var(--maxw)); margin-inline: auto; padding-top: var(--header-h); }
.page-hero__en { font-family: var(--mincho); font-size: clamp(32px, 5vw, 56px); letter-spacing: .1em; line-height: 1.2; }
.page-hero__ja { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .24em; color: var(--sky); }

.job { padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.job:last-of-type { border-bottom: 0; }
.job__title {
  font-family: var(--mincho); font-size: clamp(21px, 2.6vw, 28px); font-weight: 500;
  letter-spacing: .1em; color: var(--navy); display: flex; align-items: center; gap: 16px;
}
.job__title::before { content: ""; width: 26px; height: 2px; background: var(--sun); flex: none; }
.job__note { margin-top: 10px; font-size: 12.5px; letter-spacing: .06em; color: var(--gray); }

.deflist { margin-top: 28px; }
.deflist > div {
  display: grid; grid-template-columns: 190px 1fr; gap: 4px 28px;
  padding: 20px 4px; border-top: 1px solid var(--line);
}
.deflist > div:last-child { border-bottom: 1px solid var(--line); }
.deflist dt { font-size: 13px; letter-spacing: .16em; color: var(--blue); padding-top: .35em; }
.deflist dd { font-size: 14.5px; line-height: 2.1; color: #33454e; }

.contact-box {
  margin-top: 30px; background: var(--pale); padding: 32px 34px; border-radius: 2px;
  font-size: 14.5px; line-height: 2.2; letter-spacing: .04em;
}
.contact-box strong { font-family: var(--mincho); font-weight: 500; font-size: 17px; color: var(--navy); }

/* メールアドレス画像（透過PNG／高解像度を縮小表示） */
.mailimg {
  display: inline-block; height: 1.05em; width: auto;
  vertical-align: -0.22em; margin-left: .1em;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.8); padding-block: 64px 30px; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer .logo__ja { color: var(--white); font-size: 18px; }
.footer .logo__en { color: var(--sky); }
.footer .logo__mark { filter: brightness(1.35) saturate(.95); }
.footer__addr { margin-top: 22px; font-size: 13.5px; line-height: 2.1; letter-spacing: .04em; }
.footer__nav ul { display: grid; gap: 12px; }
.footer__nav a { font-size: 13px; letter-spacing: .14em; transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--sky); }
.copyright {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16);
  font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.55); text-align: center;
}

.pagetop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: grid; place-items: center; opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease); transform: translateY(10px);
  box-shadow: 0 4px 16px rgba(16,57,79,.25);
}
.pagetop.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.pagetop:hover { background: var(--navy); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scrolldown::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about__grid, .about__grid--en, .access__grid, .footer__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 200px 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; }
  .wrap, .narrow, .hero__inner, .header__inner, .page-hero__inner { width: calc(100% - 40px); }
  .gnav, .lang { display: none; }
  .burger { display: block; }
  .news a, .news .news__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
  .news time, .news__tag { padding-top: 0; }
  .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 220px; }
  .deflist > div { grid-template-columns: 1fr; gap: 6px; }
  .figure-quote { padding: 24px 22px; }
  .contact-box { padding: 24px 22px; }
}
