@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&family=Playfair+Display:wght@600&display=swap');

/* ================= 基本設定・カラー変数 ================= */
:root {
  --navy-dark: #0a203e;
  --navy-main: #122c52;
  --navy-hover: #173f73;
  --gold-accent: #c59326;
  --gold-hover: #ae7f1c;
  --gold-light: #e5c158;
  --bg-page: #f5f7fa;
  --bg-th: #f0f4f9;
  --border-light: #dce3ed;
  --border-input: #cbd5e1;
  --text-dark: #222222;
  --text-sub: #4a525d;
  --text-light: #ffffff;
  --placeholder-color: #9aa3af;
  --font-serif-en: 'Cormorant Garamond', Georgia, serif;
  --font-serif-ja: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-script: 'Caveat', cursive;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-page);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

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

.text-link {
  color: var(--navy-main);
  text-decoration: underline;
}

.text-link:hover {
  opacity: 0.75;
}

/* ================= 共通グローバルヘッダー＆ロゴ ================= */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px; /* 16px → 12px に詰めて横幅を確保 */
}

/* アイコン＋テキスト横並びロゴ */
.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0; /* ロゴが押し潰されるのを防止 */
}

.header-logo .logo-icon {
  width: 44px; /* 50px → 44px に微調整してナビの余白を確保 */
  height: auto;
  display: block;
}

.header-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo .logo-main {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 14px;
  font-weight: 600;
  color: #0b1c48;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header-logo .logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 400;
  color: #0b1c48;
  letter-spacing: 0.22em;
  margin-top: 2px;
  white-space: nowrap;
}

/* グローバルナビゲーション（PC・タブレット横並び1行固定） */
.global-nav ul {
  display: flex;
  flex-wrap: nowrap; /* 項目自体の段落ちを禁止 */
  list-style: none;
  gap: 14px;         /* 18px → 14px に調整して1行に収める */
}

.global-nav li {
  flex-shrink: 0;
  line-height: 1.2;
}

.global-nav a {
  display: inline-block;
  font-size: 11.5px;      /* 12px → 11.5px に微調整 */
  font-weight: 700;
  color: var(--navy-main);
  letter-spacing: 0.03em; /* 0.04em → 0.03em に微調整 */
  padding: 4px 0 6px;
  position: relative;
  white-space: nowrap;    /* ★重要：メニュー文字の2行折り返しを禁止 */
}

.global-nav a.current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--gold-accent);
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 12px; /* 14px → 12px に微調整 */
  font-size: 12px;
  flex-shrink: 0;
}

.lang-switch a {
  color: #888;
  font-weight: 700;
}

.lang-switch a.active {
  color: var(--navy-main);
  text-decoration: underline;
}

.lang-switch span {
  color: #ccc;
  margin: 0 2px;
}

.user-links {
  display: flex;
  gap: 10px;
  color: var(--navy-main);
  font-weight: 500;
}

.btn-contact {
  background-color: var(--gold-accent);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12px;
}

.btn-contact:hover {
  background-color: var(--gold-hover);
}

.lang-switch,
.btn-contact,
.nav-utility a {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ================= 共通パーツ（パンくず・バナー・印刷・見出し） ================= */
.breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 濃紺ページタイトルバナー（company / law / privacy / terms / agreements / contact 共通） */
.page-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #173866 100%);
  color: #ffffff;
  padding: 24px 24px 40px;
  border-bottom: 3px solid var(--gold-accent);
}

.page-banner-inner {
  max-width: 960px;
  margin: 0 auto;
}

.page-banner .breadcrumb {
  margin-bottom: 22px;
}

.banner-titles {
  text-align: center;
}

.banner-en {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-accent);
  margin-bottom: 4px;
}

.banner-ja {
  font-family: var(--font-serif-ja);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.banner-meta {
  font-size: 12.5px;
  color: #dce4ef;
}

/* 印刷ボタン（law / privacy / terms / agreements 共通） */
.btn-print {
  flex-shrink: 0;
  background-color: #ffffff;
  border: 1px solid var(--navy-main);
  color: var(--navy-main);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-print:hover {
  background-color: var(--navy-main);
  color: #ffffff;
}

/* セクション見出し（company / law / terms / agreements 共通） */
.section-head {
  border-bottom: 2px solid var(--navy-main);
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head h2 {
  font-family: var(--font-serif-en);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy-main);
  letter-spacing: 0.05em;
}

.section-head p {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-accent);
}

/* ================= 共通フォームパーツ（contact / partner 共通） ================= */
.form-group {
  margin-bottom: 22px;
}

.form-group > label:first-child {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-main);
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-dark);
  background-color: #ffffff;
  border: 1px solid var(--border-input);
  border-radius: 5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--placeholder-color);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy-main);
  box-shadow: 0 0 0 3px rgba(14, 44, 84, 0.12);
}

.form-group textarea {
  resize: vertical;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--navy-main);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy-main);
  cursor: pointer;
}

.privacy-link {
  text-decoration: underline;
  font-weight: 700;
}

.btn-submit {
  width: 100%;
  background-color: var(--navy-main);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background-color 0.25s ease;
}

.btn-submit:hover {
  background-color: var(--navy-hover);
}

.submit-note {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 12px;
}

/* ================= 共通フッター ================= */
.site-footer {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 36px 24px 28px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.footer-logo .logo-main {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.footer-logo .logo-sub {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold-accent);
}

.footer-sns {
  display: flex;
  gap: 12px;
}

.footer-sns a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-links li {
  position: relative;
  font-size: 12px;
  color: #dce4ef;
}

.footer-links li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -14px;
  color: rgba(255, 255, 255, 0.3);
}

.copyright {
  font-size: 11px;
  color: #9fb0c7;
}

/* ================= 共通レスポンシブ＆印刷対応 ================= */
@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 8px;
  }
  .header-logo {
    order: 1;
  }
  .header-utils {
    order: 2;
    gap: 8px;
    font-size: 11px;
  }
  .global-nav {
    display: block !important;
    order: 3;
    width: 100%;
    border-top: 1px solid #eeeeee;
    padding-top: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .global-nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding-bottom: 2px;
  }
  .global-nav li {
    flex-shrink: 0;
  }
  .global-nav a {
    font-size: 11.5px;
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .banner-ja {
    font-size: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-links li::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .user-links {
    display: none;
  }
  .btn-contact {
    padding: 6px 10px;
    font-size: 11px;
  }
}

@media print {
  body {
    background-color: #ffffff;
  }
  .site-header,
  .site-footer,
  .btn-print {
    display: none;
  }
}