@charset "utf-8";
/* modelcourse CSS
-----------------------*/

section{
    padding: 3rem 0;
}
.mc-mv h2 {
    background: #fff;
    font-size: 20px;
    padding: 15px;
    width: fit-content;
}
.mc-mv h2 small {
    font-size: 14px;
  padding: 0;
  }
.mc-mv p.lead {
    font-size: 16px;
    padding: 2rem 0;
    line-height: 2;
}
h2.mc-ttl {
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 1.5rem;
}
h2.mc-ttl::before {
    content: "";
    background-image: url(../img/mc-ttl-deco.png);
    display: block;
    width: 100px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 auto;
}
h2.mc-ttl small {
    font-size: 14px;
}

h2.mc-ttl span {
    display: block;
    border-top: 1px solid;
    border-bottom: 1px solid;
    line-height: 2;
}
.ranking-thumb{
 position:relative;
 overflow:hidden;
}

.ranking-thumb img,.course-thumb img{
 width:100%;
 height:auto;
 display:block;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.rank-number {
    position: absolute;
    top: 0;
    right: 10px;
    color: #fff;
    padding: 5px 15px 25px 20px;
    z-index: 1;
    background-image: url(../img/mc-rank1.png);
    background-size: cover;
    background-repeat: no-repeat;
    font-weight: bold;
    font-size: 25px;
}
.ranking-item:nth-of-type(2) .rank-number {
    background-image: url(../img/mc-rank2.png);
}
.ranking-item:nth-of-type(3) .rank-number {
    background-image: url(../img/mc-rank3.png);
}
#ranking .row {
    gap: 3px;
}
#ranking .ranking-item {
    padding: 0 1rem;
    margin: 0;
}
.ranking-hover{
 position:absolute;
 inset:0;
 background:rgba(0,0,0,0.5);
 color:#fff;
 display:flex;
 align-items:center;
 justify-content:center;
 text-align:center;
 opacity:0;
 transition:0.3s;
 padding:20px;
}
.ranking-hover h3 {
    font-size: 20px!important;
}
.ranking-thumb:hover .ranking-hover{
 opacity:1;
}
.tab-menu{
  display:flex;
  gap:10px;
  margin-bottom:30px;
}
.tab-btn {
    padding: 10px;
    background: #eee;
    border: none;
    cursor: pointer;
    font-family: "A1明朝", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    width: 25%;
    font-size: 20px;
}
.tab-btn.active {
    background: #000;
    color: #fff;
    position: relative;
}
.tab-btn.active::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    border-top: 15px solid #000000;
    border-bottom: 0;
    position: absolute;
    bottom: -13px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.tab-panel{
display:none;
}
.tab-panel.active{
display:block;
}
h3.course-title {
    font-size: 20px;
    margin: .5rem 0;
}
.course-tags{
margin-top:10px;
}

a.tag {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 2px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 4px;
    color: #666;
}
.course-item {
    margin-bottom: 2rem;
}
.icatch img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}
#map iframe {
    width: 100%!important;
    height: 650px!important;
}

@media screen and (min-width:760px) {
.mc-mv h2 {
    font-size: 30px;
    padding: 0 60px 20px 30px;
    width: fit-content;
    margin-bottom: -100px;
    position: relative;
    z-index: 1;
    left: -5px;
}
.mc-mv p.lead {
    text-align: center;
    font-size: 18px;
    padding: 3rem 0;
    line-height: 2.2;
}
#ranking .row {
    margin: 0;
    display:grid;
    grid-template-columns:2fr 1fr;
    grid-template-rows:1fr 1fr;
}
#ranking .ranking-item {
    padding: 0;
}
.ranking-item:nth-of-type(1){
 grid-row:1 / span 2;
 grid-column:1;
}

.ranking-item:nth-of-type(2){
 grid-column:2;
 grid-row:1;
}
.ranking-item:nth-of-type(3){
 grid-column:2;
 grid-row:2;
}
section {
    padding: 5rem 0;
}
}

@media screen and (min-width:1200px) {
.mc-mv h2 small {
    font-size: 22px;
}
.mc-mv h2 {
    font-size: 32px;
  }
h2.mc-ttl {
    font-size: 26px;
  }
h2.mc-ttl small {
    font-size: 20px;
}
h2.mc-ttl::before {
  width: 140px;
  height: 60px;
}
.tab-btn {
    font-size: 24px;
}
#mcslide {
    padding: 2rem 0 8rem;
}
}

@media screen and (min-width:1400px) {
#modelcourse .container {
    max-width: calc(100% - 200px);
}
}

@media screen and (min-width: 1600px) {
  section {
      padding: 7rem 0;
  }
.mc-mv h2 small {
    font-size: 27px;
}
.mc-mv h2 {
    font-size: 40px;
    padding: 0 105px 30px 30px;
    margin-bottom: -140px;
}
.mc-mv p.lead {
    font-size: 20px;
}
h2.mc-ttl {
    font-size: 35px;
}
h2.mc-ttl small {
    font-size: 26px;
}
h2.mc-ttl::before {
    width: 160px;
    height: 60px;
}
.ranking-hover h3 {
    font-size: 26px;
}
.rank-number {
    font-size: 37px;
    padding: 5px 25px 30px 25px;
}
.tab-btn {
    font-size: 30px;
}
h3.course-title {
  font-size: 25px;
}
a.tag {
    font-size: 18px;
}
.tab-menu {
    gap: 20px;
}
#season .row {
    margin: 0 -1.5rem;
}
  #season .course-item {
      padding: 0 1.5rem;
      margin-bottom: 4rem;
  }
}


/* single */
.scrool {
    overflow: scroll;
    width: 100%;
}
ul.sc-list {
    display: flex;
    gap: 0 35px;
    min-width: fit-content;
    margin: 2rem 0 0;
}
ul.sc-list img {
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

ul.sc-list li {
    width: 140px;
    position: relative;
}

ul.sc-list figcaption {
    margin: 10px 0 0;
}
ul.sc-list li::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 10px solid transparent;
    border-left: 11px solid transparent;
    border-top: 15px solid #cccccc;
    border-bottom: 0;
    position: absolute;
    z-index: 1;
    right: -28px;
    bottom: 55%;
    transform: rotate(-90deg);
}
ul.sc-list li:last-child::after{
  display: none;
}
#start h2 img,#goal h2 img {
    width: 160px;
}
#start .row,#goal .row {
    background: #fcfbed;
    padding: 1rem;
    border: 2px solid #c4beae;
}

#start .row .col-lg-8 img {
    object-fit: cover;
    aspect-ratio: 16/9;
}
#modelcourse-post h3 {
    text-align: center;
    margin: 1rem 0 0;
    font-size: 18px;
    font-weight: bold;
}
img.ttl-bottom {
    margin: 0 auto 1rem;
    width: 290px;
    display: block;
}
#modelcourse-post p {
    font-size: 14px;
}
.access img {
    width: 85%;
    margin: 0 auto;
    display: block;
}
.access{
  position: relative;
}
.access p img {
    height: 40px;
    object-fit: contain;
    width: 35px;
    margin: 0 10px;
}
.access p {
    display: flex;
    align-items: center;
    position: absolute;
    border: 1px solid #000;
    border-radius: 30px;
    padding: 0 30px;
    font-size: 18px!important;
    top: 80px;
    background: #fff;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
}
.access p img.walk {
    height: 55px;
    margin-top: -15px;
}
div[id^="spot"] .box {
    background: #fff;
    border: 2px solid #000;
    padding: 1rem;
    width: 98%;
    position: relative;
}
div[id^="spot"] p.spot-num {
    background-image: url(../img/ico-spot1.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding: 23px 36px 15px 13px;
    width: fit-content;
    text-align: center;
    font-size: 25px !important;
    position: absolute;
    top: -14px;
    left: 5px;
    width: 80px;
}
div[id^="spot"].even p.spot-num {
    background-image: url(../img/ico-spot2.png);
}
div[id^="spot"] .box h3 {
    margin: 3rem 0 0 0 !important;
}
ul.link-list {
    display: flex;
    gap: 10px;
    margin: 1rem 0;
}
div[id^="spot"] .box::after {
    content: "";
    background: #ffec60;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 12px;
    z-index: -1;
    left: 12px;
}
div[id^="spot"].even .box::after {
    background: #c3e3f4;
}
.spot-slider {
    margin: 2rem 0 0;
    padding: 0!important;
}
.spot-slider img {
    object-fit: cover;
    aspect-ratio: 4 / 3;
}
.spot-slider [class^="mc-carousel"] .slick-slide {
    position: relative;
}
.spot-slider [class^="mc-carousel"] p {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    color: #fff;
    padding: 10px;
    left: 0;
    right: 0;
}
.spot-slider [class^="mc-thumbnail"] {
    margin-top: 2px;
}
.spot-slider [class^="mc-thumbnail"] .slick-slide {
    margin: 0 2px;
}
.spot-slider .slick-next:before,.spot-slider .slick-prev:before {
    background: none !important;
    position: absolute;
    z-index: 3;
    top: 42%;
    cursor: pointer;
    outline: none;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
    height: 20px;
    width: 20px;
    transform: rotate(45deg);
}
.spot-slider .slick-prev:before {
    transform: rotate(225deg);
}
.spot-slider .slick-next {
    right: -0.5rem;
}
.spot-slider .slick-prev {
    left: 0.5rem;
    z-index: 1;
}
.access.toright p {
    top: 100px;
}
#goal {
    margin-bottom: 3rem;
}
#goal .row p {
    text-align: center;
    width: 100%;
    font-size: 16px;
}
#modelcourse-post p.intro {
    font-size: 16px;
    font-weight: bold;
    padding: 2rem 0 0;
    line-height: 1.8;
}
#modelcourse-post h4 {
    font-size: 15px !important;
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media screen and (min-width:760px) {
.access img {
    width: 500px;
    margin-left: 7rem;
}
.access p {
    top: 148px;
    right: auto;
    left: 260px;
}
.access.toright p {
    top: 185px;
}
}

@media screen and (min-width:1200px) {
.scrool {
    overflow: visible;
}
ul.sc-list {
    gap: 35px;
    text-align: center;
    padding: 0 1rem;
    flex-wrap: wrap;
}
ul.sc-list li {
    width: 17.3%;
}
#start .row, #goal .row {
    padding: 2rem;
}
#start .col-lg-4 {
    padding: 1rem 0 0 2rem !important;
}
#modelcourse-post h3 {
    font-size: 22px;
}
div[id^="spot"] p.spot-num {
    padding: 24px 27px 9px 13px;
    font-size: 30px !important;
    top: -16px;
}
div[id^="spot"] .box {
    padding: 1rem 7rem 1rem 2rem;
    max-width: 55%;
    flex: 0 0 55%;
    min-height: 500px;
}
div[id^="spot"] {
    position: relative;
}
.col-lg-6.spot-slider {
    position: absolute;
    right: 0;
}
.access {
    z-index: -2;
}
.spot-slider [class^="mc-thumbnail"] {
    margin-top: 5px;
}
.spot-slider [class^="mc-thumbnail"] .slick-slide {
    margin: 0 4px;
}
#start h2 img, #goal h2 img {
    width: 290px;
}
.access img {
    width: 455px;
}
.access p {
    top: 132px;
    left: 230px;
    font-size: 20px !important;
    padding: 0 40px;
}
.access.toright p {
    top: 165px;
}
#goal .row p {
    font-size: 24px;
}
#goal {
    margin-bottom: 6rem;
}
#goal .row {
    padding: 3rem 0;
}
#modelcourse-post a.tag {
    font-size: 16px;
}
#modelcourse-post p.intro {
    text-align: center;
    font-size: 18px;
    padding: 4rem 0 0;
    line-height: 2.2;
}
#modelcourse-post h4 {
    font-size: 18px !important;
}
}

@media screen and (min-width:1400px){
ul.sc-list figcaption {
    font-size: 16px;
}
#start h2 img, #goal h2 img {
    width: 360px;
}
#schedule {
    padding-bottom: 8rem;
}
#modelcourse-post h3 {
      font-size: 28px;
  }
img.ttl-bottom {
  width: 340px;
}
#modelcourse-post p {
    font-size: 16px;
}
.spot-slider [class^="mc-carousel"] p {
    padding: 15px 25px;
    line-height: 1.4;
}
div[id^="spot"] p.spot-num {
    padding: 26px 25px 16px 12px;
    font-size: 35px !important;
    width: 85px;
    top: -18px;
}
ul.link-list {
    margin: 2rem 0;
}
div[id^="spot"] .box {
    min-height: 580px;
}
div[id^="spot"] .box::after {
    top: 20px;
    left: 20px;
}
.access img {
    width: 530px;
}
.access img {
    width: 530px;
}
.access p {
    top: 158px;
    left: 260px;
  }
#modelcourse-post .container{
  max-width: 1300px;
}
.access.toright p {
    top: 197px;
}
#modelcourse-post p.intro {
    font-size: 20px;
}
#modelcourse-post h4 {
    font-size: 22px !important;
}
}

@media screen and (min-width:1600px) {
.bg-wrap{
  position: relative;
}
.bg-wrap::after {
    content: "";
    background-image: url(../img/bg-modelcourse.png);
    display: block;
    width: 100%;
    height: 60%;
    position: absolute;
    top: 40%;
    z-index: -10;
}
}