/* ==========================================================
   Reset / Base
========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
li {font-size: 13px; font-weight: bold; margin-left: 6px;}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; border: none; background: none; cursor: pointer; }
details summary { cursor: pointer; }
.red {color:brown;}
.green {color: #00a99d;}
.blue {color: #008fb3;}
.kon {color: #003b9a;}
.white {color: #ffffff;}
:root {
  --color-main: #101010;
  --color-main-dark: #000000;
  --color-text: #333333;
  --color-darkgray-bg: #101010;
  --color-gray-bg: #4e4e4e;
  --color-light-bg: #ececec;
  --color-dark: #1a1a1a;
  --header-h: 64px;
  --header-h-pc: 80px;
  --container-w: 980px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--color-text);
  line-height: 1.8;
  font-size: 15px;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* placeholder box (for images the user will replace later) */
.ph-box {
  background: #e6e6e6;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* ==========================================================
   Header
========================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: #fff;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform 0.4s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.header__logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

/* nav (desktop) */
.header__nav {
  display: none;
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: 24px;
}
.header__nav-list a {
  font-size: 13px;
  white-space: nowrap;
  position: relative;
  transition: color 0.25s;
}
.header__nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%;
  height: 1px;
  background: var(--color-main);
  transition: width 0.3s var(--ease);
}
.header__nav-list a:hover { color: var(--color-main); }
.header__nav-list a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00a99d;
  color: #fff;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.25s, transform 0.25s;
  white-space: nowrap;
}
.btn:hover { background: #00a99d; transform: translateY(-1px); }

/* hamburger toggle (mobile) */
.header__toggle {
  width: 32px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1100;
}
.header__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease);
  z-index: 900;
}
.nav-overlay.is-active { opacity: 1; visibility: visible; }

/* mobile nav panel */
@media (max-width: 899px) {
  .header__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #fff;
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 1000;
    overflow-y: auto;
  }
  .header__nav.is-open { transform: translateX(0); }
  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-right: 0;
  }
  .header__nav-list a { font-size: 15px; }
  .btn--header { width: 100%; padding: 14px 0; }
}

@media (min-width: 900px) {
  .header { height: var(--header-h-pc); }
  .header__nav {
    display: flex;
    align-items: center;
  }
  .header__toggle { display: none; }
}

/* ==========================================================
   Hero
========================================================== */
.hero {
  margin-top: var(--header-h);
  height: 320px;
  background: linear-gradient(135deg, var(--color-main), var(--color-main-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.hero__text {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.hero__text2 {
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  opacity: 0.85;
}
.hero__text3 {
  color: #adadad;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.2em;
  margin-top: 2px;
}
 
@media (min-width: 900px) {
  .hero { margin-top: var(--header-h-pc); height: 420px; }
  .hero__text { font-size: 28px; }
  .hero__text2 { font-size: 15px; }
  .hero__text3 { font-size: 22px; }
}
 
@media (min-width: 900px) {
  .hero { margin-top: var(--header-h-pc); height: 420px; }
  .hero__text { font-size: 28px; }
  .hero__text2 { font-size: 15px; }
}


/* ==========================================================
   Section common
========================================================== */
.section {
  padding-top: 40px;
  padding-bottom: 64px;
  scroll-margin-top: var(--header-h);
}
.section--gray {
  background: var(--color-gray-bg);
  color: #fff;
}
.section--gray-dark {
  background: var(--color-gray-bg);
  color: #fff;
}
.section--dark-accent {
  background: var(--color-light-bg);
}

.section--gray-light {
  background: #dcdcdc;
  color: var(--color-text);
}
.section--gray-light .section__label {
  color: var(--color-main);
  opacity: 1;
}
.section--gray-light .section__title::after {
  background: var(--color-main);
}

.section__label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--color-main);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section--gray .section__label,
.section--gray-dark .section__label {
  color: #fff;
  opacity: 0.85;
}

.section__title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 18px;
}
.section__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--color-main);
  border-radius: 2px;
}
.section--gray .section__title::after,
.section--gray-dark .section__title::after {
  background: #fff;
}

.section__subtitle {
  text-align: center;
  font-size: 14px;
  margin-bottom: 32px;
  opacity: 0.9;
}

@media (min-width: 900px) {
  .section {
    padding-top: 64px;
    padding-bottom: 100px;
    scroll-margin-top: var(--header-h-pc);
  }
  .section__title { font-size: 30px; }
}

/* ==========================================================
   Purpose
========================================================== */
.purpose {
  background: #FFFFFF;
  color: #008f85;
}
.purpose__label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}
.purpose__title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.purpose-cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.purpose-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 48px 24px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  text-align: center;
}
.purpose-card__badge {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.purpose-card__title {
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 24px;
}
.purpose-card__img {
  width: 100%;
  height: 250px;
  border-radius: 8px;
}
.purpose-card__img.ao01 { 
background-image: url("img/ao01.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}
.purpose-card__img.ao02 { 
background-image: url("img/ao02.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}
.purpose-card__img.ao03 { 
background-image: url("img/ao03.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}

@media (min-width: 700px) {
  .purpose-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; 
  .purpose-card__img {
  width: 100%;
  height: 160px;
  border-radius: 8px;
}
}
}
@media (min-width: 900px) {
  .purpose__title { font-size: 30px; }
}

/* ==========================================================
   Features
========================================================== */
.features {
  background: #333333;
  color: var(--color-text);
}
.features__label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00a99d;
  margin-bottom: 8px;
}
.features__title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.feature-cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.feature-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 24px 32px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.feature-card__badge {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #000000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.feature-card__img {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.feature-card__title {
  color: #000000;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}
.feature-card__text {
  font-size: 14px;
  line-height: 1.9;
}
.feature-card__text .highlight {
  background: rgb(235, 235, 235);
  padding: 0 2px;
  font-weight: 700;
}

.feature-card__img.solution001 { 
background-image: url("img/solution001.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}
.feature-card__img.solution002 { 
background-image: url("img/solution002.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}
.feature-card__img.solution003 { 
background-image: url("img/solution003.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}

@media (min-width: 700px) {
  .feature-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 900px) {
  .features__title { font-size: 30px; }
}

/* ==========================================================
   Mission
========================================================== */
.mission {
  position: relative;
  overflow: hidden;
  background: #1e1e1e;
  color: #ffffff;
}
 
.mission__inner {
  position: relative;
}
 
/* 背景に大きく敷く MISSION の文字 */
.mission__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin: 0;
  font-size: clamp(64px, 18vw, 200px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  color: #000000;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.mission__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
 
.mission__heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 24px;
}
 
.mission__text {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 20px;
}
.mission__text:last-child { margin-bottom: 0; }
 
@media (min-width: 700px) {
  .mission__content { max-width: 50%; }
}
@media (min-width: 900px) {
  .mission__heading { font-size: 24px; }
}


/* ==========================================================
   Service cards (#service_main)
========================================================== */
.service-cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.service-card {
  text-align: center;
}
.service-card__num {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-main-dark);
}
.service-card__img {
  height: 160px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: #dddddd 1px solid;

}
p.service-card_text {
  color: #ffffff;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  display: inline-block;
}
.service-card__link {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--color-main);
  color: #fff;
  font-size: 13px;
  transition: background 0.25s, transform 0.25s;
}
.service-card__link:hover {
  background: var(--color-main-dark);
  transform: translateY(-1px);
}

@media (min-width: 700px) {
  .service-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ==========================================================
   Split block (image + text) used by naming / service_* / works
========================================================== */
.split-block {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.split-block__img {
  width: 100%;
  max-width: 360px;
  height: 220px;
  border-radius: 6px;
  flex-shrink: 0;
  border: #dcdcdc 1px solid;
}
.split-block__text {
  font-size: 16px;
  line-height: 2;
}
.split-block__img.img_n_service01 { 
background-image: url("img/name_sample01.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}
.split-block__img.img_n_service02 { 
background-image: url("img/name_sample02.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}
.split-block__img.img_n_service03 { 
background-image: url("img/name_sample03.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}

@media (min-width: 700px) {
  .split-block {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .split-block--reverse-on-desktop { flex-direction: row-reverse; }
  .split-block__img { width: 42%; height: 260px; max-width: none; }
  .split-block__text { flex: 1; }
}

/* ==========================================================
   Fee
========================================================== */

.section--gray-dark {
  background: #1a1a1a;
  color: var(--color-text);
}
#fee .section__title {
  color: #ffffff;
}
.fee__table {
  margin-top: 40px;
  height: 500px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #fff;
}
.fee-list {
  margin-top: 40px;
  width: 100%;
}
.fee-list__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.fee-list__row:last-child { border-bottom: none; }
.fee-list dt,
.fee-list dd {
  color: #000000;
  font-size: 14px;
}
.fee-list dt { font-weight: 700; }
.fee-list dd { margin-left: auto; white-space: nowrap; }


@media (min-width: 900px) {
  .fee__table {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
.fee__table {
  margin-top: 40px;
  height: 400px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #fff;
}
}

/* ==========================================================
   For
========================================================== */
.section--gray-black {
  background: #1a1a1a;
  color: var(--color-text);
}
#for .section__title {
  color: #ffffff;
}
.for-list {
  margin-top: 40px;
  width: 100%;
  padding: 32px 24px;
  border-radius: 6px;
  background: #101010;
  list-style: none;
}

.for-list li {
  color: #ffffff;
  font-size: 15px;
  line-height: 2.2;
  padding-left: 1.2em;
  position: relative;
}
.for-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.for-list li + li {
  margin-top: 4px;
}

@media (min-width: 900px) {
  .for-list {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 48px;
  }
  .for-list li {
    font-size: 16px;
  }
}


/* ==========================================================
   Voices
========================================================== */
.voices {
  background: #666668;

}
.voices__title {
  text-align: center;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.voices__label {
  text-align: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.voice-card {
  margin-top: 40px;
  background: #ffffff;
  border-radius: 6px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 左：写真＋名前 */
.voice-card__profile {
  flex-shrink: 0;
  text-align: center;
}
.voice-card__photo {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}
.voice-card__name {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.voice-card__photo.voice_photo30 { 
background-image: url("img/30.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}
.voice-card__photo.voice_photo31 { 
background-image: url("img/31.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}
.voice-card__photo.voice_photo32 { 
background-image: url("img/32.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}

/* 右：タイトル・本文・担当者コメント */
.voice-card__body {
  flex: 1;
  min-width: 0;
}
.voice-card__tag {
  background: #333333;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 20px;
  margin-bottom: 20px;
}
.voice-card__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text);
}
.voice-card__staff {
  margin-top: 24px;
  background: #f0f0f0;
  padding: 16px 20px 20px;
}
.voice-card__staff-tag {
  display: inline-block;
  background: #333333;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.voice-card__staff-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .voices__title { font-size: 30px; }

  .voice-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    padding: 48px;
  }
  .voice-card__profile {
    width: 220px;
  }
  .voice-card__photo {
    width: 200px;
    height: 200px;
  }
}

/* ==========================================================
   FAQ
========================================================== */
.faq-list {
  margin-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.is-open {
  border-color: var(--color-main);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 20px;
  color: var(--color-text);
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-main);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-item__icon::before { width: 16px; height: 2px; }
.faq-item__icon::after  { width: 2px; height: 16px; }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* 開閉パネル：max-height + opacity でフワッと展開 */
.faq-item__panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), padding 0.4s var(--ease);
  padding: 0 20px;
}
.faq-item.is-open .faq-item__panel {
  opacity: 1;
  padding: 0 20px 18px;
}

.faq-item__a {
  font-size: 13px;
  color: #666;
}

/* ==========================================================
   Kantei
========================================================== */

.kantei__table {
  margin-top: 40px;
  padding: 0 40px;
  height: 600px;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight:700 ;
  line-height: 1.5;
  color: #000000;
}
.img_sample01{ 
  height: 200px ;
  margin: 30px 20px 0 20px;
  border-radius: 6px;
  background-image: url("img/PDF_sample01.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; }
@media (min-width: 700px) {
  .kantei__table {
    width: 60%;
    height: 380px;
    margin-left: auto;
    margin-right: auto;
}
.img_sample01{ 
  height: 230px ;
  width: 400px;
  margin: 30px auto 0 auto;}
}
/* ==========================================================
   Inquiry
========================================================== */
.inquiry__text {
  text-align: left;
  font-size: 14px;
  margin: 30px auto 30px auto;
  width: 55%;
}

/* デフォルト（モバイル）：LINEボタンを表示、QRは隠す */
.line-sp-btn {
  display: block;
  margin: 32px auto 0;
  text-align: center;
}
.inquiry__qr {
  display: none;
}

@media (min-width: 700px) {
  .inquiry__text {
  text-align: left;
  font-size: 14px;
  margin: 30px auto 30px auto;
  width: 25%;
}

  /* PC：QRを表示、LINEボタンは隠す */
  .line-sp-btn {
    display: none;
  }
  .inquiry__qr {
    display: flex;
    width: 140px;
    height: 140px;
    margin: 32px auto 0;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
  }
  .inquiry__qr.qrcode { 
background-image: url("img/QR.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
  }
}
/* ==========================================================
   Footer
========================================================== */
.footer {
  background: var(--color-dark);
  color: #fff;
}
.footer__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer__logo {
  font-weight: 700;
  letter-spacing: 0.1em;
}
.footer__copy {
  font-size: 11px;
  opacity: 0.6;
}
@media (min-width: 700px) {
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================
   To Top button
========================================================== */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-main);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  gap: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background 0.25s;
  z-index: 800;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover { background: var(--color-main-dark); }
.to-top__arrow { font-size: 16px; }
.to-top__label { font-size: 9px; letter-spacing: 0.05em; }

/* ==========================================================
   Reduced motion
========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* ==========================================================
   Reduced motion 00
========================================================== */
.ph-box.img_naming { 
background-image: url("img/eki.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: center; 
}
.ph-box.img_n_sample01 { 
background-image: url("img/name_sample001.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: 0 0; 
}

.ph-box.img_n_sample02 { 
background-image: url("img/name_sample002.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: 0 0; 
}

.ph-box.img_n_sample03 { 
background-image: url("img/name_sample003.png");
background-repeat: no-repeat;
background-size: cover; 
  background-position: 0 0; 
}


/* ==========================================================
   追加
========================================================== */


.page-top {
  position: relative;
  background-color: #FFFFFF; /* 上のページの色 */
 
  padding: 60px 20px;
}

/* 下のページ */
.page-bottom {
  background-color: #333333; /* 下のページの色 */
  padding: 60px 20px;
}

/* ページの間に挟む三角の記述 */
.page-top::after {
  content: "";
  position: absolute;
  bottom: -20px;       
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;


  border-style: solid;
  border-width: 20px 20px 0 20px; /* 上・右・下・左の太さ */
  border-color: #FFFFFF transparent transparent transparent; /* 上だけ上のページと同色にする */
}
