﻿@charset "utf-8";
/*--------------------------------------------------------------------------------

  wrapper

--------------------------------------------------------------------------------*/
.l-wrapper {
  position: relative;
  min-height: 100%;
}

/*--------------------------------------------------------------------------------

  header

--------------------------------------------------------------------------------*/
header {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 3;
  background: #fff;
  border-top: 5px solid var(--color-primary);
}
header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding: 30px 320px 30px 30px;
}
@media (max-width: 1440px) {
  header .inner {
    padding: 20px 160px 20px 20px;
  }
}
@media (max-width: 1024px) {
  header .inner {
    padding: 20px;
  }
}
@media (max-width: 460px) {
  header .inner {
    padding: 20px 14px;
  }
}

/* logo */
header .inner h1 {
  line-height: 1;
  container-type: normal;
  align-self: center;
  margin-right: auto;
}
header .inner h1 a {
  display: flex;
  align-items: center;
  column-gap: 20px;
  color: var(--color-black);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.025rem;
  text-decoration: none;
}
header .inner h1 a::before {
  content: "";
  display: inline-block;
  width: 60px;
  aspect-ratio: 1 / 1;
  background: transparent url(../img/logo.svg) center center / cover no-repeat;
}
header .inner h1 a span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 10px;
}
header .inner h1 a span small {
  font-size: 15px;
  font-weight: 200;
  letter-spacing: -0.025rem;
}
@media (max-width: 1440px) {
  header .inner h1 a {
    column-gap: 12px;
    font-size: 20px;
  }
  header .inner h1 a::before {
    width: 50px;
  }
  header .inner h1 a span small {
    font-size: 13px;
  }
}
@media (max-width: 460px) {
  header .inner h1 a {
    column-gap: 8px;
    font-size: 17px;
  }
  header .inner h1 a::before {
    width: 40px;
  }
  header .inner h1 a span small {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------------------------

  navigation

--------------------------------------------------------------------------------*/
.l-nav {
  display: flex;
  align-items: center;
}
@media (max-width: 1024px) {
  .l-nav {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    padding: 80px 1rem 1rem 1rem;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
  }
}

/* open・close
----------------------------------------*/
@media (max-width: 1024px) {
  body:has(.l-nav.is-open) { overflow: hidden; }
  .l-nav.is-open,
  .l-nav.is-close {
    display: block;
    pointer-events: auto;
  }
}
:root { --nav-close-duration: 400; }

/* background
----------------------------------------*/
@media (max-width: 1024px) {
  .l-nav:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* background-color: rgb(var(--rgb-black) / 0.3); */
    background-color: rgba(255,255,255,0.9);
  }
}
.l-nav.is-open:before  { animation: 0.2s nav-open-bg forwards; }
.l-nav.is-close:before { animation: 0.4s nav-close-bg forwards; }
@keyframes nav-open-bg  { from { opacity: 0; } to { opacity: 1; } }
@keyframes nav-close-bg { from { opacity: 1; } to { opacity: 0; } }

/*--------------------------------------------------------------------------------
  .l-nav_content
--------------------------------------------------------------------------------*/
.l-nav .l-nav_content {
  display: flex;
  align-items: center;
}
@media (max-width: 1024px) {
  .l-nav .l-nav_content {
    display: block;
    max-height: calc(100dvh - (var(--nav-pd) * 2));
    padding: var(--inner-space-m);
    overflow-y: auto;
    opacity: 0;
    margin-bottom: 2em;
    border-bottom: 1px dotted var(--border-color);
  }
}
.l-nav.is-open.l-nav .l-nav_content  { animation: 0.6s nav-open-content forwards; }
.l-nav.is-close.l-nav .l-nav_content { animation: 0.2s nav-close-content forwards; }
@keyframes nav-open-content  { from { opacity: 0; } to { opacity: 1; } }
@keyframes nav-close-content { from { opacity: 1; } to { opacity: 0; } }


/*--------------------------------------------------------------------------------
  .l-nav-list
--------------------------------------------------------------------------------*/
.l-nav .l-nav_content ul {
  --link-color: var(--txt-color);
  --link-deco: none;
  --link-deco-hover: none;
  font-family: var(--ff-go);
  font-weight: 500;
}
.l-nav .l-nav_content ul {
  --link-color-hover: var(--txt-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  column-gap: min(2cqw, 2rem);
  line-height: var(--line-height-s);
  padding-right: min(2.5cqw, 2.25rem);
}
.l-nav .l-nav_content ul > li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.l-nav .l-nav_content ul > li a:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
}
.l-nav .l-nav_content ul > li a.-active:before { transform: scaleX(1); }
@media (hover: hover) {
  .l-nav .l-nav_content ul > li a:hover { color: var(--color-primary); }
  .l-nav .l-nav_content ul > li a:hover:before { transform: scaleX(1); }
}
@media (max-width: 1440px) {
  .l-nav .l-nav_content ul {
    font-size: var(--fs-2s);
  }
}
@media (max-width: 1024px) {
  .l-nav .l-nav_content ul {
    --link-color-hover: var(--color-primary);
    font-size: var(--fs-2m);
    flex-wrap: wrap;
    gap: 1em;
    padding-right: 0;
  }
  .l-nav .l-nav_content ul > li {
    width: 100%;
    text-align: center;
  }
  .l-nav .l-nav_content ul > li a {
    display: block;
    width: 100%;
    padding: 0.5em 0;
  }
}

/*--------------------------------------------------------------------------------
  .l-nav-tel
--------------------------------------------------------------------------------*/
.l-nav-tel {
  display: none;
  align-items: center;
  column-gap: 6px;
  color: var(--color-primary);
  font-size: 30px;
  font-family: var(--ff-go);
  font-weight: 500;
}
.l-nav-tel::before {
  content: "";
  display: inline-block;
  width: 24px;
  aspect-ratio: 4 / 5;
  background: transparent url(../img/parts/ic-tel.svg) center center / cover no-repeat;
}
.l-nav-tel a {
  text-decoration: none;
}
@media (max-width: 1440px) {
  .l-nav-tel {
    font-size: 23px;
  }
  .l-nav-tel::before {
    width: 20px;
  }
}
@media (max-width: 1024px) {
  .l-nav-tel {
    float: left;
    width: calc(50% - 10px);
    display: flex;
    justify-content: center;
    font-size: 30px;
    text-align: center;
  }
  .l-nav-tel::before {
    width: 24px;
  }
}
@media (max-width: 540px) {
  .l-nav-tel {
    float: none;
    width: 100%;
  }
}

/*--------------------------------------------------------------------------------
  .l-nav-contact
--------------------------------------------------------------------------------*/
.l-nav-contact {
  position: absolute;
  top: 0;
  right: 30px;
}
.l-nav-contact a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 156px;
  color: #fff;
  text-decoration: none;
  background: var(--color-primary);
  border-radius: 0 0 30px 30px;
}
.l-nav-contact img,
.l-nav-contact span {
  display: block;
}
.l-nav-contact span {
  width: 100%;
  text-align: center;
  margin-top: 0.5em;
}
@media (hover: hover) {
  .l-nav-contact a:hover {
    background-color: var(--color-primary-light);
  }
}
@media (max-width: 1440px) {
  .l-nav-contact {
    right: 24px;
  }
  .l-nav-contact a {
    width: 120px;
    height: 140px;
    font-size: var(--fs-2s);
  }
}
@media (max-width: 1024px) {
  .l-nav-contact {
    position: static;
    float: right;
    width: calc(50% - 10px);
  }
  .l-nav-contact a {
    width: 100%;
    height: auto;
    flex-direction: inherit;
    column-gap: 1em;
    padding: 1em;
    border-radius: 0.75em;
    font-size: var(--fs-n);
  }
  .l-nav-contact img {
    width: 30px;
  }
  .l-nav-contact span {
    width: auto;
    margin-top: 0;
  }
}
@media (max-width: 540px) {
  .l-nav-contact {
    float: none;
    width: 100%;
    margin-top: 1em;
  }
}

/*--------------------------------------------------------------------------------
  .l-nav-btn
--------------------------------------------------------------------------------*/
@media not (max-width: 1024px) { :root { --nav-btn-lines-height-max: 18px; --nav-btn-lines-width-max: 28px;  } }
@media (max-width: 1024px) { :root { --nav-btn-lines-height-max: 22px; --nav-btn-lines-width-max: 34px; } }
:root {
  --nav-break-point: 400;
  --nav-width: fit-content;
  --nav-btn-lines-height: min((18 / var(--nav-break-point) * 100vw), var(--nav-btn-lines-height-max));
  --nav-btn-bg: transparent;
  --nav-btn-bg-hover: transparent;
  --nav-btn-pd: 0 1.25rem;
  
  --nav-btn-lines-width: min((28 / var(--nav-break-point) * 100vw), var(--nav-btn-lines-width-max));
  --nav-btn-line-bg: var(--color-primary);
  --nav-btn-line-bg-hover: var(--color-primary);
  --nav-btn-line-height: 2px;
  
  --nav-btn-close-bg: transparent;
  --nav-btn-close-bg-hover: transparent;
  --nav-btn-close-line-bg: var(--color-primary);
  --nav-btn-close-line-bg-hover: var(--color-primary);
}
.l-nav-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: var(--nav-width);
  background-color: var(--nav-btn-bg);
  padding: var(--nav-btn-pd);
  cursor: pointer;
  z-index: 999;
  transition: var(--hover-trans);
  transform: translate3d(0,0,0);
}
.l-nav-btn.is-close {
  background-color: var(--nav-btn-close-bg);
}
.l-nav-btn_lines {
  position: relative;
  width: var(--nav-btn-lines-width);
  height: var(--nav-btn-lines-height);
  transition: all 0.2s ease-out;
}
.l-nav-btn_line {
  position: absolute;
  right: 0;
  left: 0;
  height: var(--nav-btn-line-height);
  background-color: var(--nav-btn-line-bg);
  border-radius: 9999px;
}
.l-nav-btn.is-active .l-nav-btn_line,
.l-nav-btn.is-close .l-nav-btn_line { transition: all 0.15s ease-out; }
.l-nav-btn.is-close .l-nav-btn_line { background-color: var(--nav-btn-close-line-bg); }
.l-nav-btn_line:nth-of-type(1) { width: 100%; top: 0; }
.l-nav-btn_line:nth-of-type(2) { width: 100%; top: calc(50% - (var(--nav-btn-line-height) / 2)); }
.l-nav-btn_line:nth-of-type(3) { width: 100%; bottom: 0; }
.l-nav-btn.is-active .l-nav-btn_line:nth-of-type(1) { animation: nav-btn_line1 0.3s forwards; }
.l-nav-btn.is-active .l-nav-btn_line:nth-of-type(3) { animation: nav-btn_line3 0.3s forwards; }
.l-nav-btn.is-close .l-nav-btn_line:nth-of-type(1) { animation: nav-btn-close_line1 0.3s forwards; }
.l-nav-btn.is-close .l-nav-btn_line:nth-of-type(2) { opacity: 0; }
.l-nav-btn.is-close .l-nav-btn_line:nth-of-type(3) { animation: nav-btn-close_line3 0.3s forwards; }
@media (hover: hover) {
  .l-nav-btn:not(.is-close):hover { background-color: var(--nav-btn-bg-hover); }
  .l-nav-btn:not(.is-close):hover .l-nav-btn_line { background-color: var(--nav-btn-line-bg-hover); }
  .l-nav-btn.is-close:hover { background-color: var(--nav-btn-close-bg-hover); }
  .l-nav-btn.is-close:hover .l-nav-btn_line { background-color: var(--nav-btn-close-line-bg-hover); }
}
@keyframes nav-btn_line1 {
  0% { transform: translateY(calc((var(--nav-btn-lines-height) / 2) - (var(--nav-btn-line-height) / 2))) rotate(45deg); }
  50% { transform: translateY(calc((var(--nav-btn-lines-height) / 2) - (var(--nav-btn-line-height) / 2))) rotate(0); }
  100% { transform: translateY(0) rotate(0); }
}
@keyframes nav-btn_line3 {
  0% { transform: translateY(calc(-1 * (var(--nav-btn-lines-height) / 2) + (var(--nav-btn-line-height) / 2))) rotate(-45deg); }
  50% { transform: translateY(calc(-1 * (var(--nav-btn-lines-height) / 2) + (var(--nav-btn-line-height) / 2))) rotate(0); }
  100% { transform: translateY(0) rotate(0); }
}
@keyframes nav-btn-close_line1 {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(calc((var(--nav-btn-lines-height) / 2) - (var(--nav-btn-line-height) / 2))) rotate(0); }
  100% { transform: translateY(calc((var(--nav-btn-lines-height) / 2) - (var(--nav-btn-line-height) / 2))) rotate(45deg); }
}
@keyframes nav-btn-close_line3 {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(calc(-1 * (var(--nav-btn-lines-height) / 2) + (var(--nav-btn-line-height) / 2))) rotate(0); }
  100% { transform: translateY(calc(-1 * (var(--nav-btn-lines-height) / 2) + (var(--nav-btn-line-height) / 2))) rotate(-45deg); }
}
@media not (max-width: 1024px) { .l-nav-btn { display: none; } }


/*--------------------------------------------------------------------------------

  footer

--------------------------------------------------------------------------------*/
footer {
  --link-color: #fff;
  --link-color-hover: #fff;
  color: #fff;
  background-color: var(--color-primary);  
}
footer .inner {
  width: calc(var(--container-width, var(--base-width)) * 1px);
  max-width: calc(100% - (var(--container-side-space, var(--side-space)) * 2));
  margin-inline: auto;
}

footer .ft-contents {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 100px 0;
}
footer .ft-profile h1 {
  line-height: 1;
  container-type: normal;
  align-self: center;
  margin-right: auto;
  margin-bottom: 30px;
}
footer .ft-profile h1 a {
  display: flex;
  align-items: center;
  column-gap: 20px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.025rem;
  text-decoration: none;
}
footer .ft-profile h1 a::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  background: transparent url(../img/logo.svg) center center / cover no-repeat;
}
footer .ft-profile h1 a span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 10px;
}
footer .ft-profile h1 a span small {
  font-size: 15px;
  font-weight: 200;
  letter-spacing: -0.025rem;
}
footer .ft-profile address:first-of-type {
  margin-bottom: 30px
}

footer .ft-contents nav {
  text-align: right;
}
footer .ft-contents nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 1em;
}

footer .copyright {
  font-size: 15px;
  text-align: center;
  padding-bottom: 1rem;
}
@media (max-width: 1024px) {
  footer .ft-contents { display: block; }
  footer .ft-profile {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 1em;
  }
  footer .ft-profile .ft-logo {
    grid-column: 1 / 3;
    grid-row   : 1 / 2;
  }
  footer .ft-profile address { grid-row   : 2 / 3; }
  footer .ft-profile address:first-of-type { grid-column: 1 / 2; }
  footer .ft-profile address:last-of-type { grid-column: 2 / 3; }
  footer .ft-contents nav { display: none; }
}
@media (max-width: 768px) {
  footer .ft-profile {
    display: block;
  }
  footer .copyright {
    width: calc(100% - 140px);
    text-align: left;
  }
}
@media (max-width: 500px) {
  footer .ft-profile h1 a {
    font-size: 21px;
  }
  footer .ft-profile h1 a span small {
    font-size: 12px;
  }
  footer .copyright {
    width: calc(100% - 100px);
  }
}

/* to-top-btn */
.instagram-link {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 4;
  max-width: 120px;
  transition: all 0.3s ease;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  padding-top: 0.25em;
  font-weight: bold;
}
.instagram-link:hover {
  filter: brightness(1.1);
}
@media (max-width: 500px) {
  .instagram-link {
    max-width: 80px;
  }
}

/* to-top-btn *
.to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  background-color: rgba(30, 30, 30, 0.8);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.to-top-btn .arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: translateY(2px) rotate(45deg);
}
.to-top-btn.is-show {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) {
  .to-top-btn:hover {
    background-color: rgba(30, 30, 30, 1);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }
}

/*--------------------------------------------------------------------------------

  page title

--------------------------------------------------------------------------------*/
.l-pg-ttl {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.l-pg-ttl-inner {
  text-align: center;
  padding: var(--space-2l) var(--side-space);
}
.l-pg-ttl-txt {
  display: inline-block;
  font-size: var(--fs-5l);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

/*--------------------------------------------------------------------------------

  main

--------------------------------------------------------------------------------*/
.l-main {
  position: relative;
  z-index: 2;
  background-color: #fff;
}
