:root {
  /* ==========================================
     1. フォントの変数・基本設定
  ========================================== */
  --font-base: "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  --font-heading: Georgia, "Times New Roman", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Sans JP", "Noto Sans", serif;

  /* ==========================================
     2. カラー変数
  ========================================== */
  /* メインカラー */
  --color-main: #0040c0;

  /* ベース（背景色など） */
  --color-base-light-blue-1: #EDF4FF;
  --color-base-light-blue-2: #D5E5FF;
  --color-base-white: #FFFFFF;

  /* 文字色 / 見出し色 / 装飾など */
  --color-text-dark: #10233F;
  --color-text-sub: #163B73;
  --color-bg-gray: #E9EDF2;
  --color-white: #FFFFFF;

  /* アクセントカラー（お問合せボタンなど） */
  --color-accent: #F28C28;
}

/* ==========================================
   全体適用（Rootのフォント設定を反映）
========================================== */
body,
p,
li,
dt,
dd,
span {
  font-family: var(--font-base);
  color: var(--color-text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.section-title,
.branch-name {
  font-family: var(--font-heading);
}

html,
body {
  color: var(--color-text-dark);
  max-width: 100%;
}

/* ヘッダー全体のスタイル */
.site-header {
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 中身のエリア*/
.header-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 1. 会社ロゴ */
.site-logo img {
  height: auto;
  width: 200px;
  display: block;
}

/* 2. ナビゲーション */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 29px;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text-dark);
  font-weight: bold;
  font-size: 15px;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-main);
}

/* 矢印をつけるリンク要素の設定 */
.main-nav a.has-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a.has-arrow::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
}

.main-nav a.has-arrow:hover::after {
  transform: rotate(225deg);
  margin-top: 3px;
}

/* 右側の機能エリア全体 */
.header-utility {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 言語切り替え (JP | EN) */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: bold;
}

.lang-item {
  color: #999999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-item:hover {
  color: var(--color-main);
}

.lang-item.is-active {
  color: var(--color-text-dark);
}

.lang-divider {
  color: #cccccc;
  font-weight: normal;
  font-size: 12px;
}

.header-cta {
  display: flex;
  align-items: center;
}

.flexbox {
  display: flex;
  gap: 20px;
  align-items: center;
}

.ec-logo img {
  height: auto;
  width: 120px;
  display: block;
  margin-right: 5px;
}

.header-ec-row {
  display: none;
}

.header-top-npshop {
  display: inline-block;
}

/* お問い合わせボタン */
.btn-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 80px;
  padding: 18px;
  background-color: var(--color-accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  transition: opacity 0.2s ease;
}

.btn-contact span {
  color: var(--color-white);
}

.btn-icon {
  font-size: 15px;
}

.btn-contact:hover {
  opacity: 0.85;
  background-color: var(--color-main);
}

.mv {
  width: 100%;
  aspect-ratio: 1920 / 500;
  background-image: url('../k_images/mv.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.en-mv {
  width: 100%;
  aspect-ratio: 1920 / 500;
  background-image: url('../k_images/en-pc-mv.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Information セクション */
.info-section {
  padding: 20px 20px 88px 20px;
  background-color: var(--color-base-light-blue-1);
}

.info-container {
  max-width: 1000px;
  margin: 0 auto;
}

.title-box {
  text-align: center;
}

.gradient-title-en {
  background: linear-gradient(135deg, var(--color-main), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 64px;
  font-weight: bold;
}

.title-jp {
  font-size: 18px;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

/* 白いカード型コンテナ */
.info-card {
  background-color: var(--color-base-white);
  border-radius: 8px;
  padding: 20px 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-bg-gray);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-item:last-child {
  border-bottom: none;
}

.info-date {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-main);
  letter-spacing: 0.05em;
}

.info-title {
  font-size: 15px;
  color: var(--color-text-dark);
  text-decoration: none;
  line-height: 1.6;
  transition: opacity 0.2s ease;
}

.info-title:hover {
  opacity: 0.7;
}

.info-more-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.info-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: bold;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: opacity 0.2s ease;
}

.info-more-btn:hover {
  opacity: 0.7;
}

.arrow-line {
  position: relative;
  width: 40px;
  height: 1px;
  background-color: var(--color-accent);
  display: inline-block;
}

.arrow-line::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--color-accent);
}

/* お問い合わせバナーセクション */
.contact-banner-section {
  position: relative;
  width: 100%;
  height: 600px;
  background-image: url('../k_images/contact.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.contact-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.contact-en-title {
  font-size: 100px;
  font-weight: normal;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.contact-box {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  max-width: 600px;
  margin: 0 auto;
  padding: 30px 120px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  padding: 16px 24px;
  background-color: var(--color-accent);
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.contact-btn .text {
  color: var(--color-white);
}

.contact-btn .arrow {
  color: var(--color-white);
}

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

.contact-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 2px 0 #0d0d0d;
}

.contact-btn .icon {
  margin-right: 12px;
  font-size: 1.1em;
}

.contact-btn .text {
  flex-grow: 1;
  text-align: center;
}

.contact-btn .arrow {
  margin-left: 12px;
  font-weight: bold;
}

.contact-phone-area {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 16px;
}

.phone-label {
  font-size: 12px;
  color: #666666;
}

.phone-number {
  font-size: 24px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  color: var(--color-text-dark);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.phone-number:hover {
  color: var(--color-main);
}

.site-footer {
  background-color: var(--color-text-dark);
  font-size: 12px;
  text-align: center;
  padding: 10px;
}

.site-footer p {
  color: var(--color-white);
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 80px;
  height: 80px;
  background-color: var(--color-main);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
  position: relative;
  z-index: 1001;
}

.hamburger:hover {
  opacity: 0.85;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   会社概要
   =================================== */
.section-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-header {
  background-color: var(--color-base-light-blue-1);
  padding: 40px 20px 60px;
}

.breadcrumb {
  font-size: 13px;
  color: #888888;
  margin-bottom: 25px;
}

.breadcrumb a {
  color: #666666;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 5px;
}

.page-title,
.section-title {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.page-title .en,
.section-title .en {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
  line-height: 1.1;
}

.page-title .jp,
.section-title .jp {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-main);
  margin-top: 10px;
  letter-spacing: 0.05em;
}

/* 会社概要テーブル */

.section-title span {
  font-family: inherit;
  /* 親（h2）のフォント設定をそのまま引き継ぐ */
  display: block;
}

.page-title span {
  font-family: inherit;
  display: block;
}

.company-header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*.company-profile,
.section-IR,
.section-download {
  padding-top: 80px;
}*/

.section-title {
  margin-bottom: 10px;
}

.section-title .en {
  font-size: 36px;
}

.profile-table {
  border-top: 1px solid #f0f0f0;
  margin: 0;
}

.profile-row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  padding: 30px 10px;
}

.profile-row dt {
  width: 250px;
  font-weight: bold;
  font-size: 15px;
  color: var(--color-text-dark);
  flex-shrink: 0;
}

.profile-row dd {
  margin: 0;
  flex-grow: 1;
  font-size: 15px;
  color: var(--color-text-dark);
}

.officer-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.officer-item {
  display: flex;
  gap: 20px;
}

.officer-item .position {
  min-width: 130px;
  display: inline-block;
}

.name-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.officers {
  display: grid;
  grid-template-columns: 300px 1fr;
  margin: 0;
}

.officer-list dt {
  grid-column: 2;
}

.officer-list dt {
  margin: 0 0 10px;
}

/* ===================================
   営業拠点
   =================================== */
.branch-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--color-text-dark);
}

.branch-section .section-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-text-dark);
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 30px;
}

.branch-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 30px;
}

.branch-card {
  display: flex;
  flex-direction: column;
}

.branch-name {
  font-size: 15px;
  font-weight: bold;
  color: var(--color-main);
  margin: 0 0 8px 0;
}

.branch-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #dcdcdc;
  padding: 3px;
  background-color: var(--color-white);
  box-sizing: border-box;
  margin-bottom: 10px;
}

.branch-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-link {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: var(--color-main);
  color: var(--color-white);
  padding: 4px 10px;
  font-size: 11px;
  text-decoration: none;
  font-weight: normal;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.map-link:hover {
  opacity: 0.85;
}

.branch-address {
  font-size: 12px;
  color: var(--color-text-dark);
  margin: 0 0 4px 0;
  line-height: 1.5;
}

.branch-tel {
  font-size: 12px;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.5;
}

/* ===================================
   IR情報/サポート
   =================================== */
.news-list,
.support-list {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.news-item,
.support-item {
  display: grid;
  /* 1列目：日付(固定)、2列目：タイトル(可変)、3列目：PDF(固定) */
  grid-template-columns: 130px 1fr 110px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #eaeaea;
  padding: 16px 0;
}

.news-item dt {
  font-weight: bold;
}

.year {
  text-align: center;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.support-item dt {
  font-weight: bold;
  min-width: 80px;
}

.support-item dd {
  margin: 0;
}

.download-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  padding: 8px 30px;
  background-color: var(--color-main);
  color: var(--color-white) !important;
  /* 文字色 */
  text-decoration: none;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-btn a.pdf {
  display: flex;
  align-items: center; /* 上下中央揃え */
  gap: 8px;            /* アイコンと文字の間隔 */
}

.repair-download {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.repair-download dt {
  font-weight: bold;
}

.download-btn:hover {
  background-color: #0056b3;
  /* ホバー時に少し濃い色にする */
  text-decoration: none;
  transform: translateY(-1px);
}

.download-btn:active {
  transform: translateY(0);
}

.repair-request {
  border-left: 10px solid var(--color-main);
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 5px;
  padding-left: 5px;
}

.repair-contact {
  text-align: center;
  font-weight: bold;
  font-size: 24px;


}

/* ===================================
   メディアクエリ（スマホ・タブレット対応）
   =================================== */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-base-white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    padding: 80px 40px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .global-nav.is-open {
    right: 0;
  }

  .global-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .global-nav a {
    font-size: 16px;
    color: var(--color-text-dark);
    text-decoration: none;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-bg-gray);
  }

  .branch-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .branch-section {
    padding: 20px 15px;
  }

  /* IR */
  @media (max-width: 768px) {
    .news-item {
      grid-template-columns: 1fr;
      gap: 8px;
      padding: 12px 0;
    }

    .news-pdf {
      text-align: left;
    }

    .how-to-movie {
      display: block;
    }

    .how-to-movie .download-btn {
      margin: 10px 0;
    }


  }

  @media screen and (max-width: 425px) {
    .mv {
      background-image: url('../k_images/mv-sp.jpg');
      height: 580px;
    }

    .en-mv {
      background-image: url('../k_images/en-sp-mv.jpg');
      height: 580px;
    }

    .header-utility {
      display: block;
    }

    .header-utility img {
      display: none;
    }

    .lang-divider {
      display: none;
    }

    .ec-logo img {
      display: none;
    }

    .btn-text {
      display: none;
    }

    .flexbox {
      margin-right: 20px;
    }

    .header-ec-row {
      display: block;
      border-top: 1px solid #e0e0e0;
      background-color: var(--color-bg-gray);
      text-align: center;
      padding: 6px 0;
    }

    .header-ec-row a {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      background-color: var(--color-bg-gray);
      text-align: center;
      padding: 6px 0;
    }

    .btn-contact {
      width: 80px;
      padding: 30px;
    }

    .btn-icon {
      width: 20px;
      height: auto;
    }

    .gradient-title-en,
    .contact-en-title {
      font-size: 53px;
    }

    .contact-box {
      padding: 30px 20px !important;
      max-width: 100%;
    }

    .page-header {
      padding: 30px 15px 40px;
    }

    .page-title .en {
      font-size: 32px;
    }

    .section-title .en {
      font-size: 28px;
    }

    .section-inner {
      padding: 40px 15px;
    }

    .profile-row {
      flex-direction: column;
      padding: 20px 5px;
    }

    .profile-row dt {
      width: 100%;
      margin-bottom: 10px;
    }

    .officer-item {
      gap: 10px;
    }

    .officer-item .position {
      min-width: 110px;
      font-size: 14px;
    }

  }
}