/* =========================================
    CSS Custom Properties
    ========================================= */
:root {
  --color-primary: #20a384;
  --color-primary-hover: #178066;
  --color-secondary: #b2dfdb;
  --color-accent-light: #4db6ac;
  --color-bg-light: #f7fcfa;
  --color-bg-accent: #e0f2f1;
  --color-white: #fff;
  --color-danger: #ef4444;
  --color-text-main: #333;
  --color-text-light: #555;
  --color-text-muted: #777;
  --color-text-slate: #64748b;
  --header-height: 80px;
  --container-width: 1200px;
  --section-padding: 100px 0;
  --shadow-default: 0 2px 10px rgba(0, 0, 0, 0.05);
  --border-color-light: #e8e8e8;
  --radius-default: 8px;
  --transition-base: 0.3s ease;
  --transition-spring: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --font-body: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
}

/* =========================================
    Reset & Base
    ========================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.8;
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

/* -------------------------
    ヘッダー
------------------------- */
header {
  margin-bottom: 3rem;
  .logo {
    text-align: center;
    img {
      width: 200px;
      max-width: 70vw;
    }
  }
  .lead {
    font-size: 0.9em;
    text-align: center;
    max-width: 90vw;
    margin-inline: auto;
  }
}

/* -------------------------
    分割コンテナ（メイン領域）
------------------------- */
.split-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* 各セクション共通設定 */
.split-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 100px 20px;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* 背景画像の暗色オーバーレイ */
.split-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.4);
  z-index: -1;
}

/* 背景画像指定 */
.section-corporate {
  background-image: url('img/kc-tob.jpg');
}

.section-personal {
  background-image: url('img/kc-toc.jpg');
}

/* -------------------------
    PC向けレイアウト調整
------------------------- */
@media (min-width: 768px) {
  .split-container {
    flex-direction: row;
  }
  .split-section {
    height: 500px;
  }
}

/* -------------------------
    コンテンツ要素
------------------------- */
.section-title {
  color: #fff;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 3px rgb(0 0 0 / 0.6);
  text-align: center;
}

.outline-btn {
  display: inline-block;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 14px 40px;
  font-size: 18px;
  font-weight: bold;
  background: rgb(0 0 0 / 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.outline-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* -------------------------
    フッター
------------------------- */
footer {
  padding: 20px;
  p {
    text-align: center;
    a {
      color: var(--color-primary);
    }
  }
}