sup {
  font-family: Consolas;
  vertical-align: super;
  font-size: 0.7em;
}

.verdana {
  font-weight: bold;
}
picture {
  img {
    max-width: 100%;
    height: auto;
    margin: auto;
    display: block;
  }
}
.pconly {
  display: block;
  @media (max-width: 767.98px) {
    display: none;
  }
}
.sponly {
  display: none;
  @media (max-width: 767.98px) {
    display: block;
  }
}
.centertxt {
  text-align: center;
  @media (max-width: 600px) {
    text-align: left;
  }
}
.flex-box {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-around;

  @media (max-width: 1023px) {
    flex-direction: column;
  }
}
h2 {
  font-size: clamp(20px, 3.95vw, 28px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
  @media (min-width: 861px) {
    /* font-size: 1.5rem; */
  }
  &.uline {
    color: #193e90;
    margin-bottom: 1em;
  }
}

.shorth2 {
  position: relative;
  overflow-x: hidden;
  margin: auto;
  max-width: 1060px;
  @media (min-width: 1100px) {
    &::before,
    &::after {
      content: "";
      display: inline-block;
      background-color: #fff;
      width: 240px;
      height: 100%;
      position: absolute;
      top: 0;
      z-index: 2;
    }
    &::before {
      left: 0;
    }
    &::after {
      right: 0;
    }
  }
  h2 {
    font-size: 1.8rem;
    text-align: center;
    margin: auto;
    padding-right: 1em;
    padding-left: 1em;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;

    @media (min-width: 1100px) {
      width: 100%;
    }
  }
}
.y-marker {
  background: linear-gradient(transparent 50%, #fff292 50%);
}
#navbar-main {
  height: 100px;
  @media (max-width: 1799.98px) {
    height: 100px;
  }
  @media (max-width: 1399.98px) {
    height: 90px;
  }
  @media (max-width: 767.98px) {
    height: 74px;
  }
  @media (max-width: 475px) {
    height: 60px;
  }
  .navbar-brand {
    font-family: initial !important;
    font-style: normal !important;
    line-height: 1em;
    font-size: 30px;
    span {
      font-size: clamp(14px, 0.7em, 21px);
      font-weight: normal;
    }
    @media (max-width: 1799.98px) {
      font-size: 30px;
    }
    @media (max-width: 767.98px) {
      font-size: 21px;
    }
    @media (max-width: 475px) {
      font-size: 16px;
    }
  }
  #navbar {
    flex-grow: initial;
    margin-left: auto;
    .navbar-nav.flex-grow-1 {
      display: none;
    }

    .navbar-btn {
      .nav-btn {
        padding-right: 20px;
        padding-left: 20px;
        @media (min-width: 1200px) {
          border-radius: 44px;
        }
        &.blue {
          background-color: #00ae67;
          color: #fff;
        }
      }
    }
  }
}
.section-fv-sfcms {
  background: none;
  position: relative;
  .flex-box {
    color: #193e90;
    font-weight: 800;
    max-width: 1100px;
    margin: 20px auto 0;
    @media (min-width: 1024px) {
      position: relative;
      left: 20px;
    }
    @media (max-width: 1023px) {
      img {
        margin-top: 20px;
      }
    }
    p {
      margin: 20px 0 15px;
      font-size: 20px;
    }
    .kome {
      font-weight: normal;
      font-size: 10px;
      margin: 0;
    }
    @media (max-width: 450px) {
      .mini {
        display: none;
      }
    }
  }
  .centertxt {
    line-height: 1.7;
    margin-bottom: 130px;
    font-weight: 600;
    text-align: left;
    @media (max-width: 600px) {
      font-size: 20px;
      margin-bottom: 60px;
    }
  }
  h1 {
    line-height: 1.6em;
    font-size: 3rem;
    position: relative;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    @media (max-width: 768px) {
      font-size: clamp(30px, 8vw, 46px);
    }
    span {
      font-size: 0.8em;
      span {
        font-size: 0.6em;
        vertical-align: bottom;
      }
    }
    &:after {
      content: url(../img/taimen/mv_ico.png);
      display: inline-block;
      position: absolute;
      top: 54%;
      right: -71px;
      transform: translate(-50%, -50%);
    }
  }

  p {
    color: #193e90;
    font-size: 22px;
    max-width: 782px;
    margin: auto;
  }

  .bg {
    position: absolute;
    background: #ecf7ff;
    width: 100vw;
    height: 100%;
    top: 0;
    left: 0;
  }
  .bg2,
  .bg3 {
    background-image: url("../img/taimen/tate.svg");
    background-size: contain;
    background-position: center top;
    width: 1663px;
    max-width: 140%;
    background-repeat: no-repeat;
    position: absolute;
    height: 590px;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .bg3 {
    background-image: url("../img/taimen/nami.svg");
    background-repeat: repeat-x;
    width: 100vw;
    height: 354px;
    top: 100px;
    transform: translate(-50%, 0%);
  }
  .bg4 {
    position: absolute;
    background: #ecf7ff;
    width: 100vw;
    height: 100px;
    top: 0;
    left: 0;
  }
  .container {
    z-index: 1;
    position: relative;
    text-align: center;
    .mvimg img {
      max-width: 100%;
      height: auto;
    }
  }
  .row-xl-23 {
    max-width: 850px;
    margin: 20px auto 60px;
  }
}
.section-second {
  padding-bottom: 4rem;
  .centertxt {
    color: #193e90;
    font-size: 0.85rem;
    @media (max-width: 550px) {
      br {
        display: none;
      }
    }
  }
  h2 {
    font-weight: 600;
    line-height: initial;
    text-align: center;
    width: 100%;
    max-width: 1060px;
    @media (min-width: 861px) {
      line-height: 1.8em;
    }
    .by {
      font-size: 0.67em;
    }
    & + .centertxt {
      font-size: 1.4rem;
      font-weight: 600;
    }
  }
  .flex-box {
    position: relative;
    justify-content: space-between;
    margin: 0 auto;
    align-items: baseline;
    @media (min-width: 1024px) {
      gap: 18px;
    }
    /* @media (min-width: 1500px) {
      &::before,
      &::after {
        display: inline-block;
        position: absolute;
        top: 30%;
      }
      &::before {
        content: url(../img/taimen/sec02_bg01.png);
        left: -5%;
        transform: translate(-50%, -50%);
      }
      &::after {
        content: url(../img/taimen/sec02_bg02.png);
        right: -5%;
        transform: translate(50%, -50%);
      }
    } */
    > div {
      max-width: 362px;
      color: #193e90;
      margin: 1.5rem auto 0;
    }
    img {
      margin: auto;
      display: block;
    }
    h3 {
      font-weight: 600;
      font-size: 1.4rem;
      position: relative;
      margin-top: 1em;
    }
    &.maru h3 {
      &::before {
        content: url(../img/taimen/ico01.png);
        display: inline-block;
        margin-right: 10px;
        margin-left: -10px;
      }
    }
    p {
      font-size: 1.1rem;
    }
  }
  .shorth2 {
    margin-top: 90px;
  }
  .shorth2 + .flex-box {
    h3 {
      text-align: left;
      padding: 0 10px;
    }
    & > div {
      max-width: 480px;
      margin: 2.5rem auto 0;

      @media (min-width: 1025px) {
        margin: 2.5rem 0;
      }
    }
  }
  .kome {
    margin-top: 20px;
    color: #193e90;
  }
  picture {
    margin: 4rem auto 0;
    display: block;
  }
}
.section-third {
  .shorth2 + .flex-box {
    & > div {
      max-width: 370px;
    }
    @media (min-width: 1024px) {
      gap: 45px;
    }
  }
  .flex-box + .shorth2 {
    @media (min-width: 1100px) {
      &::before,
      &::after {
        width: 270px;
      }
    }
  }
}
.pricearea {
  background-color: #193e90;

  max-width: 100%;
  overflow-x: hidden;
  padding: 60px 10px 70px;
  /* 
  .pricebox {
    max-width: 1100px;
    border-radius: 40px;
    margin: auto;
    padding: 35px 15px 20px;
    background-image: url(../img/taimen/sec05_bg01.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    @media (min-width: 860px) {
      padding: 65px 30px 40px;
    }
    @media (min-width: 1024px) {
      position: relative;
      &::before,
      &::after {
        display: inline-block;
        position: absolute;
      }
      &::before {
        content: url(../img/taimen/sec05_deco02.png);
        bottom: -5%;
        left: 5%;
        transform: translate(-50%, 0%);
      }
      &::after {
        content: url(../img/taimen/sec05_deco01.png);
        top: -5%;
        right: 5%;
        transform: translate(50%, 00%);
      }
    }
  }
  .shorth2 {
    max-width: 700px;

    --parent-width: 100vw;

    h2 {
      width: 800px;
      transform: translateX(calc((100% - var(--parent-width)) / -2 - 25px));
      @media (min-width: 769px) {
        transform: translateX(-50px);
      }
      @media (max-width: 768px) {
        font-size: clamp(16px, 4.5vw, 35px);
      }
    }
  }
  h2 {
    font-weight: 600;
    line-height: initial;
    text-align: center;
    line-height: 1;
    font-size: 2.25rem;
    .by {
      font-size: 0.67em;
    }
  }
   p {
    color: #f06f00;
    font-size: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    @media (max-width: 768px) {
      font-size: clamp(12px, 3.5vw, 20px);
    }
  } 
  .label,
  .price,
  .yen {
    font-weight: 600;
  }

  .label {
    text-align: center;
    background-color: #f06f00;
    color: #fff;
    max-width: 100%;
    width: 150px;
    margin-right: 6px;
    padding: 2px 10px;
    display: inline-block;
  }
  .labelbox {
    @media (max-width: 910px) {
      text-align: center;
      width: 25%;
      max-width: 150px;
      margin-right: 6px;
      .label {
        display: block;
      }
    }
  }
  .price {
    font-style: italic;
    line-height: 1.5;
    font-size: 4em;
    margin-right: 20px;
    font-family: figree;
    font-weight: 500;
  }
  .yen {
    font-size: 1.15em;
    margin-top: 1.5em;
    @media (max-width: 380px) {
      font-size: 1em;
    }
    br {
      display: none;
      @media (max-width: 768px) {
        display: block;
      }
    }
  } */
  .kome {
    color: #fff;
    font-size: 0.9em;
    max-width: 850px;
    margin: 10px auto 0;
    @media (max-width: 768px) {
      font-size: 0.8em;
    }
  }
}
.scenearea {
  text-align: center;
  padding: 0 10px 10px;
  margin-bottom: 40px;
  .shorth2 {
    @media (min-width: 1100px) {
      &::before,
      &::after {
        width: 130px;
      }
    }
  }
  .scene {
    font-style: italic;
    line-height: 1;
    font-size: 6rem;
    font-family: figree;
    font-weight: 300;
    text-align: center;
    color: #c9c9c9;
    @media (max-width: 768px) {
      line-height: 1.5;
      font-size: 4rem;
    }
  }
  h2 {
    font-size: 2.3rem;
    font-weight: 600;
    margin-top: 2em;
    @media (max-width: 768px) {
      font-size: 1.8rem;
    }
  }
  .flex-box {
    max-width: 1078px;
    margin: 40px auto 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3%;
    color: #193e90;
    text-align: center;
    font-size: 1.14rem;
    font-weight: 600;
    @media (max-width: 1074px) {
      flex-direction: row;
      &:after,
      &:before {
        display: none;
        content: "";
        margin-bottom: 10px;
        max-width: 240px;
        width: 240px;
      }

      &:before {
        order: 1;
      }
    }
    div {
      margin-bottom: 10px;
      width: 22.7%;
    }
  }
}
.section-fourth {
  color: #193e90;
  .container {
    max-width: 1150px;
  }
  .shorth2 {
    @media (min-width: 1100px) {
      &::before,
      &::after {
        width: 360px;
      }
    }
  }
  .shorth2 + p {
    font-size: 1.4em;
    max-width: 960px;
    margin: 30px auto;
  }
  table {
    width: 100%;
    border-collapse: collapse;
  }
  th,
  td {
    border: 4px solid #fff;
    padding: 27px 20px;
    font-weight: normal;
    text-align: left;
    font-size: 1.4em;
    @media (max-width: 767px) {
      display: block;
    }
  }
  th {
    background-color: #c5d4ea;
    @media (min-width: 768px) {
      min-width: 250px;
    }
    &.top {
      vertical-align: baseline;
    }
  }
  td {
    background-color: #e6e9ef;
    padding-left: 30px;
  }
  .header-row {
    background-color: #c5d4ea;
    text-align: center;
    font-size: 1.8em;
  }
  ol,
  ul {
    padding-left: 1rem;
  }
  li {
    font-size: 0.8em;
  }
  ol + p {
    font-size: 0.9em;
  }
  .kome {
    font-size: 1.1em;
    a {
      color: #f48619;
    }
  }
}
.section-cta {
  background: #1a6cb7;
  padding: 30px 0;
  @media (min-width: 768px) {
    padding: 60px 0;
  }
  &:before {
    /* opacity: 1;
    width: 1920px;
    max-width: 100%;
    transform: initial;
    margin: auto;
    display: block;
    position: static;
    height: 360px;
    background: #1a6cb7; */
    display: none;
  }
  .title-section {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 0 0 1.4em;
    margin: 0 auto 1em;
    @media (min-width: 768px) {
      margin: 0 auto 30px;

      width: 95%;
      padding: 0 1em 1.4em;
      font-size: 36px;
    }
    @media (max-width: 767.98px) {
      font-size: 21px;
    }
    span {
      color: #f4eb4e;
    }
  }

  .container {
    max-width: 1000px;
  }
  @media (max-width: 767.98px) {
    .title-section {
      margin: 0 auto 0.4em;
    }
    .row .col-md-6:nth-of-type(1) {
      display: none;
    }
    .row .col-md-6 {
      margin-top: 0 !important;
    }
  }
  /* .container2 {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    @media (min-width: 768px) {
      top: 56%;
    }
  } */
  .btn-container {
    .btn {
      border-color: #fff;
      border-width: 3px;
      padding: 14px 10px 14px 37px !important;
      color: #ffc31b;
      font-size: 20px;
      @media (min-width: 768px) {
        max-width: 477px;
        padding-bottom: 22px !important;
        padding-top: 22px !important;
        &::before {
          left: 23%;
        }
      }
      @media (min-width: 1000px) {
        font-size: 25px;
      }

      &::after {
        display: none;
      }
      &::before {
        background-repeat: no-repeat;
        position: absolute;
        left: 18%;
        top: 0;
        bottom: 0;
        width: 30px;
        height: 25px;
        margin: auto 0;
        content: "";
      }
      &.btn-orange {
        color: #193e90;
        background-color: #ffc31b;

        &::before {
          left: 10%;
          background-image: url("../img/taimen/ico02.svg");
          @media (min-width: 768px) {
            left: 17%;
          }
        }
        &:hover {
          background-color: #fff;
          border-color: #ffc31b;
        }
      }
      &.btn-blue {
        background-color: #00ae67;
        color: #fff;
        &::before {
          background-image: url(../img/taimen/ico002.svg);

          left: 3%;
          @media (min-width: 375px) {
            left: 5%;
          }
          @media (min-width: 768px) {
            left: 10%;
          }
        }
        &:hover {
          background-color: #fff;
          border-color: #00ae67;
          color: #00ae67;
          &::before {
            background-image: url(../img/taimen/ico002_g.svg);
          }
        }
      }
    }
  }
}
.uline {
  background: url(../img/taimen/uline.svg) no-repeat center bottom;
  padding-bottom: 1.4em;
  &.uline-b {
    background: url(../img/taimen/uline-b.svg) no-repeat center bottom;
  }
}
.c-modal {
  display: none;
  height: 100vh;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 11;
  img {
    display: none !important;
  }
}

.c-modal_bg {
  background: rgba(0, 0, 0, 0.6);
  height: 100vh;
  width: 100%;
}

.c-modal_content {
  background: #fff;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  width: 90vw;
  max-width: 850px;
}

.c-modal_content_inner {
  position: relative;
  padding: 24px;
  height: 83vh;
  max-height: 650px;
}

.c-modal_close {
  position: absolute;
  top: 13px;
  right: 10px;
  background: #fff;
}

.iframeplaceholder {
  background-image: url("../img/loading.gif");
  background-position: center center;
  background-repeat: no-repeat;
}
.taimen-contact {
  display: none;
}
@media (max-width: 767.98px) {
  .navbar .navbar-btn .nav-item:nth-of-type(1) {
    display: none;
  }
}
@media (max-width: 767.98px) and (min-width: 375px) {
  #navbar,
  .navbar .navbar-btn .nav-item,
  .navbar-toggler {
    display: none;
  }
  #navbar-main > .container-fluid.justify-content-start {
    justify-content: space-between !important;
    --bs-gutter-x: 5px;
    padding-left: 7px;
  }
  .navbar .navbar-brand-container,
  .navbar-brand {
    margin-right: 0 !important;
  }
  .taimen-contact {
    display: block;
    font-size: 14px;
    position: relative;
    margin-top: auto;
    margin-bottom: 0px;
    padding: 6px 0;
    @media (max-width: 485px) {
      font-size: 12px;
    }
    &:hover {
      opacity: 0.6;
    }
    &::before {
      content: "";
      background-image: url(../img/taimen/ico002_g.svg);

      display: inline-block;
      background-repeat: no-repeat;
      width: 48px;
      height: 30px;
      position: absolute;
      top: -24px;
      left: 50%;
      transform: translate(-50%, 0%);
    }
    &:hover {
      &::before {
        opacity: 0.6;
      }
    }
  }
}
