﻿@charset "UTF-8";
#contents {
  margin-top: 70px;
  font-size: 16px;
  text-align: left;
  line-height: 1.8em;
  font-family: Meiryo, メイリオ, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-weight: 300;
}
@media screen and (min-width: 961px) {
  .sp {
    display: none !important;
  }
}
@media screen and (max-width: 960px) {
  .pc {
    display: none !important;
  }
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.contents-inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  font-family: Meiryo, メイリオ, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}
@media (min-width: 481px) {
  #contents {
    margin-top: 202px;
  }
}
@media (min-width: 769px) {
  #contents {
    margin-top: 136px;
  }
}
#contents .btn-group {
  padding: 15px 0;
  background-color: #00335C;
}
@media screen and (max-width: 960px) {
  #contents .btn-group {
    padding: 1vh 20px;
  }
}
#contents .btn-group-forShinkoga {
  padding: 15px 0;
  background-color: #1a72ae;
}
@media screen and (max-width: 960px) {
  #contents .btn-group-forShinkoga {
    padding: 1vh 20px;
  }
}
#contents .btn-group .title {
  color: #fff;
  text-align: center;
}
@media screen and (min-width: 961px) {
  #contents .btn-group .title {
    font-size: 17px;
  }
}
@media screen and (max-width: 960px) {
  #contents .btn-group .title {
    font-size: 29px;
    font-size: 3.0208333333vw;
  }
}
#contents .btn-group-forShinkoga .title {
  color: #fff;
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
@media screen and (min-width: 961px) {
  #contents .btn-group-forShinkoga .title {
    font-size: 25px;
  }
}
@media screen and (max-width: 960px) {
  #contents .btn-group-forShinkoga .title {
    font-size: 29px;
    font-size: 3.0208333333vw;
  }
}
#contents .btn-group .news {
  color: #fff;
  text-align: center;
}
@media screen and (min-width: 961px) {
  #contents .btn-group .news {
    font-size: 13px;
  }
}
@media screen and (max-width: 960px) {
  #contents .btn-group .news {
    font-size: 13px;
    font-size: 2.0208333333vw;
    padding: 11px;
  }
}
@media screen and (min-width: 768px) {
  #contents .btn-group .news .br-sp {
    display: none;
  }
}
#contents .btn-group .contents-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  display: -webkit-flex;
  flex-wrap: nowrap;
  margin-top: 5px;
}
@media screen and (max-width: 960px) {
  #contents .btn-group .contents-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: -webkit-flex;
    flex-wrap: nowrap;
  }
}
#contents .btn-group .contents-inner a {
  display: block;
  width: 280px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 2px 2px 10px 0 #222;
}
@media screen and (min-width: 961px) {
  #contents .btn-group .contents-inner a {
    font-size: 20px;
  }
}
@media screen and (max-width: 960px) {
  #contents .btn-group .contents-inner a {
    font-size: 35px;
    font-size: 3.6458333333vw;
  }
}
@media screen and (max-width: 960px) {
  #contents .btn-group .contents-inner a {
    width: 32%;
    height: 45px;
    line-height: 45px;
  }
}
#contents .btn-group .contents-inner a:hover {
  opacity: 0.75;
}
#contents .btn-group .contents-inner a:nth-of-type(1) {
  background: url("../images/btn-bg-red.png") repeat-x;
}
#contents .btn-group .contents-inner a:nth-of-type(2) {
  margin-left: 10px;
  background: url("../images/btn-bg-green.png") repeat-x;
}
@media screen and (max-width: 960px) {
  #contents .btn-group .contents-inner a:nth-of-type(2) {
    margin: 0;
  }
}
#contents .btn-group .contents-inner a:nth-of-type(3) {
  width: 330px;
  height: auto;
  padding: 3px 0;
  line-height: 1.4;
  margin-left: 10px;
  background: url("../images/btn-bg-blue.png") repeat-x;
}
@media screen and (max-width: 960px) {
  #contents .btn-group .contents-inner a:nth-of-type(3) {
    width: 32%;
    height: 45px;
    padding: 0;
    line-height: 45px;
  }
}
#contents .btn-group .contents-inner a:nth-of-type(3) span {
  display: block;
}
@media screen and (max-width: 960px) and (min-width: 961px) {
  #contents .btn-group .contents-inner a:nth-of-type(3) span:nth-of-type(1) {
    font-size: 35px;
  }
}
@media screen and (max-width: 960px) and (max-width: 960px) {
  #contents .btn-group .contents-inner a:nth-of-type(3) span:nth-of-type(1) {
    font-size: 35px;
    font-size: 3.6458333333vw;
  }
}
@media screen and (min-width: 961px) {
  #contents .btn-group .contents-inner a:nth-of-type(3) span:nth-of-type(2) {
    font-size: 22px;
  }
}
@media screen and (max-width: 960px) {
  #contents .btn-group .contents-inner a:nth-of-type(3) span:nth-of-type(2) {
    font-size: 22px;
    font-size: 2.2916666667vw;
  }
}
#contents .btn-group .contents-inner a:nth-of-type(3) span:nth-of-type(2) b {
  padding-left: 25px;
  background: url("../images/btn-icn-tel.svg") no-repeat left center;
}
@media screen and (min-width: 961px) {
  #contents .btn-group .contents-inner a:nth-of-type(3) span:nth-of-type(3) {
    font-size: 12px;
  }
}
@media screen and (max-width: 960px) {
  #contents .btn-group .contents-inner a:nth-of-type(3) span:nth-of-type(3) {
    font-size: 12px;
    font-size: 1.25vw;
  }
}
@media screen and (max-width: 960px) {
  #contents .btn-group .contents-inner a:nth-of-type(3) {
    margin: 0;
  }
}
#contents .ribon-text {
  padding: 3px 0;
  background-color: #800B0B;
  color: #fff;
  text-align: center;
}
@media screen and (min-width: 961px) {
  #contents .ribon-text {
    font-size: 14px;
  }
}
@media screen and (max-width: 960px) {
  #contents .ribon-text {
    font-size: 29px;
    font-size: 3.0208333333vw;
  }
}
@media screen and (max-width: 960px) {
  #contents .ribon-text {
    padding: 0;
  }
}
#contents .c-mv {
  height: 233px;
  background: url("../images/mv-bg.png") no-repeat center center;
  background-size: cover;
}
@media screen and (max-width: 960px) {
  #contents .c-mv {
    height: auto;
  }
}
#contents .c-mv .contents-inner {
  position: relative;
}
@media screen and (min-width: 961px) {
  #contents .c-mv .contents-inner {
    text-align: center;
    padding: 10px 0 0 0;
  }
  #contents .c-mv .contents-inner .gentei {
    position: absolute;
    top: 10px;
    right: 0;
    width: 660px;
    min-height: 75px;
    font-weight: bold;
    color: #00335C;
    padding: 20px 80px 20px 0;
    background: url("../images/mv-icn.svg") no-repeat right center;
  }
}
@media screen and (min-width: 961px) and (min-width: 961px) {
  #contents .c-mv .contents-inner .gentei {
    font-size: 22px;
    text-align: left;
  }
}
@media screen and (min-width: 961px) and (max-width: 960px) {
  #contents .c-mv .contents-inner .gentei {
    font-size: 22px;
    font-size: 2.2916666667vw;
  }
}
@media screen and (min-width: 961px) {
  #contents .c-mv .contents-inner .btn {
    position: absolute;
    bottom: 10px;
    right: 150px;
  }
  #contents .c-mv .contents-inner .btn a {
    display: block;
    width: 230px;
    height: 30px;
    padding-left: 15px;
    background: url("../images/white-arrow.svg") no-repeat 10px center;
    background-color: #9A7E53;
    color: #fff;
    text-decoration: none;
  }
}
@media screen and (min-width: 961px) and (min-width: 961px) {
  #contents .c-mv .contents-inner .btn a {
    font-size: 14px;
  }
}
@media screen and (min-width: 961px) and (max-width: 960px) {
  #contents .c-mv .contents-inner .btn a {
    font-size: 14px;
    font-size: 1.4583333333vw;
  }
}
@media screen and (min-width: 961px) {
  #contents .c-mv .contents-inner .text {
    position: absolute;
    bottom: 10px;
    left: 0;
  }
}
@media screen and (min-width: 961px) and (min-width: 961px) {
  #contents .c-mv .contents-inner .text {
    font-size: 12px;
  }
}
@media screen and (min-width: 961px) and (max-width: 960px) {
  #contents .c-mv .contents-inner .text {
    font-size: 12px;
    font-size: 1.25vw;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-mv .contents-inner {
    padding: 0 20px;
  }
  #contents .c-mv .contents-inner .box01 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    display: -webkit-flex;
    flex-wrap: nowrap;
  }
  #contents .c-mv .contents-inner .box01 .img01 {
    width: 40%;
    padding: 8px 0px;
  }
  #contents .c-mv .contents-inner .box01 .gentei {
    font-weight: bold;
    color: #00335C;
    text-align: left;
    line-height: 1.4;
    padding: 10px 10vw 10px 0;
    background: url("../images/mv-icn.svg") no-repeat right center;
    background-size: 10vw auto;
  }
}
@media screen and (max-width: 960px) and (min-width: 961px) {
  #contents .c-mv .contents-inner .box01 .gentei {
    font-size: 29px;
  }
}
@media screen and (max-width: 960px) and (max-width: 960px) {
  #contents .c-mv .contents-inner .box01 .gentei {
    font-size: 29px;
    font-size: 3.0208333333vw;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-mv .contents-inner .img02 {
    text-align: center;
  }
  #contents .c-mv .contents-inner .img02 img {
    max-width: 900px;
    width: 90%;
  }
  #contents .c-mv .contents-inner .box02 {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    display: -webkit-flex;
    flex-wrap: nowrap;
    margin-top: 10px;
  }
  #contents .c-mv .contents-inner .box02 .inner {
    position: relative;
    flex-grow: 1;
  }
  #contents .c-mv .contents-inner .box02 .inner .text {
    line-height: 1.4;
  }
}
@media screen and (max-width: 960px) and (min-width: 961px) {
  #contents .c-mv .contents-inner .box02 .inner .text {
    font-size: 24px;
  }
}
@media screen and (max-width: 960px) and (max-width: 960px) {
  #contents .c-mv .contents-inner .box02 .inner .text {
    font-size: 24px;
    font-size: 2.5vw;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-mv .contents-inner .box02 .inner .btn {
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 100%;
  }
  #contents .c-mv .contents-inner .box02 .inner .btn a {
    display: block;
    width: 100%;
    padding: 4px;
    background-color: #9A7E53;
    color: #fff;
    text-decoration: none;
    text-align: center;
  }
}
@media screen and (max-width: 960px) and (min-width: 961px) {
  #contents .c-mv .contents-inner .box02 .inner .btn a {
    font-size: 25px;
  }
}
@media screen and (max-width: 960px) and (max-width: 960px) {
  #contents .c-mv .contents-inner .box02 .inner .btn a {
    font-size: 25px;
    font-size: 2.6041666667vw;
  }
}
@media screen and (max-width: 960px) and (max-width: 350px) {
  #contents .c-mv .contents-inner .box02 .inner .btn a {
    line-height: 1.4;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-mv .contents-inner .box02 .inner .btn a span {
    padding-left: 6vw;
    background: url("../images/white-arrow.svg") no-repeat 10px center;
    background-size: 1.5vw auto;
  }
  #contents .c-mv .contents-inner .box02 .img {
    flex-shrink: 0;
    max-width: 266px;
    width: 30%;
  }
}
#contents .c-box02 {
  padding: 30px 0;
}
@media screen and (max-width: 960px) {
  #contents .c-box02 {
    padding: 20px;
  }
}
#contents .c-box02 .box {
  padding: 20px 0;
  background-color: #fff;
  font-family: serif;
}
@media screen and (max-width: 960px) {
  #contents .c-box02 .box {
    padding: 0;
    font-family: serif;
  }
}
#contents .c-box02 .box .title {
  padding-left: 10px;
  color: #00335C;
  font-weight: bold;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "游明朝", "Yu Mincho", YuMincho, "HGS明朝E", "メイリオ", Meiryo, serif;
  line-height: 1;
  border-left: 5px solid #9A7E53;
}
@media screen and (min-width: 961px) {
  #contents .c-box02 .box .title {
    font-size: 38px;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-box02 .box .title {
    font-size: 59px;
    font-size: 7.145833vw;
  }
}
#contents .c-box02 .box .visual {
  margin-top: 10px;
}
@media screen and (min-width: 961px) {
  .top-act-list-item {
    width: 60%;
    margin: 10px;
  }
  .top-act-list {
    display: flex;
    align-items: center;
  }
}
@media screen and (max-width: 960px) {
  .top-act-list-item {
    width: 60%;
    margin: 10px;
  }
  .top-act-list {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
}
#contents .c-box02 .box .index_box {
  margin: 15px 0;
  padding: 8px 10px;
  background-color: #E8E5D2;
  font-weight: bold;
  line-height: 1;
  color: #333333;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "游明朝", "Yu Mincho", YuMincho, "HGS明朝E", "メイリオ", Meiryo, serif;
}
@media screen and (min-width: 961px) {
  #contents .c-box02 .box .index_box {
    font-size: 16px;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-box02 .box .index_box {
    font-size: 36px;
    font-size: 3.75vw;
  }
}
#contents .c-box02 .box .area .tab_class {
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "游明朝", "Yu Mincho", YuMincho, "HGS明朝E", "メイリオ", Meiryo, serif;
  font-weight: bold;
}
#contents .c-box02 .box .img {
  text-align: center;
}
#contents .c-box02 .box .caution {
  font-size: 60%;
  text-align: right;
  font-family: serif;
  font-weight: bold;
  margin: 0;
}
#contents .c-box04 {
  padding: 20px 0 25px;
}
@media screen and (max-width: 960px) {
  #contents .c-box04 {
    padding: 25px 12px;
  }
}
#contents .c-box04 p {
  line-height: 1.6;
}
@media screen and (min-width: 961px) {
  #contents .c-box04 p {
    font-size: 12px;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-box04 p {
    font-size: 16px;
    font-size: 2.9166666667vw;
  }
}
#contents .c-box04 .teikei {
  margin-top: 40px;
}
@media screen and (max-width: 960px) {
  #contents .c-box04 .teikei {
    margin-top: 50px;
    text-align: center;
  }
}
@media screen and (min-width: 961px) {
  #contents .c-box04 .teikei .teikei-title {
    font-size: 12px;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-box04 .teikei .teikei-title {
    font-size: 16px;
    font-size: 2.9166666667vw;
  }
}
#contents .c-box04 .teikei .content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  display: -webkit-flex;
  flex-wrap: nowrap;
  margin-top: 15px;
}
@media screen and (max-width: 960px) {
  #contents .c-box04 .teikei .content {
    display: block;
    margin-top: 10px;
  }
  #contents .c-box04 .teikei .content .logo img {
    max-width: 200px;
    width: 60%;
  }
}
#contents .c-box04 .teikei .content p {
  margin-left: 20px;
  line-height: 1.8;
}
@media screen and (min-width: 961px) {
  #contents .c-box04 .teikei .content p {
    font-size: 10px;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-box04 .teikei .content p {
    font-size: 16px;
    font-size: 2.9166666667vw;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-box04 .teikei .content p {
    margin: 10px 0 0 0;
    line-height: 1.8;
  }
}
.hub-sumai .footer {
  margin-top: 0 !important;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}
.modal.show {
  display: block;
}
.modal .modal-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1000px;
  width: 90%;
  background-color: #fff;
}
@media screen and (max-width: 960px) {
  .modal .modal-wrapper {
    width: calc(100% - 60px);
    height: 75vh;
    overflow-y: scroll;
  }
}
.modal .modal-wrapper .modal-content {
  padding: 15px;
}
.modal .modal-wrapper .modal-content .close {
  text-align: right;
}
.modal .modal-wrapper .modal-content .close:hover {
  cursor: pointer;
}
@media screen and (max-width: 960px) {
  .modal .modal-wrapper .modal-content .close img {
    width: 30px;
  }
}
.modal .modal-wrapper .modal-content .img-box {
  margin-top: 15px;
  height: 60vh;
  overflow-y: scroll;
}
@media screen and (max-width: 960px) {
  .modal .modal-wrapper .modal-content .img-box {
    height: auto;
    overflow: visible;
  }
}
a[href^=tel] {
  pointer-events: inherit !important;
}
@media screen and (min-width: 961px) {
  .logo {
    width: 272px;
  }
}
#contents .c-box01 .btn-group .img {
  text-align: center;
}
#contents .c-box03 .btn-group .img {
  text-align: center;
}
.area {
  flex-wrap: wrap;
  display: flex;
}
.tab_class {
  width: calc(100%/8);
  line-height: 50px;
  text-align: center;
  display: block;
  float: left;
  order: -1;
  margin-bottom: -1px;
  border-color: cadetblue;
  border-bottom: 1px solid cadetblue;
  /*背景色と同じ*/
  border-radius: 6px 6px 0 0;
}
@media screen and (max-width: 960px) {
  .tab_class {
    width: calc(100%/4);
    text-align: center;
    display: block;
    float: left;
    order: -1;
    font-size: 0.6em;
    margin-bottom: -1px;
    border-color: cadetblue;
    border-bottom: 1px solid cadetblue;
    /*背景色と同じ*/
    border-radius: 6px 6px 0 0;
  }
}
@media screen and (min-width: 961px) {
  .tab_class {
    width: calc(100%/8);
    height: 50px;
    line-height: 50px;
    text-align: center;
    display: block;
    float: left;
    order: -1;
    margin-bottom: -1px;
    border-color: cadetblue;
    border-bottom: 1px solid cadetblue;
    /*背景色と同じ*/
    border-radius: 6px 6px 0 0;
  }
}
input[name="tab_name"] {
  display: none;
}
input:checked+.tab_class {
  background-color: cadetblue;
  color: aliceblue;
}
.content_class {
  display: none;
  width: 100%;
  margin: 80px auto 0;
  text-align: center;
}
input:checked+.tab_class+.content_class {
  display: block;
}
#contents .c-box02 .box .outline {
  margin-top: 0;
  line-height: 1.8em;
  font-family: Meiryo, メイリオ, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-weight: 300;
}
#contents .c-box02 .box .outline .list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  display: -webkit-flex;
  flex-wrap: nowrap;
  margin-top: 20px;
}
@media screen and (max-width: 960px) {
  #contents .c-box02 .box .outline .list {
    display: block;
  }
}
#contents .c-box02 .box .outline .list>div {
  width: 840px;
}
@media screen and (max-width: 960px) {
  #contents .c-box02 .box .outline .list>div {
    width: 100%;
  }
}
#contents .c-box02 .box .outline .list>div p {
  margin-top: 8px;
  line-height: 1.6;
}
@media screen and (min-width: 961px) {
  #contents .c-box02 .box .outline .list>div p {
    font-size: 12px;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-box02 .box .outline .list>div p {
    font-size: 28px;
    font-size: 2.9166666667vw;
  }
}
#contents .c-box02 .box .outline>p {
  margin-top: 8px;
  line-height: 1.6;
}
@media screen and (min-width: 961px) {
  #contents .c-box02 .box .outline>p {
    font-size: 12px;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-box02 .box .outline>p {
    font-size: 28px;
    font-size: 2.9166666667vw;
  }
}
#contents .c-box02 .box .outline .list>div:nth-of-type(1) p {
  text-align: right;
}
#contents .c-box02 .box .outline .list>div:nth-of-type(2) {
  margin-left: 20px;
}
@media screen and (max-width: 960px) {
  #contents .c-box02 .box .outline .list>div:nth-of-type(2) {
    margin: 30px 0 0 0;
  }
}
#contents .c-box02 .box .outline .list>div .list-item {
  color: #00335C;
  text-align: left;
}
@media screen and (min-width: 961px) {
  #contents .c-box02 .box .outline .list>div .list-item {
    font-size: 16px;
  }
}
@media screen and (max-width: 960px) {
  #contents .c-box02 .box .outline .list>div .list-item {
    font-size: 36px;
    font-size: 3.75vw;
  }
}
#contents .c-box02 .box .outline .list>div .list-item span {
  color: #9A7E53;
}
#contents .c-box02 .box .outline .list>div table {
  width: 100%;
}
#contents .c-box02 .box .outline .list>div table th,
#contents .c-box02 .box .outline .list>div table td {
  padding: 6px;
  border: 1px solid #C4C4C4;
  vertical-align: top;
  line-height: 1.4;
  text-align: left;
}
@media screen and (min-width: 961px) {

  #contents .c-box02 .box .outline .list>div table th,
  #contents .c-box02 .box .outline .list>div table td {
    font-size: 12px;
  }
}
@media screen and (max-width: 960px) {

  #contents .c-box02 .box .outline .list>div table th,
  #contents .c-box02 .box .outline .list>div table td {
    font-size: 32px;
    font-size: 3.3333333333vw;
  }
}
#contents .c-box02 .box .outline .list>div table th {
  white-space: nowrap;
  background-color: #EBEBEB;
}
@media screen and (max-width: 960px) {
  #contents .c-box02 .box .outline .list>div table th {
    width: 35%;
    white-space: normal;
  }
}
@media screen and (min-width: 961px) {
  #contents .c-box02 .box .outline .list>div table th {
    width: 25%;
    white-space: normal;
  }
}
@media screen and (max-width: 960px) {
  .visual_cap {
    text-align: right;
  }
  .caption {
    font-size: 0.6rem;
    font-weight: bold;
    margin:0;
  }
  .phrase {
    font-size: large;
    font-weight: bold;
  }
  .seino {
    width: 90%;
    margin-bottom: 15px;
  }
  .plan {
    font-size: medium;
    font-weight: bold;
    text-align: center;
  }
  .plan_title {
    text-align: center;
    font-weight: bold;
    margin: 20px auto;
    border-bottom: 1px #4d4d4d solid;
  }
  .equip {
    font-family: sans-serif;
    background-color: #4d4d4d;
    color: #ffffff;
    margin-bottom: 0;
    padding: 2px;
  }
}
@media screen and (min-width: 961px) {
  .visual_cap {
    text-align: right;
  }
  .caption {
    font-size: 0.6rem;
    font-weight: bold;
    margin: 0;
  }
  .phrase {
    font-size: large;
    font-weight: bold;
  }
  .seino {
    width: 40%;
    margin-top: 10px;
    margin-bottom: 30px;
  }
  .plan {
    font-size: medium;
    font-weight: bold;
    text-align: center;
  }
  .plan_title {
    text-align: center;
    font-weight: bold;
    margin: 40px auto;
    border-bottom: 1px #4d4d4d solid;
  }
}
.rightscrollbox {
  /*追加*/
  opacity: 0;
  visibility: hidden;
  transition: all 2s;
  transform: translateX(-150px);
}
.leftscrollbox {
  /*追加*/
  opacity: 0;
  visibility: hidden;
  transition: all 2s;
  transform: translateX(150px);
}
.scrollbox {
  /*追加*/
  opacity: 0;
  visibility: hidden;
  transition: all 2s;
  transform: translateY(150px);
}
.is-active {
  /*要素を表示させる*/
  opacity: 1;
  visibility: visible;
  /*元の位置に戻す*/
  transform: translateX(0);
  transform: translateY(0);
}

/* ===== Grid / Thumb（必要な最小限） ===== */
.mf-grid {
  list-style: none; padding: 0; margin-bottom: 50px;
  display: grid; gap: clamp(12px, 2vw, 20px);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px){ .mf-grid { grid-template-columns: repeat(3, 1fr); } }

.mf-thumb {
  display: grid; place-items: center;
  width: 100%;
  text-align: center;
  font-size: clamp(.95rem, 2.4vw, 1.05rem);
  font-weight: bold; line-height: 1.35; color: #222;
  padding: 15px 10px;

  border: 2px #e99330e7 solid;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .12s ease;
  overflow: hidden; /* clip -> hidden */
}
.mf-thumb:hover,
.mf-thumb:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  outline: none;
}

.mf-lightbox img { display: block; width: 100%; height: auto; }

.mf-modal-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mf-lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.65);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

/* checkbox → label.mf-thumb → .mf-lightbox の順番が前提 */
.mf-modal-toggle:checked + .mf-thumb + .mf-lightbox {
  opacity: 1;
  pointer-events: auto;
}

.mf-lightbox__bg {
  position: absolute;
  inset: 0;
}

.mf-lightbox__inner {
  position: relative;
  width: min(96vw, 1200px);
  max-height: 90vh;
  background: #fff;
  border-radius: 10px;
  overflow: auto;
}

.mf-lightbox__body {
  padding: 12px;
}

.mf-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: 20px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
}