/* =====================================
   :root + 基本スタイル（旧base.css統合）
   FFFFFFテーマ用 共通定義
====================================== */

:root {
  /* === カラー定義 === */
  --color-main: #222222;
  --color-sub: #666666;
  --color-white: #ffffff;
  --color-gray: #F9F9F9;

  /* === フォント === */
  --font-base: 'Noto Sans JP', 'Roboto', sans-serif;

  /* === フォントサイズ === */
  --font-size-base: 1.6rem; /* 16px */
  --font-size-sm: 1.4rem;
  --font-size-lg: 2rem;
  --font-size-xl: 2.8rem;

  /* === スペーシング === */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;

  /* === ボーダーなど === */
  --border-radius: 4px;
  --transition-default: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-main);
  background-color: var(--color-white);
}

.image-pc {
  display: none;
}
.image-sp {
  display: block;
}
@media (min-width: 900px) {
  .image-sp {
  display: none;
}
.image-pc {
  display: block;
}
}


/* =========================
   Typography
========================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 1em;
}

h1 { font-size: var(--font-size-xl); }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.4rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

p {
  margin-bottom: 1.6em;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

small {
  font-size: 1.2rem;
}

/* =========================
   Links
========================= */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-default);
}

a:focus {
  opacity: 0.7;
  text-decoration: underline;
}

/* =========================
   Lists
========================= */
ul, ol {
  padding-left: 2em;
  margin-bottom: 1.6em;
}

dl dt {
  font-weight: bold;
}

dl dd {
  margin-bottom: 1em;
  margin-left: 1.6em;
}

/* =========================
   Images
========================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Tables
========================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
  font-size: var(--font-size-sm);
}

th, td {
  padding: 1rem;
  border: 1px solid #ddd;
  text-align: left;
}

/* =========================
   Forms
========================= */
input, textarea, select, button {
  font-family: inherit;
  font-size: var(--font-size-base);
  color: inherit;
}

input, textarea, select {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
}

.button {
  display: inline-block;
  padding: 0.8rem 8rem;
  border: 1px solid var(--color-main);
  color: var(--color-main);
  font-size: var(--font-size-sm);
  text-align: center;
  text-decoration: none;
  transition: var(--transition-default);
}

.button:hover {
  background: var(--color-main);
  color: var(--color-white);
}

.circle-button span {
  position: relative;
  display: inline-block;
  padding: 9px 70px 0 0;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}
.circle-button span::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border: 1px solid #111;
  border-radius: 50%;
}

.circle-button span::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 16px;
  width: 39px;
  height: 4.7px;
  background: url(../images/btn-arrow.svg) 0 0 no-repeat;
  background-size: 39px 4.7px;
}

.circle-button span::before,
.circle-button span::after {
  transition: all 0.3s ease;
}

.circle-button:hover span::before {
  width: 40px;
  height: 40px;
}

.circle-button:hover span::after {
  right: 11px; /* 通常16px → 11pxにすると5px右に動く */
}

/* =========================
   Others (HR, etc.)
========================= */
hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2em 0;
}
/* =========================
   Utility Classes
========================= */

.bg-white {
  background-color: var(--color-white);
}
.text-align--r {
  text-align: right;
}