@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;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
:root {
  --color_main: #cd4a02;
  --color_gr: #2d2d2d;
  --sm: calc(100vw * 0.0267);
}

#container {
  width: 100%;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #333;
}
#container p {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.025em;
}
#container img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
#container a {
  text-decoration: none;
  transition: 0.4s;
}
#container .head_wrap {
  width: 100%;
  max-width: 1400px;
  position: relative;
  padding: 0;
  margin: 0 auto min(10%, 60px);
}
#container .head_wrap .tag {
  width: 13%;
  position: absolute;
  top: 0;
  left: 2%;
  z-index: 1;
}
#container .head_wrap .head-link {
  width: 100%;
  height: 10vw;
  position: relative;
  background-image: url(./bg_sp_main.jpg);
  background-size: cover;
}
#container .head_wrap .head-link a {
  width: 85%;
  height: 10vw;
  display: block;
  margin: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#container .head_wrap .head-link a img {
  width: 92%;
  margin: 0 auto;
  display: block;
}
#container .head_img {
  width: 100%;
  height: 73vw;
  margin: 0 auto;
  background: url(img_main.jpg) no-repeat center top;
  background-size: 180%;
}
#container .head_inner h1 img {
  width: min(94%, 1150px);
  display: block;
  margin: auto;
  padding: min(3%, 20px) 0;
}
#container .head_inner .h1_main {
  background: var(--color_gr);
}
#container .head_inner .h1_sub {
  background: var(--color_main);
}
#container .lead {
  font-size: 17px;
  color: #000;
  font-weight: 700;
  width: min(90%, 700px);
  margin: auto;
}
#container section {
  margin-top: min(16%, 80px);
}
#container section .sec-heading {
  text-align: center;
}
#container section h2 {
  position: relative;
  display: inline-block;
  color: var(--color_main);
  text-align: center;
  margin-bottom: min(10%, 40px);
}
#container section h2 span {
  position: relative;
  display: inline-block;
  font-size: min(4.8vw, 24px);
  padding: var(--sm) calc(var(--sm) * 3);
  font-family: "YakuHanJP", "Noto Sans JP", sans-serif;
  font-weight: 900;
}
#container section h2 span::before, #container section h2 span::after {
  content: "";
  position: absolute;
  width: var(--sm);
  height: var(--sm);
  background: var(--color_main);
}
#container section h2 span::before {
  top: var(--sm);
  left: 0;
}
#container section h2 span::after {
  bottom: var(--sm);
  right: 0;
}
#container section h2::before, #container section h2::after {
  content: "";
  position: absolute;
  width: var(--sm);
  height: var(--sm);
  background: var(--color_main);
}
#container section h2::before {
  top: 0;
  left: var(--sm);
}
#container section h2::after {
  bottom: 0;
  right: var(--sm);
}
#container section .sec-body {
  width: min(90%, 800px);
  margin: auto;
}
#container section .sec-body p + p {
  margin-top: 1em;
}
#container section .sec-body p {
  line-height: 1.87;
}
#container section .sec-body p.intro {
  font-weight: 600;
}
#container section .sec-body p.single {
  text-indent: 1em;
}
#container section .sec-body p span {
  margin-right: 1em;
  font-weight: 600;
}
#container .profBox {
  width: min(90%, 480px);
  margin: 40px auto;
  position: relative;
  padding-bottom: 1em;
}
#container .profBox::before {
  content: "";
  position: absolute;
  width: 100%;
  height: calc(100% - min(10%, 40px));
  background: #ffb500;
  top: min(10%, 40px);
  left: min(3%, 20px);
  z-index: -1;
}
#container .profBox img {
  width: min(100%, 460px);
  display: block;
}
#container .profBox .prof {
  width: 90%;
  margin: 0 0 0 auto;
}
#container .profBox p {
  font-size: 13px;
  margin: 1em 0;
}
#container .profBox p:nth-of-type(1) {
  font-size: 14px;
  line-height: 1.5;
}
#container .profBox p:nth-of-type(1) span {
  font-size: 18px;
  font-weight: 700;
}
#container .profBox.right::before {
  right: min(3%, 20px);
  left: auto;
}
#container .profBox.right img {
  margin: 0 0 0 auto;
}
#container .profBox.right .prof {
  margin: 0 auto 0 0;
}
#container .figure {
  width: min(90%, 1000px);
  margin: 40px auto;
}
#container .figure h3 {
  text-align: center;
  font-size: min(4.6vw, 24px);
}
#container .figure h3 span {
  display: block;
  font-size: min(3.2vw, 18px);
}
#container .figure img {
  margin: 1em 0;
}
#container .figure p {
  font-size: 13px;
  line-height: 1.5;
}
#container .photo {
  width: min(90%, 750px);
  margin: auto;
}
#container .link {
  position: relative;
  width: min(90%, 590px);
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #d7536a;
  color: #fff;
}
#container .link p {
  text-align: center;
  padding: 0.5em 0;
}
#container .link p:nth-of-type(2) {
  font-size: min(4.8vw, 18px);
  border-top: solid 1px #fff;
  font-weight: 700;
}
#container .link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-left: 10px solid #ffb500;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ffb500;
}
#container .paging {
  display: flex;
  justify-content: space-around;
  width: 200px;
  margin: 40px auto;
}
#container .paging div, #container .paging a {
  width: 30px;
  height: 30px;
  border: solid 1px #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000;
}
#container .paging a {
  transition: 0.3s;
}
#container .paging a:hover {
  background: #ffb500;
}
#container .paging a.arrow:hover {
  background: none;
}
#container .paging div {
  background: #000;
  color: #fff;
}
#container .paging .arrow {
  position: relative;
  display: inline-block;
  border: none;
}
#container .paging .arrow::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  transform: rotate(45deg);
  top: 10px;
  left: 8px;
}
#container.page2 .link {
  font-weight: 700;
  margin-bottom: 20px;
  align-items: flex-start;
}
#container.page2 .link p {
  text-align: left;
  margin-left: 1.5em;
  font-size: min(4.8vw, 18px);
}
#container.page2 .link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
#container.page2 .bnr {
  width: 90%;
  max-width: 600px;
  margin: 40px auto 0;
  padding: 2% 0 3%;
  text-align: center;
  display: block;
}
#container.page2 .bnr:hover {
  opacity: 0.8;
}
#container.page2 .info {
  text-align: center;
  margin-top: 40px;
}
#container.page2 .info a {
  display: inline-block;
}
#container.page2 .info span, #container.page2 .info img {
  transition: 0.3s;
}
#container.page2 .info span {
  color: #e0301e;
}
#container.page2 .info img {
  display: block;
  width: 135px;
  margin: min(15%, 60px) auto;
}
#container.page2 .paging .arrow::before {
  left: 8px;
  top: 14px;
  transform: rotate(-135deg);
}

@media screen and (min-width: 641px) {
  :root {
    --sm: 20px;
  }
  #container .head_wrap {
    margin-bottom: 60px;
  }
  #container .head_wrap .head-link {
    height: min(8.57vw, 120px);
  }
  #container .head_wrap .head-link div {
    display: flex;
    width: 100%;
    justify-content: center;
    height: 100%;
    margin: auto;
  }
  #container .head_wrap .head-link .tag {
    position: relative;
    width: auto;
    height: 120%;
    margin-right: 20px;
  }
  #container .head_wrap .head-link a {
    margin: 0;
    box-sizing: border-box;
    height: auto;
  }
  #container .head_img {
    width: 100%;
    height: min(46vw, 640px);
    margin: 0 auto;
    background: url(img_main.jpg) no-repeat center top;
    background-size: cover;
  }
  #container section {
    margin-top: 100px;
  }
  #container section h2 span {
    font-size: min(4.4vw, 36px);
  }
  #container .figure {
    margin: 80px auto;
  }
  #container .figure img {
    margin-bottom: 20px;
  }
  #container .figure p {
    max-width: 630px;
    margin: auto;
  }
  #container .link {
    flex-direction: row;
    justify-content: center;
    transition: 0.4s;
  }
  #container .link p:nth-of-type(2) {
    font-size: min(2.6vw, 18px);
  }
  #container .link:hover {
    background: #ffb500;
  }
  #container .link:hover p {
    color: #000;
  }
  #container .link:hover p:nth-of-type(2) {
    border-left: solid 1px #000;
  }
  #container .link:hover p:nth-of-type(2)::before, #container .link:hover p:nth-of-type(2)::after {
    border-color: #000;
  }
  #container .link br {
    display: none;
  }
  #container .link p {
    padding: 1em 0;
    transition: 0.3s;
  }
  #container .link p:nth-of-type(2) {
    position: relative;
    border-top: none;
    border-left: solid 1px #fff;
    padding: 0 0.5em;
    margin-left: 0.5em;
    width: 80%;
  }
  #container .link p:nth-of-type(2)::before, #container .link p:nth-of-type(2)::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: rotate(45deg);
    top: 10px;
    right: 0;
    transition: 0.3s;
  }
  #container .link p:nth-of-type(2)::after {
    right: -6px;
  }
  #container .paging {
    margin: 60px auto;
  }
  #container.page2 .head_inner {
    display: flex;
  }
  #container.page2 .head_inner h1 {
    width: 59.64%;
  }
  #container.page2 .head_img {
    width: 40.36%;
    height: auto;
  }
  #container.page2 .link {
    margin-bottom: 30px;
  }
  #container.page2 .link:hover::after {
    border-left: 10px solid #000;
  }
  #container.page2 .info {
    margin-top: 60px;
  }
  #container.page2 .info img {
    width: 135px;
    margin: 50px auto;
  }
  #container.page2 .info span {
    display: inline-block;
    position: relative;
  }
  #container.page2 .info span::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background: #e0301e;
    bottom: -2px;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
  }
  #container.page2 .info a:hover img {
    opacity: 0.8;
  }
  #container.page2 .info a:hover span::after {
    transform: scale(1, 1);
  }
}
@media screen and (min-width: 880px) {
  #container .profBox {
    margin: 60px auto;
    width: min(90%, 800px);
    display: flex;
    align-items: flex-end;
  }
  #container .profBox img {
    width: 57.5%;
  }
  #container .profBox .prof {
    margin: 0 0 0 1em;
  }
  #container .profBox.right {
    flex-direction: row-reverse;
  }
  #container .profBox.right::before {
    right: min(3%, 20px);
    left: auto;
  }
  #container .profBox.right .prof {
    margin: 0 1em 0 0;
  }
  #container .figure h3 span {
    display: inline;
  }
}