@charset "UTF-8";
/* --------------------------------------------------------

 layout.css

---------------------------------------------------------*/
.inner {
  max-width: var(--max-width);
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .inner {
    padding: 0 1.25rem;
  }
}


/* Header
--------------------------------------------------------*/
.header {
  background: var(--main);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.9rem;
  padding-bottom: 1.3rem;
  background: var(--main);
  position: relative;
  z-index: 9999;
}
.header-company {
  color: var(--white);
  font-family: var(--marugo);
  font-weight: 900;
  font-style: normal; 
}
.header-company .company-category {
  font-size: 0.813rem;
  font-weight: 500;
}
.header-company .company-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}
.header-company .company-name a {
  transition: ease 0.3s;
}
.header-company .company-name a:hover {
  opacity: 0.75;
}
.header-company .company-name span {
  font-size: 1.167em;
  letter-spacing: 0.1em;
}
.header-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
  color: var(--white);
}
.header-contact .contact-label {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  padding: 0 1.25em;
  border: 1px solid;
  border-radius: 3px;
}
.header-contact .contact-tel .icon-phone {
  display: inline-block;
  width: 1.125rem;
  height: 1.5rem;
  margin-right: 3px;
  object-fit: contain;
  position: relative;
  top: -3px;
}
.header-contact .contact-number {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
}
.header-contact .contact-tel p {
  font-size: 0.813rem;
  padding-left: 1.7em;
}
.hamburger {
  width: 30px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  top: 3px;
  z-index: 1000;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--white);
  transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}
.header-menu {
  background: var(--pale-blue);
}
.header-menu-list a {
  display: block;
  font-weight: 600;
}
.header-menu-list a:hover,
.header-menu-list li.is-open {
  background: #cedcf0;
}
.header-menu-list .submenu {
  will-change: height, transform, opacity;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
  background: var(--pale-blue);
}
.header-menu-list .submenu.is-open {
  opacity: 1;
  transform: translateY(0);
}
.header-menu-list .submenu li a {
  font-size: 0.938em;
  text-align: left;
  border-bottom: 1px solid #cedcf0;
  position: relative;
}
.header-menu-list .submenu li a::before {
  display: inline-block;
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: url(../images/icon-arrow.svg) no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .header-inner {
    padding-top: 0.25rem;
    padding-bottom: 0.75rem;
  }
  .header-company .company-name {
    font-size: 1.143rem;
  }
  .header-contact.fbox {
    gap: 1.25rem;
  }
  .header-contact .contact-label,
  .header-contact .contact-tel .contact-number,
  .header-contact .contact-tel p {
    display: none;
  }
  .header-contact {
    margin-top: 5px;
    gap: 1.75rem;
  }
  .header-contact .contact-tel .icon-phone {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 30px;
    height: 24px;
    top: -4px;
    margin-right: 0;
  }
  .header-contact .contact-tel .icon-phone::after {
    content: "TEL";
    font-size: 11px;
    font-style: normal;
  }
  .header-contact .contact-tel a {
    display: block;
  }
  .header-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    opacity: 0;
    height: 100dvh; 
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.5s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .header-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .header-menu-list.inner {
    padding: 16.1vw 0 0;
  }
  .header-menu-list > li > a {
    padding: 1rem 3.333%;
    background: #cedcf0;
    position: relative;
  }
  .header-menu-list > li > a:first-child {
    border-bottom: 1px solid #f8f8f8;
  }
  .header-menu-list > li > a:first-child::before {
    display: inline-block;
    content: "";
    width: 0.75rem;
    height: 0.75rem;
    background: url(../images/icon-arrow.svg) no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 3.333%;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.3s ease;
  }
  .header-menu-list > li.single > a:first-child::before{
    display: none;
  }
  .header-menu-list .submenu li a {
    padding: 1rem 1.85rem;
  }
  .header-menu-list .submenu li a::before {
    left: 3.333%;
  }
}
@media screen and (min-width: 768px) {
  .hamburger {
    display: none;
  }
  .header-menu-list {
    display: flex;
    flex-wrap: wrap;
  }
  .header-menu-list > li {
    width: 16.66%;
    max-width: 11.25rem;
    position: relative;
  }
  .header-menu-list > li:first-of-type {
    display: none;
  }
  .header-menu-list > li > a {
    display: block;
    text-align: center;
    padding: 0.9rem 0;
    position: relative;
  }
  .header-menu-list > li > a::before,
  .header-menu-list > li:last-child > a::after {
    content: "";
    position: absolute;
    top: 0.625rem; 
    width: 1px;
    height: calc(100% - 1.25rem);
    border-left: 1px solid var(--white);
  }
  .header-menu-list > li > a::before {
    left: 0;
  }
  .header-menu-list > li:last-child > a::after {
    right: 0;
  }
  .header-menu-list .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 11.25rem;
    z-index: 1000;
  }
  .header-menu-list .submenu li:first-child a {
    border-top: 1px solid #f8f8f8;
  }
  .header-menu-list .submenu li a {
    padding: 0.8rem 0.5rem 0.8rem 1.6rem;
  }
  .header-menu-list .submenu li a::before {
    left: 0.625rem;
  }
  .header-menu-list .spmenu {
    display: none;
  }
}


/* Main
--------------------------------------------------------*/
.main {
  flex: 1;
}


/* Container
--------------------------------------------------------*/
.container {
  padding-bottom: 7.5rem;
}
@media screen and (max-width: 767px) {
  .container {
    padding-bottom: 5.714rem;
  }
}


/* Section
--------------------------------------------------------*/
.section {
  margin-bottom: 5rem;
}
.section:last-of-type {
  margin-bottom: 0;
}
.section-inner {
  max-width: 60rem;
  padding: 2rem;
  margin: 0 auto; 
}
.section-fbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem 7%;
}
.section-fbox .section-text {
  width: 48%;
}
.section-fbox .section-img {
  width: 45%;
  height: 17.5rem;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .section-inner {
    padding: 1.25rem;
  }
  .section-fbox {
    flex-direction: column-reverse;
  }
  .section-fbox .section-text,
  .section-fbox .section-img {
    width: 100%;
  }
  .section-fbox .section-img {
    height: 13rem;
  }
}


/* Footer
--------------------------------------------------------*/
.footer {
  padding: 2.5rem 0 5rem;
  background: var(--white);
}
.footer-fbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.footer-company .company-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.313rem;
}
.footer-menu{
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.footer-menu-list li {
  font-size: 0.875rem;
  margin-bottom: 2px;
}
.footer-menu-list li:not(.category-label)::before {
  content: "-";
  padding-right: 2px;
}
.footer-menu-list li.category-label {
  font-size: 1rem;
  font-weight: 600;
}
.footer-menu-list a:hover {
    text-decoration: underline;
  }
.copyright {
  color: var(--light-gray);
  font-size: 0.813rem;
}
@media screen and (max-width: 767px) {
  .footer {
    padding-bottom: 1rem;
  }
  .footer-menu{
    gap: 0;
  }
  .footer-menu-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%; 
    border-top: 1px solid;
    margin-bottom: 0.75rem;
  }
  .footer-menu-list li {
    width: 50%;
    margin-bottom: 0;
  }
  .footer-menu-list li:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .footer-menu-list li a {
    display: inline-block;
    padding: 3px 0;
  }
  .footer-menu-list li.category-label {
    width: 100%;
    padding: 0.5rem 0 0;
  }
  .copyright {
    text-align: center;
  }
}