@charset "UTF-8";
/* =========================================================
   Base Settings (Color Palette & Senior-Friendly Typography)
========================================================= */
:root {
  --color-primary: #388c84;
  --color-secondary: #eef5f3;
  --color-accent: #4b928f;
  --color-text: #333333;
  --color-text-light: #5c736b;
  --color-bg: #ffffff;
  --color-white: #ffffff;
  --border-radius: 8px;
  --bg-light: #fcfbf9;
  --border-color: #dbeae6;
}

body {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--color-text);
  background-color: var(--bg-light);
  font-size: 18px; 
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* 共通のインナーコンテナ */
.fv-container,
.sitemenu-inner,
.summary-inner,
.history-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   Screen 1: First View
========================================================= */
.fv-section {
  background-color: var(--color-secondary);
  padding: 60px 0;
}
.fv-columns {
  display: flex;
  align-items: center;
  gap: 40px;
}
.fv-content {
  flex: 1.2;
}
.fv-sub {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-light);
  margin-bottom: 10px;
}
.fv-title {
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--color-primary);
  word-break: keep-all;
}
.fv-title span {
  font-size: 0.6em;
  display: block;
  margin-bottom: 5px;
}
.fv-catch {
  font-size: 20px;
  margin-bottom: 0;
}
.fv-image {
  flex: 1;
}
.fv-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* =========================================================
   Site Menu (全幅カラー背景 ＋ ホバー時背景色 ＋ 高さ揃え)
========================================================= */
.sitemenu-section {
  /* メニュー帯の背景をメインカラー（濃い緑）にする */
  background-color: var(--color-primary); 
  padding: 30px 20px; 
  border-top: none;
}

.sitemenu-inner {
  display: flex;
  flex-wrap: wrap;
  /* 上下左右の隙間（ギャップ）。ホバー時の背景がくっつかないようにする */
  gap: 10px 0; 
  padding: 0;
  /* Flexboxで、行内のすべてのアイテムの高さを揃える */
  align-items: stretch; 
}

.sitemenu-inner div {
  /* PC表示: 幅を20%（5等分）に。 */
  flex: 0 0 20%; 
  box-sizing: border-box;
  /* ★ここが重要：親divの高さを100%に広げ、子(a)に継承させる準備 */
  display: flex; 
}

.sitemenu-inner div a {
  /* ★ここが重要：aタグ自体をflexにして、親divいっぱいに高さを広げる */
  display: flex;
  flex: 1; /* 親(div)の幅・高さいっぱいに広がる */
  align-items: center; /* 上下中央揃え */
  justify-content: center; /* 左右中央揃え */
  
  padding: 15px 10px;
  /* 通常時は文字色を白、背景色は透明（透明な枠がある状態） */
  color: var(--color-white);
  background-color: transparent; 
  
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 4px; /* ホバー時の背景の角丸 */
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  line-height: 1.4;
}

/* ホバー時（マウスカーソルを乗せた時）の動き */
.sitemenu-inner div a:hover {
  /* ホバー時に背景を白、文字を緑にする */
  background-color: var(--color-white);
  color: var(--color-primary);
  text-decoration: none;
}
/* =========================================================
   Company Summary & History (共通スタイル)
========================================================= */
#summary{
background-color: #D5EFEE;
}
.summary-section,
.history-section {
  padding: 60px 0;
}
.summary-title,
.history-title {
  text-align: center;
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 40px;
  color: var(--color-primary);
  font-weight: bold;
}

/* =========================================================
   Tables (.table_design01, .table_design04)
========================================================= */
.table_design01,
.table_design04 {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border-radius: var(--border-radius);
  overflow: hidden; /* 角丸を適用するため */
}
.table_design01 th,
.table_design01 td,
.table_design04 th,
.table_design04 td {
  padding: 20px;
  border: 1px solid var(--border-color);
  font-size: 16px;
  vertical-align: top;
}
.table_design01 th,
.table_design04 th {
  background-color: #f8fbfa;
  width: 25%;
  font-weight: bold;
  color: #3b574f;
  text-align: left;
}
/* テーブル内のリスト */
.table_design01 td ul,
.table_design04 td ul {
  margin: 0;
  padding-left: 1.5em;
}
.table_design01 td ul li,
.table_design04 td ul li {
  margin-bottom: 5px;
}
.table_design01 td ul li:last-child,
.table_design04 td ul li:last-child {
  margin-bottom: 0;
}

/* 登録商標記号の微調整 */
.reg {
  font-size: 0.8em;
  vertical-align: super;
}

/* =========================================================
   Media Queries (Mobile)
========================================================= */
@media (max-width: 768px) {
/* --- メニュー部分のスマホ用調整（2列） --- */
  .sitemenu-section {
    padding: 20px 15px; 
  }
  .sitemenu-inner {
    /* スマホ時は縦の隙間を少し広げる */
    gap: 10px 0; 
  }
  .sitemenu-inner div {
    /* スマホ画面では2列（50%） */
    flex: 0 0 50%; 
  }
  .sitemenu-inner div a {
    padding: 12px 5px;
    font-size: 14px;
  }
  .fv-columns {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .fv-title {
    font-size: 28px;
  }
  .table_design01 th,
  .table_design01 td,
  .table_design04 th,
  .table_design04 td {
    display: block;
    width: 100%;
  }
  .table_design01 th,
  .table_design04 th {
    border-bottom: none;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px;
  }
  .table_design01 td,
  .table_design04 td {
    padding: 15px;
    margin-bottom: 10px; /* 見出しと内容のセット間に余白 */
  }
  /* スマホでのみ、各行を独立したカードのように見せる */
  .table_design01 tr,
  .table_design04 tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
  }
  .table_design01, .table_design04 {
      border: none;
      box-shadow: none;
      background: transparent;
  }
  .table_design01 tr th, .table_design01 tr td,
  .table_design04 tr th, .table_design04 tr td{
      border: none;
  }
}
/* =========================================================
   privacy
========================================================= */
#privacy p{
margin: .5em 0;
}
#privacy ol li{
margin-bottom: .5em;
}
#privacy_company p{
margin: 0;
}