@charset "UTF-8";
/* =========================================
  base.css  (Shapes School)
  - reset.css の後に読み込む
  - 全ページ共通の土台
========================================= */

/* 画面幅のメモ 
   sp : 320px - 767px
   tab: 768px - 1023px
   pc: 1024px -
   wide-pc: 1600px -
*/

/* --------------------------------
------------- 定数の設定  ---------- 
----------------------------------- */
:root {
  /* Colors (from your variables) */
  --c-bg: #ffffff; /* 基本背景色 */
  --c-bg-2: #f1f1f1; /* 背景色2（グレー） */
  --c-text: #000000; /* 文字色 */

  --c-deco-1: #e2e8ec; /* 装飾色1 */
  --c-deco-2: #e4f7f3; /* 装飾色2 */

  --c-accent: #beb126; /* アクセントカラー */
  --c-primary: #072c24; /* 背景色3（濃い緑） */
  --c-btn-2: #2c2907; /* ボタンカラー2（濃い黄土/黒寄り） */

  /* Typography */
  --f-heading: 'BIZ UDPGothic', sans-serif; /* 見出しフォント */
  --f-text: 'Shippori Mincho', serif; /* 文章フォント */

  /* header height */
  --header-h: clamp(54px, 6vw, 96px);
  --header-px: clamp(12px, 2vw, 28px);
  --header-adjust: clamp(32px, 3.9vw, 72px); /* ヒーロー画像の位置調整用 */

  /* effect */
  --box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.25);
  --box-shadow-mini: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

/* -------------------------------------------
------------- フォントの初期設定  ------------- 
---------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--f-heading);
}

p {
  font-family: var(--f-text);
}

/* -------------------------------------------
------------- 全ページ共通の設定 --------------- 
---------------------------------------------- */
html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  background-color: var(--c-bg);
  color: var(--c-text);
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
.a-underline {
  position: relative;
  display: inline-block;
}
.a-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.08em;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.a-underline:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
img {
  max-width: 100%;
  height: auto;
}
/* list styles */
ul,
li {
  list-style: none;
  font-family: var(--f-text);
}
/*横幅の設定*/
.contents-wrapper {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
/* TBの幅用のコンテンツ幅調整 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .tb-wrapper {
    width: 70vw;
  }
}
/* TBの幅広コンテンツ幅調整 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .tb-large-wrapper {
    width: 82vw;
  }
}
/* PCの幅広コンテンツの最大幅設定 */
.pc-wide-wrapper {
  max-width: 1158px;
  width: 100%;
  margin: 0 auto;
}
/* PCの幅用コンテンツの大幅設定 */
@media screen and (min-width: 1024px) {
  .pc-large-wrapper {
    width: min(90vw, 1276px);
  }
}
/* PCの幅用コンテンツの中幅設定 */
@media screen and (min-width: 1024px) {
  .pc-middle-wrapper {
    width: min(72vw, 1030px);
  }
}
/* PCの幅用コンテンツの小幅設定 */
@media screen and (min-width: 1024px) {
  .pc-small-wrapper {
    width: max(42vw, 684px);
  }
}

/* -------------------------------------------
--------------- button styles  --------------- 
---------------------------------------------- */
.common-btn {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: clamp(280px, 70vw, 390px);
  margin-top: clamp(24px, 3vw, 48px);
  margin-inline: auto;
  padding: 12px;
  color: var(--c-bg);
  text-decoration: none;
  background-color: var(--c-primary);
  font-size: 20px;
  border-radius: 9999px;
  box-shadow: var(--box-shadow);

  transform: translateY(0);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease;
}
.common-btn:hover,
.common-btn:active {
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.18);
  transform: translateY(2px);
  filter: brightness(1.3);
}
.faq-btn {
  display: flex;
  width: 100%;
  margin-top: 12px;
  margin-inline: auto;
  gap: 12px;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 12px;
  background-color: var(--c-primary);
  color: var(--c-bg);
  font-size: 20px;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: var(--box-shadow);
  transform: translateY(0);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease;
}
.faq-btn:hover,
.faq-btn:active {
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.18);
  transform: translateY(2px);
  filter: brightness(1.3);
}

/* -------------------------------------------
--------------- 背景装飾のスタイル ------------- 
---------------------------------------------- */
.bg-circle {
  background-image:
    radial-gradient(
      circle,
      #f8fafc 0%,
      #eef2f5 60%,
      #eef2f5 60%,
      transparent 60%
    ),
    radial-gradient(
      circle,
      #f8fafc 0%,
      #eef2f5 60%,
      #eef2f5 60%,
      transparent 60%
    ),
    radial-gradient(
      circle,
      #f8fafc 0%,
      #eef2f5 60%,
      #eef2f5 60%,
      transparent 60%
    ),
    radial-gradient(
      circle,
      #f8fafc 0%,
      #eef2f5 60%,
      #eef2f5 60%,
      transparent 60%
    ),
    radial-gradient(
      circle,
      #f8fafc 0%,
      #eef2f5 60%,
      #eef2f5 60%,
      transparent 60%
    ),
    radial-gradient(
      circle,
      #f8fafc 0%,
      #eef2f5 60%,
      #eef2f5 60%,
      transparent 60%
    );
  background-size:
    300vw 300vw,
    300vw 300vw,
    300vw 300vw,
    300vw 300vw,
    300vw 300vw,
    300vw 300vw;
  background-position:
    left -20vw top 350vw,
    right -20vw top 850vw,
    left -20vw top 1350vw,
    right -20vw top 1850vw,
    left -20vw top 2350vw,
    right -20vw top 2850vw;
  background-repeat: no-repeat;
}
@media screen and (min-width: 768px) {
  .bg-circle {
    background-size:
      160vw 160vw,
      160vw 160vw,
      160vw 160vw,
      160vw 160vw,
      160vw 160vw,
      160vw 160vw;
    background-position:
      left 20vw top 140vw,
      right 20vw top 340vw,
      left 20vw top 540vw,
      right 20vw top 740vw,
      left 20vw top 940vw,
      right 20vw top 1140vw;
  }
}
@media screen and (min-width: 1024px) {
  .bg-circle {
    background-position:
      left 20vw top 100vw,
      right 20vw top 300vw,
      left 20vw top 540vw,
      right 20vw top 740vw,
      left 20vw top 940vw,
      right 20vw top 1140vw;
  }
}

/* -------------------------------------------
------------- ヘッダーのスタイル --------------- 
---------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  min-height: var(--header-h);
  padding-inline: var(--header-px);
  background-color: var(--c-bg);
  color: var(--c-text);
  transform: translateY(0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}
/* 下スクロールで隠す */
header.is-hidden {
  transform: translateY(-110%);
  box-shadow: none;
}
/* 表示中の見栄え（任意） */
header.is-visible {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
/* ハンバーガー開時: ヘッダー背景を灰色に */
header.menu-open {
  background-color: var(--c-bg-2);
}
.p-logo {
  width: auto;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(18px, 3vw, 48px);
  white-space: nowrap;
}
.p-logo a {
  display: block;
  width: 100%;
  height: 100%;
  padding-top: 4px;
}
.p-logo img {
  width: auto;
  height: clamp(32px, 2.5vw, 48px);
}
.hamburger-btn {
  padding: clamp(4px, 1vw, 8px);
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.hamburger-btn img {
  width: clamp(32px, 5vw, 40px);
  height: auto;
  transition: transform 0.2s ease;
}
.hamburger-btn img:hover {
  transform: scale(1.08);
}
.drawer {
  max-width: 100vw;
  height: 120vh;
  padding: 16px clamp(16px, 4vw, 32px);
  position: fixed;
  top: var(--header-h);
  left: 0;
  z-index: 9999;
  background-color: var(--c-bg-2);
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}
/* 開いた状態 */
.drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.drawer-list {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.drawer-list > li span {
  font-family: var(--f-heading);
  font-size: 24px;
}
.drawer-list li a {
  padding: 8px;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  background-color: var(--c-bg);
  box-shadow: var(--box-shadow-mini);

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.drawer-list li a:hover {
  background-color: #f0f0f0;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.18); /* 影を弱める */
  transform: translateY(1px); /* 少し沈む */
}
.drawer-link-item {
  display: flex;
  flex-direction: row;
}
.menu-text {
  margin-left: 12px;
  display: flex;
  flex-direction: column;
}
.menu-text .menu-title {
  margin-bottom: 8px;
  font-size: clamp(20px, 3vw, 28px);
  font-family: var(--f-heading);
}
.menu-text .menu-sub {
  font-size: clamp(12px, 2vw, 16px);
}
.header-sns-icon {
  width: auto;
  margin: 24px auto 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.header-sns-icon a img {
  width: 36px;
}
.header-sns-icon a {
  transition: transform 0.2s ease;
}
.header-sns-icon a:hover {
  transform: scale(1.08);
}

/* -------------------------------------------
------------- 黒いナビゲーション --------------- 
---------------------------------------------- */
#black-nav {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 999;
  width: 100%;
  height: 64px;
  background-color: var(--c-text);
  padding-top: 8px;
  padding-bottom: 8px;
}
.black-nav-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 100%;
}
.black-nav-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.black-nav-list img {
  width: 32px;
  height: 32px;
  text-align: center;
}
.black-nav-list span {
  display: block;
  color: var(--c-bg);
  font-family: var(--f-heading);
  font-size: 10px;
  text-align: center;
}
.black-nav-list a {
  position: relative;
  display: block;
}
.black-nav-list a::after {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  width: 2px;
  height: 80%;
  background-color: var(--c-accent);
  opacity: 0;
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.black-nav-list a:hover::after,
.black-nav-list a:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) scaleY(1);
}
@media screen and (max-width: 767px) {
  /* スマホ表示はアニメーション廃止 */
  .black-nav-list a::after {
    height: 0;
  }
}

@media screen and (max-width: 349px) {
  #black-nav {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  #black-nav {
    top: 20%;
    right: 0;
    left: auto;
    bottom: auto;
    height: auto;
    padding: 0;
    width: auto;
  }
  .black-nav-list {
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 12px 8px;
    width: 80px;
  }
  .black-nav-list img {
    width: 38px;
    height: 38px;
  }
  .black-nav-list a {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* -------------------------------------------
------------- 企業情報セクション --------------- 
---------------------------------------------- */
#office-info {
  background-color: var(--c-primary);
  color: var(--c-bg);
}
.office-contents {
  display: grid;
  gap: 24px;
  padding: 24px 24px;
}
.office-contents > img {
  width: clamp(120px, 16vw, 256px);
  margin: 0 auto;
}
.tel {
  display: inline-block;
  font-size: 16px;
}
.tel::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  background: url('../common_img/icon-tel.svg') no-repeat center / contain;
  vertical-align: -2px;
}
.office-contents > a {
  display: inline-block;
  justify-self: end;
  width: fit-content;
  text-align: right;
  font-family: var(--f-text);
}
@media screen and (min-width: 1024px) {
  .office-contents {
    padding-top: 36px;
    padding-bottom: 36px;
    font-size: 20px;
  }
  .tel {
    font-size: 20px;
  }
  .tel::before {
    width: 20px;
    height: 20px;
    margin-right: 6px;
  }
}

/* -------------------------------------------
--------------- footer styles  --------------- 
---------------------------------------------- */
footer {
  background-color: rgba(255, 255, 255, 0.7);
  margin-top: clamp(88px, 23vw, 160px);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 16px;
}
.footer-links {
  display: grid;
  width: 100%;
  padding: 16px 16px;
  border-top: 1px solid var(--c-deco-1);
  border-bottom: 1px solid var(--c-deco-1);
}
.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 0;
}
.footer-links ul li {
  position: relative;
  display: inline-block;
  font-family: var(--f-heading);
  padding-left: 14px;
  line-height: 1.2;
}
.footer-links li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.2em;
  background: #d8d8d8;
}
.footer-sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  gap: 12px;
  margin: 24px auto 0;
}
.footer-sns-icon a img {
  width: 36px;
}
.footer-sns-icon a {
  transition: transform 0.2s ease;
}
.footer-sns-icon a:hover {
  transform: scale(1.08);
}
.copy-right {
  margin: 24px 0 0;
  padding-bottom: 88px;
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  .footer-links ul {
    gap: 24px;
  }
  .footer-links ul li {
    padding-left: 24px;
  }
  .copy-right {
    margin-top: 36px;
    margin-bottom: 0px;
    padding-bottom: 16px;
  }
}
@media screen and (min-width: 1024px) {
  .footer-links {
    padding: 32px 0;
  }
  .footer-links ul {
    gap: 24px;
  }
  .footer-links ul li {
    padding-left: 28px;
  }
  .copy-right {
    margin-top: 48px;
  }
}
