@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where([hidden]:not([hidden='until-found'])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light;
}

@supports not (min-block-size: 100dvb) {
  :where(html) {
    block-size: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth;
  }
}

:where(body) {
  block-size: 100%;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(fieldset) {
  border-width: 0;
  border-style: solid;
  background-origin:border-box;
  background-repeat:no-repeat
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role='button'], [role='option']) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(button) {
  border-style: solid;
}

:where(a) {
  text-underline-offset: 0.2ex;
}

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

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg) {
  max-inline-size: 100%;
  block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
}

:where(hr) {
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(:focus-visible) {
  outline: 2px solid var(--focus-color, Highlight);
  outline-offset: 2px;
}

:where(.visually-hidden:not(:focus, :active, :focus-within, .not-visually-hidden)) {
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* base */
:root{
  --color-white: #ffffff;
  --color-black: #000000;

  --color-primary: #004646;
  --color-secondary: #f77c01;
  --color-tertiary: #D43238;

  --color-surface: #ffffff;
  --color-surface-container: #f5f5f5;
  --color-on-surface: #191c20;
  --color-on-surface-variant: #43474e;

  --color-outline: #cccccc;
  --color-outline-variant: #eeeeee;

  --shadow: 0 0 3px rgba(0 0 0 / 12%);
  --scrim: rgba(0 0 0 / 70%);
}

html{
  scroll-behavior: smooth;
}

body{
  background: #F6F6F0;
  letter-spacing: 0.05rem;
  font-family: "Noto Sans JP", "Helvetica Neue", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--color-on-surface);
}

a{
  text-decoration: none;
  color: inherit;
}

input, textarea, select, button{
  border: none;
  outline: none;
  background: transparent;
}

.main{
  position: relative;
}

.wrapper{
  margin: 0 auto;
  max-width: 1000px;
}

/* header */
.header{
  z-index: 100;
  position: sticky;
  top: 0;
  left: 0;
  padding: 0 16px;
  width: 100%;
  height: 68px;
  background-color: rgba(255 255 255 / 90%);
  backdrop-filter: blur(10px);
  transition: background-color .3s;
  .header__wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 12px;
    width: inherit;
    height: inherit;
  }
  @media (min-width: 840px) {
    height: 100px;
    .header__wrapper{
      gap: 0 32px;
    }
  }
}

.header-logo{
  flex: 0 0 auto;
  img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 40px;
  }
  @media (min-width: 840px) {
    img{
      height: 64px;
      max-width: none;
      max-height: none;
    }
  }
}

.header-navigation{
  display: none;
  @media (min-width: 840px) {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: end;
    > li{
      display: flex;
      align-items: center;
      &:not(:last-child)::after{
        content: "／";
        margin: 0 16px;
      }
      > a{
        display: block;
        padding: .8em 0;
        font-size: 16px;
        font-weight: 700;
        &:hover{
          opacity: .7;
          transition: opacity .2s;
        }
        &:not([href]) {
          opacity: .7;
        }
      }
    }
  }
}

.header-navigation2{
  @media (min-width: 840px) {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
  }
}

.header-toggle{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  > span{
    width: 100%;
    height: 2px;
    background-color: var(--color-on-surface);
    transition: transform .2s ease, opacity .2s ease;
  }
  @media (min-width: 840px) {
    display: none!important;
  }
}

.header-quotation{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 .5em;
  padding: 0 1em;
  border-radius: 8px;
  height: 48px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  > svg{
    width: 1.4em;
    fill: var(--color-white);
  }
  &:hover{
    opacity: .7;
    transition: opacity .2s;
  }
  display: none;
  @media (min-width: 840px) {
    display: flex;
  }
}

.header-tel{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 .5em;
  padding: 0 1em;
  border-radius: 8px;
  height: 48px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  > svg{
    width: 1.6em;
    fill: var(--color-white);
  }
  &:hover{
    opacity: .7;
    transition: opacity .2s;
  }
  display: none;
  @media (min-width: 840px) {
    flex: 0 0 auto;
    display: flex;
    pointer-events: none;
    &:hover{
      opacity: 1;
    }
  }
}

.header.is-show{
  @media (max-width: 839px) {
    overflow-y: auto;
    position: fixed!important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #F6F6F0!important;
    .header__wrapper{
      display: grid;
      grid-template: 68px 1fr auto / auto auto;
    }
    .header-logo{
      grid-area: 1 / 1 / 2 / 2;
    }
    .header-toggle{
      grid-area: 1 / 2 / 2 / 3;
      > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
      > span:nth-child(2) { opacity: 0; }
      > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    }
    .header-navigation{
      grid-area: 2 / 1 / 3 / 3;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px 0;
      > li{
        > a{
          display: block;
          padding: .5em 1em;
          font-size: 16px;
          font-weight: 600;
        }
      }
    }
    .header-navigation2{
      grid-area: 3 / 1 / 4 / 3;
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 0 0 16px;
      width: 100%;
    }
    .header-quotation,
    .header-tel{
      display: flex;
    }
  }
}

.top .header:not(.is-fixed, .is-show){
  position: absolute;
  background-color: transparent;
  backdrop-filter: none;
  .header-logo{
    opacity: .9;
  }
  .header-toggle{
    opacity: .9;
    > span{
      background-color: var(--color-white);
    }
  }
  .header-navigation{
    opacity: .9;
    color: var(--color-white);
  }
  .header-quotation{
    opacity: .9;
    border: solid 1px var(--color-white);
    background-color: transparent;
    color: var(--color-white);
  }
  .header-tel{
    opacity: .9;
    border: solid 1px var(--color-white);
    background-color: transparent;
    color: var(--color-white);
  }
}
.top .header.is-fixed:not(.is-show){
  position: fixed;
  top: -100%;
  animation: forwards .7s header-fade;
  .header-logo,
  .header-toggle{
    opacity: 1;
  }
}
@keyframes header-fade {
  from {
    top: -100%;
  }
  to {
    top: 0;
  }
}

/* footer */
.footer{
  .footer__container{
    background-color: var(--color-primary);
    color: var(--color-white);
  }
  .footer__container2{
    padding: 40px 16px;
    background: url(/assets/images/footer_bg.jpg) center / cover no-repeat;
    color: var(--color-white);
  }
  .footer__container3{
    padding: 40px 16px;
    background-color: var(--color-primary);
    color: var(--color-white);
  }
  @media (min-width: 840px) {
    .footer__container{
      padding: 80px 20px;
    }
    .footer__container2{
      padding: 80px 20px;
    }
    .footer__container3{
      padding: 80px 20px;
    }
  }
}

.footer-navigation{
  @media (max-width: 839px) {
    > li{
      &:not(:first-child){
        border-top: solid 1px;
      }
      > input{
        display: none;
      }
      > label{
        display: flex;
        align-items: center;
        position: relative;
        padding: 0 16px;
        height: 56px;
        font-size: 13px;
        font-weight: 700;
        &::before{
          content: "";
          position: absolute;
          top: 0;
          right: 16px;
          bottom: 0;
          margin: auto 0;
          border: 2px solid currentColor;
          border-left: 0;
          border-bottom: 0;
          width: 8px;
          height: 8px;
          transform: translateY(-25%) rotate(-45deg);
          pointer-events: none;
        }
      }
      > ul{
        padding: 0 0 4px;
        > li{
          > a{
            display: flex;
            align-items: center;
            padding: 0 16px;
            height: 40px;
            font-size: 13px;
            &:hover{
              opacity: .7;
            }
          }
        }
      }
      > input:not(:checked) ~ label::before{
        transform: translateY(-25%) rotate(135deg);
      }
      > input:not(:checked) ~ ul{
        display: none;
      }
    }
  }
  @media (min-width: 840px) {
    > li{
      &:not(:first-child){
        margin: 48px 0 0;
      }
      > input{
        display: none;
      }
      > label{
        display: block;
        margin: 0 0 16px;
        font-size: 20px;
        font-weight: 700;
        cursor: default;
      }
      > ul{
        display: flex;
        flex-wrap: wrap;
        > li{
          &:not(:last-child)::after{
            content: "|";
            margin: 0 .5em;
          }
          > a{
            display: inline-block;
            margin: .2em 0;
            font-size: 14px;
            &[href]:hover{
              opacity: .7;
            }
          }
        }
      }
    }
  }
}

.footer-logo{
  display: block;
  margin: 0 0 8px -4px;
  > img{
    width: auto;
    height: 52px;
  }
  @media (min-width: 840px) {
    margin: 0 0 16px -8px;
    > img{
      height: 72px;
    }
  }
}

.footer-copyright{
  font-size: 11px;
  @media (min-width: 840px) {
    font-size: 13px;
  }
}

.footer-policies{
  margin: 0 0 32px;
  .footer-policies__list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    > li{
      > a{
        padding: .2em 0;
        font-size: 13px;
        font-weight: 700;
        &:hover{
          opacity: .7;
        }
      }
    }
  }
  @media (min-width: 840px) {
    margin: 0 0 60px;
    .footer-policies__list{
      > li{
        > a{
          font-size: 16px;
        }
      }
    }
  }
}

.footer-social{
  .footer-social__title{
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
  }
  .footer-social__list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    > li{
      > a{
        &:hover{
          opacity: .7;
        }
        > img{
          overflow: hidden;
          border-radius: 50%;
          width: 48px;
          height: 48px;
        }
      }
    }
  }
  @media (min-width: 840px) {
    .footer-social__title{
      margin: 0 0 20px;
      font-size: 20px;
    }
  }
}

.footer-service{
  margin: 32px 0 0;
  .footer-service__title{
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
  }
  .footer-service__list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    > li{
      > a{
        &:hover{
          opacity: .7;
        }
        > img{
          width: 100%;
          height: auto;
        }
      }
    }
  }
  @media (min-width: 840px) {
    margin: 56px 0 0;
    .footer-service__title{
      margin: 0 0 20px;
      font-size: 20px;
    }
    .footer-service__list{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
  }
}

/* breadcrumb */
.breadcrumb {
  padding: 12px 16px;
  background-color: var(--color-surface-container);
  font-size: 12px;
  color: var(--color-on-surface-variant);
  > ol{
    display: flex;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    > li{
      margin-right: 0.5em;
      &:not(:last-child)::after {
        content: ">";
        margin-left: 0.5em;
      }
      > a{
        text-decoration: underline;
      }
    }
  }
  @media (min-width: 840px) {
    padding: 16px 20px;
    font-size: 14px;
  }
}

/* top */
.top-front{
  position: relative;
  width: 100%;
  height: 100svh;
  .top-front__container{
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    padding: 0 16px;
    width: 100%;
    height: 100%;
  }
  .top-front__message{
    line-height: 1.6;
    letter-spacing: .1em;
    text-align: center;
    font-size: 21px;
    font-weight: 900;
    color: var(--color-white);
    text-shadow: 0 0 6px rgba(0 0 0 / 50%), 0 4px 16px rgba(0 0 0 / 30%);
  }
  .top-front__background{
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    > picture{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      animation: background-fade 12s infinite;
      &:nth-child(1){animation-delay: 0s;}
      &:nth-child(2){animation-delay: 3s;}
      &:nth-child(3){animation-delay: 6s;}
      &:nth-child(4){animation-delay: 9s;}
      > img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
  @media (min-width: 840px) {
    height: 80dvh;
    min-height: 650px;
    .top-front__container{
      padding: 0 20px;
    }
    .top-front__message{
      font-size: 42px;
    }
  }
}
@keyframes background-fade {
  0%{
    opacity: 0;
  }
  10%, 25% {
    opacity: 1;
  }
  35%, 100%{
    opacity: 0;
  }
}

.top-gallery{
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  margin: 24px 0;
  width: 100%;
  > ul{
    display: flex;
    align-items: center;
    &:nth-child(1){
      animation: top-gallery-slide 60s linear infinite;
      animation-delay: -60s;
    }
    &:nth-child(2){
      animation: top-gallery-slide2 60s linear infinite;
      animation-delay: -30s;
    }
    > li{
      flex: 0 0 auto;
      padding: 0 2px;
      width: 200px;
      aspect-ratio: 16 / 9;
      > img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
  @media (min-width: 840px) {
    margin: 80px 0;
    > ul{
      > li{
        padding: 0 4px;
        width: 480px;
      }
    }
  }
}
@keyframes top-gallery-slide {
  0% {
    transform: translate(100%);
  }
  100% {
    transform: translate(-100%);
  }
}
@keyframes top-gallery-slide2 {
  0% {
    transform: translate(0);
  }
  100% {
    transform: translate(-200%);
  }
}

.top-banner{
  margin: 20px 16px;
  .top-banner__wrapper{
    display: flex;
    flex-direction: column;
    gap: 8px 0;
  }
  .top-banner__item{
    display: block;
    width: 100%;
    > img{
      display: block;
      width: 100%;
      height: auto;
    }
  }
  a.top-banner__item{
    transition: opacity .2s;
    &:hover{
      opacity: .7;
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px 100px;
    .top-banner__wrapper{
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
  }
}

.top-cases{
  margin: 32px 16px;
  .top-cases__title{
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
  }
  .top-cases__list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
    > li{
      overflow: hidden;
    }
  }
  .top-cases__item{
    display: block;
    border: solid 1px var(--color-outline-variant);
    background-color: var(--color-surface);
  }
  .top-cases__item__image{
    > img{
      display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }
  }
  .top-cases__item__text{
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .top-cases__item:hover{
    .top-cases__item__image{
      > img{
        opacity: .7;
        transition: opacity .2s;
      }
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px 100px;
    .top-cases__title{
      margin: 0 0 16px;
      font-size: 28px;
    }
    .top-cases__list{
      grid-template-columns: repeat(3, 1fr);
      gap: 16px 8px;
    }
    .top-cases__item__text{
      padding: 20px 12px;
      font-size: 16px;
    }
  }
}

.top-purpose{
  margin: 32px 16px;
  .top-purpose__title{
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
  }
  .top-purpose__list{
    border: solid 1px var(--color-outline-variant);
    background-color: var(--color-surface);
  }
  .top-purpose__item{
    display: block;
    padding: 16px;
    font-size: 13px;
    .top-purpose__item__image{
      margin: 0 0 1em;
      width: 100%;
      aspect-ratio: 3 / 1;
      > img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
    .top-purpose__item__text{
      margin: 0 0 .4em;
      text-align: center;
      font-size: 1.1em;
      font-weight: 700;
    }
    .top-purpose__item__text2{
      text-align: center;
      font-size: .9em;
      color: var(--color-on-surface-variant);
    }
  }
  .top-purpose__item:hover{
    .top-purpose__item__image{
      > img{
        opacity: .7;
        transition: opacity .2s;
      }
    }
  }
  @media (max-width: 839px) {
    .top-purpose__list{
      > li{
        &:not(:first-child){
          border-top: solid 1px var(--color-outline-variant);
        }
      }
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px 100px;
    .top-purpose__title{
      margin: 0 0 16px;
      font-size: 28px;
    }
    .top-purpose__list{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      > li{
        overflow: hidden;
        &:nth-child(2n){
          border-left: solid 1px var(--color-outline-variant);
        }
        &:not(:nth-child(-n+2)){
          border-top: solid 1px var(--color-outline-variant);
        }
      }
    }
    .top-purpose__item{
      padding: 32px 80px;
      min-height: 240px;
      font-size: 16px;
    }
  }
}

.top-service-area{
  margin: 32px 16px;
  .top-service-area__title{
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
  }
  .top-service-area__content{
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px 0;
    padding: 16px;
    background-color:  var(--color-surface);
    .top-service-area__content__image{
      > img{
        width: 100%;
      }
    }
    .top-service-area__content__text{
      margin-inline: 8px;
      line-height: 1.8;
      font-size: 13px;
      color: var(--color-on-surface-variant);
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px 100px;
    .top-service-area__title{
      margin: 0 0 16px;
      font-size: 28px;
    }
    .top-service-area__content{
      grid-template-columns: repeat(2, 1fr);
      gap: 0 32px;
      padding: 20px;
      .top-service-area__content__image{
        grid-area: 1 / 2 / 2 / 3;
      }
      .top-service-area__content__text{
        grid-area: 1 / 1 / 2 / 2;
        margin-inline: 16px;
        margin-block: 24px;
        font-size: 16px;
      }
    }
  }
}

/* cases */
.cases-front{
  margin: 32px 16px;
  @media (min-width: 840px) {
    margin: 40px 20px 80px;
  }
}

.cases-title{
  margin: 0 0 1em;
  font-size: 22px;
  font-weight: 700;
  @media (min-width: 840px) {
    font-size: 36px;
  }
}

.cases-image{
  > img{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

.cases-subtitle{
  margin: 0 0 1em;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  @media (min-width: 840px) {
    font-size: 30px;
  }
}

.cases-details-button{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  width: 600px;
  max-width: 100%;
  background-color: var(--color-primary);
  height: 3.2em;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-white);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  &:hover{
    opacity: .7;
    transition: opacity .2s;
  }
  @media (min-width: 840px) {
    margin: 48px auto 0;
    font-size: 18px;
  }
}

.cases-banner{
  margin: 32px 16px;
  .cases-banner__list{
    display: flex;
    flex-direction: column;
    gap: 8px 0;
    a:hover{
      opacity: .7;
      transition: opacity .2s;
    }
    img{
      display: block;
      width: 100%;
      height: auto;
    }
  }
  @media (min-width: 840px) {
    .cases-banner__list{
      gap: 16px 0;
    }
  }
}

.cases-menu{
  margin: 32px 16px;
  .cases-menu__container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
    border: solid 8px var(--color-outline-variant);
    background-color: var(--color-surface);
    > li{
      > a{
        display: flex;
        height: 2.8em;
        line-height: 1.4em;
        font-size: 12px;
        font-weight: 700;
        &:hover{
          color: var(--color-primary);
        }
        &::before{
          content: "・";
          flex: 0 0 auto;
          line-height: 1.3em;
        }
        > span{
          flex: 1 1 auto;
          overflow: hidden;
          display: -webkit-box;
          text-overflow: ellipsis;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
        }
      }
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px;
    .cases-menu__container{
      grid-template-columns: repeat(3, 1fr);
      gap: 20px 32px;
      padding: 32px;
      > li{
        > a{
          font-size: 16px;
        }
      }
    }
  }
}

.cases-series{
  margin: 40px 16px;
  .cases-series__list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
    > li{
      overflow: hidden;
    }
  }
  .cases-series__item{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: solid 1px var(--color-outline-variant);
    width: 100%;
    height: 100%;
    background-color: var(--color-surface);
    font-size: 13px;
    .cases-series__item__container{
      flex: 1 1 100%;
    }
    .cases-series__item__container2{
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 4px;
      border: solid 1px var(--color-outline-variant);
      height: 2.8em;
    }
    .cases-series__item__image{
      margin: 0 0 1.5em;
      > img{
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
      }
    }
    .cases-series__item__text{
      margin: .4em 8px;
      text-align: center;
      font-size: .8em;
      overflow: hidden;
      display: -webkit-box;
      text-overflow: ellipsis;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 1;
    }
    .cases-series__item__text2{
      margin: .4em 8px;
      text-align: center;
      font-size: 1.1em;
      font-weight: 700;
      overflow: hidden;
      display: -webkit-box;
      text-overflow: ellipsis;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
    .cases-series__item__text3{
      margin: 1em 8px 2em;
      text-align: center;
      font-size: .9em;
      text-decoration: underline;
    }
  }
  .cases-series__item__container:hover{
    .cases-series__item__image{
      > img{
        opacity: .7;
        transition: opacity .2s;
      }
    }
    .cases-series__item__text3{
      text-decoration: none;
    }
  }
  .cases-series__item__container2:hover{
    background-color: var(--color-black);
    color: var(--color-white);
    transition: background-color .2s;
  }
  @media (min-width: 840px) {
    margin: 80px 20px 100px;
    .cases-series__list{
      grid-template-columns: repeat(3, 1fr);
      gap: 32px 16px;
    }
    .cases-series__item{
      font-size: 16px;
      .cases-series__item__container2{
        margin: 8px;
      }
    }
  }
}

.cases-appearance{
  margin: 40px 16px;
  .cases-appearance__container{
    padding: 12px;
    border: solid 1px var(--color-outline-variant);
  }
  .cases-appearance__description{
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-on-surface-variant);
  }
  .cases-appearance__list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    > li{
      overflow: hidden;
      > a{
        &:hover{
          opacity: .7;
          transition: opacity .2s;
        }
        > img{
          display: block;
          width: 100%;
          height: auto;
          aspect-ratio: 1 / 1;
          object-fit: cover;
        }
      }
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px 100px;
    .cases-appearance__container{
      padding: 40px;
    }
    .cases-appearance__description{
      margin: 0 0 32px;
      font-size: 16px;
    }
    .cases-appearance__list{
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
  }
}

.cases-functionality{
  margin: 40px 16px;
  .cases-functionality__container{
    padding: 12px;
    border: solid 1px var(--color-outline-variant);
  }
  .cases-functionality__description{
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-on-surface-variant);
  }
  .cases-functionality__list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
    > li{
      overflow: hidden;
    }
  }
  .cases-functionality__item{
    font-size: 13px;
    .cases-functionality__item__image{
      margin: 0 0 .8em;
      > img{
          display: block;
          width: 100%;
          height: auto;
          aspect-ratio: 16 / 9;
          object-fit: cover;
      }
    }
    .cases-functionality__item__title{
      margin: 0 0 .3em;
      font-size: 1em;
      font-weight: 700;
    }
    .cases-functionality__item__description{
      font-size: .9em;
      color: var(--color-on-surface-variant);
    }
  }
  .cases-functionality__item:hover{
    .cases-functionality__item__image{
      opacity: .7;
      transition: opacity .2s;
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px 100px;
    .cases-functionality__container{
      padding: 40px;
    }
    .cases-functionality__description{
      margin: 0 0 32px;
      font-size: 16px;
    }
    .cases-functionality__list{
      grid-template-columns: repeat(4, 1fr);
      gap: 32px 12px;
    }
    .cases-functionality__item{
      font-size: 16px;
    }
  }
}

.cases-tips{
  margin: 40px 16px;
  .cases-tips__list{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px 0;
    > li{
      overflow: hidden;
    }
  }
  .cases-tips__item{
    font-size: 13px;
    .cases-tips__item__image{
      margin: 0 0 .8em;
      > img{
          display: block;
          width: 100%;
          height: auto;
          aspect-ratio: 3 / 1;
          object-fit: cover;
      }
    }
    .cases-tips__item__description{
      font-size: .9em;
      color: var(--color-on-surface-variant);
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px 100px;
    .cases-tips__list{
      grid-template-columns: repeat(2, 1fr);
      gap: 32px 16px;
    }
    .cases-tips__item{
      font-size: 16px;
    }
  }
}

.cases-example{
  margin: 40px 16px;
  .cases-example__list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    > li{
      overflow: hidden;
    }
  }
  .cases-example__item{
    font-size: 13px;
    .cases-example__item__image{
      margin: 0 0 .8em;
      > img{
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
      }
    }
    .cases-example__item__title{
      margin: 0 0 .3em;
      font-size: 1em;
      font-weight: 700;
      overflow: hidden;
      display: -webkit-box;
      text-overflow: ellipsis;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
    .cases-example__item__description{
      font-size: .9em;
      color: var(--color-on-surface-variant);
      overflow: hidden;
      display: -webkit-box;
      text-overflow: ellipsis;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 1;
    }
  }
  .cases-example__item:hover{
    .cases-example__item__image{
      > img{
        opacity: .7;
        transition: opacity .2s;
      }
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px 100px;
    .cases-example__list{
      grid-template-columns: repeat(3, 1fr);
      gap: 32px 16px;
    }
    .cases-example__item{
      font-size: 16px;
    }
  }
}

.cases-question{
  margin: 40px 16px 100px;
  .cases-question__list{
    padding: 12px;
    border: solid 8px var(--color-outline-variant);
    background-color: var(--color-surface);
    > li{
      &:not(:first-child){
        margin: 12px 0 0;
        padding: 12px 0 0;
        border-top: solid 1px var(--color-outline-variant);
      }
    }
  }
  .cases-question__item{
    font-size: 13px;
    .cases-question__item__text{
      display: flex;
      gap: 0 .8em;
      margin: 0 0 .8em;
      font-size: 1.1em;
      font-weight: 500;
      &::before{
        content: "Q";
        margin: -.1em 0 0;
        font-size: 1.1em;
        font-weight: 900;
      }
    }
    .cases-question__item__text2{
      font-size: 1em;
      color: var(--color-on-surface-variant);
    }
  }
  @media (min-width: 840px) {
    margin: 100px 20px 200px;
    .cases-question__list{
      padding: 32px;
      > li{
        &:not(:first-child){
          margin: 32px 0 0;
          padding: 32px 0 0;
        }
      }
    }
    .cases-question__item{
      font-size: 16px;
    }
  }
}

/**
 * products
 */
.products-main{
  margin: 32px 16px;
  .products-main__title{
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
  }
  .products-main__categories{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 16px 0;
    > li{
      display: flex;
      align-items: center;
      gap: 0 .4em;
      font-size: 13px;
      > svg{
        margin: .1em 0 0;
        width: 1.2em;
        height: auto;
      }
      > span{
        font-weight: 500;
      }
    }
  }
  .products-main__image{
    margin: 20px -16px;
    > img{
      display: block;
      width: 100%;
      height: auto;
    }
  }
  .products-main__price{
    display: grid;
    grid-template: auto auto / auto 1fr;
    margin: 20px 0 48px;
    font-size: 13px;
    .products-main__price__1{
      grid-area: 1 / 1 / 2 / 2;
      align-self: center;
      font-size: 1em;
      font-weight: 700;
    }
    .products-main__price__2{
      grid-area: 1 / 2 / 2 / 3;
      align-self: center;
      font-size: .8em;
    }
    .products-main__price__3{
      grid-area: 2 / 1 / 3 / 3;
      color: var(--color-secondary);
      font-size: 2.4em;
      font-weight: 700;
    }
  }
  .products-main__description{
    margin: 40px auto;
    max-width: 650px;
    text-align: center;
    line-height: 2;
    font-size: 14px;
    font-weight: 500;
  }
  .products-main__details{
    display: flex;
    flex-direction: column;
    gap: 20px 0;
    > li{
      display: flex;
      flex-direction: column;
      gap: 8px 0;
    }
    .products-main__details__image{
      > img{
        display: block;
        width: 100%;
        height: auto;
      }
    }
    .products-main__details__text{
      line-height: 1.8;
      font-size: 13px;
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px;
    .products-main__title{
      margin: 0 0 20px;
      text-align: center;
      font-size: 36px;
    }
    .products-main__categories{
      justify-content: center;
      gap: 8px 16px;
      > li{
        font-size: 16px;
      }
    }
    .products-main__image{
      margin: 40px 0;
    }
    .products-main__price{
      gap: 0 20px;
      margin: 40px auto 80px;
      width: max-content;
      font-size: 18px;
      .products-main__price__1{
        grid-area: 1 / 1 / 2 / 2;
        align-self: end;
        justify-self: center;
      }
      .products-main__price__2{
        grid-area: 2 / 1 / 3 / 2;
        align-self: start;
        justify-self: center;
      }
      .products-main__price__3{
        grid-area: 1 / 2 / 3 / 3;
        padding: 0 0 .2em;
      }
    }
    .products-main__description{
      margin: 100px auto;
      font-size: 18px;
    }
    .products-main__details{
      gap: 40px 0;
      > li{
        flex-direction: row-reverse;
        align-items: center;
        gap: 0 40px;
      }
      .products-main__details__image{
        flex: 0 0 48%;
      }
      .products-main__details__text{
        flex: 1 1 auto;
        margin: 0;
        font-size: 16px;
      }
    }
  }
}

.products-custom{
  background: var(--color-white);
  padding: 32px 16px;
  @media (min-width: 840px) {
    padding: 80px 20px;
  }
}

.products-contact{
  padding: 40px 16px;
  background-color: #fef0e4;
  .products-contact__wrapper{
    max-width: 700px;
  }
  .products-contact__title{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 .5em;
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    .products-contact__title__1{
      font-size: 1em;
    }
    .products-contact__title__2{
      > img{
        width: auto;
        height: 3em;
      }
    }
  }
  .products-contact__description{
    margin: 0 0 20px;
    font-size: 14px;
  }
  @media (min-width: 840px) {
    padding: 80px 20px;
    .products-contact__title{
      margin: 0 0 24px;
      font-size: 32px;
    }
    .products-contact__description{
      margin: 0 0 32px;
      font-size: 16px;
    }
  }
}

.products-maker{
  margin: 40px 16px;
  .products-maker__container{
    padding: 16px;
    border: solid 1px var(--color-outline-variant);
  }
  .products-maker__image{
    margin: 0 0 12px;
    > img{
      display: block;
      margin: 0 auto;
      max-width: 100%;
      max-height: 120px;
      object-fit: contain;
    }
  }
  .products-maker__title{
    font-size: 16px;
    font-weight: 700;
  }
  .products-maker__description{
    line-height: 1.8;
    font-size: 13px;
  }
  @media (min-width: 840px) {
    margin: 80px 20px;
    .products-maker__container{
      display: grid;
      grid-template: auto auto / auto 1fr;
      gap: 8px 16px;
      padding: 28px 20px;
    }
    .products-maker__image{
      grid-area: 1 / 1 / 3 / 2;
      margin: 0;
      width: 300px;
    }
    .products-maker__title{
      grid-area: 1 / 2 / 2 / 3;
      align-self: end;
      font-size: 18px;
    }
    .products-maker__description{
      grid-area: 2 / 2 / 3 / 3;
      align-self: start;
      font-size: 15px;
    }
  }
}

.products-recommend{
  margin: 40px 16px;
  .products-recommend__title{
    margin: 0 0 12px;
    padding: 0 0 0 8px;
    border-left: solid 3px var(--color-primary);
    font-size: 16px;
    font-weight: 700;
  }
  .products-recommend__list{
    display: flex;
    gap: 12px;
    margin: 0 -16px 20px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    > li{
      flex: 0 0 auto;
      width: 88%;
      max-width: 320px;
      scroll-snap-align: center;
    }
  }
  .products-recommend__item{
    display: block;
    .products-recommend__item__image{
      margin: 0 0 12px;
      width: 100%;
      aspect-ratio: 16 / 9;
      > img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .products-recommend__item__title{
      margin: 4px 8px;
      font-size: 14px;
      font-weight: 700;
    }
    .products-recommend__item__price{
      margin: 4px 8px;
      font-size: 14px;
      font-weight: 700;
      color: var(--color-secondary);
    }
  }
  @media (min-width: 840px) {
    margin: 80px 20px;
    .products-recommend__title{
      margin: 0 0 20px;
      font-size: 22px;
    }
    .products-recommend__list{
      gap: 16px;
      margin: 0;
      padding: 0;
      overflow-x: visible;
      scroll-snap-type: none;
      > li{
        width: calc((100% - 16px * 3) / 4);
        max-width: none;
        scroll-snap-align: none;
      }
    }
    .products-recommend__item{
      .products-recommend__item__image{
        margin: 0 0 12px;
      }
      .products-recommend__item__title{
        font-size: 16px;
      }
      .products-recommend__item__price{
        font-size: 16px;
      }
    }
  }
}


/**
 * purposes
 */
.purposes-content{
  padding: 32px 16px;
  background-color: var(--color-white);
  @media (min-width: 840px) {
    padding: 80px 20px 100px;
  }
}

.purposes-contact{
  padding: 40px 16px;
  background-color: #F6F6F0;
  .purposes-contact__text{
    margin: 0 0 20px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
  }
  .purposes-contact__text2{
    text-align: center;
    font-size: 14px;
  }
  .purposes-contact__button{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px auto 0;
    width: 480px;
    max-width: 100%;
    height: 3em;
    background-color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    transition: opacity .2s;
    &:hover{
      opacity: .7;
    }
  }
  @media (min-width: 840px) {
    padding: 80px 20px;
    .purposes-contact__text{
      margin: 0 0 24px;
      font-size: 32px;
    }
    .purposes-contact__text2{
      font-size: 16px;
    }
    .purposes-contact__button{
      margin: 48px auto 0;
      font-size: 20px;
    }
  }
}


/**
 * quotations
 */
.quotations-content{
  padding: 32px 16px;
  background-color: var(--color-white);
  @media (min-width: 840px) {
    padding: 80px 20px 100px;
  }
}


/**
 * custom-content
 */
.custom-content{
  font-size: 14px;
  > h1{
    margin: 0 0 32px;
    text-align: center;
    font-size: 1.8em;
    font-weight: 700;
  }
  > h2{
    margin: 32px 0 16px;
    color: var(--color-primary);
    text-align: center;
    font-size: 1.4em;
    font-weight: 700;
  }
  > h3{
    margin: 32px 0 16px;
    font-size: 1.2em;
    font-weight: 700;
  }
  > h4{
    margin: 16px 0;
    font-size: 1em;
    font-weight: 700;
  }
  > figure{
    margin: 16px 0;
    font-size: 1em;
    > img{
      width: 100%;
    }
  }
  > p{
    margin: 16px 0;
    text-align: center;
    line-height: 1.65;
    font-size: 1em;
  }
  > ul, ol{
    margin: 16px 0;
    font-size: 1em;
  }
  > dl{
    margin: 16px 0;
    font-size: 1em;
  }
  > iframe{
    margin: 16px 0;
  }
  > div{
    margin: 32px 0;
  }
  > hr{
    margin: 32px 0;
    border-color: var(--color-outline-variant);
  }
  @media (min-width: 840px) {
    font-size: 16px;
    > h1{
      margin: 0 0 80px;
      font-size: 2.4em;
    }
    > h2{
      margin: 80px 0 40px;
      font-size: 2em;
    }
    > h3{
      margin: 40px 0 24px;
      font-size: 1.5em;
    }
    > h4{
      margin: 40px 0 24px;
      font-size: 1.2em;
    }
    > figure{
      margin: 40px 0 24px;
      font-size: 1em;
    }
    > p{
      margin: 24px 0;
    }
    > ul, ol{
      margin: 24px 0;
    }
    > dl{
      margin: 24px 0;
    }
    > iframe{
      margin: 24px 0;
    }
    > div{
      margin: 40px 0;
    }
    > hr{
      margin: 40px 0;
      border-color: var(--color-outline-variant);
    }
  }
}

.custom-content-outline-container{
  padding: 12px;
  border: solid 4px var(--color-outline-variant);
  text-align: center;
  .custom-content-outline-container__title{
    margin: 0 auto 1em;
    font-size: 1.4em;
    font-weight: 700;
  }
  .custom-content-outline-container__description{
    margin: 0 auto;
  }
  .custom-content-outline-container__image{
    margin: 2em auto 0;
    max-width: 100%;
  }
  @media (min-width: 840px) {
    padding: 20px;
    border-width: 8px;
  }
}

.custom-content-outline-list{
  display: flex;
  flex-direction: column;
  gap: 16px 0;
  > li{
    border: solid 4px var(--color-outline-variant);
    padding: 12px;
  }
  .custom-content-outline-list__image{
    margin: 0 0 16px;
    > img{
      display: block;
      width: 100%;
    }
  }
  iframe.custom-content-outline-list__image{
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border: none;
  }
  .custom-content-outline-list__title{
    margin: 0 0 .5em;
    font-size: 1.2em;
    font-weight: 700;
  }
  .custom-content-outline-list__description{
    line-height: 1.65;
    font-size: 1em;
    color: var(--color-on-surface-variant);
  }
  @media (min-width: 840px) {
    gap: 20px 0;
    > li{
      display: grid;
      grid-template: auto 1fr / 1fr 440px;
      gap: 0 20px;
      padding: 20px;
      border-width: 8px;
    }
    .custom-content-outline-list__image{
      grid-area: 1 / 2 / 3 / 3;
      margin: 0;
    }
    .custom-content-outline-list__title{
      grid-area: 1 / 1 / 2 / 2;
    }
    .custom-content-outline-list__description{
      grid-area: 2 / 1 / 3 / 2;
    }
  }
}

.custom-content-fill-list{
  display: flex;
  flex-direction: column;
  gap: 16px 0;
  > li{
    padding: 16px;
    background-color: #F6F6F0;
  }
  .custom-content-fill-list__image{
    margin: 0 0 16px;
    > img{
      display: block;
      width: 100%;
    }
  }
  .custom-content-fill-list__title{
    margin: 0 0 .5em;
    font-size: 1.2em;
    font-weight: 700;
  }
  .custom-content-fill-list__description{
    line-height: 1.65;
    font-size: 1em;
    color: var(--color-on-surface-variant);
  }
  @media (min-width: 840px) {
    gap: 20px 0;
    > li{
      display: grid;
      grid-template: auto 1fr / 1fr 400px;
      gap: 0 20px;
      padding: 28px;
    }
    .custom-content-fill-list__image{
      grid-area: 1 / 2 / 3 / 3;
      margin: 0;
    }
    .custom-content-fill-list__title{
      grid-area: 1 / 1 / 2 / 2;
    }
    .custom-content-fill-list__description{
      grid-area: 2 / 1 / 3 / 2;
    }
  }
}

.custom-content-details{
  display: grid;
  grid-template: auto / auto 1fr;
  border: solid 1px var(--color-outline-variant);
  *:nth-child(2n-1) {
    border-right: solid 1px var(--color-outline-variant);
  }
  *:not(:nth-child(-n+2)) {
    border-top: solid 1px var(--color-outline-variant);
  }
  dt{
    padding: 1em;
    width: 8em;
    background-color: #F6F6F0;
    text-align: center;
  }
  dd{
    padding: 1em;
    background-color: var(--color-white);
  }
  @media (min-width: 840px) {
    dt{
      width: 16em;
    }
  }
}

.custom-links{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 8px;
  > li{
    overflow: hidden;
  }
  .custom-links__item{
    display: block;
    border: solid 1px var(--color-outline-variant);
    background-color: var(--color-surface);
  }
  .custom-links__item__image{
    > img{
      display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }
  }
  .custom-links__item__text{
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .custom-links__item:hover{
    .custom-links__item__image{
      > img{
        opacity: .7;
        transition: opacity .2s;
      }
    }
  }
  @media (min-width: 840px) {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 8px;
    .custom-links__item__text{
      padding: 20px 12px;
      font-size: 16px;
    }
  }
}

.nav-contact{
  display: flex;
  z-index: 100;
  overflow: hidden;
  position: fixed;
  right: 12px;
  bottom: 0px;
  border-radius: 8px 8px 0 0;

  .nav-contact__label{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background-color: var(--color-black);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-white);
  }
  .nav-contact__mail,
  .nav-contact__tel{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    > svg{
      fill: var(--color-white);
    }
  }
  .nav-contact__mail{
    background-color: var(--color-primary);
  }
  .nav-contact__tel{
    background-color: var(--color-secondary);
  }
  @media (min-width: 840px) {
    flex-direction: column;
    border-radius: 8px 0 0 8px;
    right: 0;
    bottom: 40px;
    .nav-contact__label{
      padding: 16px 0;
      font-size: 14px;
      writing-mode: vertical-rl;
      text-orientation: upright; 
    }
    .nav-contact__mail,
    .nav-contact__tel{
      width: 56px;
      height: 56px;
    }
  }
}


.terms-content{
  padding: 32px 16px;
  background-color: var(--color-white);
  font-size: 14px;
  .terms-content__title{
    margin: 0 0 32px;
    text-align: center;
    font-size: 1.8em;
    font-weight: 700;
  }
  .terms-content__list{
    margin: 16px 0;
    > dt{
      font-size: 1.4em;
      font-weight: 700;
    }
    > dd{
      margin: 12px 0 40px;
      line-height: 1.65;
      font-size: 1em;
    }
  }
  @media (min-width: 840px) {
    padding: 80px 20px 100px;
    font-size: 16px;
    .terms-content__title{
      margin: 0 0 80px;
      font-size: 2.4em;
    }
    .terms-content__list{
      margin: 24px 0;
      > dt{
        font-size: 2em;
      }
      > dd{
        margin: 20px 0 72px;
      }
    }
  }
}