@charset "UTF-8";

/* --- CSS変数定義 --- */
:root {
  /* 透過・ぼかし効果の設定 */
  --blur-val: 8px;
  --alpha-val: 0.12;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);

  /* Font Weightの共通定義 */
  --fw-normal: 400;
  --fw-bold: 700;
  --fw-black: 900;

  /* Font Sizeの共通定義 */
  /* 最小サイズ（320px:10px 〜 1120px:12px） */
  --fz-sm: clamp(10px, 9.2px + 0.25vw, 12px);
  /* 中間サイズ（320px:11.5px 〜 1120px:15px） */
  --fz-ms: clamp(11.5px, 10.1px + 0.4375vw, 15px);
  /* 基本サイズ [body]（320px:13px 〜 480px:14px 〜 1120px:18px） */
  --fz-md: clamp(13px, 11px + 0.625vw, 18px);
  /* 中間サイズ（320px:15px 〜 1120px:22px） */
  --fz-ml: clamp(15px, 12.2px + 0.875vw, 22px);
  /* 各項目の見出し [h2] （320px:18px 〜 1120px:26px） */
  --fz-lg: clamp(18px, 14.8px + 1.0vw, 26px);
  /* メインの見出し [h1] （320px:24px 〜 1120px:38px） */
  --fz-xl: clamp(24px, 18.4px + 1.75vw, 38px);

  /* Colorの共通定義 */
  --color-primary: #1a1a1a;
  --color-white: #ffffff;
  --color-blu: #c8dff3;
  --color-org: #ff5800;
  --color-gry: #a5a5a5;
  --color-accent: #00bbf0;
  --color-overlay: rgba(0, 0, 0, 0.4);
}

/* --- リセットCSS --- */
*, ::before, ::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fz-md);
  font-weight: var(--fw-normal);
  letter-spacing: 0.03em;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1, h2, h3, h4, h5, h6, p, a {
  padding: 0;
  color: inherit;
  text-decoration: none;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
}

ul, ol {
  padding: 0;
  list-style: none;
  margin: 0;
}

button, input, optgroup, select, textarea {
  display: inline-block;
  padding: 0;
  background-color: transparent;
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  line-height: inherit;
  border: none;
  border-radius: 0;
  appearance: none;
  margin: 0;
}

button {
  cursor: pointer;
  text-align: inherit;
}

button, input, select, textarea {
  padding: 0;
  background-color: transparent;
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  line-height: inherit;
  border: none;
  border-radius: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

textarea {
  resize: vertical;
}

button {
  display: inline-block;
  cursor: pointer;
}

input[type="checkbox"], input[type="radio"] {
  appearance: auto;
  -webkit-appearance: auto;
}

img, svg, video, canvas, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

fieldset {
  padding: 0.35em 0.625em 0.75em;
  border: 1px solid #a0a0a0;
  margin: 0;
}

fieldset legend {
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/* --- ハンバーガーボタン --- */
.menu-trigger {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease,
              transform 0.2s ease;
  z-index: 999;
}

.menu-trigger:hover {
  background-color: oklch(from var(--color-primary) calc(l + 0.15) c h);
}

.menu-trigger__inner {
  position: relative;
  width: 28px;
  height: 20px;
}

.menu-trigger__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.3s ease,
              top 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-trigger__line--top { top: 0; }
.menu-trigger__line--middle { top: 9px; }
.menu-trigger__line--bottom { top: 18px; }

.menu-trigger.is-active .menu-trigger__line--top {
  top: 9px;
  transform: rotate(45deg);
}

.menu-trigger.is-active .menu-trigger__line--middle {
  opacity: 0;
}

.menu-trigger.is-active .menu-trigger__line--bottom {
  top: 9px;
  transform: rotate(-45deg);
}

@media (min-width: 640px) {
  .menu-trigger {
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
  }
}

/* --- ドロワーメニュー --- */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease,
              visibility 0.4s ease;
  pointer-events: auto;
  z-index: 90;
}

.drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-white);
  color: var(--color-white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 100;
}

@media (min-width: 640px) {
  .drawer {
    width: 400px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.drawer.is-active {
  opacity: 1;
  visibility: visible;
}

.drawer__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6vh;
  height: 100%;
  padding: 60px 40px;
}

/* ---
.drawer__logo {
  display: flex;
  justify-content: center;
  width: 100%;
}

.drawer__logo-link {
  display: block;
  transition: opacity 0.3s ease;
}

.drawer__logo-link:hover {
  opacity: 0.8;
}

.drawer__logo-img {
  max-height: 160px;
}
--- */

.drawer__nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: fit-content;
}

.drawer__item {
  position: relative;
}

.drawer__link {
  position: relative;
  display: inline-block;
  padding: 4px 0 4px 0;
  font-size: var(--fz-md);
  font-weight: var(--fw-bold);
  color: rgba(0, 0, 0, 0.85);
  transition: color 0.3s ease,
              padding-left 0.3s ease;
}

.drawer__link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -16px;
  transform: translateY(-50%) scale(0);
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s ease,
              transform 0.3s ease;
}

.drawer__link:hover {
  padding-left: 4px;
  color: var(--color-gry);
}

.drawer__link:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.drawer__action {
  display: flex;
  justify-content: center;
  width: 100%;
}

.drawer__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 240px;
  height: 52px;
  background-color: var(--color-accent);
  font-size: var(--fz-md);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  border-radius: 9999px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-accent) 30%, transparent);
  transition: background-color 0.3s ease,
              transform 0.3s ease,
              box-shadow 0.3s ease;
}

.drawer__btn:hover {
  background-color: color-mix(in srgb, var(--color-accent) 85%, var(--color-white));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-accent) 40%, transparent);
  transform: translateY(-2px);
}

.drawer__btn:active {
  transform: translateY(0);
}

/* --- CTA --- */
.cta {
  padding-top: 26px;
}

.cta__inner {
  max-width: 1120px;
  padding: 26px 20px 52px;
  text-align: center;
  margin: 0 auto;
}

.cta__item-text {
  font-size: var(--fz-md);
  color: var(--color-primary);
  text-align: center;
}

.cta__item-text:not(:last-child) {
  margin-bottom: 6px;
}

.cta__item--link {
  margin-top: 33px;
}

.cta__item--contact {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 280px;
  height: 52px;
  font-size: var(--fz-md);
  font-weight: var(--fw-bold);
  border-radius: 9999px;
  transition: background-color 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease,
              transform 0.3s ease,
              box-shadow 0.3s ease;
}

.cta__item--contact--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-accent) 30%, transparent);
  border: 2px solid transparent;
}

.cta__item--contact--primary:hover {
  background-color: color-mix(in srgb, var(--color-accent) 85%, var(--color-white));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-accent) 40%, transparent);
  transform: translateY(-2px);
}

.cta__button-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.cta__item--contact--primary:hover .cta__button-icon--arrow {
  transform: translateX(4px);
}

@media (min-width: 480px) {
  .cta {
    padding-top: 44px;
  }
  .cta__inner {
    padding: 44px 20px 64px;
  }
}

@media (min-width: 768px) {
  .cta {
    padding-top: 64px;
  }
  .cta__inner {
    padding: 64px 20px 88px;
  }
  .cta__item--link {
    margin-top: 40px;
  }
  .cta__item--contact {
    width: 45%;
    font-size: var(--fz-ml);
  }
}

/* --- Header --- */
.header {
  margin-bottom: 10px;
}

.header__inner {
  max-width: 1240px;
  padding: 0 10px;
  margin: 0 auto;
}

.header__logo-img {
  width: 100%;
  max-width: 128px;
}

@media (min-width: 640px) {
  .header {
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .header__logo-img {
    max-width: 180px;
  }
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--color-primary);
}

.footer__inner {
  max-width: 1120px;
  padding: 34px 20px 44px;
  margin: 0 auto;
}

.footer__item-pc {
  display: none;
}

.footer__address-logo {
  display: block;
  margin-bottom: 1.2rem;
}

.footer__address-logo-img {
  width: 100%;
  max-width: 100px;
  margin-left: auto;
  margin-right: auto;
}

.footer__address-name {
  font-size: var(--fz-ms);
  font-weight: var(--fw-bold);
}

.footer__address-text {
  font-size: var(--fz-ms);
}

.footer__nav-item {
  position: relative;
}

.footer__nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: auto;
  left: auto;
  right: -18px;
  transform: translateY(-40%);
  width: 2px;
  height: var(--fz-md);
  background-color: var(--color-primary);
  z-index: 1;
}

.footer__nav-item a {
  font-size: var(--fz-ms);
}

.footer__item-text {
  font-size: var(--fz-ms);
  text-align: center;
}

.footer__item-text--mb {
  font-size: var(--fz-ml);
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
}

@media (min-width: 960px) {
  .footer__item-pc {
    display: flex;
    justify-content: space-between;
  }

  .footer__item-sp {
    display: none;
  }

  .footer__address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 640px;
  }

  .footer__address-logo {
    margin-bottom: 0;
  }

  .footer__address-logo-img {
    max-width: 160px;
  }

  .footer__nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 320px;
  }
}

/* --- Copyright --- */
.copyright {
  padding: 1.2rem 0 0;
}

.copyright p {
  font-size: var(--fz-ms);
  color: var(--color-primary);
  text-align: center;
  margin: 0.4rem 0 0 0;
}

@media (min-width: 768px) {
  .copyright {
    padding: 1rem 0 0;
  }
  .copyright p {
    margin: 0 0 0 0.6rem;
  }
}

/* --- ページトップの余白 --- */
.main {
  padding-top: 10px;
}

@media (min-width: 640px) {
  .main {
    padding-top: 20px;
  }
}

/* --- Scroll Animation --- */
.js-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Header Navigation Background(カスタマイズ) --- */
.main {
  position: relative;
  overflow: hidden;
}

.main::after {
  content: "";
  position: absolute;
  top: -25px;
  right: -40px;
  width: 40%;
  height: 100%;
  background-image: url("../img/common/h-nav_bg-img.webp");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top;
}

@media (min-width: 450px) {
  .main::after {
    top: -35px;
    right: -45px;
    width: 40%;
  }
}

@media (min-width: 600px) {
  .main::after {
    top: -60px;
    right: -60px;
    width: 40%;
  }
}

@media (min-width: 900px) {
  .main::after {
    top: -100px;
    right: -100px;
    width: 40%;
  }
}

@media (min-width: 1200px) {
  .main::after {
    top: -100px;
    right: -100px;
    width: 35%;
  }
}

@media (min-width: 2000px) {
  .main::after {
    top: -150px;
    right: -150px;
    width: 35%;
  }
}

/* --- Drawer Background(カスタマイズ) --- */
@media (min-width: 800px) {
  .drawer {
    width: 700px;
    overflow: hidden;
  }

  .drawer__inner {
    width: 400px;
    margin-left: 300px;
  }

  .drawer::after {
    content: "";
    position: absolute;
    bottom: -65vh;
    left: -60px;
    width: 400px;
    height: 100%;
    background-image: url("../img/common/drawer_bg-img-pc.webp");
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top;
  }
}

@media (min-width: 1800px) {
  .drawer::after {
    bottom: -70vh;
    width: 450px;
  }
}
