@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .tab_only {
    display: none;
  }
}

@media screen and (min-width: 980px) {
  .tab {
    display: none;
  }
  .tab_only {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .sp {
    display: none;
  }
}

/*common
----------------------------------------------------------------------*/

.wrap {
  max-width: 957px;
  margin: 67px auto 0;
  padding: 0 25px;
}

.inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

main {
  color: #4D4D4D;
  background-color: white;
}

.mv {
  background-color: #dbe4e5;
  position: relative;
  width: 100%;
  height: 19.1666666667vw;
  min-height: 230px;
}

.mv figure {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
}

.sec_heading {
  background-image: url("../img/tti_bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  color: #fff;
}

.h_inner {
  width: 600px;
  position: relative;
  line-height: 24px;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 50px 0;
  margin: 0 auto;
}

.h_inner h2 {
  position: relative;
  width: 350px;
  margin: 0 auto 24px;
}

.h_inner h2::after {
  content: "";
  background: url('../img/ttl_border.png') no-repeat;
  background-size: cover;
  position: absolute;
  width: 350px;
  height: 2px;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
}
.h_jp {
  margin-bottom: 1em;
}

.h_lead {
  font-size: 18px;
  line-height: 1.8;
}

.mark {
  position: absolute;
  width: 130px;
  top: 50%;
  left: -110px;
  transform: translateY(-50%);
}


.sec_ttl {
  font-family: YakuHanMPs, "Shippori Mincho B1", serif;
  text-align: center;
  font-size: 21px;
  line-height: 32px;
  letter-spacing: 0.1em;
  margin: 55px 0 30px;
}

.sec_lead {
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.1em;
  margin-bottom: 55px;
}

.entry {
    padding: 34px 0 44px;
}

/*COLOR
----------------------------------------------------------------------*/

.jisai {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: YakuHanMPs, "Shippori Mincho B1", serif;
  width: 600px;
  margin: 60px auto 0 auto;
}

.jisai .right {
  position: relative;
  display: flex;
  font-size: 64px;
  letter-spacing: 0.1em;
  margin-right: 20px;
}

.jisai .right span {
  position: relative;
  display: block;
}

.jisai .rubi01::before,
.jisai .rubi02::before {
  position: absolute;
  content: "じ";
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  width: 100%;
  text-align: center;
  letter-spacing: normal;
}

.jisai .rubi02::before {
  content: "じ";
}

.jisai .rubi02::before {
  content: "さい";
}

.jisai .left {
  display: block;
  font-size: 28px;
  letter-spacing: 0.05em;
}

.color .sec_ttl {
  margin-top: 30px;
  margin-bottom: 55px;
}

.ginsei,.sinrei,.youju,.yukisa {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: YakuHanMPs, "Shippori Mincho B1", serif;
    font-size: clamp(16px, 3vw, 32px);
}

.color_menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 80px;
}

.color_menu li a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100px;
  color: #fff;
}

.color_menu li {
  width: calc(25% - 30px);
  border: 2px solid #fff;
  transition: .3s;
  box-shadow:none;
}

.color_menu li:hover {
  opacity: .7;
}

.color_menu li.selected {
  box-shadow: 2px 4px 6px rgba(0,0,0,.6);
  opacity: 1;
}
.color_menu li.selected a {
  opacity: 1;
}

.col01 {
  background: url('../img/color_bg01.png');
  background-size: cover;
}
.col02 {
  background: url('../img/color_bg02.png');
  background-size: cover;
}
.col03 {
  background: url('../img/color_bg03.png');
  background-size: cover;
}
.col04 {
  background: url('../img/color_bg04.png');
  background-size: cover;
}

.ginsei span:nth-child(1),
.sinrei span:nth-child(1),
.youju span:nth-child(1),
.yukisa span:nth-child(1) {
    display: block;
    letter-spacing: 0.05em;
}

.ginsei span:nth-child(2),
.sinrei span:nth-child(2),
.youju span:nth-child(2),
.yukisa span:nth-child(2) {
    display: block;
    font-size: 55%;
    letter-spacing: normal;
    margin-top: .3em;
}

.color_wrap {
  position: relative;
  width:100%;
  height: 520px;
  margin-bottom: 60px;
}

.color_block {
  position: absolute;
  inset: 0;
  opacity: 0;
    transition: .5s;
}

.color_block.active {
  opacity: 1;
}

.color_block .item_img,
.color_block .item_txt {
  width: 50%;
}

.shadow {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 120px auto;
  box-shadow: 0px 0px 6px rgba(0,0,0,.6),
              2px 4px 6px rgba(0,0,0,.4);
}


.color_block .item_txt {
  font-family: YakuHanMPs, "Shippori Mincho B1", serif;
  letter-spacing: 0.01em;
  padding: 40px;
  color: #fff;
}

.color_block h3.ginsei,
.color_block h3.sinrei,
.color_block h3.youju,
.color_block h3.yukisa {
  font-size: 50px;
  justify-content: left;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
  margin-bottom: 40px;
}

.color_block .col_subttl {
  font-size: 28px;
  margin-bottom: 40px;
}

.color_block .col_subttl span {
  margin-right: 1em;
}


.color_block .col_lead {
  line-height: 2.5;
}

/*PLAN
----------------------------------------------------------------------*/

.plan_ttl {
  width: 30%;
  min-width: 300px;
  margin: 80px auto 20px auto;
}

.plan_detail {
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1.8;
  margin-bottom: 80px;
}

.plan_detail .larger {
  font-size: 220%;
  margin-left: .2em;
}

.plan_detail .smaller {
  font-size: 80%;
}

.plan_block {
  display: flex;
  gap: 2%;
}

.plan_block .basic,.plan_block .menu {
  flex: 4;
}

.plan_block .basic h3,.plan_block .menu h3 {
  margin: 0 auto 55px auto;
}

.plan_block .arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction:column;
  gap: 50px;
  flex: 2;
}

.plan_block .arrow .plan_arrow {
  width: 40%;
}

.plan_block .arrow p {
  text-align: center;
  color: #ac0000;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.plan_block .arrow .plan_hanrei {
  position: absolute;
  width: 70%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.detail_btn {
  position: relative;
  width: 300px;
  margin: 80px auto;
}

.detail_btn a {
  display: block;
  width: 100%;
  height: 100%;
}

.detail_btn p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  letter-spacing: 0.1em;
}

/*OTHER SELECT
----------------------------------------------------------------------*/

.other .sec_heading .h_jp {
  margin: 0;
}

.other_subttl {
  width: 100%;
  background: #dbe4e5;
  padding: 30px 0;
  margin: 80px 0 40px 0;
}

.other_subttl img {
  display: block;
  width: 300px;
  margin: 0 auto;
}

.detail_block {
  letter-spacing: 0.1em;
}

.detail_block:not(:last-of-type) {
  margin-bottom: 50px;
}
.detail_block:last-of-type {
  margin-bottom: 30px;
}

.detail_block dl {
  display: flex;
  width: 80%;
  margin: 0 auto;
  border-right: 1px solid #000;
  border-left: 1px solid #000;
}

.detail_block dt {
  flex: 1;
  font-size: 20px;
  text-align: center;
  line-height: 1.8;
  color: #1a2652;
  border-right: 1px solid #000;
}

.detail_block dd ul {
  margin-left: 40px;
}

.detail_block dd {
  flex: 1;
  line-height: 1.6;
}

.detail_block dd .circle {
  color: #dbe4e5;
}

.other .inner .notes {
  width: 80%;
  margin: 0 auto;
  padding: 0;
}

.notes p {
  color: #000;
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.065em;
  line-height: 12px;
}

.notes {
  padding: 80px 0;
}


@media screen and (max-width: 999px) {

/*COMMON
----------------------------------------------------------------------*/


.entry {
    background-color: white;
    padding: 20px 0 17px;
}

.mark {
  left: -40px;
}

/*COLOR
----------------------------------------------------------------------*/

  .color_menu {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 80px;
  }

  .color_menu li a {
    height: 80px;
  }

  .color_menu li {
    flex: none;
    max-width: 350px;
    width: calc(50% - 10px);
  }

  .color_wrap {
    width: 700px;
    height: 980px;
    margin: 0 auto 50px auto;
  }

  .color_block {
    text-align: center;
    margin: 0 auto 60px auto;
  }

  .color_block h3.ginsei,
  .color_block h3.sinrei,
  .color_block h3.youju,
  .color_block h3.yukisa {
    justify-content: center;
  }


  .color_block:last-child {
    margin: 0 auto 80px auto;
  }


  .color_block .item_img,
  .color_block .item_txt {
    width: 100%
  }

  .notes {
    padding: 60px 0;
  }

  }

@media screen and (max-width: 768px) {

  /*common
  ----------------------------------------------------------------------*/

  .wrap {
    margin-top: 0;
  }

  .mv {
    min-height: 67px;

  }

  .mv figure {
    width: clamp(250px, 45vw, 320px);
  }

  .sec_ttl {
    margin: 40px 0 20px;
  }


  .sec_ttl h2 {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
    margin: 33px 0 20px;
  }

  .sec_lead p {
    text-align: left;
    padding: 0 50px;
    line-height: 26px;
    letter-spacing: 0.09em;
  }

    .sec_ttl {
      letter-spacing: 0;
      font-size: clamp(13px, 3.7vw, 15px);
    }

    .sec_lead {
      font-size: 11px;
      margin-bottom: 40px;
    }

    .sec_heading {
      width: 100%;
      height: 240px;
    }

    .color .sec_heading {
      height: 220px;
    }

    .other .sec_heading {
      height: 150px;
    }

    .h_inner {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 300px;
      margin-left: 10%;
      padding: 30px 0
    }

    .h_inner h2 {
      width: 200px;
      margin: 0 auto 18px;
    }

    .h_inner h2::after {
      width: 200px;
    }
    .h_jp {
      font-size: 12px;
    }

    .h_lead {
      letter-spacing: 0.01em;
      font-size: clamp(12px, 1.7vw, 14px);
      line-height: 1.8;
    }

    .mark {
      width: 90px;
      left: -60px;
    }

  /*COLOR
  ----------------------------------------------------------------------*/

  .color .sec_ttl {
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .jisai {
    width: 280px;
    margin: 40px auto 0 auto;
  }

  .jisai .right {
    font-size: 36px;
    margin-right: 10px;
  }
    .jisai .left {
    font-size: 18px;
    letter-spacing: 0.01em;
}

  .jisai .rubi01::before,
  .jisai .rubi02::before {
    top: -12px;
    font-size: 12px;
  }

  .ginsei,.sinrei,.youju,.yukisa {
      font-size: 24px;
  }
  .color_menu {
    gap: 10px;
    margin-bottom: 40px;
  }

  .color_wrap {
    width: 500px;
    height: 680px;
    margin: 0 auto 80px auto;
  }

  .color_block {
    margin: 0 auto 30px auto;
  }

  .color_block:last-child {
    margin: 0 auto 50px auto;
}

  .color_block .item_txt {
    padding: 25px 10px;
  }
  .color_block h3.ginsei,
  .color_block h3.sinrei,
  .color_block h3.youju,
  .color_block h3.yukisa {
    font-size: 40px;
    margin-bottom: 20px;
  }
  .color_block .col_subttl {
    font-size: 18px;
    margin-bottom: 30px;
    letter-spacing: 0;
  }
  .color_block .col_lead {
    font-size: 14px;
    line-height: 2.2;
    letter-spacing: 0;
  }

  .fake-line {
    display: block;
    margin-bottom: 2.2em;
  }

  /*PLAN SELECT
  ----------------------------------------------------------------------*/
  
  .plan_ttl {
    margin: 40px auto 20px auto;
  }

  .plan_detail {
    font-size: 14px;
    letter-spacing: 0.01em;
    line-height: 1.8;
    margin-bottom: 40px;
  }

  .plan_block {
    flex-wrap: wrap;
    gap: 40px;
  }

  .plan_block .arrow {
    gap: 20px;
    margin: 0;
  }

  .plan_block .basic,.plan_block .menu,
  .plan_block .arrow {
    flex: none;
    width: 100%;
  }

  .plan_block .arrow .plan_arrow {
    max-width: 80px;
    width: 30%;
    transform: rotate(90deg);
    margin: 0;
  }

  .plan_hanrei {
    max-width: 400px;
    width: 70%;
    margin: 30px auto 0 auto;
  }

  .detail_btn {
    margin: 50px auto;
  }

  .u-pc_tab {
    display: none;
  }

  /*OTHER SELECT
  ----------------------------------------------------------------------*/

  .other_subttl {
    position:grid;
    place-items: center;
    width: 100%;
    background: #dbe4e5;
    padding: 30px 0;
    margin: 50px 0 30px 0;
  }

  .other_subttl img {
    display: block;
    width: 250px;
  }

  .detail_block dl {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
  }

  .detail_block dt {
    flex: none;
    font-size: 18px;
    border-right: none;
    border-bottom: 1px solid #000;
    padding: 20px 0;
  }

  .detail_block dd ul {
    margin-left: 20px;
  }

  .detail_block dd {
    flex: none;
    padding: 20px 0;
  }

  .other .inner .notes {
    width: 100%;;
  }

  .notes {
    padding: 50px 0;
  }

}

@media screen and (max-width: 640px) {
  .color_wrap {
    width: 400px;
    height: 638px;
    margin: 0 auto 50px auto;
  }

}

@media screen and (max-width: 460px) {
  .color_wrap {
    width: 350px;
    height: 580px;
    margin: 0 auto 50px auto;
  }
  .color_block .col_lead {
    font-size: 12px;
  }


}

@media screen and (max-width: 400px) {
  .color_wrap {
    width: 320px;
    height: 560px;
    margin: 0 auto 40px auto;
  }

}