@charset "UTF-8";

img {
  height: auto;
}

#inside_wrapper {
  min-height: 200vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

#inside_wrapper p {
  line-height: 1.75;
  letter-spacing: .05em;
}

.container {
  width: 96%;
  max-width: 1200px;
  margin: 0 auto;
}

.sp {
  display: block;
}

.pc {
  display: none;
}

@media(min-width: 768px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }
}


/* title
------------------------------------------------------------------------------------------ */
.title {
  text-align: center;
}

.title div {
  width: 100%;
  margin-right: 25px;
}

.title div>h2 {
  font-size: 17px;
  margin-top: 30px;
  letter-spacing: 0.05em;
}

.title div>h2>small {
  font-size: 12px;
  color: #B0B2AF;
  letter-spacing: 0.05em;
}

.title div>h1 {
  margin-top: 40px;
  font-size: 36px;
}

.title div>p {
  font-size: 17px;
  margin-top: 20px;
  letter-spacing: 0.1em;
}


@media(min-width: 768px) {
  .title {
    display: flex;
    align-items: center;
    justify-content: end;
  }
  .title picture{
    width: 100%;
  }
  .title img {
    width: 100%;
    height: 562px;
    object-fit: cover;
  }

  .title div {
    width: calc(100% / 2);
    margin-left: 60px;
    text-align: left;
    min-width: 256px;
  }

  .title div>h2 {
    font-size: 24px;
    margin-top: 0;
  }

  .title div>h2>small {
    font-size: 16px;
  }

  .title div>p {
    font-size: 24px;
  }

  .title div>h1 {
    font-size: 54px;
  }
}


/* links
------------------------------------------------------------------------------------------ */


.links {
  width: 100%;
  padding: 50px 0px 50px;
  text-align: center;
  margin: 0 auto;
}

.links h2 {
  font-size: 22px;
}

.links h2>small {
  font-size: 14px;
  color: #B0B2AF;
}

.links ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 0 8px;
}


.links ul>li>a.current {
  opacity: 0.4 !important;
  pointer-events: none;
}

.links ul>li>a.current img,
.links ul>li>a.current p {
  opacity: 0.4 !important;
  pointer-events: none;
}

.links ul>li>a {
  position: relative;
}

.links ul>li>a p {
  transition: .7s;
}

.links ul>li>a:hover img,
.links ul>li>a:hover p {
  opacity: .4;
}

.links ul>li {
  width: calc((100% - 34px) / 2);
  margin: 0 34px 34px 0;
}

.links ul>li:nth-child(2n) {
  margin-right: 0;
}

.links ul>li>a>img {
  width: 100%;
}

.links ul>li>a>p {
  font-weight: bold;
  font-size: 13px;
  margin: 5px auto 0;
  font-family: "游ゴシック体 Pr6N B", "Yu Gothic Pr6N B", "游ゴシック体 Bold", YuGothic, "游ゴシック Bold", "Yu Gothic Bold", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif
}

.links ul>li>a>p>small {
  font-size: 12px;
  opacity: .6;
}

.links ul>li>a .pad {
  display: block;
}


@media(min-width: 768px) {

  .links h2 {
    font-size: 26px;
  }

  .links h2 small {
    font-size: 16px;
  }

  .links ul {
    flex-wrap: nowrap;

    align-items: baseline;
    justify-content: space-around;
  }

  .links ul li {
    width: calc((100% - 170px) / 6);
  }

  .links ul li:nth-child(2n) {
    margin-right: 34px;
  }

  .links ul li:nth-child(6) {
    margin-right: 0;
  }

  .links ul>li>a>p {
    font-size: 14px;
  }

  .links ul>li>a>p>small {
    font-size: 12px;
    opacity: .6;
  }

  .links ul>li>a .pad {
    display: block;
  }
}

@media(min-width: 768px) and (max-width: 979px) {
  .links ul>li>a .pad {
    display: none;
  }
}

/* 戻るボタン
------------------------------------------------------------------------------------------ */
.backlinkBox {
  padding: min(8%, 110px) 0;
  margin: 0 auto;
  text-align: center;
}

.backlinkBox .base_btn {
  font-size: clamp(16px, 2.5vw, 18px);
  padding: 1em 3em;
}