@charset "utf-8";

/* ======================================================
// 基本設定・変数
// ====================================================== */
:root {
  /* カラーパレット */
  --key-color-4: #5a5a5a; /* キーカラー4（見出しなど） */
  --key-color-3: #283778; /* キーカラー3（見出しなど） */
  --key-color-2: #f57800; /* キーカラー2（見出しなど） */
  --key-color-1: #ff7864; /* キーカラー1（見出しなど） */
  --point-color: #ffdc00; /* ポイントカラー（あしらいなど） */
  --text-color: #232323; /* Textカラー */
  --sub-color-2: #fff0d7; /* サブカラー2（背景など） */
  --sub-color-1: #fadcdc; /* サブカラー1（背景など） */
  --color-white: #ffffff; /* 白 */

  /* フォント */
  --font-family-base: YakuHanJP, "Lato", "Zen Kaku Gothic New", sans-serif;
  --font-family-jp: YakuHanJP, "Zen Kaku Gothic New", sans-serif;
  --font-family-en: YakuHanJP, "Lato", sans-serif;
  --font-weight-black: 900; /* Lato Black + Zen Kaku Gothic New Black */
  --font-weight-medium: 500; /* Lato Medium + Zen Kaku Gothic New Medium */
  --font-weight-regular: 400; /* Lato Regular + Zen Kaku Gothic New Regular */

  /* サイズ */
  --header-height: 80px;
  --container-max-width: 1280px;
  --container-max-width-sp: 375px;
  --container-padding-pc: 150px;
  --container-padding-sp: 25px;
  --container-padding-pc-value: 150;  /* 計算用の数値のみ */
  --container-padding-sp-value: 25;   /* 計算用の数値のみ */
  --border-radius: 8px;
}

/* ======================================================
// 基本レイアウト
// ====================================================== */
:where(:root) {
  scrollbar-gutter: auto;
}

html {
  scroll-padding-top: var(--header-height);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  background-color: var(--color-white);
  line-height: 1.75;
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  body:has(.header__globalnav.is-open) {
    overflow: hidden;
  }
}

/* モーダル背景を動かないようにする */
body:has(dialog.active) {
  overflow: hidden;
}

a {
  color: var(--text-color);
}

@media (hover: hover) {
  a:hover {
    color: var(--key-color-2);
  }
}

a:active {
  color: var(--text-color);
}

@media (hover: hover) {
  a:active {
    color: var(--key-color-2);
  }
}

img {
  max-width: 100%;
  height: auto;
}

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

@media (max-width: 374px) {
  .container {
    padding: 0 calc(var(--container-padding-sp-value) / 375 * 100vw);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 calc(var(--container-padding-pc-value) / 1280 * 100vw);
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 var(--container-padding-pc);
  }
}


@media (min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* ======================================================
// ヘッダー
// ====================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  height: 50px;
  background-color: var(--color-white);
}

@media (min-width: 768px) {
  .header {
    height: auto;
  }
}

/* スクロール時のヘッダー縮小スタイル */
.header.is-scrolled {
  height: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .header.is-scrolled {
    height: 80px;
  }
}

.header__inner {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 768px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(40 / 1280 * 100vw);
    max-width: 1280px;
    height: 100%;
    min-height: 116px;
    margin: 0 auto;
    padding-right: calc(32 / 1280 * 100vw);
    padding-left: calc(32 / 1280 * 100vw);
  }
}

@media (min-width: 1280px) {
  .header__inner {
    gap: 40px;
    padding-right: 32px;
    padding-left: 32px;
  }
}

.header__topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding-left: 8px;
}

@media (min-width: 768px) {
  .header__topnav {
    height: auto;
    flex-shrink: 0;
    padding-left: 0;
  }
}

.header__logo-link {
  display: block;
}

.header__logo-img {
  width: auto;
  height: 36px;
}

@media (min-width: 768px) {
  .header__logo-img {
    height: calc(70 / 1280 * 100vw);
  }
}

@media (min-width: 1280px) {
  .header__logo-img {
    height: 70px;
  }
}

/* グローバルナビゲーション */
.header__globalnav {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-white);
  width: 100%;
  height: 100svh;
  padding: 70px 25px 0;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease-out, opacity 0.3s ease-out;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .header__globalnav {
    position: static;
    width: auto;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
    visibility: visible;
    opacity: 1;
    overflow-y: initial;
  }
}

.header__globalnav.is-open {
  visibility: visible;
  opacity: 1;
}

.header__globalnav-menu {
  margin: 0 0 40px;
  padding: 0;
}

@media (min-width: 768px) {
  .header__globalnav-menu {
    margin-bottom: 0;
  }
}

.header__globalnav-menu:not(:last-of-type) {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .header__globalnav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0;
  }
}

.header__globalnav-menu-item {
  list-style-type: none;
  border-bottom: 1px solid var(--key-color-3);
}

@media (min-width: 768px) {
  .header__globalnav-menu-item {
    border: none;
  }
}

@media (min-width: 768px) {
  .header__globalnav-menu-item:not(:last-child) {
    margin-right: calc(20 / 1280 * 100vw);
  }
}

@media (min-width: 1280px) {
  .header__globalnav-menu-item:not(:last-child) {
    margin-right: 20px;
  }
}

@media (min-width: 768px) {
  .header__globalnav-menu-item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 15px;
    margin-left: calc(20 / 1280 * 100vw);
    border-right: 1px solid var(--key-color-3);
  }
}

@media (min-width: 1280px) {
  .header__globalnav-menu-item:not(:last-child)::after {
    margin-left: 20px;
  }
}

.header__globalnav-menu-item-link {
  position: relative;
  display: block;
  padding-top: 12px;
  padding-right: 32px;
  padding-bottom: 12px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 2.25;
  text-decoration: none;
  transition: color 0.3s ease-out;
}

@media (min-width: 768px) {
  .header__globalnav-menu-item-link {
    display: inline-block;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    color: var(--key-color-3);
    font-size: clamp(14px, calc(16 / 1280 * 100vw), 16px);
    font-weight: 900;
    line-height: 1.75;
  }
}

.header__globalnav-menu-item-link:after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  content: "";
  display: block;
  width: 27px;
  height: 15px;
  background-image: url(../img/icon_globalnav_sp.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 768px) {
  .header__globalnav-menu-item-link:after {
    display: none;
  }
}

/* ハンバーガーメニュー */
.header__hamburger {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background-color: var(--key-color-3);
  position: relative;
  cursor: pointer;
  transform: translateZ(0);
  will-change: transform;
  z-index: 1001;
}

@media (min-width: 768px) {
  .header__hamburger {
    display: none;
  }
}

.header__hamburger::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: url(../img/hamburger.svg) no-repeat;
  background-size: 200%;
  background-position: top 0 left 0;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
  will-change: opacity;
}

.header__hamburger::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: url(../img/hamburger.svg) no-repeat;
  background-size: 200%;
  background-position: top 0 left -50px;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
  will-change: opacity;
}

.header__hamburger.is-open::before {
  opacity: 0;
}

.header__hamburger.is-open::after {
  opacity: 1;
}

.header__globalnav-catalog {
  margin-bottom: 103px;
}

/* ======================================================
// メイン
// ====================================================== */
.main {
  overflow: clip;
}

/* ======================================================
// フッター
// ====================================================== */
/* SNS */
@media (min-width: 768px) {
  .footer__sns {
   height: 730px;
   overflow: clip;
  }
}

@media (min-width: 768px) {
  .footer__sns-inner {
    display: flex;
    height: 100%;
  }
}

.footer__sns-primary {
  padding-top: 34px;
  padding-bottom: 50px;
  background-image: url(../img/bg_footer_sns_sp.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 768px) {
  .footer__sns-primary {
    display: flex;
    align-items: center;
    width: calc(1020 / 1920 * 100vw);
    padding-right: 25px;
    padding-left: 25px;
    background-image: url(../img/bg_footer_sns.webp);
  }
}

@media (min-width: 1280px) {
  .footer__sns-primary {
    padding-right: 90px;
    padding-left: 90px;
  }
}

@media (min-width: 768px) {
  .footer__sns-primary-inner {
    /* max-width: 640px; */
    margin: 0 0 0 auto;
    padding: 0;
  }
}


.footer__sns-title {
  max-width: 325px;
  margin: 0 auto 20px;
}

@media (min-width: 768px) {
  .footer__sns-title {
    max-width: 458px;
    margin-bottom: 25px;
  }
}


.footer__sns-lead {
  margin-bottom: 17px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__sns-lead {
    margin-bottom: 25px;
    font-size: clamp(14px, calc(30 / 1280 * 100vw), 30px);
    font-weight: 900;
  }
}

.footer__sns-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 40px;
  max-width: 185px;
  margin: 0 auto 35px;
}

@media (min-width: 768px) {
  .footer__sns-list {
    max-width: 260px;
    gap: 24px 50px;
    margin-bottom: 50px;
  }
}

.footer__sns-list-item-tiktok {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .footer__sns-list-item-tiktok {
    margin-top: 14px;
  }
}

.footer__sns-list-item-link {
  display: block;
}

.footer__sns-list-item-img {
  width: auto;
  height: 35px;
}

@media (min-width: 768px) {
  .footer__sns-list-item-img {
    height: 49px;
  }
}

.footer__sns-list-item--youtube .footer__sns-list-item-img {
  height: 47px;
}

@media (min-width: 768px) {
  .footer__sns-list-item--youtube .footer__sns-list-item-img {
    height: 66px;
  }
}

.footer__sns-link-wrapper {
  width: 100%;
  max-width: 325px;
  height: 71px;
  margin: 0 auto 20px;
}

@media (min-width: 768px) {
  .footer__sns-link-wrapper {
    max-width: 456px;
    height: 99px;
    margin-bottom: 25px;
  }
}

.footer__sns-link {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding-right: 15px;
  padding-left: 15px;
  background-color: var(--color-white);
  border-radius: 10px;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  transition: all 0.3s ease-out;
}

@media (min-width: 768px) {
  .footer__sns-link {
    padding-right: calc(35 / 1280 * 100vw);
    padding-left: calc(35 / 1280 * 100vw);
    font-size: clamp(16px, calc(20 / 1280 * 100vw), 20px);
    line-height: 1.5;
  }
}

@media (min-width: 1280px) {
  .footer__sns-link {
    padding-right: 35px;
    padding-left: 35px;
  }
}

@media (hover: hover) {
.footer__sns-link:hover {
    background-color: var(--key-color-2);
    color: var(--color-white);
  }
}


.footer__sns-link::after {
    content: "";
    display: block;
    width: 18px;
    height: 28px;
    background-color: var(--key-color-2);
    mask-image: url(../img/icon_footer_sns_arrow01.svg);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    transition: all 0.3s ease-out;
}

@media (min-width: 768px) {
  .footer__sns-link::after {
    width: 25px;
    height: 39px;
  }
}

@media (hover: hover) {
  .footer__sns-link:hover::after {
    background-color: var(--color-white);
  }
}

.footer__sns-contact {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  gap: 5px;
  width: 100%;
}

@media (min-width: 768px) {
  .footer__sns-contact {
    gap: 10px;
  }
}


.footer__sns-contact-title {
  flex-shrink: 0;
  color: var(--key-color-3);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .footer__sns-contact-title {
    font-size: clamp(16px, calc(20 / 1280 * 100vw), 20px);
  }
}

.footer__sns-contact-detail {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer__sns-contact-detail {
    font-size: clamp(14px, calc(16 / 1280 * 100vw), 16px);
    line-height: 1.75;
  }
}

.footer__sns-contact-detail-sub {
  font-size: 12px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .footer__sns-contact-detail-sub {
    font-size: clamp(12px, calc(14 / 1280 * 100vw), 14px);
  }
}

.footer__sns-contact-detail-link {
  color: var(--text-color);
  text-decoration: none;
}

.footer__sns-contact-detail-link:hover {
  color: var(--text-color);
  text-decoration: none;
}

@media (min-width: 768px) {
  .footer__sns-secondary {
    width: calc(902 / 1920 * 100vw);
  }
}

@media (min-width: 768px) {
  .footer__sns-secondary-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
  }
}

/* ロゴ */
.footer__logo {
  padding-top: 29px;
  padding-bottom: 19px;
  background-color: var(--color-white);
  text-align: center;
}

.footer__logo-link {
  display: inline-block;
}

.footer__logo-img {
  width: 200px;
  height: auto;
}

/* コピーライト */
.footer__copyright {
  padding-top: 36px;
  padding-bottom: calc(36px + 67px);
  background-color: var(--text-color);
  color: var(--color-white);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__copyright {
    padding-top: 67px;
    padding-bottom: 95px;
  }
}

.footer__copyright-text {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .footer__copyright-text {
    font-size: clamp(12px, calc(24 / 1280 * 100vw), 24px);
    line-height: 1.25;
  }
}

/* ======================================================
// フローティングボタン
// ====================================================== */
.floating {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  border-bottom: 4px solid var(--key-color-3);
  width: fit-content;
  z-index: 1000;
}

@media (min-width: 768px) {
  .floating {
    top: 30%;
    bottom: inherit;
    right: 0;
    border-bottom: none;
  }
}

.floating__menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .floating__menu {
    display: block;
  }
}

.floating__menu-item {
  position: relative;
  width: 50vw;
  background-image: url(../img/bg_button_floating_sp.webp);
  background-size: 100% 63px;
  background-repeat: repeat-x;
  background-position: center;
}

@media (max-width: 768px) {
  .floating__menu .floating__menu-item:only-child {
    width: 100vw;
  }
}

@media (min-width: 768px) {
  .floating__menu-item {
    width: fit-content;
    background: none;
  }
}

@media (min-width: 768px) {
  .floating__menu-item:not(:last-child) {
    margin-bottom: calc(8 / 1280 * 100vw);
  }
}

@media (min-width: 1280px) {
  .floating__menu-item:not(:last-child) {
    margin-bottom: 8px;
  }
}


.floating__menu-item:not(:last-child)::after {
  position: absolute;
  top: 9px;
  right: 0;
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--key-color-3);
}

@media (min-width: 768px) {
  .floating__menu-item:not(:last-child)::after {
    display: none;
    background: none;
  }
}

.floating__menu-item-link {
  display: block;
  transform: translateZ(0);
  will-change: background-image;
  transition: opacity 0.2s ease-out;
  pointer-events: auto !important;
  color: var(--key-color-3);
}

/* SP用の背景画像 */
@media (max-width: 767px) {
  .floating__menu-item-link {
    width: 100%;
    height: 63px;
    background-repeat: no-repeat;
    background-position: center;
  }

  .floating__menu-item.button--01 .floating__menu-item-link,
  .floating__menu-item.button--02 .floating__menu-item-link {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--key-color-3);
  }
}

/* PC用の背景画像とホバー効果 */
@media (min-width: 768px) {
  .floating__menu-item-link {
    position: relative;
    width: calc(83 / 1280 * 100vw);
  }

  .floating__menu-item.button--01 .floating__menu-item-link,
  .floating__menu-item.button--02 .floating__menu-item-link {
    padding-top: 0;
    background-color: var(--color-white);
    border-radius: 10px 0 0 10px;
    border-top: 2px solid var(--key-color-3);
    border-bottom: 2px solid var(--key-color-3);
    border-left: 2px solid var(--key-color-3);
    transition: background-color 0.2s ease-out;
  }
}

@media (min-width: 1280px) {
  .floating__menu-item-link {
    width: 83px;
  }
}

@media (min-width: 768px) and (hover: hover) {
  .floating__menu-item.button--01 .floating__menu-item-link:hover,
  .floating__menu-item.button--02 .floating__menu-item-link:hover {
    background-color: var(--key-color-2);
    border-color: var(--color-white);
    color: var(--color-white);
  }
  .floating__menu-item.button--01 .floating__menu-item-link:hover .floating__menu-item-link-text {
    color: var(--color-white);
    background-position: calc(-70 / 1280 * 100vw) calc(15 / 1280 * 100vw);
  }

  .floating__menu-item.button--02 .floating__menu-item-link:hover .floating__menu-item-link-text {
    color: var(--color-white);
    background-position:calc(-53 / 1280 * 100vw) calc(15 / 1280 * 100vw);
  }
}

@media (min-width: 1280px) and (hover: hover) {
  .floating__menu-item.button--01 .floating__menu-item-link:hover .floating__menu-item-link-text {
    background-position: -70px 15px;
  }

  .floating__menu-item.button--02 .floating__menu-item-link:hover .floating__menu-item-link-text {
    background-position: -53px 15px;
  }
}

 .floating__menu-item.button--01 .floating__menu-item-link-text,
 .floating__menu-item.button--02 .floating__menu-item-link-text {
  display: inline-block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 5px;
  background-position: left center;
  background-repeat: no-repeat;
}

 .floating__menu-item.button--01 .floating__menu-item-link-text {
    padding-left: 60px;
    background-image: url(../img/icon_floating01.svg);
    background-size: auto 32px;
 }

 .floating__menu-item.button--02 .floating__menu-item-link-text {
    padding-left: 50px;
    background-image: url(../img/icon_floating02.svg);
    background-size: auto 26px;
 }

@media (min-width: 768px) {
  .floating__menu-item.button--01 .floating__menu-item-link-text,
  .floating__menu-item.button--02 .floating__menu-item-link-text {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    font-size: clamp(14px, calc(16 / 1280 * 100vw), 16px);
    font-weight: 500;
    line-height: 1.75;
    writing-mode: vertical-rl;
    height: auto;
    background-repeat: no-repeat;
  }

  .floating__menu-item.button--01 .floating__menu-item-link-text {
    background-image: url(../img/icon_floating01.svg);
    padding-top: calc(56 / 1280 * 100vw);
    padding-bottom: calc(15 / 1280 * 100vw);
    background-position: calc(15 / 1280 * 100vw) calc(15 / 1280 * 100vw);
    background-size: auto calc(32 / 1280 * 100vw);
   }

   .floating__menu-item.button--02 .floating__menu-item-link-text {
    background-image: url(../img/icon_floating02.svg);
    padding-top: calc(48 / 1280 * 100vw);
    padding-bottom: calc(15 / 1280 * 100vw);
    background-position: calc(19 / 1280 * 100vw) calc(15 / 1280 * 100vw);
    background-size: auto calc(26 / 1280 * 100vw);
   }
}

@media (min-width: 1280px) {
  .floating__menu-item.button--01 .floating__menu-item-link-text,
  .floating__menu-item.button--02 .floating__menu-item-link-text {
    
  }

  .floating__menu-item.button--01 .floating__menu-item-link-text {
    padding-top: 56px;
    padding-bottom: 15px;
    background-position: 15px 15px;
    background-size: auto 32px;
   }

  .floating__menu-item.button--02 .floating__menu-item-link-text {
    padding-top: 48px;
    padding-bottom: 15px;
    background-position: 19px 15px;
    background-size: auto 26px;
   }
}


/* ======================================================
// ユーティリティクラス
// ====================================================== */
.sp-only {
  display: block;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .pc-only {
    display: block;
  }
}

/* ======================================================
// 改行制御の追加
// ====================================================== */

/* デスクトップ以上でのみ改行（タブレット問題対応） */
.desktop-br {
  display: none; /* タブレット（768px〜1023px）では非表示 */
}

@media (min-width: 1024px) {
  .desktop-br {
    display: block; /* デスクトップ（1024px以上）では表示 */
  }
}

/* 大画面デスクトップでのみ改行 */
.large-desktop-br {
  display: none; /* 大画面デスクトップ（1280px以上）では非表示 */
}

@media (min-width: 1280px) {
  .large-desktop-br {
    display: block; /* 大画面デスクトップ（1280px以上）では表示 */
  }
}
