@charset "utf-8";
/*
Theme Name: event
Description: Original template for Onestep
Author: design maf
Author URI: https://designmaf.com/
Version: 1.1
*/
/* reset */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
}
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,
th {
  text-align: left;
}
q:before,
q:after {
  content: "";
}
object,
embed {
  vertical-align: top;
}
legend {
  display: none;
}
img,
abbr,
acronym,
fieldset {
  border: 0;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #000;
  word-break: break-all;
}
body,
button,
input,
select,
textarea {
  font-size: 16px;
  font-weight: 500;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", sans-serif;
}
/* VARIABLE
------------------------------------------------------------*/
:root {
  --orange: #ff7f00;
  --light-orange: #fbf2e9;
  --blue: #003c84;
  --yellow: #fabf00;
  --lightgray: #d9d9d9;
  --offwhite: #f9f7ed;
  --orange-grad: linear-gradient(90deg, #ff7f00 0%, #fabf00 100%);
  --font-en: "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
}
img {
  max-width: 100%;
  height: auto;
}
iframe {
  max-width: 100%;
}
input:not([type="checkbox"], [type="radio"]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #000;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  padding: 0.5rem;
  width: 100%;
  min-height: 3.125rem;
  font-size: 1rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--lightgray);
}
select,
textarea {
  height: auto;
}
/* LINK
------------------------------------------------------------*/
a {
  color: var(--blue);
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  opacity: 0.8;
}
a:active,
a:focus,
input:active,
input:focus {
  outline: none;
}
section .wp-block-button__link,
div .wp-block-button__link,
.link-arrow,
#panel.is-menu-open ul.inner a,
.submit-wrap,
.page-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
  height: auto;
}
section .wp-block-button__link,
div .wp-block-button__link,
.btn,
.contact-btns .btn-search a {
  justify-content: space-between;
  min-width: 18.5rem;
  padding: 1rem 1.25rem 1rem 1rem;
  color: #fff;
  background: #000;
  border-radius: 8px;
  &:hover {
    opacity: 1;
    filter: brightness(110%);
    &::after {
      transform: translateX(4px) rotate(45deg);
    }
  }
}
div.btn-width-free .wp-block-button__link {
  min-width: initial;
}
section .wp-block-button__link:after,
div .wp-block-button__link:after,
.btn:after,
.contact-btns .btn-search a:after,
.link-arrow:after,
.pagination .prev a:after,
.pagination .next a:after,
#panel.is-menu-open ul.inner a:after,
.submit-wrap:after,
.page-nav a:after {
  display: inline-block;
  content: "";
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: 0.3s ease-in-out;
}
.btn-contact a,
.btn-dl a {
  position: relative;
  padding-left: 3.75rem;
  font-size: 1.25rem;
  border-radius: 100vh;
  &:before {
    position: absolute;
    margin-left: -40px;
    width: 30px;
    aspect-ratio: 1;
    content: "";
    background: url(images/icon-mail.svg) no-repeat 0 50% / 30px auto;
  }
}
.btn-contact a {
  color: var(--blue);
  background: var(--yellow);
  &::after {
    border-color: var(--blue);
  }
}
.btn-dl a {
  background: var(--blue);
  &::before {
    background-image: url(images/icon-dl.svg);
  }
}
.btn-search a:after {
  width: 30px;
  height: 30px;
  border: 0;
  transform: none;
  background: url(images/icon-search-white.svg) no-repeat 0 50% / 30px auto;
}
.wp-block-button__width-100 {
  width: 100%;
}
.btn-anchor a:after {
  transform: rotate(135deg);
}
.btn-anchor a:hover:after {
  transform: translateY(3px) rotate(135deg) !important;
}
@media screen and (min-width: 641px) {
  .btn-m {
    width: 405px !important;
  }
}
[class*="banner-contact"] {
  position: relative;
  padding: 5rem 1rem;
  text-align: center;
  background-image: var(--orange-grad);
  overflow: hidden;
  p {
    font-size: min(4.5vw, 1.25rem);
    font-weight: 700;
    em {
      display: inline-block;
    }
    &:first-of-type {
      position: relative;
      margin-bottom: 2rem;
      font-size: 3rem;
      line-height: 1.4;
      z-index: 1;
      @media screen and (max-width: 640px) {
        width: fit-content;
        padding-inline: 0.5rem;
        margin-inline: auto;
        font-size: 2rem;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
      }
    }
  }
  .contact-img {
    position: absolute;
    top: 0;
    left: calc(50% - 620px);
    z-index: 0;
    img {
      position: relative;
      width: 280px;
      border: 4px solid #fff;
      border-radius: 6px;
      transform: rotate(-20deg);
      z-index: -1;
    }
  }
  .contact-img:last-of-type {
    top: auto;
    bottom: 0;
    left: auto;
    right: calc(50% - 600px);
    img {
      transform: rotate(20deg);
    }
  }
  .img-contact-1 {
    position: absolute;
    bottom: 0;
    left: calc(50% - 700px);
    z-index: 0;
    @media screen and (max-width: 1023px) {
      width: 40vw;
      left: -10vw;
    }
  }
  .img-contact-2 {
    position: absolute;
    top: 20px;
    right: calc(50% - 700px);
    z-index: 0;
    @media screen and (max-width: 1023px) {
      width: 30vw;
      top: 0;
      right: -10vw;
    }
  }
  &.bg-offwhite {
    padding-block: 2rem;
    background-image: none;
    @media screen and (min-width: 768px) {
      border-radius: 100vh;
    }
    img {
      display: none;
    }
  }
}

.banner-contact-search {
  padding-block: 120px;
  background-image: url(images/banner-contact-items.png), url(images/banner-contact-sky.jpg);
  background-repeat: no-repeat, no-repeat;
  background-position:
    50% 50%,
    0 0;
  background-size: auto, cover;
  @media screen and (max-width: 1400px) {
    padding-block: 60px;
    background-size:
      110% auto,
      cover;
    background-position:
      50% 30%,
      0 0;
    @media screen and (max-width: 640px) {
      padding-block: 100px;
      background-image: url(images/banner-contact-items-sp.png), url(images/banner-contact-sky.jpg);
      background-size:
        110% auto,
        cover;
      background-position:
        50% 50%,
        0 0;
    }
  }
  .btn-search a {
    padding-left: 3.75rem;
    font-size: 1.25rem;
    border-radius: 100vh;
    background: var(--blue) url(images/icon-search-white.svg) no-repeat 1.25rem center / 30px auto;
    &:after {
      background: none;
    }
  }
  > div > a {
    max-width: 40rem;
    margin: 1rem auto 0;
    border-radius: 100vh;
    font-size: 1.25rem;
    @media screen and (max-width: 1013px) {
      max-width: 320px;
    }
  }
}
.banner-recruit {
  padding-block: 3rem !important;
  .wp-block-buttons {
    justify-content: center;
  }
}
.banner-contact-item * {
  position: relative;
  z-index: 1;
}
.contact-btns {
  position: relative;
  width: fit-content;
  margin: 2rem auto 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 100vh;
  border: 4px solid #fff;
  z-index: 1;
  a {
    min-width: 17.5rem;
  }
  @media screen and (max-width: 1023px) {
    padding: 1rem 0.5rem;
    border-radius: 10px;
    flex-direction: column;
    li {
      width: 100%;
      a {
        width: 100%;
        min-width: initial;
      }
    }
  }
}
.without-img {
  img {
    display: none;
  }
}
.box-tel {
  padding-right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-align: left;
  @media screen and (max-width: 1023px) {
    justify-content: center;
  }
  > div:first-of-type {
    width: 3.875rem;
    aspect-ratio: 1;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    gap: 0.2rem;
    line-height: 1;
    background: #000;
    i {
      font-size: 1.25rem;
      font-weight: 700;
      font-style: normal;
      color: var(--yellow);
    }
  }
  > div:last-of-type {
    a {
      font-size: 2rem;
      color: #000;
      text-decoration: none !important;
    }
    span {
      display: block;
      @media screen and (max-width: 1230px) {
        font-size: 0.875rem;
      }
    }
  }
}
.without-download .btn-dl {
  display: none;
}
.banner-media {
  margin-block: 4px;
  background-image: none;
}

.searchform {
  position: relative;
  input.search-input {
    padding-inline: 1rem 2rem;
    background: var(--offwhite);
    border-radius: 100vh;
    border: 1px solid var(--orange);
  }
  input.search-submit {
    padding: 0;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    aspect-ratio: 1;
    border: 0;
    background: url(images/icon-search.svg) no-repeat center / contain;
  }
}

/* HEADER
------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  .logo {
    line-height: 0;
  }
  .header-btns {
    display: flex;
    .btn-contact a,
    .btn-dl a {
      min-width: 10rem;
      height: 4.375rem;
      border-radius: 0;
      font-size: 1rem;
    }
    .btn-dl a {
      color: #fff;
    }
    .box-tel {
      flex-shrink: 0;
      max-width: 330px;
      padding-inline: 1rem;
      color: #fff;
      background: var(--orange);
      > div:first-of-type {
        width: 56px;
        background: #fff;
        i {
          color: var(--orange);
        }
      }
      a {
        color: #fff;
      }
    }
  }
  #panel {
    .active > a,
    .active > span {
      text-decoration: underline;
      text-underline-offset: 0.5rem;
    }
    .sub-menu {
      max-height: 0;
      padding-bottom: 0;
      cursor: pointer;
      overflow: hidden;
      background: var(--light-orange);
      border-bottom: 1px solid transparent;
      transition:
        max-height 0.4s ease,
        padding 0.4s ease;
      &.is-open {
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--lightgray);
      }
    }
    .mega-left {
      > div {
        background: #fff;
        li {
          padding-block: 0.2rem;
          margin-bottom: 0.5rem;
          border-bottom: 1px solid var(--yellow);
        }
      }
      .link-arrow {
        justify-content: space-between;
        color: #000;
        &::after {
          border-color: currentColor;
        }
      }
      .searchform {
        margin-top: 1rem;
        input.search-input {
          width: 100%;
          height: 56px;
          background: #fff;
          border-radius: 100vh;
          box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
        }
      }
    }
  }
}
body.is-show #header {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
@media screen and (min-width: 1024px) {
  body {
    padding-top: 142px !important;
  }
  body.is-sub-open #header {
    background: var(--light-orange);
    #panel > ul > li:not(.is-open) {
      opacity: 0.5;
    }
  }
  #sp-btns,
  #sp-float {
    display: none;
  }
  #header {
    > .inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      max-width: 90rem;
      padding: 0 0 0 1rem;
      .header-nav {
        flex-shrink: 0;
        @media screen and (max-width: 1100px) {
          font-size: 0.875rem;
        }
        #panel {
          display: flex;
          flex-direction: column-reverse;
          .header-btns {
            display: flex;
            height: 70px;
            .searchform {
              input.search-input {
                height: 70px;
                border: 2px solid var(--orange);
                border-width: 0 0 2px 2px;
                border-radius: 0 0 0 1rem;
                @media screen and (max-width: 1350px) {
                  width: 220px;
                }
              }
            }
            .btn-contact a,
            .btn-dl a {
              padding: 0;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              &::before {
                position: relative;
                margin: 0;
              }
              @media screen and (max-width: 1100px) {
                min-width: initial;
                padding-inline: 0.5rem;
              }
            }
            .btn-dl a {
              color: #fff;
            }
          }
          #search-item-menu {
            padding-inline: 1rem;
            background: var(--orange);
            border-radius: 6px;
            cursor: pointer;
            .open-toggle:before,
            .open-toggle:after {
              background: #fff;
            }
            > span {
              color: #fff;
            }
            p {
              padding-bottom: 0.5rem;
              font-weight: 700;
              color: #000;
              border-bottom: 2px solid var(--orange);
            }
          }
          .menu-parent {
            color: var(--blue);
            cursor: pointer;
          }
          .menu-parent:hover {
            color: #000;
            .open-toggle:before,
            .open-toggle:after {
              background: #000;
            }
          }
          li.is-open .open-toggle:after {
            opacity: 0;
          }
        }
      }
    }
  }
  #panel .inner {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1rem 1rem 0;
    @media screen and (min-width: 1441px) {
      padding-right: 0;
    }
  }
  #panel > ul > li {
    display: flex;
    align-items: center;
    gap: 1rem;
    a {
      line-height: 2.5;
    }
  }
  #panel .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    transition: 0.3s ease-in-out;
    z-index: 100;
    .inner {
      align-items: flex-start;
      gap: 1rem;
      padding-inline: 1rem;
      .cat-link {
        grid-template-columns: repeat(4, 1fr);
        a {
          width: 340px;
        }
      }
      .mega-left {
        max-width: 240px;
        border-radius: 10px;
        padding: 1rem;
        background: #fff;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
      }
      .mega-right {
        max-width: 1150px;
        margin-inline: auto;
        .cat-link {
          grid-template-columns: repeat(3, 1fr);
          a {
            width: 100%;
          }
        }
      }
    }
  }
}
@media screen and (max-width: 1023px) {
  body {
    padding-top: 70px !important;
  }
  #header {
    .inner {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      padding: 0;
      .logo {
        padding-left: 1rem;
        height: 60px;
        display: flex;
        align-items: center;
        img {
          width: calc(100vw - 190px);
          max-width: 160px;
        }
      }
      #sp-btns {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        z-index: 100;
        #sp-search-btn {
          display: flex;
          align-items: center;
          gap: 0.25rem;
          padding: 0.5rem 0.625rem;
          background: var(--orange);
          border-radius: 6px;
          color: #fff;
          .open-toggle:before,
          .open-toggle:after {
            background: #fff;
          }
          &.is-open {
            color: #000;
            .open-toggle:before {
              background: #000;
            }
            .open-toggle:after {
              content: none;
            }
          }
        }
        #sp-menu-btn {
          position: relative;
          width: 40px;
          height: 40px;
          background: #fff;
          text-align: center;
          cursor: pointer;
          z-index: 900;
          i,
          &:before,
          &:after {
            display: block;
            position: absolute;
            top: 13px;
            left: 10px;
            width: 20px;
            height: 2px;
            content: "";
            background: var(--orange);
            transition: 0.5s ease-in-out;
          }
          &:before {
            top: 19px;
          }
          &:after {
            top: 25px;
          }
          &.is-open i {
            opacity: 0;
          }
          &.is-open:before {
            top: 20px;
            transform: translateY(0) rotate(45deg);
          }
          &.is-open:after {
            top: 30px;
            transform: translateY(-10px) rotate(-45deg);
          }
        }
      }
      #header-search {
        width: 100%;
        position: absolute;
        top: 0;
        padding-bottom: 1rem;
        background: var(--offwhite);
        .searchform {
          margin-top: 1rem;
          padding-inline: 1rem;
          input.search-input {
            width: 100%;
            height: 40px;
            background: #fff;
          }
          input.search-submit {
            right: 2rem;
            width: 24px;
          }
        }
      }
      .header-nav {
        #panel {
          position: fixed;
          top: 60px;
          left: 0;
          transform: translateY(calc((100% + 60px) * -1));
          width: 100%;
          height: calc(100% - 60px);
          display: flex;
          flex-direction: column;
          background: var(--offwhite);
          transition: transform 0.3s ease;
          overflow-y: scroll;
          overscroll-behavior: contain;
          > ul {
            padding-top: 4rem;
          }
          ul {
            display: flex;
            flex-wrap: wrap;
          }
          li {
            padding: 0;
            margin: 0;
            width: 100%;
          }
          li:last-child {
            border: 0;
          }
          li#search-item-menu {
            p,
            > span {
              display: none;
            }
          }
          .mega-left {
            ul {
              margin-top: 1rem;
              padding-inline: 1rem;
              a {
                padding: 1rem 0.2rem 1rem 0;
              }
            }
          }
          .cat-link {
            margin-top: 1rem;
            gap: 0.5rem;
            li {
              padding-bottom: 0;
              a {
                width: 100%;
                border-radius: 0;
                img {
                  border-radius: 0;
                }
              }
            }
          }
          #sp-search-menu.sub-menu {
            max-height: initial;
            padding-bottom: 2rem;
          }
        }
        #panel.is-menu-open {
          > ul > li:not(#search-item-menu) {
            display: block !important;
            border-bottom: 1px solid var(--yellow);
            &.menu-parent {
              padding: 1rem 0.3rem 1rem 0;
              display: flex !important;
              justify-content: space-between;
              align-items: center;
              flex-wrap: wrap;
              .sub-menu {
                width: 100%;
                padding-bottom: 0;
                border-bottom: 0;
                background: #fff;
              }
            }
          }
          li#search-item-menu {
            display: none;
          }
          > ul.inner {
            margin-block: 1.5rem 1rem;
            padding-inline: 1rem;
            background: #fff;
            ul {
              padding: 1rem 0 0 1rem;
              background: #fff;
              a {
                padding-right: 2px;
              }
            }
            > li:last-child {
              border: 0 !important;
            }
            a {
              padding: 1rem 0.5rem 1rem 0;
              display: flex;
              justify-content: space-between;
              color: #000;
            }
            a:after {
              border-color: #000;
            }
            .cat-link {
              padding: 0;
              a {
                box-shadow: none;
                img {
                  display: none;
                }
                span {
                  font-weight: 500;
                }
              }
            }
          }
        }
        .header-btns {
          justify-content: center;
          @media screen and (max-width: 1023px) {
            flex-direction: column;
            > div a {
              width: 100% !important;
            }
          }
          .box-tel {
            padding: 0.5rem;
            max-width: initial;
          }
          .btn-contact a,
          .btn-dl a {
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            &:before {
              position: relative;
              margin: 0;
            }
          }
        }
        #panel.is-search-open {
          > ul > li:not(#search-item-menu) {
            display: none;
          }
          .sub-menu.is-open {
            border: 0;
          }
        }
        #panel .sub-menu .inner {
          padding-top: 0.5rem;
          flex-direction: column;
          .mega-left {
            max-width: initial;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            > div {
              width: 100%;
            }
            form {
              display: none;
            }
          }
        }
        .open-toggle:before,
        .open-toggle:after {
          background: #000;
        }
        li.is-open .open-toggle:after {
          opacity: 0;
        }
      }
    }
  }
  body.is-open {
    #header {
      .inner {
        #panel {
          transform: translateY(0);
        }
      }
    }
    #sp-float {
      z-index: 0;
    }
  }
  #sp-float {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 100;
    .btn-contact a,
    .btn-dl a {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 60px;
      height: 60px;
      padding: 0;
      border-radius: 0;
      font-size: 0.875rem;
      text-align: center;
      &:before {
        position: relative;
        margin: 0;
      }
    }
    .btn-dl a {
      color: #fff;
    }
    .box-tel {
      width: calc(100% - 120px);
      align-items: center;
      color: #fff;
      background: var(--orange);
      padding: 0;
      > div:first-of-type {
        display: none;
      }
      a {
        color: #fff;
      }
    }
  }
}
#footer {
  margin-top: 4px;
  border-top: 1px solid var(--lightgray);
  > div {
    padding-inline: 0;
  }
  .footer-left {
    p {
      margin-top: 1rem;
      line-height: 1.6;
    }
    dl {
      padding-top: 1rem;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0 0.5rem;
      dt {
        font-weight: 700;
      }
    }
    a {
      color: #000;
    }
  }
  .footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: var(--orange);
    li {
      margin-bottom: 1rem;
      a {
        display: block;
        color: #000;
      }
    }
    > div {
      padding-bottom: 2rem;
      width: 100%;
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      gap: 1.5rem;
    }
    .sns {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
  }
  .footer-lower {
    color: #fff;
    background: #000;
    font-size: 0.875rem;
    .inner {
      padding: 1rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      ul {
        display: flex;
        justify-content: flex-end;
        gap: 0.5rem 1.5rem;
        a {
          color: #fff;
        }
      }
      i {
        font-style: normal;
        display: inline-block;
      }
    }
  }
}
@media screen and (min-width: 841px) {
  #footer {
    background: linear-gradient(to right, var(--offwhite) 50%, var(--orange) 50%);
    > div {
      padding-inline: 1rem;
      display: flex;
      justify-content: space-between;
      .logo {
        padding-top: 2rem;
      }
    }
    .footer-left {
      width: fit-content;
      padding-right: 2rem;
    }
    .footer-right {
      flex: 1;
      justify-content: flex-end;
      ul {
        padding-top: 2rem;
        li {
          width: 12.5rem;
        }
      }
      .sns {
        width: 12.5rem;
      }
    }
  }
}
@media screen and (max-width: 1023px) {
  #footer {
    margin-bottom: 60px;
  }
}
@media screen and (max-width: 840px) {
  #footer {
    .footer-upper {
      display: flex;
      flex-direction: column;
      align-items: center;
      .footer-left {
        padding: 1rem 1rem 2rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: var(--offwhite);
      }
      .footer-right {
        padding: 2rem 1rem 0;
        width: 100%;
        justify-content: center;
        > div {
          justify-content: center;
        }
      }
    }
    .footer-lower {
      .inner {
        flex-direction: column-reverse;
        gap: 0.5rem;
        ul {
          justify-content: center;
          flex-wrap: wrap;
        }
        div {
          text-align: center;
        }
      }
    }
  }
}
#to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  @media screen and (max-width: 1023px) {
    bottom: 70px;
    right: 10px;
  }
  text-align: right;
  z-index: 110;
  opacity: 0;
  cursor: pointer;
  i {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    @media screen and (max-width: 640px) {
      width: 40px;
    }
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid var(--orange);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    &:before {
      content: "";
      width: 10px;
      aspect-ratio: 1;
      border-top: solid 2px var(--orange);
      border-right: solid 2px var(--orange);
      transform: rotate(-45deg);
      transition: 0.3s;
      @media screen and (max-width: 640px) {
        width: 8px;
        border-width: 1px;
      }
    }
  }
}
body.is-show #to-top {
  opacity: 1;
}

/* COMMON
------------------------------------------------------------*/
.en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}
section:not(#top-fv):not(#top-news):not(.block-m) {
  padding: 8.75rem 0;
  @media screen and (max-width: 1023px) {
    padding-block: 4rem;
  }
}
section.block-m {
  padding-block: 5rem !important;
  @media screen and (max-width: 1023px) {
    padding-block: 3rem !important;
  }
}
section:not(#top-fv):not(#top-news) {
  margin: 4px 0;
  border-top: 1px solid var(--lightgray);
  border-bottom: 1px solid var(--lightgray);
  background-color: var(--offwhite);
  header {
    padding-bottom: 5rem;
    @media screen and (max-width: 460px) {
      padding-bottom: 3rem;
      h2.wp-block-heading {
        margin-bottom: 0.5rem;
      }
    }
  }
  @media screen and (max-width: 1023px) {
    .wp-block-button {
      margin-top: 1rem;
      width: 100%;
    }
  }
  @media screen and (min-width: 1024px) {
    header.wp-block-group > div {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
    }
  }
}
section.low-content {
  padding-block: 3.75rem !important;
}
.inner,
body:not(#lp-page) section:not(.width-full) > div {
  width: 100%;
  padding-inline: 1rem;
  margin-inline: auto;
  @media screen and (min-width: 1440px) {
    max-width: 90rem;
    padding-inline: 5rem;
  }
}
.bg-white {
  background-color: #fff !important;
}
.bg-offwhite {
  background-color: var(--offwhite) !important;
}
.bg-yellow {
  background-color: var(--yellow) !important;
}
.bg-orange-grad {
  background: var(--orange-grad) !important;
}
.color-orange {
  color: var(--orange);
}
.color-blue {
  color: var(--blue);
}
.page-width-full {
  width: 100vw;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  overflow: hidden;
  .entry-content {
    padding-block: 0;
  }
}

@media screen and (min-width: 980px) {
  section.width-m > div,
  div.width-m {
    max-width: 60rem !important;
    padding-inline: 0 !important;
    > h2 {
      width: calc(100% + 20rem);
      margin-inline: -10rem !important;
    }
  }
  div.width-m {
    margin-inline: auto;
  }
}
.first-section {
  padding-block: 5rem !important;
  margin-top: 0 !important;
  border-top: 0 !important;
}
.last-section {
  border-bottom: 0 !important;
}
.first-section.last-section {
  margin-bottom: 0 !important;
}
.display-flex {
  display: flex;
  gap: 2rem;
}
.col-2 {
  display: flex;
  flex-direction: column-reverse;
}
.col-2.blog-wrapper {
  padding-top: 1rem;
  flex-direction: initial;
}
@media screen and (min-width: 1024px) {
  .col-2 {
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 2rem;
    main {
      flex: 1;
      max-width: 56rem;
      padding-bottom: 5rem;
    }
    main#results {
      max-width: 59.5rem;
      padding-bottom: 0;
    }
    aside {
      width: 24%;
      max-width: 18.5rem;
    }
  }
}
@media screen and (max-width: 1023px) {
  .col-2.blog-wrapper {
    display: block;
    padding-top: 0;
    header {
      padding-block: 0 !important;
    }
  }
}
#bread {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  li {
    display: flex;
    align-items: center;
    &::after {
      content: "";
      width: 0.5rem;
      height: 0.5rem;
      margin-left: 0.5rem;
      border-top: solid 2px #000;
      border-right: solid 2px #000;
      transform: rotate(45deg);
    }
  }
  li:last-child:after {
    content: none;
  }
  @media screen and (max-width: 640px) {
    font-size: 0.875rem;
  }
}
.list-card,
.list-card-page {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  @media screen and (max-width: 840px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media screen and (max-width: 640px) {
    grid-template-columns: repeat(1, 1fr);
  }
  &.col-4 {
    > div {
      display: contents;
    }
    grid-template-columns: repeat(4, 1fr);
    @media screen and (max-width: 840px) {
      grid-template-columns: repeat(2, 1fr);
    }
    @media screen and (max-width: 640px) {
      grid-template-columns: repeat(1, 1fr);
    }
    .card-simple {
      grid-row: span 4;
      > div {
        display: contents;
      }
    }
  }
  .card {
    gap: 0;
    margin: 0;
    position: relative;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    line-height: 1.6;
    width: 18.5rem;
    @media screen and (max-width: 1439px) {
      width: 100%;
    }
    h3 a {
      color: var(--blue);
    }
    .tag-link {
      margin-block: 2rem 0;
    }
  }
  &.list-package .card {
    grid-row: span 3;
    .meta {
      display: none;
    }
  }
  .card-simple h3 a,
  .card-simple h2 a {
    color: #000 !important;
    text-decoration: none !important;
    &:before {
      position: absolute;
      content: "";
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1;
    }
  }
}
#results .list-card .card {
  grid-row: span 3;
  h3 {
    margin-bottom: 0;
  }
}
#results.child-cat .list-card {
  grid-template-columns: repeat(4, 1fr);
}

.open-toggle {
  position: relative;
  width: 12px;
  height: 12px;
}
.open-toggle:before,
.open-toggle:after {
  position: absolute;
  top: 6px;
  left: 0;
  content: "";
  width: 12px;
  height: 2px;
  background: var(--blue);
  transition: 0.3s;
}
.open-toggle:after {
  transform: rotate(90deg);
}
.img-border {
  position: relative;
  width: fit-content;
  height: 100%;
  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    border-radius: 8px;
    background: linear-gradient(to right, red 0%, blue 20%, green 100%);
  }
  &::after {
    content: "";
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    top: 2px;
    left: 2px;
    z-index: -1;
    border-radius: 8px;
    background: white;
  }
}
.cat-link {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  li {
    a {
      width: 370px;
      display: flex;
      align-items: center;
      border-radius: 10px;
      background: #fff;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
      span {
        padding-inline: 1rem;
        line-height: 1.2;
        font-weight: 700;
        color: #000;
      }
      img {
        aspect-ratio: 4 / 3;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 6px 0 0 6px;
        box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.15);
      }
    }
    a:hover {
      border-color: var(--yellow);
    }
  }
}
iframe[src*="google.com"],
iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"] {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
}
h1.wp-block-heading,
h2.wp-block-heading {
  margin-bottom: 2rem;
  font-size: 3rem;
  line-height: 1.2;
  em {
    display: inline-block;
    color: var(--orange);
    &.en {
      display: block;
    }
  }
  i {
    display: inline-block;
    font-style: normal;
  }
  @media screen and (max-width: 767px) {
    font-size: 1.8rem;
  }
}
.wp-block-paragraph:not(:last-of-type) {
  margin-bottom: 1rem;
}

/* SINGLE PAGE
------------------------------------------------------------*/
#single-page {
  .wrapper {
    border-top: 1px solid var(--lightgray);
    margin-top: 4px;
    .entry-content {
      max-width: 60rem;
      margin-inline: auto;
      padding-top: 3rem;
    }
  }
}

#page-wrapper .entry-content {
  line-height: 1.8;
  padding-bottom: 5rem;
  @media screen and (max-width: 1023px) {
    padding-bottom: 3rem;
  }
  h2.wp-block-heading,
  h3.wp-block-heading,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-top: 2em;
    margin-bottom: 1em;
    clear: both;
  }
  h2,
  h2.wp-block-heading {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.2em;
    border-bottom: 4px solid var(--orange);
  }
  h3,
  h3.wp-block-heading {
    padding-bottom: 0.1em;
    font-size: 1.375rem;
    border-bottom: 1px solid #000;
  }
  h4,
  h4.wp-block-heading {
    font-size: 1.25rem;
    border-bottom: 0;
  }
  p {
    margin-top: 0;
    margin-bottom: 1.6em;
    &:last-of-type {
      margin-bottom: 0;
    }
  }
  strong,
  b {
    font-weight: 700;
    /*background: linear-gradient(transparent 80%, var(--yellow) 80%);*/
  }
  /*h3 strong,
  h4 strong {
    background: none;
  }*/
  ul:not(.contact-btns),
  ol {
    margin-top: 0;
    margin-bottom: 1.6em;
    padding-left: 1.5em;
    li {
      margin-bottom: 0.5em;
    }
  }
  ul:not(.contact-btns) {
    list-style: disc;
  }

  li > ul,
  li > ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
  }
  blockquote {
    margin: 2em 0;
    padding: 1em 1.5em;
    background-color: #f7f9fa;
    border-left: 4px solid #ccd6dd;
    color: #555;
  }
  blockquote p {
    margin-bottom: 0.5em;
  }
  blockquote p:last-child {
    margin-bottom: 0;
  }
  blockquote cite {
    font-size: 0.875rem;
    color: #888;
    font-style: normal;
  }
  hr.wp-block-separator {
    margin-top: 3rem;
    padding-bottom: 3rem;
  }
  .wp-block-columns {
    padding-block: 3rem;
  }
  th {
    background-color: var(--offwhite);
  }
}
#page-wrapper .entry-content.wp-block-group {
  padding-bottom: 0;
}
.wp-block-embed__wrapper iframe {
  margin-block: 2rem;
  width: 100% !important;
}
ul.list {
  margin-left: 1rem;
  list-style: disc;
  li {
    margin-bottom: 1rem;
  }
}
#page-wrapper {
  p {
    line-height: 1.6;
  }
  .btn {
    display: inline-block;
  }
  ul.wp-block-list:not(.page-nav) {
    margin: 1rem 0 1rem 1rem;
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  ol.wp-block-list {
    padding-left: 2.5rem;
    margin: 1rem 0;
    list-style: none;
    counter-reset: circle 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;

    li {
      position: relative;
      &:before {
        counter-increment: circle 1;
        content: counter(circle);
        position: absolute;
        top: -0.1rem;
        left: -2.5rem;
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        background: var(--blue);
        color: #fff;
        font-family: var(--font-en);
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
      }
    }
  }

  h3.wp-block-heading {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    line-height: 1.2;
    @media screen and (max-width: 767px) {
      font-size: 1.5rem;
      br {
        display: none;
      }
    }
  }
  h4.wp-block-heading {
    border-bottom: 1px solid #000;
    font-size: 1.25rem;
  }
  .box {
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  }
  @media screen and (max-width: 781px) {
    .sp-reverse {
      flex-direction: column-reverse;
    }
  }
  .width-fit-content {
    width: fit-content;
    margin-inline: auto !important;
  }
  ul.width-fit-content {
    padding-left: 1rem;
  }
}
section .wp-block-table {
  table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    border: none;
  }
  &.table-about {
    margin-inline: auto;
    max-width: 60rem;
  }
  table th,
  table td {
    display: block;
    width: 100%;
    border: none;
    padding: 10px;
    text-align: left;
    box-sizing: border-box;
    border: 0;
  }
  &.table-about th:first-child {
    width: 16em;
  }
  table th,
  &.tbl-th td:first-child {
    font-weight: 700;
    background: var(--offwhite);
  }
  @media screen and (min-width: 768px) {
    table {
      border-top: 1px solid var(--lightgray);
      border-bottom: 1px solid var(--lightgray);
    }
    table th,
    table td {
      display: table-cell;
      border-bottom: 1px solid var(--lightgray);
    }
    tr:last-of-type th,
    tr:last-of-type td {
      border-bottom: 0;
    }
    &.tbl-th {
      margin: 5rem auto 0;
      max-width: 60rem;
    }
    &.tbl-th td:first-child {
      width: 16em;
    }
    &.tbl-s {
      max-width: 50rem;
    }
    &.tbl-s td:first-child {
      width: 7em;
    }
  }
}
p:empty {
  display: none;
}
.wp-block-accordion {
  margin-inline: auto;
  max-width: 60rem;
  .wp-block-accordion-item {
    padding-block: 2rem;
    border-bottom: 1px solid var(--lightgray);
    .wp-block-accordion-heading__toggle-title {
      font-size: 1.25rem;
      color: var(--blue);
    }
  }
}
a.btn2 {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 3rem 1rem 2rem;
  border-radius: 100vh;
  font-size: 1.4rem;
  color: #fff;
  background: #ff7f00;
  text-align: center;
  transition: 0.3s;
  border-bottom: 5px solid #b84c00;
  &:after {
    position: absolute;
    top: 50%;
    content: "";
    width: 8px;
    height: 8px;
    margin: -4px 0 0 10px;
    border-top: solid 3px #fff;
    border-right: solid 3px #fff;
    transform: rotate(45deg);
  }
}
/* faq */
.faq-item {
  > li {
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--lightgray);
    list-style: none;
    h3,
    .answer,
    .saswp-faq-answer-text {
      display: flex;
      gap: 1rem;
      font-size: 1.25rem;
      &::before {
        position: relative;
        top: -0.2em;
        content: "Q";
        font-family: var(--font-en);
        color: var(--blue);
        font-size: 2rem;
      }
    }
    h3 {
      margin-bottom: 0.5rem;
    }
    p:empty {
      display: none;
    }
    .saswp-faq-answer-text,
    .answer {
      font-size: 1rem;
      &::before {
        content: "A";
        color: var(--orange);
      }
      p {
        flex-wrap: wrap;
        margin-bottom: 1rem;
      }
      p:first-of-type {
        width: 100%;
      }
      ul {
        margin: 1rem 0 1rem 1rem;
        list-style: disc;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }
    }
  }
}

.pagination {
  margin-block: 5rem 3rem;
  display: flex;
  justify-content: center;
  gap: 2px;
  span,
  a {
    text-align: center;
    letter-spacing: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 0.5rem;
    min-width: 2rem;
    height: 2rem;
    border: 1px solid var(--lightgray);
    border-radius: 4px;
    background: #fff;
    font-family: var(--font-en);
  }
  span.current {
    color: #fff;
    background: var(--blue);
  }
}
.pagination .pagination .pagination a {
  color: #216eb7;
  background: #fff;
}
.pagination .prev a:after,
.pagination .next a:after {
  border-color: #000;
}
.pagination .prev a:after {
  right: calc(50% - 5px);
  transform: rotate(-135deg);
}
@media screen and (max-width: 460px) {
  .pagination a,
  .paginatin span {
    padding-inline: 0.1rem;
  }
  .pagination .prev,
  .pagination .next {
    font-size: 0.8em;
    padding-inline: 0.2rem !important;
  }
}
.mt-1 {
  margin-top: -1rem !important;
}
.mt0 {
  margin-top: 0 !important;
}
.mt1 {
  margin-top: 1rem !important;
}
.mt2 {
  margin-top: 2rem !important;
}
.mt3 {
  margin-top: 3rem !important;
}
.mt4 {
  margin-top: 4rem !important;
}
.mt5 {
  margin-top: 5rem !important;
}
.mb0 {
  margin-bottom: 0 !important;
}
.mb1 {
  margin-bottom: 1rem !important;
}
.mb2 {
  margin-bottom: 2rem !important;
}
.mb3 {
  margin-bottom: 3rem !important;
}
.mb4 {
  margin-bottom: 3rem !important;
}
.mb5 {
  margin-bottom: 5rem !important;
}

@media screen and (min-width: 481px) {
  .sp-show {
    display: none !important;
  }
}
@media screen and (max-width: 480px) {
  .pc-show {
    display: none !important;
  }
}

/* LP SLIDER
------------------------------------------------------------*/
#lp-slider {
  width: 100%;
  padding-block: 2rem;
  position: relative;
  overflow: hidden;
}
#lp-slider .wp-block-group__inner-container {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
}
#lp-slider figure.wp-block-image {
  margin: 0 !important;
  padding: 0 10px;
  flex-shrink: 0;
  box-sizing: border-box;
  a:hover {
    opacity: 1;
  }
}
#lp-slider figure.wp-block-image img {
  width: 296px;
  display: block;
  border-radius: 20px;
  border: 3px solid #fff;
  @media screen and (max-width: 768px) {
    width: 240px;
  }
  &:hover {
    border-color: var(--blue) !important;
    opacity: 1;
  }
}
@keyframes lp-loop-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
#lp-slider .wp-block-group__inner-container.is-animating {
  animation: lp-loop-move 50s linear infinite;
  @media screen and (max-width: 768px) {
    animation: lp-loop-move 100s linear infinite;
  }
}
#lp-slider .wp-block-group__inner-container.is-animating:hover {
  animation-play-state: paused;
}
.lp-slider-wrap #lp-slider {
  background: var(--offwhite) !important;
  margin-block: 4px;
  border-top: 1px solid var(--lightgray);
  border-bottom: 1px solid var(--lightgray);
  figure.wp-block-image img {
    border-color: var(--yellow);
  }
}

section.width-full header {
  width: 100%;
  padding-inline: 1rem;
  margin-inline: auto;
  @media screen and (min-width: 1025px) {
    max-width: 90rem;
    padding-inline: 5rem;
  }
}
section header {
  h2.wp-block-heading {
    margin-bottom: 1rem;
  }
  p {
    margin-bottom: 0 !important;
  }
}

/* toppage & company page */
#top-news {
  margin-top: 4px;
  padding-block: 3.75rem;
  .news-wrap {
    @media screen and (min-width: 1024px) {
      display: flex;
      justify-content: space-between;
      > div {
        width: 35%;
        max-width: 438px;
        .wp-block-button__link {
          width: fit-content;
        }
      }
    }
    h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    dl {
      flex: 1;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 1.5rem 1rem;
      .link-arrow {
        color: #000;
        &::after {
          border-color: currentColor;
        }
        &:hover {
          color: #fff;
        }
        &::after {
          border-color: currentColor;
        }
      }
    }
  }
}
@media screen and (max-width: 1023px) {
  .news-wrap > div {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    h2 {
      margin: 0;
    }
  }
}
@media screen and (max-width: 460px) {
  #top-news {
    padding-block: 3rem;
    .news-wrap > div,
    .news-wrap dl {
      display: block;
    }
    .news-wrap dd {
      margin-bottom: 1rem;
    }
  }
}
.btn-to-company {
  max-width: 60rem;
  margin: 5rem auto 0;
}
.marquee {
  display: flex;
  justify-content: center;
  gap: min(8rem, 5vw);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: min(10rem, 12vw);
  line-height: 0.6;
  white-space: nowrap;
  color: #fff;
}
#cat-item {
  .list-card {
    grid-template-columns: repeat(4, 1fr);
    @media screen and (max-width: 840px) {
      grid-template-columns: repeat(2, 1fr);
    }
    @media screen and (max-width: 640px) {
      grid-template-columns: repeat(1, 1fr);
    }
    .card {
      grid-row: span 2;
    }
  }
}

#top-original {
  position: relative;
  overflow: hidden;
  .marquee:before,
  .marquee:after {
    content: "ORDER MADE";
  }
}

#faq-content > div {
  @media screen and (min-width: 1025px) {
    display: flex;
    justify-content: space-between;
    gap: 5rem;
    header.wp-block-group > div {
      flex-direction: column;
      align-items: initial !important;
      gap: 2rem;
      width: 30rem;
    }
    > div {
      width: calc(100% - 30rem);
    }
  }
}
.slide-card {
  position: relative;
  padding-bottom: 78px;
  margin-left: 1rem;
  @media screen and (min-width: 1281px) {
    margin-left: calc((100% - 1280px) / 2);
  }
  .slick-track {
    display: flex;
    align-items: stretch;
  }
  .slick-slide {
    height: auto;
  }
  @media screen and (max-width: 640px) {
    padding-bottom: 0;
    .slick-dots {
      display: none !important;
    }
    .slick-next {
      top: 120px;
      right: 0.2rem;
    }
    .slick-prev {
      top: 120px;
      right: auto;
      left: -0.8rem;
    }
    .card h3 {
      -webkit-line-clamp: 2;
      line-clamp: 2;
    }
    .card p.excerpt {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 4;
      line-clamp: 4;
      overflow: hidden;
    }
  }
}
.slide-card:not(.slick-initialized) {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  > .card {
    margin: 0;
  }
}
.card {
  position: relative;
  width: 18.5rem;
  margin-right: 2rem;
  padding: 0 1rem 1.5rem;
  line-height: 1.6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  .link-block,
  .link-block-wrap a {
    color: #000;
    text-decoration: none;
    &:before {
      position: absolute;
      content: "";
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1;
    }
  }
  .link-arrow {
    width: 100%;
    justify-content: space-between;
    &:after {
      border-color: #000;
    }
    &.page-link {
      &:after {
        transform: rotate(135deg);
      }
    }
  }
  .thumb {
    margin: 0 -1rem 1rem;
    width: calc(100% + 2rem);
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    line-height: 0;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15);
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      max-width: 100%;
      max-height: 100%;
    }
  }
  .meta {
    padding-top: 0.5rem;
  }
  h3 {
    margin-block: 0 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    font-size: 1.25rem !important;
    line-height: 1.6;
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 0.1em;
    transition: 0.3s;
    border: 0 !important;
    padding-bottom: 0 !important;
    &:hover {
      text-decoration-color: var(--orange);
    }
  }
  h3.item-title {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0.5rem -1rem 0 0 !important;
    padding-right: 3rem;
    text-decoration: none;
    color: #000;
    &::before,
    &::after {
      position: absolute;
      content: "";
      width: 10px;
      height: 10px;
      border: 0;
      border-top: solid 2px #fff;
      border-right: solid 2px #fff;
      transform: rotate(45deg);
      top: 50%;
      right: 1.75rem;
      transform: translateY(-50%) rotate(45deg);
      transition: 0.3s;
    }
    &::before {
      right: 1rem;
      width: 2rem;
      height: 2rem;
      border-radius: 50%;
      background: var(--orange);
      border: 0;
    }
  }
  p {
    margin-top: 0.5em;
    line-height: 1.8;
  }
  a:hover {
    opacity: 1;
    h3 {
      text-decoration-color: transparent;
    }
  }
  &:hover .link-arrow:after {
    transform: translateX(4px) rotate(45deg);
  }
  &:hover .page-link:after {
    transform: translateY(3px) rotate(135deg);
  }
  &:hover h3.item-title:before {
    right: 0.25rem;
  }
  &:hover h3.item-title:after {
    right: 1rem;
  }
  .desc br {
    display: none;
  }
  .tag-link {
    margin-block: 1rem 0;
  }
}
.list-blog .card,
.list-card-page .card {
  width: 406px;
  @media screen and (max-width: 1439px) {
    width: 100%;
  }
  .thumb {
    aspect-ratio: 406 / 304;
  }
}

.list-card-page > div,
.list-card-page > div .card > div {
  display: contents;
}

.list-card-page .card {
  grid-row: span 4;
  padding-bottom: 0;
  &.height-free {
    display: block;
    padding-bottom: 1.5rem;
    h3 {
      margin-block: 1rem !important;
    }
    p {
      margin-bottom: 0 !important;
    }
  }
}
/* variableWidthのカード幅を初期化前後で一定に保つ。 */
.slide-card .card {
  flex-shrink: 0;
}
/* JSやWebフォントの読み込み前から、画像とテキストの領域を確保する。 */
.slide-card .thumb > a {
  display: block;
  width: 100%;
  height: 100%;
}
.slide-card .card h3.item-title {
  height: 3.2em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.slide-card.list-blog .card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
.slide-card.list-blog .card {
  width: 406px;
  max-width: calc(100vw - 2rem);
}
@media screen and (max-width: 1439px) {
  .list-card.list-blog .card {
    width: 100%;
  }
}
.card-simple,
.list-card-page {
  padding-bottom: 0;
  h2 a,
  h3,
  h4 {
    text-decoration: none !important;
    color: #000 !important;
    border-bottom: 0 !important;
    font-size: 1.25rem;
    line-height: 1.4 !important;
  }
  p:first-of-type:not(.wp-block-paragraph) {
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
  }
  .link-arrow {
    width: calc(100% + 2rem);
    margin: 0 -1rem;
    padding: 1rem;
    font-weight: 700;
    background: var(--orange-grad);
    border-radius: 0 0 10px 10px;
  }
}
@media screen and (max-width: 420px) {
  .card {
    width: calc(100vw - 2rem) !important;
  }
}
.product-labels span,
.item-stock {
  padding-inline: 0.25rem;
  font-size: 0.875rem;
  border: 2px solid #000;
  background: #fff;
  &.no-stock {
    color: #fff;
    background: #de5644;
    border-color: #de5644;
  }
}
.product-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  .label-rental {
    border-color: #3a7dff;
  }
  .label-new {
    border-color: #2ecc71;
  }
  .label-second {
    border-color: #f1c40f;
  }
  .label-original {
    border-color: var(--orange);
  }
}
.meta {
  padding-block: 2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.term-link {
  padding-inline: 0.5rem;
  font-size: 0.875rem;
  color: var(--blue);
  border: 1px solid var(--blue);
  background: #fff;
  &:hover {
    color: #fff !important;
    border-color: #fff;
    background: var(--orange);
  }
}
.tag-link {
  margin-block: 2rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  a {
    display: inline-block;
    max-width: 100%;
    padding: 2px 10px;
    font-size: 0.875rem;
    color: var(--blue);
    border: 1px solid #000;
    border-radius: 100vh;
    background: #fff;
    &:hover {
      color: #fff !important;
      background: var(--blue);
    }
  }
  .current-cat a {
    color: #fff !important;
    background: var(--blue);
  }
}
#page-wrapper {
  border-top: 1px solid var(--lightgray);
  border-bottom: 1px solid var(--lightgray);
  padding-top: 4px;
  a:not(.wp-block-button__link):not(.term-link):not(.tag-link):not(.link-block):not(.link-arrow):not(.btn) {
    color: var(--blue);
    text-decoration: underline;
    &:hover {
      color: var(--orange);
    }
  }
  a:has(img),
  #bread a,
  .ez-toc-counter a,
  .tag-link a,
  #cat-tab a,
  .pagination a,
  a:hover {
    text-decoration-color: transparent !important;
  }
  header {
    padding-block: 2rem;
    @media only screen and (max-width: 800px) {
      padding-block: 1.5rem 1rem;
    }
    h1 {
      font-size: 3rem;
      @media screen and (max-width: 640px) {
        font-size: 2rem;
      }
      line-height: 1.2;
    }
  }
  header.page-header {
    background: var(--offwhite);
    border-top: 1px solid var(--lightgray);
    border-bottom: 1px solid var(--lightgray);
    h1 {
      margin-block: 0.5rem;
    }
    p {
      line-height: 1.6;
    }
  }
  #faq-content header {
    padding-top: 0;
  }
  :where(.wp-block-image.is-style-rounded img, .wp-block-image .is-style-rounded img) {
    border-radius: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  }
}
body.is-sub-open {
  section,
  div:not(.searchwp-live-search-results) {
    opacity: 0.5;
  }
  #header div,
  div.searchwp-live-search-results * {
    opacity: 1;
  }
}
body.is-open {
  overflow: hidden;
}

.header-with-img .inner > div {
  @media screen and (min-width: 641px) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
  .header-img {
    @media screen and (min-width: 641px) {
      width: 388px;
      flex-shrink: 0;
    }
    @media screen and (max-width: 640px) {
      margin-top: 1rem;
    }
    @media screen and (max-width: 768px) {
      &.sp-no-img {
        display: none;
      }
    }
    img {
      aspect-ratio: 4 / 3;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: 10px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
      /*border: 4px solid var(--orange);*/
    }
  }
}

/* DOWNLOAD PAGE
---------------------------------------------------------------- */
.list-dl {
  h3 {
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid var(--blue);
  }
  h4 {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-bottom: 2px solid var(--blue);
  }
  .dl-desc {
    margin-bottom: 2rem;
    p:first-of-type {
      margin-bottom: 0;
    }
  }
}
.dl-flex {
  padding-block: 5rem;
  @media only screen and (max-width: 800px) {
    padding-block: 3rem;
  }
  .dl-txt {
    h1 {
      font-size: 3rem;
    }
    h2 {
      margin-bottom: 2rem;
      font-size: 1.25rem;
    }
    p {
      margin-top: 1rem;
    }
  }
  .dl-form {
    padding: 2rem;
    background: var(--offwhite);
    border-radius: 10px;
    border: 1px solid var(--lightgray);
    @media only screen and (max-width: 800px) {
      padding-inline: 1rem;
      margin-top: 3rem;
    }
  }
}
@media only screen and (min-width: 801px) {
  .dl-flex {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    > .dl-txt {
      flex-basis: 48%;
    }
    .dl-form {
      flex-basis: 52%;
    }
  }
}

/* CONTACT FORM
------------------------------------------------------------*/
.wpcf7-form {
  .form-wrap {
    @media screen and (min-width: 641px) {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }
    dl {
      display: flex;
      flex-direction: column;
      @media screen and (min-width: 641px) {
        width: calc(50% - 0.5rem);
      }
      p {
        margin-bottom: 0;
      }
      &.long {
        width: 100%;
      }
      dt {
        margin-bottom: 0.5rem;
        height: 100%;
        p {
          display: flex;
          flex-direction: column;
          justify-content: flex-end;
          height: 100%;
        }
        i {
          margin-left: 0.5rem;
          padding: 0 0.25rem;
          font-size: 0.875rem;
          font-style: normal;
          color: #fff;
          background: #de5644;
          border-radius: 3px;
        }
        em {
          padding-left: 0.5rem;
          font-size: 0.875em;
          color: #444;
        }
      }
      dd {
        margin-block: auto 0.5rem;
      }
    }
  }
  .acceptance {
    padding-block: 1rem;
    > p {
      display: flex;
      align-items: center;
      &:has(.wpcf7-not-valid-tip) {
        align-items: flex-start;
      }
    }
    .wpcf7-list-item {
      margin: 0.5rem 1rem 0 0;
      .wpcf7-list-item-label {
        display: none;
      }
      input[type="checkbox"] {
        width: 22px;
        height: 22px;
      }
    }
    .wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) {
      padding-bottom: 2rem;
    }
    .wpcf7-not-valid-tip {
      position: absolute;
      width: 500px;
    }
  }
  .wpcf7-response-output {
    display: none !important;
  }
  .wpcf7 form.submitting {
    opacity: 0.6;
    pointer-events: none;
  }
  .submit-wrap {
    display: block;
    position: relative;
    width: 100%;
    margin-block: 2rem;
    p {
      display: contents;
    }
    .wpcf7-spinner {
      position: absolute;
      top: 5rem;
    }
    input[type="submit"] {
      display: block;
      width: 100%;
      padding-left: 1.5rem;
      height: 4rem;
      font-size: 1.5rem;
      text-align: left;
      cursor: pointer;
      color: #fff;
      border-radius: 100vh;
      border: 0;
      background: var(--orange);
    }
    &:after {
      position: absolute;
      top: calc(50% - 5px);
      right: 1.5rem;
      border-color: #fff;
    }
    &:hover:after {
      right: 1rem;
    }
  }
}
/* thanks */
.item-popular-heading {
  margin-bottom: 5rem;
  font-size: 2rem;
}

/* SEARCH WP */
@media only screen and (min-width: 1024px) {
  /*.searchwp-live-search-results {
    width: 600px !important;
  }
  .searchwp-live-search-results-container.swp-ls--img-sm .searchwp-live-search-result--img {
    flex-basis: 120px !important;
  }*/
  .searchwp-live-search-result .searchwp-live-search-result--title a {
    display: block;
  }
}
