@charset "UTF-8";
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

.clearfix:before {
  content: " ";
  display: table;
}
.clearfix:after {
  content: " ";
  display: table;
  clear: both;
}

@media screen\0  {
  #content {
    font-family: "メイリオ", Meiryo, sans-serif;
  }
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  /*overflow-x: hidden;*/
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  margin: 0;
}

#header {
  width: 100%;
  text-align: center;
}
#header img {
  max-width: 100%;
  height: auto;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.pc {
  display: none;
}

.sp {
  display: block;
}

#container {
  width: 100%;
  box-sizing: border-box;
  color: #333;
  position: relative;
}
#container p {
  font-size: 16px;
  letter-spacing: 0.025em;
  font-feature-settings: "palt";
}
#container img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
#container a {
  text-decoration: none;
  transition: 0.4s;
}
#container .head__inner {
  position: relative;
}
#container .head__logo {
  position: absolute;
  left: 5px;
  top: 5px;
  width: min(18.67vw, 96px);
  z-index: 2;
}
#container .head__logo a {
  display: block;
}
#container .head__img {
  position: relative;
  width: 100%;
  height: 80.27vw;
  overflow: hidden;
  position: relative;
}
#container .head__img img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  object-fit: cover;
  object-position: 55% 60%;
}
#container .head__text {
  position: relative;
  z-index: 10;
}
#container .head__text::before, #container .head__text::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: -10%;
}
#container .head__text::before {
  background: #d93954;
  -webkit-clip-path: polygon(50% 10%, 100% 0%, 100% 82%, 0 82%, 0 0);
          clip-path: polygon(50% 10%, 100% 0%, 100% 82%, 0 82%, 0 0);
  z-index: -2;
}
#container .head__text::after {
  background-image: url(bg.png);
  background-size: cover;
  -webkit-clip-path: polygon(50% 10%, 100% 0%, 100% 82%, 0 82%, 0 0);
          clip-path: polygon(50% 10%, 100% 0%, 100% 82%, 0 82%, 0 0);
  z-index: -1;
}
#container .head__text img {
  display: block;
}
#container .head__text-sub {
  padding: 4%;
}
#container .head__text-sub img {
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}
#container .head__text-main {
  position: relative;
  background: #2d2d2d;
  width: 96%;
  padding: 4% 0;
  margin: auto;
}
#container .head__text-main img {
  width: 94%;
  margin: auto;
}
#container .lead {
  width: min(90%, 730px);
  margin: 40px auto 0;
}
#container .lead p {
  font-size: 17px;
  font-weight: 600;
  line-height: 2;
}
#container section {
  margin-top: 60px;
}
#container section p {
  line-height: 2;
  width: min(90%, 720px);
  margin: auto;
  text-indent: 1em;
}
#container section p + p {
  margin-top: 1.5em;
}
#container h2 {
  position: relative;
  width: 100%;
  padding: 3% 0;
  margin: 0 auto 40px;
  background-color: #ffb200;
}
#container h2::before, #container h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
#container h2::before {
  background-image: url(bg.png);
  background-size: cover;
}
#container h2::after {
  background: linear-gradient(90deg, #ffb200 50%, rgba(255, 178, 0, 0) 90%);
}
#container h2 img {
  position: relative;
  display: block;
  width: 90%;
  margin: auto;
  z-index: 1;
}
#container .prof, #container .figure, #container .photo {
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  width: min(90%, 720px);
}
#container .prof__text, #container .figure__text, #container .photo__text {
  background: #d93954;
  color: #fff;
  padding: 1em 1.5em;
}
#container .prof p, #container .figure p, #container .photo p {
  text-indent: 0;
  font-size: 14px;
  line-height: 1.5;
  width: 100%;
  letter-spacing: 0.05em;
}
#container .prof p + p, #container .figure p + p, #container .photo p + p {
  margin-top: 5px;
}
#container .prof span, #container .figure span, #container .photo span {
  font-size: 18px;
  font-weight: 700;
}
#container .figure {
  width: min(94%, 720px);
  background: #f2f2f2;
  padding-top: 2%;
  padding-bottom: 20px;
}
#container .figure h3 {
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  color: #d93954;
  text-align: center;
  font-size: min(5vw, 18px);
  line-height: 1.8;
}
#container .figure h3 span {
  font-size: min(4vw, 16px);
  display: block;
}
#container .figure h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 5px;
  width: 27px;
  background-size: 11px 5px;
  background-image: linear-gradient(to right, #d93954, #d93954 5px, transparent 5px, transparent 11px);
  background-repeat: repeat-x;
}
#container .figure img {
  width: 96%;
  display: block;
  margin: 0 auto 20px;
}
#container .figure p {
  font-size: 13px;
  line-height: 1.6;
  width: 90%;
}
#container .figure p span {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
#container .figure a {
  padding: 4px;
  color: #c72218;
  border-bottom: solid 1px #c72218;
  background-image: linear-gradient(transparent 50%, #c72218 50%);
  background-position: 0 0;
  background-size: auto 200%;
  transition: 0.3s;
}
#container .figure a:hover {
  background-position: 0 100%;
  color: #fff;
}
#container .foot .link__ex {
  margin: 60px 0;
}
#container .foot .link__ex a {
  position: relative;
  width: min(80%, 540px);
  background: #d93954;
  color: #fff;
  display: block;
  margin: auto;
  padding: 1em;
  font-size: min(4.53vw, 17px);
  font-weight: 700;
  line-height: 1.6;
}
#container .foot .link__ex a::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
#container .foot .link__ex a:hover {
  background: #2d2d2d;
}
#container .foot .link__ex a + a {
  margin-top: 20px;
}
#container .foot .link__corp p {
  text-align: center;
}
#container .foot .link__corp a {
  width: min(70%, 300px);
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#container .foot .link__corp img {
  width: min(60%, 260px);
  display: block;
  transition: 0.3s;
}
#container .foot .link__corp img:hover {
  opacity: 0.8;
}
#container .foot .link__corp span {
  margin-top: 20px;
  padding: 2px;
  color: #c72218;
  border-bottom: solid 1px #c72218;
  background-image: linear-gradient(transparent 50%, #c72218 50%);
  background-position: 0 0;
  background-size: auto 200%;
  transition: 0.3s;
}
#container .foot .link__corp span:hover {
  background-position: 0 100%;
  color: #fff;
}
#container .foot__bg {
  margin-top: 60px;
  background: #ffb200;
  position: relative;
  padding: 30px 0;
}
#container .foot__bg::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(bg.png);
  background-size: cover;
}
#container .foot__next {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
}
#container .foot__next p {
  font-size: min(4vw, 24px);
  margin-bottom: 1em;
}
#container .foot__next a {
  position: relative;
  color: #000;
  text-align: center;
  font-size: min(4.6vw, 27px);
  display: inline-block;
  transition: color 0.5s;
  z-index: 10;
  padding: 0 5px;
}
#container .foot__next a::before {
  content: "";
  position: absolute;
  background: #2d2d2d;
  width: 100%;
  height: 100%;
  left: 0;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.5s;
  z-index: -1;
}
#container .foot__next a:hover {
  color: #ffb200;
}
#container .foot__next a:hover::before {
  transform: scale(1, 1);
  transform-origin: left top;
}
#container .pagination {
  position: relative;
  width: 220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
#container .pagination div, #container .pagination a {
  font-weight: 700;
  width: 30px;
  height: 30px;
  border: solid 1px #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #000;
}
#container .pagination div {
  background: #000;
  color: #ffb200;
}
#container .pagination a:hover {
  background: #000;
  color: #ffb200;
}
#container .pagination a.arrow:hover::before {
  border-color: #ffb200;
}
#container .pagination .arrow {
  position: relative;
}
#container .pagination .arrow::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: solid 2px #000;
  border-right: solid 2px #000;
  transform: rotate(45deg);
  left: 8px;
  top: 10px;
}
#container .pagination .arrow.prev::before {
  transform: rotate(-135deg);
  left: 12px;
}

@media screen and (min-width: 641px) {
  #container .pc {
    display: block;
  }
  #container .sp {
    display: none;
  }
  #container h2 {
    width: min(94%, 870px);
    padding: 20px 0;
  }
  #container h2 img {
    width: min(90%, 724px);
    margin: 0 auto 0 min(5%, 40px);
  }
  #container .lead {
    margin: 60px auto 0;
  }
  #container section {
    margin-top: 90px;
  }
  #container .prof, #container .figure, #container .photo {
    margin: 60px auto;
  }
  #container .prof {
    display: block;
    position: relative;
  }
  #container .prof__text {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-block;
    padding: 1em;
  }
  #container .prof p {
    white-space: nowrap;
  }
  #container .prof img {
    width: 63.3802816901%;
    display: block;
  }
  #container .prof.right img {
    margin: 0 0 0 auto;
  }
  #container .prof.right .prof__text {
    left: 0;
    right: auto;
  }
  #container .figure {
    padding-top: 20px;
  }
  #container .figure h3 {
    font-size: min(3vw, 24px);
  }
  #container .figure img {
    width: calc(100% - 40px);
  }
  #container .figure p {
    font-size: 14px;
    width: 90%;
  }
  #container .foot .link__ex {
    margin: 90px 0;
  }
  #container .foot .link__ex a {
    font-size: 24px;
  }
  #container .foot .link__ex a + a {
    margin-top: 40px;
  }
  #container .foot .link__corp img {
    width: min(100%, 270px);
  }
  #container .foot__bg {
    margin-top: 80px;
  }
  #container .pagination {
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) {
  #container .head {
    margin: auto;
    max-width: 1400px;
  }
  #container .head__logo {
    width: min(13.5vw, 160px);
    left: 10px;
    top: 10px;
  }
  #container .head__logo a:hover {
    opacity: 0.8;
  }
  #container .head__img {
    height: 58.33vw;
    max-height: 700px;
  }
  #container .head__img img {
    position: relative;
    height: 100%;
    top: 0;
    object-position: 50% 50%;
  }
  #container .head__text::before, #container .head__text::after {
    top: -20%;
  }
  #container .head__text::before {
    -webkit-clip-path: polygon(50% 20%, 100% 0%, 100% 90%, 0 90%, 0 0);
            clip-path: polygon(50% 20%, 100% 0%, 100% 90%, 0 90%, 0 0);
  }
  #container .head__text::after {
    -webkit-clip-path: polygon(50% 20%, 100% 0%, 100% 90%, 0 90%, 0 0);
            clip-path: polygon(50% 20%, 100% 0%, 100% 90%, 0 90%, 0 0);
  }
  #container .head__text img {
    display: block;
  }
  #container .head__text-sub {
    width: min(60%, 740px);
    margin: auto;
    padding: min(3%, 30px) 0;
  }
  #container .head__text-main {
    width: min(80%, 1170px);
    padding: 30px;
  }
  #container .head__text-main img {
    width: 100%;
  }
  #container .p2 .head__inner {
    display: flex;
  }
  #container .p2 .head__logo {
    left: 5px;
    top: 5px;
    width: min(8.67vw, 96px);
  }
  #container .p2 .head__img {
    width: 42.8571428571%;
    height: auto;
  }
  #container .p2 .head__text {
    width: 57.1428571429%;
    padding-bottom: 20px;
  }
  #container .p2 .head__text::before, #container .p2 .head__text::after {
    top: 0;
    -webkit-clip-path: none;
            clip-path: none;
  }
  #container .p2 .head__text-sub {
    margin: 0 auto 0 4%;
    width: min(80%, 660px);
  }
  #container .p2 .head__text-main {
    padding: 30px 20px;
    margin: 0 auto 0 4%;
    width: min(80%, 670px);
  }
  #container .p2 .head__text-main img {
    width: min(100%, 600px);
  }
}