/* Setting
=============================================== */
:root{
  --bg-color: #0e0e0e;
  --font-color: #ccc;
  --link-color: #1e90ff;
  --link-color2: #0050a8; /* schedule */

  --header-bg-color: #000;

  --main-color: #134bc6;
  --sub-color: #e5c636;
  --accent-color: #950e0e;

  --sm-dt-color: #333;
  --sm-arrow-color: var(--accent-color);

  --footer-bg-color: #000;
  --footer-font-color: #fff;
  --copyright-font-color: #fff;
}

*,
::before,
::after {
  box-sizing: border-box;
}

a { text-decoration: none; }
a:link    { color: var(--link-color); }
a:visited { color: var(--link-color); }
a:hover   { color: var(--link-color); text-decoration: underline; }
a:active  { color: var(--link-color); }

img {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}
:where(p, li, dd, dt) img {
  display: inline;
}

table { border-collapse: collapse; border-spacing: 0; }

button {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* PC */
@media (min-width: 768px) {
  a[href^="tel:"] { pointer-events: none; }
  .BrSmp,.SmpBr,.BrSp,.SpBr,.PcNone { display: none; }
}
/* TAB */
@media (min-width: 768px) and (max-width: 980px) {
  .BrTab,.TabBr,.TabNone { display: none; }
}
/* SP */
@media (max-width: 767px) {
  .BrPc,.PcBr,.SmpNone,.SpNone { display: none; }
}
/* Media query */
.mq-br { display: none; }

/* Clear fix */
.CL { clear: both; }
.CF:after { clear: both; display: block; content: ""; }

/* _blank svg icon */
.icon-external {
  margin-left: 6px;
  margin-top: -5px;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

/* //////////////////////////////////////////// */

/* scroll-padding-top for JS */
:root {
  --scroll-padding-default: 170px;
  --scroll-padding-fixed: 80px;
}
@media (max-width: 767px) {
  :root {
    --scroll-padding-default: 146px;
    --scroll-padding-fixed: 60px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 170px;

  @media (max-width: 767px) {
    scroll-padding-top: 146px;
  }
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);

  line-height: 1.6;
  font-size: 18px;
  font-weight: normal;
  font-family:
  "Noto Sans JP",
  system-ui,
  -apple-system,
  "Hiragino Sans",
  "Hiragino Kaku Gothic ProN",
  "BIZ UDPGothic",
  "Meiryo",
  sans-serif;
  color: var(--font-color);

  @media (max-width: 767px) {
    line-height: 1.5;
    font-size: 16px;
  }
}

/* ///// HEADER /////////////////////////////// */

/*  Header Common
--------------------------- */
.hd {
  z-index: 1000;
  width: 100%;
  background-color: var(--header-bg-color);
}
.hd.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  animation: headerFadeIn .35s ease both;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@keyframes headerFadeIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* list reset */
.hd ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Main Header
--------------------------- */
.hd__main-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1535px;
  height: 80px;

  @media (max-width: 960px) {
    justify-content: space-between;
    height: 60px;
  }
  @media (max-width: 767px) {
    justify-content: space-between;
    padding: 0 10px;
    height: 60px;
  }
}

/* Site Logo
--------------------------- */
.hd__logo a {
  text-decoration: none;
}
.hd__logo img {
  display: block;
  width: 780px;
  height: auto;

  @media (max-width: 767px) {
    width: 290px;
    height: auto;
  }
}
.hd.is-fixed .hd__logo img {
  width: 780px;
  height: auto;

  @media (max-width: 767px) {
    width: 290px;
    height: auto;
  }
}

/* HAMBURGER BUTTON
--------------------------- */
.hd__menu-button {
  width: 50px;
  height: 50px;
}

/* BUTTON TAG */
.c-hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 0;
  border: none;
  width: 100%;
  height: 100%;
  background-color: transparent;

  cursor: pointer;
}
.c-hamburger__line {
  display: block;
  border-radius: 2px;
  margin: 3px 0;
  width: 36px;
  height: 4px;
  background-color: #fff;
}

/* SP MENU
--------------------------- */
.global-menu {
  z-index: 1001;
  visibility: hidden;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background-color: rgba(80, 5, 5, 0.92);
  backdrop-filter: blur(4px);
  color: #fff;
}
.global-menu.is-visible {
  opacity: 1;
  visibility: visible;
}
/* スライド＋フェード */
.fade-slide {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.fade-slide.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* SP MENU HEADER
--------------------------- */
.global-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  margin: 0 auto;
  padding: 20px;
  max-width: 1920px;
  width: 100%;

  @media (max-width: 767px) {
    padding: 10px;
  }
}

/* SP MENU LOGO
--------------------------- */
.global-menu__logo img {
  margin: 0;
  width: 500px;
  height: auto;

  @media (max-width: 767px) {
    width: 290px;
  }
}

/* SP CLOSE BUTTON
--------------------------- */
.global-menu__close {
  position: relative;
  border: none;
  padding: 20px;
  width: 50px;
  height: 50px;
  background: none;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.global-menu__close:hover {
  transform: rotate(180deg) scale(1.2);
}
.global-menu__close:active {
  transform: rotate(360deg) scale(1.1);
  background-color: rgba(255, 255, 255, 0.2);
}

.global-menu__close::before,
.global-menu__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;

  width: 100%;
  height: 3px;
  background-color: #fff;
  transform-origin: center;
}
.global-menu__close::before {
  transform: rotate(45deg);
}
.global-menu__close::after {
  transform: rotate(-45deg);
}

/* メニュー領域
--------------------------- */
.global-menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* SP MENU LIST
--------------------------- */
.global-menu__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: -100px 0 0;
  padding: 0;
  text-align: center;
  list-style: none;
}
.global-menu__list li {
  margin: 10px 0;
  font-size: 22px;
}
.global-menu__list a {
  display: block;
  color: #fff;
  text-decoration: none;
}
.global-menu__list a:hover {
  color: var(--sub-color);
}

/* ///// MAIN VISUAL ////////////////////////// */
#main_image_area_bg {
  margin-bottom: 10px;
  width: 100%;
  background-color: #2e3431;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#main_image_body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px auto;
  max-width: 1280px;
  width: 100%;
  height: 240px;

  @media (max-width: 767px) {
    height: 140px;
  }
}
h1#main_image_text {
  margin: 0;
  letter-spacing: 3px;
  font-size: 52px;
  font-weight: bold;
  color: #fff;

  @media (max-width: 767px) {
    font-size: 28px;
  }
}

/* 1. 独自のカラーパレットを定義する */
@font-palette-values --bungee-blue {
  font-family: "Bungee Tint";
  base-palette: 0; /* 標準のパレットをベースにする */
  override-colors:
    0 #184fc2,
    1 #fff;
}
h1#main_image_text {
  font-family: "Bungee Tint", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-palette: --bungee-blue;
  color: #184fc2;

  /* フチの設定 --- */
  filter:
    drop-shadow(1px 1px 0 #fff)
    drop-shadow(-1px -1px 0 #fff)
    drop-shadow(1px -1px 0 #fff)
    drop-shadow(-1px 1px 0 #fff);
}

/* ///// CONTENT AREA /////////////////////////////// */

/* パンくずリスト
--------------------------- */
#breadcrumbs {
  margin: 0px auto;
  padding: 10px 10px 20px;
  max-width: 1200px;
  width: 100%;
  text-align: right;
  font-size: 12px;
  color: #ccc;

  @media (max-width: 767px) {
    padding-bottom: 10px;
    width: 100%;
  }
}
#breadcrumbs a {
  color: #ccc;
}

/* PC */
@media (min-width: 768px) {

  .ContentBody {
    margin: 0px auto;
    max-width: 1200px;
    overflow: hidden;
  }

  /* wide one column */
  section.ContentArea {
    clear: both;
    width: 100%;
  }
  section.ContentArea .ContentBody {
    padding: 100px 10px;
    min-height: 50px;
  }
  /* one column */
  #main_area.ContentBody {
    padding: 0 10px 50px;
    min-height: 400px;
  }
  /* two column */
  .MainArea {
    float: left;
    padding: 0 10px 50px;
    min-height: 400px;
    width: calc(100% - 270px);
  }
}
/* SP */
@media (max-width: 767px) {

  .ContentBody {
    width: 100%;
  }
  .ContentBody:after {
    clear: both;
    display: block;
    content: "";
  }

  #main_area {
    margin: 0 auto;
    width: 100%;
    height: auto;
    min-height: 200px;
  }
  /* wide one column */
  section.ContentArea {
    padding: 0;
    width: 100%;
    overflow: hidden;
  }
  section.ContentArea .ContentBody {
    margin: 0 auto;
    padding: 40px 10px;
    max-width: 480px;
  }
  /* one column */
  #main_area.ContentBody {
    padding: 10px 10px 40px;
    max-width: 480px;
  }
  /* two column */
  .MainArea {
    padding: 10px;
    max-width: 480px;
  }
}

/* ///// CONTACT AREA /////////////////////////////// */
.cta-contact {
  position: relative;
  width: 100%;
  background-color: var(--gray);
  background-image: url("/img/fm/mau01/frame/bg-contact.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;

  @media (min-width: 768px) {
    aspect-ratio: 3 / 1;
    max-height: 500px;
  }
}

.cta-contact__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  margin: 0 auto;
  padding: 0 30px;
  max-width: 1200px;
  height: 100%;
}

.cta-contact__title {
  margin: 0;
  font-size: 58px;
  letter-spacing: 0.15em;
  font-weight: 700;
}

/* ボタン */
.cta-contact__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 18px 40px;
  background-color: var(--accent-color);
  color: #fff !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 9999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}

.cta-contact__button:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.cta-contact__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: currentColor;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .cta-contact__inner {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .cta-contact__title {
    font-size: 36px;
  }

  .cta-contact__button {
    width: 100%;
    max-width: 360px;
    width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cta-contact__title {
    font-size: 28px;
    letter-spacing: 0.1em;
  }

  .cta-contact__button {
    padding: 16px 24px;
    font-size: 16px;
  }
}

/* ///// FOOTER /////////////////////////////// */
.site-footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-font-color);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  text-align: center;
}

/* ロゴ画像 */
.site-footer__logo {
  margin-bottom: 40px;
}

.site-footer__logo img {
  max-width: 420px;
  width: 100%;
  height: auto;
}

/* =========================
   Footer SNS
========================= */
.site-footer__sns {
  margin: 20px 0;
}

.site-footer__sns-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__sns-list li {
  line-height: 1;
}

.site-footer__sns-list a {
  display: inline-block;
}

.site-footer__sns-list img {
  width: 36px;
  height: auto;
  display: block;
}

/* ナビ */
.site-footer__nav {
  margin-bottom: 40px;
}

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav a {
  color: var(--footer-font-color);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.12em;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.site-footer__nav a:hover {
  opacity: 1;
}

.site-footer__nav .icon-external {
  width: 20px;
  height: 20px;
  margin-left: -3px;
  margin-top: -3px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .site-footer__inner {
    padding: 60px 0 32px;
  }

  .site-footer__logo img {
    max-width: 300px;
  }

  /* FOOTER NAV(SP)
  --------------------------- */
  .site-footer__nav ul {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;

    border-top: 1px dotted #ccc;
  }
  .site-footer__nav ul li {
    border-bottom: 1px dotted #ccc;
  }
  .site-footer__nav ul li a {
    position: relative;
    display: block;
    padding: 10px 0 10px 40px;
    text-align: left;
    font-size: 12px;
  }
  /* 右向き三角アイコン */
  .site-footer__nav ul li a::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
    transition: transform .25s ease;
    width: 0;
    height: 0;
  }
}

@media (max-width: 480px) {
  .site-footer__nav a {
    font-size: 13px;
  }
}

/* COPYRIGHT
--------------------------- */
.site-footer__copyright {
  margin: 0;
  letter-spacing: 0.08em;
  font-size: 12px;
  opacity: 0.6;
}

/* PAGE TOP/
--------------------------- */
.c-pagetop-fixed {
  z-index: 999;
  position: fixed;
  right: 30px;
  bottom: 30px;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  background-color: rgba(80, 5, 5, 0.92);

  @media (min-width: 1920px) {
    right: auto;
    left: calc(50% + 960px - 30px - 60px);
  }
  @media (max-width: 767px) {
    right: 0px;
    bottom: 0px;
    border-radius: 0;
    width: 50px;
    height: 50px;
  }
}
.c-pagetop-fixed {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.c-pagetop-fixed.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.c-pagetop-fixed  a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.pagetop-icon {
  width: 50px;
  height: 50px;
}
.pagetop-icon path {
  fill: #fff;
}

