@charset "UTF-8";
/* =====================================================================
   Necoglia 統合スタイルシート
   - 企業サイト（/）と 産業医LP（/sangyoui/）共通
   - 変数（:root）でブランドカラーを一元管理
   ===================================================================== */

/* ---------- デザイントークン ---------- */
:root {
  /* ブランドカラー（necoglia.co.jp 実測値に準拠） */
  --navy:        #2f4164;   /* 見出し・濃色（SERVICE/ヒーロー） */
  --ink:         #262626;   /* 標準テキスト（STUDIO実測：ニュートラル） */
  --ink-soft:    #595959;   /* 補助テキスト（ニュートラルグレー） */
  --blue:        #709cf3;   /* メインブルー（CONTACT下端） */
  --blue-light:  #9ebbf4;   /* ライトブルー（CONTACT上端） */
  --blue-pale:   #b9cef5;   /* TEAMパネル */
  --company-bg:  #9db9f2;   /* COMPANYパネル */
  --logo-blue:   #7e93ea;   /* ロゴ */
  --footer-bg:   #e9f2f2;   /* フッター背景 */
  --footer-ink:  #767676;   /* フッター文字 */
  --cyan:        #5ec8df;   /* LPアクセント（水色） */
  --cyan-soft:   #8fd9e8;
  --cyan-pale:   #e5f6f9;   /* LPハイライト背景 */
  --bg:          #fafdfd;   /* ページ背景（ヘッダーと同色） */
  --bg-soft:     #f5fafd;   /* セクション背景 */
  --line:        #e4eaf2;
  --white:       #ffffff;

  /* タイポgrafi（STUDIO準拠：本文=Noto Sans JP / 和文見出し=Zen Maru Gothic / 欧文=Cabin） */
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
          "Yu Gothic", Meiryo, sans-serif;
  --font-round: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Maru Gothic ProN", sans-serif;
  --font-en: "Cabin", "Helvetica Neue", Arial, sans-serif;

  /* レイアウト（STUDIO実測: 横は calc(100% - 80px) で上限 1140px） */
  --maxw: 1220px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(46, 61, 87, .08);
  --shadow-sm: 0 4px 14px rgba(46, 61, 87, .07);
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- 汎用 ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: block; font-size: 14px; letter-spacing: .18em; font-weight: 700;
  color: var(--blue); text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-round);
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 500; color: var(--navy);
  line-height: 1.5; margin-bottom: 14px;
}
.lead { color: var(--ink-soft); font-size: 16px; }
.center { text-align: center; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 700; border: none; cursor: pointer; transition: .2s ease;
  padding: 14px 30px; border-radius: 999px; font-size: 16px; line-height: 1;
}
.btn--primary { background: linear-gradient(0deg, #709cf3 0%, #9ebbf4 100%); color: #fff; border-radius: 40px; }
.btn--primary:hover { transform: translateY(-2px); }
.btn--cta { background: linear-gradient(135deg, var(--cyan), var(--cyan-soft)); color: #fff; font-size: 20px; padding: 20px 56px; box-shadow: 0 12px 26px rgba(94,200,223,.4); }
.btn--cta:hover { transform: translateY(-2px); }

/* =====================================================================
   ヘッダー / フッター（共通）
   ===================================================================== */
.site-header { position: relative; z-index: 50; background: #fafdfd; }
/* ヘッダーは全幅（左右70px）。コンテンツ幅(1140)に縛らない＝STUDIO準拠 */
.site-header .container { max-width: none; display: flex; align-items: center; justify-content: space-between; height: 100px; padding-inline: clamp(20px, 4.8vw, 70px); }
.brand { display: inline-flex; align-items: center; }
.brand img, .brand .brand-img { height: 56px; width: auto; display: block; }
.brand-text { font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 700; color: var(--logo-blue); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav a { font-size: 15px; font-weight: 400; color: #262626; transition: color .2s; }
.nav a:hover { color: var(--blue); }
.nav .btn { padding: 12px 25px; font-size: 16px; }
/* CONTACTボタンの文字は白（.nav a の指定に勝たせる） */
.nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; }

.site-footer { background: var(--footer-bg); }
.site-footer .container { max-width: none; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 36px clamp(20px, 5vw, 70px); }
.site-footer .brand img, .site-footer .brand .brand-img { height: 40px; }
.site-footer .nav { gap: 24px; }
.copyright { text-align: center; color: var(--footer-ink); font-size: 12px; padding-bottom: 28px; }

/* =====================================================================
   企業サイト（トップページ）
   ===================================================================== */
/* ヒーロー */
.hero { position: relative; overflow: hidden; background: var(--bg); min-height: 700px; display: block; }
.hero__photo {
  /* 実サイト準拠：全幅・cover・中央。写真の左が明るくテキストが読めるため白フェードは不要 */
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: #dfeaf6 center center / cover no-repeat;
}
.hero .container { position: relative; z-index: 2; max-width: none; padding-inline: clamp(20px, 4.8vw, 70px); padding-top: 208px; padding-bottom: 40px; }
.hero__copy { max-width: 620px; }
.hero__title { font-family: var(--font-round); font-size: clamp(32px, 8.2vw, 52px); font-weight: 700; color: var(--navy); line-height: 1.5; letter-spacing: .08em; }
.hero__sub { font-family: var(--font-en); margin-top: 28px; font-size: clamp(15px, 1.4vw, 20px); color: #56658a; letter-spacing: .04em; line-height: 1.7; }

/* イントロ */
.intro { position: relative; overflow: hidden; }
.intro__bg { position: absolute; left: 50%; top: 55%; transform: translate(-50%,-50%); width: min(1140px, 94%); aspect-ratio: 1140 / 748; background: url(../assets/img/corp/molecule.webp) center/contain no-repeat; opacity: .5; z-index: 0; pointer-events: none; }
.intro .container { position: relative; z-index: 1; }
.intro__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.intro__title { font-family: var(--font-round); font-size: clamp(24px,2.8vw,32px); font-weight: 500; color: var(--navy); line-height: 1.7; letter-spacing: .04em; }
.intro__body p { margin-bottom: 18px; }

/* サービス */
.svc-label { font-family: var(--font-en); font-size: clamp(34px, 4.4vw, 42px); font-weight: 600; color: var(--navy); letter-spacing: .08em; margin-bottom: 36px; }
.service__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.service-item { margin-bottom: 38px; }
.service-item h3 { font-family: var(--font-round); font-size: 22px; font-weight: 500; color: var(--navy); padding-left: 16px; border-left: 6px solid var(--blue-light); margin-bottom: 14px; line-height: 1.4; }
.service-item p { color: var(--ink-soft); }
.service__art img { margin-inline: auto; }
.show-more { display: inline-flex; align-items: center; gap: 14px; color: var(--blue); font-weight: 600; font-family: var(--font-en); }
.show-more .circle { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--blue),var(--blue-light)); display: grid; place-items: center; color:#fff; }

/* TEAM / COMPANY カード（STUDIO準拠：左テキスト・右イラスト・角丸/影なし） */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.card { position: relative; min-height: 380px; padding: 48px clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; }
.card--team { background: var(--blue-pale); }
.card--company { background: var(--company-bg); }
.card > h2, .card > p, .card > .circle { position: relative; z-index: 2; }
.card > h2, .card > p { max-width: 48%; }
.card h2 { font-family: var(--font-en); font-size: 34px; font-weight: 600; letter-spacing: .04em; }
.card p { margin-top: 12px; font-size: 15px; }
.card .circle { margin-top: 28px; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--navy); font-size: 22px; }
.card__art { position: absolute; right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); width: 46%; max-width: 300px; max-height: 78%; object-fit: contain; z-index: 1; opacity: 1; }

/* CONTACT（Googleフォーム埋め込み） */
.contact { background: var(--bg); }
.contact__frame { max-width: 920px; margin: 32px auto 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding: 40px; }
.contact__frame iframe { width: 100%; border: 0; display: block; }
.contact__frame .hs-form, .contact__frame form.hs-form { width: 100%; }
.contact__note { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 16px; }

/* =====================================================================
   下層ページ（service / team / company）
   ===================================================================== */
.page-hero { text-align: center; padding: 70px 0 48px; }
.page-hero__en { font-family: "Montserrat", var(--font-en); font-size: clamp(46px, 8vw, 80px); font-weight: 300; color: var(--navy); letter-spacing: .06em; line-height: 1.1; }
.page-hero__ja { margin-top: 10px; color: var(--ink-soft); font-size: 15px; letter-spacing: .1em; }

/* サービス詳細 */
.svc-block { margin-bottom: 40px; }
.svc-block > h2 { font-family: var(--font-round); font-size: clamp(26px,3vw,32px); font-weight: 500; color: var(--navy); padding-left: 16px; border-left: 6px solid var(--blue-light); margin-bottom: 24px; line-height: 1.4; }
/* 中見出し・小見出し（メディカルPR / 産業医サービス） */
.svc-midtitle { font-family: var(--font-round); font-size: clamp(18px, 2.2vw, 23px); font-weight: 500; color: var(--navy); margin: -8px 0 12px; }
.svc-lead { color: var(--ink-soft); font-size: 16px; margin-bottom: 28px; max-width: 940px; }
/* サービス詳細ページへの導線ボタン（右寄せ矢印付き） */
.svc-more { margin-top: 28px; }
.svc-more .btn { gap: 10px; }
/* 顧問サービス／データ処理：左テキスト＋右イラスト */
.svc-intro { display: grid; grid-template-columns: 1fr .9fr; gap: 48px; align-items: center; }
.svc-intro__art img { margin-inline: auto; max-width: 100%; }
.svc-block > p { color: var(--ink-soft); margin-bottom: 22px; }
.svc-sub { margin-bottom: 22px; }
.svc-sub h3 { font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.svc-sub p { color: var(--ink-soft); font-size: 15px; }
.svc-note { font-size: 13px; color: var(--ink-soft); line-height: 1.9; }

/* フロー行（見出し＋アイコン｜本文）＋罫線 */
.flow-group { border-top: 1px solid #d8dfe8; }
.flow-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 44px 0; border-bottom: 1px solid #d8dfe8; align-items: center; }
.flow-row__head { text-align: center; }
.flow-row__head h3 { font-family: var(--font-round); font-size: clamp(20px,2.4vw,24px); font-weight: 500; color: var(--navy); margin-bottom: 18px; }
.flow-row__head img { width: 96px; height: auto; margin: 0 auto; display: block; }
.flow-row__body p { color: var(--ink-soft); font-size: 15px; margin-bottom: 10px; }
.flow-row__body .svc-note { margin-top: 10px; }
@media (max-width: 760px){ .svc-intro, .flow-row { grid-template-columns: 1fr; } }

/* 会社概要テーブル */
.info-table { max-width: 760px; margin: 0 auto; }
.info-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 22px 6px; border-bottom: 1px solid var(--line); }
.info-row dt { color: var(--ink); font-weight: 500; font-size: 16px; }
.info-row dd { margin: 0; color: var(--ink); line-height: 1.8; }

/* メンバー紹介 */
.member { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; max-width: 920px; margin: 0 auto; }
.member__photo img { border-radius: 8px; width: 100%; }
.member__role { color: var(--ink-soft); font-weight: 500; font-size: 13px; }
.member__name { font-family: var(--font-round); font-size: 26px; font-weight: 500; color: var(--navy); margin: 6px 0 2px; }
/* TEAMバナー */
.team-banner { margin-top: 64px; }
.team-banner img { width: 100%; border-radius: 8px; display: block; }
.member__en { color: var(--ink-soft); letter-spacing: .12em; font-size: 14px; margin-bottom: 18px; }
.member__bio p { color: var(--ink-soft); font-size: 15px; margin-bottom: 12px; }
@media (max-width: 720px){
  /* メンバー：写真を左にフロートし、氏名は横・経歴は下へ回り込む（STUDIOモバイル準拠） */
  .member { display: block; }
  .member__photo { float: left; width: 130px; margin: 4px 20px 12px 0; }
  .member__photo img { width: 130px; max-width: 130px; }
  .member__bio { clear: both; padding-top: 4px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
}

/* =====================================================================
   産業医LP（/sangyoui/）
   ===================================================================== */
.lp { color: var(--ink); }
.lp .lp-cta-fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.95); box-shadow: 0 -4px 20px rgba(46,61,87,.12); padding: 12px; display: none; justify-content: center; }
.lp .lp-cta-fixed .btn--cta { font-size: 17px; padding: 15px 40px; }

/* LPヒーロー */
.lp-hero { position: relative; background: linear-gradient(180deg,#eaf8fb 0%, #ffffff 100%); overflow: hidden; }
.lp-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 56px 0 64px; }
.lp-hero__badges { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.lp-badge { background: linear-gradient(135deg,#8fd9e8,#5ec8df); color: #fff; font-weight: 700; font-size: clamp(24px,3.6vw,40px); padding: 8px 22px; border-radius: 12px; line-height: 1.35; box-shadow: 0 6px 16px rgba(94,200,223,.3); }
.lp-hero__lead { margin-top: 22px; font-size: 17px; color: var(--ink); }
.lp-hero__art { position: relative; }
.lp-hero__art img { margin-inline: auto; }
.lp-hero__cta { margin-top: 30px; }

/* セクション見出し（LP） */
.lp-sec { padding: 72px 0; }
.lp-sec__eyebrow { display:block; text-align:center; color: var(--cyan); font-weight:700; letter-spacing:.18em; text-transform: uppercase; margin-bottom: 8px; }
.lp-sec__title { text-align: center; font-size: clamp(23px,3.2vw,32px); font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 44px; }
.lp-sec__title .hl { background: linear-gradient(transparent 60%, var(--cyan-pale) 60%); padding: 0 .15em; }

/* お悩み */
.troubles { background: var(--cyan-pale); }
.troubles__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.trouble { background: #fff; border-radius: 18px; padding: 30px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.trouble__icon { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; background: var(--cyan-pale); display: grid; place-items: center; }
.trouble__icon img { width: 56px; height: 56px; }
.trouble h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.trouble p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

/* 解決 */
.solutions__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.solution { text-align: center; }
.solution__icon { width: 130px; height: 130px; margin: 0 auto 14px; }
.solution h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.solution p { font-size: 13.5px; color: var(--ink-soft); }

/* 使える産業医（サービス一覧） */
.services { background: var(--bg-soft); }
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 940px; margin-inline: auto; }
.service-tag { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-sm); }
.service-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); flex: none; }

/* 理由 */
.reasons__list { display: grid; gap: 22px; max-width: 920px; margin-inline: auto; }
.reason { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: center; background: #fff; border-radius: 16px; padding: 24px 28px; box-shadow: var(--shadow-sm); }
.reason__no { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg,var(--cyan),var(--cyan-soft)); color:#fff; font-size: 26px; font-weight: 700; display: grid; place-items: center; }
.reason h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.reason p { font-size: 14.5px; color: var(--ink-soft); }

/* 紹介 */
.doctor { background: var(--cyan-pale); }
.doctor__card { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; background: #fff; border-radius: 20px; padding: 40px; max-width: 880px; margin-inline: auto; box-shadow: var(--shadow); }
.doctor__photo img { border-radius: 16px; }
.doctor__role { color: var(--cyan); font-weight: 700; letter-spacing: .1em; }
.doctor__name { font-size: 26px; font-weight: 700; color: var(--navy); margin: 6px 0 16px; }
.doctor__name span { font-size: 15px; color: var(--ink-soft); margin-left: 10px; font-weight: 500; }
.doctor__body { font-size: 15px; color: var(--ink-soft); }

/* LP CTA帯 */
.lp-cta { background: linear-gradient(135deg,#5ec8df,#8fd9e8); color: #fff; text-align: center; padding: 64px 0; }
.lp-cta h2 { font-size: clamp(22px,3vw,30px); font-weight: 700; margin-bottom: 10px; }
.lp-cta p { margin-bottom: 26px; opacity: .95; }
.lp-cta .btn { background: #fff; color: var(--cyan); }
.lp-cta .btn:hover { transform: translateY(-2px); }

/* LP フォーム埋め込み */
.lp-form__frame { max-width: 760px; margin: 0 auto; background:#fff; border-radius: var(--radius); box-shadow: var(--shadow); min-height: 300px; }
.lp-form__frame iframe { width: 100%; border: 0; display: block; }
.lp-form__frame .hs-form { font-family: var(--font); }
.lp-form__frame .hs-input { width: 100%; box-sizing: border-box; }

/* =====================================================================
   レスポンシブ
   ===================================================================== */
@media (max-width: 900px) {
  /* ヘッダー：ハンバーガー表示 */
  .site-header .nav { display: none; }
  .site-header .nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: absolute; top: 100px; right: clamp(20px, 4.8vw, 70px); background: #fff; padding: 20px 24px; border-radius: 14px; box-shadow: var(--shadow); z-index: 60; }
  .nav-toggle { display: block; }

  /* ヒーロー：コピーを上に、写真を下へ全幅で回り込ませる（STUDIOモバイル準拠） */
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero .container { order: 1; padding-inline: clamp(24px, 5.2vw, 40px); padding-top: 40px; padding-bottom: 40px; }
  .hero__copy { width: 100%; max-width: 100%; padding: 0; margin-left: 0; }
  .hero__title { line-height: 1.5; }
  /* モバイルは画像本来の比率で全体を表示（cover無切り抜き）＝男女が中央に収まる */
  .hero__photo { order: 2; position: static; width: 100%; height: clamp(380px, 78vw, 560px); background-position: 98% center;
    -webkit-mask-image: linear-gradient(to top, #000 95%, transparent 100%); mask-image: linear-gradient(to top, #000 95%, transparent 100%); }
  .hero__photo::after { display: none; }

  /* 1カラム化 */
  .intro__grid, .service__grid, .lp-hero__inner { grid-template-columns: 1fr; }
  .intro__grid { gap: 28px; }
  .intro__title { text-align: center; }
  .intro__bg { opacity: .35; }
  .service__art { order: -1; }
  .service__art img { max-width: 420px; }

  .cards, .troubles__grid, .solutions__grid { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .doctor__card { grid-template-columns: 1fr; text-align: center; }
  .doctor__photo img { margin-inline: auto; max-width: 240px; }
  .lp .lp-cta-fixed { display: flex; }

  /* フッター：中央寄せ・縦並び */
  .site-footer .container { flex-direction: column; justify-content: center; text-align: center; gap: 20px; padding: 40px 24px 8px; }
  .site-footer .nav { flex-direction: column; align-items: center; gap: 18px; }
}
@media (max-width: 560px) {
  .section, .lp-sec { padding: 56px 0; }

  /* TEAM/COMPANYカード：1カラム・高さ調整 */
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 200px; padding: 32px clamp(24px, 6vw, 40px); }
  .card > h2, .card > p { max-width: 60%; }
  .card__art { width: 42%; max-width: 190px; }

  .troubles__grid, .solutions__grid, .services__grid { grid-template-columns: 1fr; }
  .reason { grid-template-columns: 52px 1fr; gap: 16px; padding: 20px; }
  .reason__no { width: 52px; height: 52px; font-size: 22px; }
}

/* 400px以下：メインビジュアルの左をさらにカットして男女を中央に寄せる */
@media (max-width: 400px) {
  .hero__photo { background-position: 100% center; height: clamp(360px, 96vw, 420px); }
}
