﻿/* =============================================
   Design Tokens
============================================= */
:root {
  --blue:        #0080d9;
  --blue-grad-t: #53b8ff;
  --blue-grad-b: #0084df;
  --black:       #222;
  --gray-font:   #8b8b8b;
  --gray-line:   #cbcbcb;
  --gray-bg:     #f2f2f2;
  --white:       #fff;
  --contact-top: #f0f9fe;
  --contact-btm: #c4edff;
  --radius-sm:   12px;
  --radius-md:   24px;
  --radius-tl:   120px;
  --container:   1200px;
  --page-pad:    96px;
}

/* =============================================
   Reset / Base
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--black);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
em  { font-style: normal; }

/* =============================================
   Utilities
============================================= */
.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

/* Section heading block */
.section-title { display: flex; flex-direction: column; gap: 12px; }
.section-title.center { align-items: center; }

.section-en {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 4.65vw, 67px);
  line-height: 1;
  color: var(--black);
  font-feature-settings: "palt" 1;
}
.section-en.white { color: var(--white); }

.section-ja {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--blue);
  font-feature-settings: "palt" 1;
}
.section-ja.white { color: var(--white); }

.dot-icon { width: 16px; height: 16px; flex-shrink: 0; }
.dot-icon--white { filter: brightness(0) invert(1); }

.blue { color: var(--blue); }

/* =============================================
   Button variants
============================================= */
/* Solid blue */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  padding: 20px 10px;
  border-radius: 36px;
  width: 240px;
  font-feature-settings: "palt" 1;
  transition: opacity .2s;
}
.btn-solid:hover { opacity: .85; }
.btn-solid--large {
  width: 320px;
  padding: 29px 40px;
  border-radius: 61px;
  letter-spacing: 0.05em;
}

/* Outline blue */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  padding: 19px 40px;
  border-radius: 61px;
  width: 320px;
  font-feature-settings: "palt" 1;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* Outline white (on blue bg) */
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--white);
  color: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  padding: 19px 40px;
  border-radius: 61px;
  width: 320px;
  font-feature-settings: "palt" 1;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.btn-outline-white:hover { background: var(--white); color: var(--blue); }

/* Arrow icons */
.btn-arrow   { width: 16px; height: 32px; object-fit: contain; }
.btn-arrow-s { width: 7px;  height: 13px; object-fit: contain; transform: rotate(180deg); }

/* =============================================
   Header
============================================= */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-logo {
  height: 32px;
  width: 174px;
  object-fit: cover;
}

.header-tagline {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--black);
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav-links {
  display: flex;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.header-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 20px 28px;
  border-radius: 50px;
  white-space: nowrap;
  transition: opacity .2s;
}
.header-contact-btn:hover { opacity: .85; }

/* =============================================
   Hero
============================================= */
.hero {
  position: relative;
  width: 100%;
  /* 1440 × 754 の比率を維持 */
  padding-top: calc(754 / 1440 * 100%);
  overflow: hidden;
  min-height: 480px;
}

/* 背景写真 */
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(267.4deg, rgba(234,247,254,0) 52.35%, rgba(234,247,254,.62) 75.37%);
}

/* 右サイド人物写真 */
.hero-photo-r {
  position: absolute;
  /* Figma: left:1018px, top:0, w:422px, h:754px → % of 1440 */
  right: 0;
  top: 0;
  width: 29.31%;   /* 422/1440 */
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* 左サイド装飾 */
.hero-deco-l {
  position: absolute;
  /* Figma: left:0, top:227px(30.1%), w:260px(18%), h:528px(70%) */
  left: 0;
  top: 30.1%;
  width: 18.06%;
  height: 70.03%;
  object-fit: cover;
  pointer-events: none;
}

/* SUZUMORI ウォーターマーク */
.hero-watermark {
  position: absolute;
  /* Figma: left:calc(50%-697px), top:497px(65.9%) */
  left: calc(50% - 48.4%);   /* 697/1440 ≈ 48.4% */
  top: 65.9%;
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: clamp(80px, 18.06vw, 260px);
  line-height: 1;
  color: transparent;
  background: linear-gradient(180.6deg, rgba(234,247,254,.41) 19.8%, rgba(207,238,255,.41) 80.2%);
  -webkit-background-clip: text;
  background-clip: text;
  mix-blend-mode: screen;
  white-space: nowrap;
  pointer-events: none;
}

/* コピーエリア */
.hero-copy {
  position: absolute;
  /* Figma: left:68px, top:227px */
  left: 4.72%;   /* 68/1440 */
  top: 30.1%;    /* 227/754 */
}

/* 横線装飾（Line33） */
.hero-line-deco {
  width: 168px;
  height: 1px;
  background: url("images/hero-line.svg") center / contain no-repeat;
  margin-bottom: 4px;
  opacity: .6;
}

.hero-h1 {
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.33vw, 48px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--black);
  font-feature-settings: "palt" 1;
  white-space: pre-wrap;
}
.hero-h1 em { color: var(--blue); }
/* "　" indent for second line */
.hero-h1-indent::before { content: "\3000"; }

.hero-tagline {
  /* Figma: left:250px(17.4%), top:377px(50.0%) — 相対位置での差分は 182/1440 ≈ 12.6% right indent */
  margin-top: .5em;
  font-size: clamp(14px, 1.39vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.07em;
  color: var(--black);
  font-feature-settings: "palt" 1;
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(4px, 0.69vw, 14px);
}
.hero-tagline::before {
  display: block;
  content: "";
  width: 100%;
  height: 1px;
  background: var(--black);
}

/* =============================================
   About Us
============================================= */
.about {
  position: relative;
  overflow: hidden;
  /* ヒーロー下端との継ぎ目をなくす */
  padding-top: 120px;
  padding-bottom: 100px;
}

/* セクション全体装飾背景（Group202 画像） */
.about-deco-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: cover;
  object-position: top;
  z-index: 0;
}

/* ヒーロー下端の小カード写真（About 冒頭の右上） */
.about-card-photo {
  position: absolute;
  right: 6%;
  top: 120px;
  width: 18.47%;   /* 266/1440 */
  border-radius: var(--radius-md);
  overflow: hidden;
  z-index: 1;
}
.about-card-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: bottom;
}

.about .container { position: relative; z-index: 1; }

.about-inner {
  display: grid;
  grid-template-columns: 556px 1fr;
  gap: 44px;
  margin-top: 60px;
  align-items: start;
}

/* 写真列 */
.about-photos {
  position: relative;
  /* メイン写真: 568px、サブ写真の最下端: 1409+299-1033=675px */
  height: 680px;
}

.about-photo-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 426px;
  height: 568px;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: bottom;
}

.about-photo-sub {
  position: absolute;
  /* Figma: left:442-120=322px, top:1409-1033=376px */
  left: 322px;
  top: 376px;
  width: 224px;
  height: 299px;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: bottom;
}

/* テキスト列 */
.about-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  padding-top: 40px;
}

.about-h3 {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.22vw, 32px);
  line-height: 1.7;
  color: var(--black);
}
.about-year { display: block; }

.about-text {
  align-self: stretch;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  color: var(--black);
  text-align: justify;
  width: 448px;
  margin-left: 70px;
}

/* =============================================
   Service
============================================= */
.service {
  background: linear-gradient(180deg, var(--blue-grad-t) 0%, var(--blue-grad-b) 80.3%);
  border-radius: var(--radius-tl) 0 0 0;
  padding: 100px 0 0;
}

.service-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Service ヘッダー */
.service-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}

.service-header-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 525px;
}

.service-lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  color: var(--white);
}

/* Service カード共通 */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card-bg {
  position: absolute;
  inset: 24px 0 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  pointer-events: none;
}

.service-card-gradient {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  background: linear-gradient(180deg, #f0f9fe 30.288%, #c4edff 100%);
}

.service-card-mask {
  position: absolute;
  /* カード1は左から(Figma: w:720/1200) */
  top: 0;
  left: 0;
  width: 60%;
  height: calc(100% - 16px);
  margin-top: 16px;
  object-fit: cover;
  pointer-events: none;
  opacity: .85;
}

/* カード2：マスク画像は右側に反転配置 */
.service-card-bg--rev .service-card-mask {
  left: auto;
  right: 0;
  transform: scaleY(-1);
}

.service-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 60px 0;
}

/* カード2のコンテンツは photo → text */
.service-card-content--rev {
  flex-direction: row-reverse;
}

.service-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 0 0 480px;
}

.service-area-label {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--blue);
  line-height: 1;
  font-feature-settings: "palt" 1;
}
.service-area-ja  { font-family: "Noto Sans JP", sans-serif; font-weight: 700; font-size: 14px; }
.service-area-num { font-family: "Lato", sans-serif; font-weight: 700; font-size: 16px; }

.service-card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.22vw, 32px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--black);
  text-align: center;
  max-width: 315px;
  font-feature-settings: "palt" 1;
}

.service-card-body {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  color: var(--black);
  text-align: center;
  width: 100%;
}

.service-card-photo-wrap {
  position: relative;
  flex: 0 0 480px;
  height: 320px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.service-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 102.54%;
  top: -0.07%;
  object-fit: cover;
}

.service-card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(124.8deg, rgba(0,128,217,0) 74.1%, rgba(0,128,217,.5) 97.9%);
}
.service-card-photo-overlay--rev {
  background: linear-gradient(235.2deg, rgba(0,128,217,0) 72.6%, rgba(0,128,217,.74) 96.4%);
}

/* イラスト装飾 */
.service-illust {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 178px;
}
.service-illust img { width: 100%; height: auto; }
/* カード1は左下 */
.service-illust--1 { bottom: 0; left: 0; }
/* カード2は右上 */
.service-illust--2 { top: 0; right: 0; }

/* =============================================
   Online Shop
============================================= */
.shop {
  background: var(--white);
  padding: 100px 0;
}

.shop-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.shop-lead {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--black);
  text-align: center;
  font-feature-settings: "palt" 1;
}

.shop-links {
  display: flex;
  align-items: center;
  gap: 11px;
}

.shop-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 264px;
  height: 117px;
  background: #d9d9d9;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--black);
  font-feature-settings: "palt" 1;
  transition: opacity .2s;
}
.shop-link:hover { opacity: .75; }

/* =============================================
   News
============================================= */
.news {
  border-top: 1px solid var(--gray-line);
  padding: 80px 0 100px;
}

.news-layout {
  display: flex;
  align-items: flex-start;
  gap: 224px;
}

.news-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-line);
}

.news-meta { display: flex; flex-direction: column; gap: 6px; }

.news-date {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: var(--gray-font);
  white-space: nowrap;
}

.news-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--black);
}

.news-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--black);
}

/* =============================================
   Contact
============================================= */
.contact {
  padding: 100px 0;
}

.contact-card {
  position: relative;
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
  height: 390px;
  border-radius: var(--radius-md);
  overflow: hidden;
  /* カードのベース背景 */
  background: linear-gradient(180deg, var(--contact-top) 30.288%, var(--contact-btm) 100%);
}

.contact-deco,
.contact-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Figma: title top 14.1%, actions center 235.5px from top */
  padding: 55px 40px 0;
  gap: 0;
}

.contact-lead {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--black);
  font-feature-settings: "palt" 1;
}

/* メール + 電話 横並び */
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  margin-top: 32px;
}

.contact-tel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.contact-tel-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--black);
  font-feature-settings: "palt" 1;
}

.contact-tel-num {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.36vw, 34px);
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--blue);
  font-feature-settings: "palt" 1;
}

.contact-tel-icon {
  width: 29px;
  height: 29px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-tel-hours {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--black);
  font-feature-settings: "palt" 1;
}

/* =============================================
   Footer
============================================= */
.footer {
  background: var(--gray-bg);
  padding: 80px 0 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  height: 51.249px;
  width: 274.883px;
  object-fit: cover;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.5;
  font-size: 16px;
  font-weight: 500;
  width: 398px;
}

.footer-company {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 56px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gray-line);
  padding: 20px 0;
  font-size: 14px;
  font-weight: 400;
}

.footer-legal { display: flex; gap: 32px; }

.footer-bottom small {
  font-size: 12px;
  font-weight: 400;
}

/* =============================================
   Page Top
============================================= */
.page-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 50;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-top-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-top-label {
  position: relative;
  z-index: 1;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  line-height: 1.2;
  text-align: center;
  font-feature-settings: "palt" 1;
}

/* =============================================
   Responsive
============================================= */
@media (max-width: 1100px) {
  :root { --page-pad: 40px; }

  .about-inner { grid-template-columns: 1fr; }
  .about-photos { height: 400px; }
  .about-photo-main { width: 58%; height: 100%; }
  .about-photo-sub  { left: auto; right: 0; top: auto; bottom: 0; width: 38%; height: 60%; }
  .about-body { align-items: flex-start; }
  .about-text { width: 100%; }

  .service-header { flex-direction: column; align-items: flex-start; }

  .service-card-content,
  .service-card-content--rev { flex-direction: column; padding: 60px 0; gap: 40px; }
  .service-card-text { flex: none; width: 100%; }
  .service-card-photo-wrap { flex: none; width: 100%; height: 240px; }

  .shop-links { flex-wrap: wrap; justify-content: center; }

  .news-layout { flex-direction: column; gap: 40px; }

  .contact-card { height: auto; }
  .contact-inner { padding: 60px 40px 60px; }
  .contact-actions { flex-direction: column; gap: 32px; }

  .footer-top { flex-wrap: wrap; }
  .footer-nav { gap: 24px; }
}

@media (max-width: 768px) {
  .header { padding: 10px 16px; flex-wrap: wrap; justify-content: space-between; }
  .header-tagline { display: none; }
  .header-nav-links a { font-size: 13px; }
  .header-nav { gap: 16px; }

  .hero { padding-top: max(calc(754 / 1440 * 100%), 340px); }
  .hero-photo-r { opacity: .55; width: 44%; }
  .hero-h1 { font-size: clamp(20px, 5.5vw, 36px); }

  .about { padding-top: 80px; }
  .about-card-photo { display: none; }

  .contact-card { width: calc(100% - 2rem); }
  .contact-inner { padding: 48px 24px; }

  .footer-top { flex-direction: column; }
  .footer-logo { width: auto; }
  .footer-info { width: auto; }
  .footer-nav { flex-wrap: wrap; gap: 16px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .page-top { right: 16px; bottom: 16px; width: 60px; height: 60px; }
  .page-top-label { font-size: 12px; }
}

