@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css?ver=6.6.1');

.header *,
.humberger-menu *,
.footer *,
.copyright *,
.navigation * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--family-noto);
  font-size: unset;
  font-weight: unset;
}

:where(img) {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

:where(ul, ol) {
  list-style: none;
}

:root {
  --main-width: 1200px;
  --navigation-width: 850px;
  --content-spacing: clamp(1.25rem,24vw,max(calc(50vw - var(--main-width) / 2),12px));
  --navigation-spacing: clamp(1.25rem,24vw,max(calc(50vw - var(--navigation-width) / 2),12px));
  --base-color: #fff;
  --main-color: #8c54a1;
  --sub-color: rgba(140,84,161,0.3);
  --sub2-color: rgba(140,84,161,0.05);
  --link-color: #427c95;
  --new-color: #dfc243;
  --gradation-color: linear-gradient(to bottom,#bbe5fb 30%,#87cafb 100%);
  --price-color: #ec2931;
  --required-color: #d83a3a;
  --navigation-bg-color: rgba(0,0,0,0.9);
  --navigation-border-color: rgba(255,255,255,0.15);
  --footer-color: #f2f2f2;
  --bg-color: #f5f2ed;
  --bg-gray-color: #bbb;
  --bg-breadcrumb-color: #f5f5f5;
  --border-color: #bbe5fb;
  --border-scube-color: #e6e6e6;
  --border-content-color: #e2e2e2;
  --text-color: #333;
  --text-point-color: #31739a;
  --text-sub-color: #8c8c8c;
  --text-gray-color: #999;
  --family-noto: 'Noto Sans JP',sans-serif;
  --weight-bold: 700;
  --weight-regular: 400;
  --line-height-sm: 1;
  --line-height-md: 1.5;
  --line-height-lg: 1.8;
  --line-height-xl: 2;
  --text-xxs: 0.625rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-xxl: 1.875rem;
  --text-xxxl: 2.25rem;
  --text-4xl: 2.75rem;
  --text-price: 1.25rem;
  --p-sm: 0.25rem;
  --p-md: 0.625rem;
  --p-lg: 1.25rem;
  --p-xl: 2rem;
  --p-xxl: 2.5rem;
  --p-xxxl: 3.5rem;
  --gap-sm: 0.25rem;
  --gap-md: 0.625rem;
  --gap-lg: 1.25rem;
  --gap-xl: 2rem;
  --gap-xxl: 2.5rem;
  --gap-xxxl: 3.5rem;
  --gap-xxxxl: 4.5rem;
  --z-index-overlay: 200;
  --z-index-section: 10;
  --swiper-pagination-color: #888;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-horizontal-gap: 8px
}

::-webkit-scrollbar {
  width: 8px;
  height: 4px;
  background: var(--sub-color);
}

::-webkit-scrollbar-thumb {
  background: var(--main-color);
}

@-moz-document url-prefix() {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) var(--sub-color);
  }
}

body {
  background-color: var(--base-color);
}

html {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color);
  scroll-padding-top: 70px;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: var(--p-md) var(--content-spacing);
  z-index: 100;
  background-color: var(--base-color);
  box-sizing: border-box;
  line-height: 1.5;
}

.header .inner {
  display: flex;
  justify-content: space-between;
}

.header .inner .link {
  display: inline-block;
  font-weight: var(--weight-bold);
  text-decoration: none;
  color: var(--text-color);
  line-height: 1.6;
  font-size: var(--text-xl);
}

.header .inner .link:hover {
  color: var(--main-color);
}

.header .inner .link img {
  width: 100%;
  height: auto;
}

.header .list {
  display: none;
}

.header .information {
  display: none;
}

.header {
  height: 160px;
  position: relative;
  padding-bottom: 0;
  z-index: 30;
  border-bottom: 3px solid var(--main-color);
}

.header .inner .link {
  width: 474px;
  margin-top: 15px;
}

.header .information {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: var(--p-sm);
  padding-right: var(--p-xxxl);
}

.header .information .block {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}

.header .information .block-tel {
  gap: var(--gap-md);
}

.header .information .text {
  font-size: var(--text-sm);
}

.header .information .tel {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  font-size: var(--text-xl);
}

.header .information .tel::before {
  font: var(--fa-font-solid);
  content: '\f095';
  display: inline-block;
  font-size: var(--text-lg);
  color: var(--text-color);
  padding-top: var(--p-sm);
}

.header .information .tel:hover {
  color: var(--main-color);
}

.header .information .tel:hover:before {
  color: var(--main-color);
}

.header .information .block-text {
  font-size: var(--text-xs);
}

:is(.header .information) .block-text + .block-text-title {
  margin-left: var(--gap-md);
}

.header .sep {
  display: block;
  width: 1px;
  height: 30px;
  background-color: var(--text-color);
  flex-shrink: 0;
}

.header .list {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-block: var(--p-md);
}

.header .list .item {
  width: 100%;
  height: 60px;
}

.header .list .item:last-child .link {
  border-right: 1px solid var(--base-color);
}

.header .list .item.toggle:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px 8px 0 0;
  transition: 0.2s;
  cursor: default;
}

.header .list .item.toggle:hover .text {
  color: var(--main-color);
  font-weight: var(--weight-bold);
}

.header .list .item .text,
.header .list .item .link {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  font-size: var(--text-sm);
  padding-block: var(--p-lg);
}

.header .list .item .link:hover {
  color: var(--main-color);
  font-weight: var(--weight-bold);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

.header .list .item .menu {
  position: absolute;
  top: calc(100% - var(--p-md));
  left: 0;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  height: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0 var(--p-xxl);
  grid-template-columns: 150px 1fr;
  border-radius: 8px;
  opacity: 0;
  z-index: 10;
  transition: 0.5s;
}

.header .list .item .menu .heading {
  display: none;
  font-size: var(--text-lg);
  color: var(--text-color);
  font-weight: var(--weight-bold);
}

.header .list .item .menu .inner {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 0;
}

.header .list .item .menu .inner .tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--base-color);
  background-color: var(--main-color);
  border-radius: 50px;
  padding: 4px var(--p-md);
  margin-bottom: var(--p-md);
}

.header .list .item .menu .inner .block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--p-lg);
  width: 100%;
}

:is(.header .list .item .menu .inner .block) + .tag {
  margin-top: var(--p-xl);
}

.header .list .item .menu .inner .block .block-link {
  text-align: left;
  position: relative;
  text-decoration: none;
  font-size: var(--text-lg);
  color: var(--text-color);
  padding: var(--p-lg) var(--p-md);
  border-bottom: 1px solid var(--border-scube-color);
  font-weight: var(--weight-bold);
  transition: 0.2s;
}

.header .list .item .menu .inner .block .block-link::after {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  right: var(--p-md);
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--text-color);
  border-right: 2px solid var(--text-color);
  transform: rotate(45deg);
}

.header .list .item .menu .inner .block .block-link:hover {
  color: var(--base-color);
  background-color: var(--main-color);
  transition: 0.2s;
}

.header .list .item .menu .inner .block .block-link:hover::after {
  border-color: var(--base-color);
}

.header .list .item:hover .menu {
  height: auto;
  padding-block: var(--p-xxl);
  opacity: 1;
  transition: 0.5s;
}

.header .list .item:hover .menu .heading {
  display: block;
}

.header .list .item:hover .menu .inner {
  display: flex;
}

.hamburger-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  top: 10px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: none;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  right: var(--content-spacing);
  z-index: 1000;
  cursor: pointer;
}

.hamburger-menu .item {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
}

.hamburger-menu:hover {
  opacity: 0.7;
}

.hamburger-menu {
  top: 20px;
}

.menu-open .hamburger-menu {
  background-color: unset;
}

.menu-open .hamburger-menu .item {
  background-color: var(--base-color);
}

.menu-open .hamburger-menu .item-top {
  transform: rotate(45deg) translateX(3px) translateY(4px);
}

.menu-open .hamburger-menu .item-center {
  opacity: 0;
}

.menu-open .hamburger-menu .item-bottom {
  transform: rotate(-45deg) translateX(5px) translateY(-6px);
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: var(--gap-md);
  padding-top: var(--p-xxl);
  align-items: center;
  box-sizing: border-box;
  line-height: 1.6;
  background-color: var(--footer-color);
}

.footer .information {
  padding-inline: var(--content-spacing);
  padding-bottom: var(--p-lg);
}

.footer .information .link {
  display: inline-block;
  color: var(--text-color);
  text-align: left;
  text-decoration: none;
  width: auto;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
}

.footer .information .link:hover {
  color: var(--main-color);
}

.footer .information .link .logo {
  -o-object-fit: contain;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer .information .address {
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
  font-size: var(--text-sm);
}

.footer .information .tel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: -moz-fit-content;
  width: fit-content;
  gap: var(--p-sm);
  font-size: var(--text-xl);
  line-height: var(--line-height-md);
  text-decoration: none;
  position: relative;
  color: var(--text-color);
}

.footer .information .tel::before {
  font: var(--fa-font-solid);
  content: '\f095';
  display: inline-block;
  padding-top: var(--p-md);
  font-size: var(--text-lg);
}

.footer .information .tel:hover {
  color: var(--main-color);
}

.footer .information .tel:hover::before {
  color: var(--main-color);
}

.footer .information .text {
  font-size: var(--text-sm);
}

.footer .list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #e6e6da;
}

.footer .list .item {
  border-bottom: 1px solid #e6e6da;
}

.footer .list .item:nth-child(odd) {
  border-right: 1px solid #e6e6da;
}

.footer .list .item .link {
  width: 100%;
  padding-block: var(--p-md);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--text-color);
  text-decoration: none;
  display: block;
}

.footer .list .item .link:hover {
  color: var(--main-color);
  font-weight: var(--weight-bold);
}

.footer {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--p-xl) var(--content-spacing);
}

.footer .information {
  width: 60%;
  padding-left: 0;
  padding-right: 0;
}

.footer .information .link {
  width: 100%;
}

.footer .information .logo {
  width: 474px;
  height: 48px;
}

.footer .list {
  width: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 var(--gap-lg);
  margin-top: 6px;
  border-top: none;
}

.footer .list .item {
  border: none;
}

.footer .list .item:nth-child(odd) {
  border: none;
}

.copyright {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-gray-color);
  padding-block: var(--p-md);
  background-color: var(--footer-color);
}

.copyright .link {
  text-decoration: none;
  color: var(--text-gray-color);
}

@keyframes open {
  from {
    display: block;
    opacity: 0;
  }

  to {
    opacity: 1;
    z-index: var(--z-index-overlay);
  }
}

@keyframes close {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}

.navigation {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  overflow-y: scroll;
  background: var(--navigation-bg-color);
  animation: 200ms linear 0s 1 normal forwards running;
  padding: 20px 0;
  line-height: 1.5;
}

.navigation .contents {
  padding: 40px var(--content-spacing);
}

.navigation .contents .divider {
  border-color: var(--navigation-border-color);
  border-width: 1px;
}

.navigation .contents .block {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  padding-block: 24px;
}

.navigation .contents .block .heading {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--base-color);
}

.navigation .contents .block .list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-lg);
}

.navigation .contents .block .list .link {
  position: relative;
  display: inline-block;
  color: var(--base-color);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  text-decoration: none;
  padding-left: var(--p-lg);
}

.navigation .contents .block .list .link::before {
  position: absolute;
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border: solid 1px var(--main-color);
  border-width: 2px 2px 0 0;
  position: absolute;
  left: 0;
  top: 46%;
  transform: translateY(-50%) rotate(45deg);
}

.navigation .contents .block .list .link:hover {
  text-decoration: underline;
}

.navigation .contents .block .list .list-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.navigation .contents .block .list .list-inner dt {
  width: max-content;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--base-color);
  background-color: var(--main-color);
  border-radius: 50px;
  padding: 1px var(--p-lg) 2px;
}

.navigation::before {
  content: none;
}

@media (min-width: 768px) {
  .navigation .contents {
    padding: 60px var(--navigation-spacing);
  }

  .navigation .contents .block {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
  }

  .navigation .contents .block .heading {
    font-size: var(--text-lg);
  }

  .navigation .contents .block .list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
.navigation[aria-hidden='true'] {
  animation-name: close;
}

.navigation[aria-hidden='false'] {
  animation-name: open;
}
