@charset "utf-8";
/* 幅が 834px以下 */
@media (max-width:834px) {
  .section1_title {
    display: block;
    width: fit-content;
    margin: 100px auto 50px auto;
    font-size: 14pt;
    color: #fff;
  }
  .section1_text {
    margin: 0 20px;
  }
  .section1_text > p {
    color: #fff;
    line-height: 2em;
    letter-spacing: 0.1em;
    font-size: 10pt;
  }
  .text_vertical_writing > p {
    letter-spacing: 0.3em;
  }

  .section2_img_area div::before,
  .section3_img_area div::before {
    padding-top: 50%;
  }
  .section2_text_area,
  .section3_text_area {
    padding: 50px 0;
  }
  .section2_text > p,
  .section3_text > p {
    padding: 0 20px 50px 20px;
  }
  .section2_text_middle,
  .section3_text_middle {
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .section2_text > h2,
  .section3_text > h2,
  #section4 > h2,
  .section5_list > h2,
  .section6_access > h2 {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    font-size: 14pt;
    margin-bottom: 50px;
  }
  #section4 > h2 {
    margin-top: 100px;
    color: #fff;
  }
  #section4 > iframe {
    display: block;
    width: calc(100% - 40px);
    height: 600px;
    margin: 0 auto 100px auto;
  }

  .section6_access > h2 {
    padding-top: 100px;
  }
  .section2_text > h2::after,
  .section3_text > h2::after,
  #section4 > h2::after,
  .section5_list > h2::after,
  .section6_access > h2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;               /*アンダーラインがaタグの下端から現れる*/
    display: block;
    width: 60px;
    height: 3px;
    margin: 0 auto;
    background: #d71518;
  }

  .section5_items {
    margin-bottom: 30px;
  }
  .section5_list {
    width: calc(100% - 80px);
    padding-top: 50px;
    margin: 0 auto;
    padding: 50px 20px;
    background: #fff;
  }
  .section5_item {
    width: 48%;
    margin-bottom: 20px;
    text-decoration: none;
    color: #000;
    float: left;
  }
  .section5_item:nth-child(2n) {
    margin-left: 4%;
  }
  .section5_item:nth-child(5) {
    display: none;
  }
  .section5_item_header {
    margin: 10px 0;
  }
  .section5_item_category {
    display: block;
    width: fit-content;
    padding: 0 10px;
    line-height: 1.5rem;
    color: #fff;
    background: #444;
    float: left;
  }
  .section5_item_date {
    display: block;
    width: fit-content;
    line-height: 1.5rem;
    font-size: 11pt;
    float: right;
  }
  .section5_item_title {
    display: block;
    height: 4.5rem;
    line-height: 1.5em;
    font-size: 11pt;
  }

  #section6 {
    background: #fff;
    padding-bottom: 100px;
  }
  .section6_access {
    margin: 0 20px;
  }
  .section6_access > iframe {
    display: block;
    width: 100%;
    margin: 0 auto 40px auto;
  }
  .section6_access p {
    font-size: 10pt;
    line-height: 1.3rem;
  }
  .section6_access > div {
    margin-bottom: 40px;
  }
}
/* 幅が 834px以上 */
@media (min-width:834px) {
  #section1 > h2{
    display: block;
    padding: 100px 0 0 0;
    text-align: center;
    font-size: 26pt;
  }
  #section1 * {
    color: #fff;
  }
  .section1_text {
    display: block;
    height: 300px;
    margin: 50px 60px 0 60px;
    font-size: 15pt;
    line-height: 2em;
    letter-spacing: 0.2em;
  }
  .text_vertical_writing {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    margin: 50px auto 0 auto;
    font-size: 12pt;
    line-height: 3em;
    letter-spacing: 0.4em;
  }
  .section1_title,
  .section1_text > p {
    text-shadow: 1px 2px 3px #404040;
  }

  #section2,
  #section3 {
    position: relative;
  }
  #section2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 2px;
    height: 750px;
    background: #d3a100;
  }
  #section3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 2px;
    height: 750px;
    background: #d3a100;
  }
  .section2_text_area,
  .section3_text_area {
    width: calc(50% - 5px);
    height: 750px;
  }
  .section2_text_area {
    float: left;
  }
  .section3_text_area {
    float: right;
  }
  .section2_text,
  .section3_text {
    position: relative;
    display: block;
    height: 450px;
  }
  .section2_text {
    margin-top: 100px;
    padding: 100px 64px 100px 50px;
  }
  .section3_text {
    margin-bottom: 100px;
    padding: 100px 50px 100px 64px;
  }
  .section2_text_middle,
  .section3_text_middle {
    width: calc(100% - 114px);
    height: fit-content;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }
  .section2_text_middle > h2,
  .section3_text_middle > h2,
  #section4 > h2,
  .section5_list > h2,
  .section6_access > h2 {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    font-size: 26pt;
    margin-bottom: 50px;
  }
  #section4 > h2 {
    margin-top: 100px;
    color: #fff;
  }
  .section6_access > h2 {
    padding-top: 100px;
  }
  .section2_text_middle > h2::after,
  .section3_text_middle > h2::after,
  #section4 > h2::after,
  .section5_list > h2::after,
  .section6_access > h2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;               /*アンダーラインがaタグの下端から現れる*/
    display: block;
    width: 60px;
    height: 3px;
    margin: 0 auto;
    background: #d71518;
  }

  .section2_text_middle > p,
  .section3_text_middle > p {
    display: block;
    text-align: left;
    font-size: 16pt;
    line-height: 2rem;
    margin-bottom: 50px;
  }
  
  .section2_img_area,
  .section3_img_area {
    width: calc(50% - 20px);
    height: 450px;
  }
  .section2_img_area div::before,
  .section3_img_area div::before {
    padding-top: 450px;
  }
  .section2_img_area {
    padding: 200px 0 100px 0;
  }
  .section3_img_area {
    padding: 100px 0 200px 0;
  }

  .section2_img_area {
    float: right;
    padding-left: 14px;
  }
  .section3_img_area {
    float: left;
    padding-right: 14px;
  }

  #section4 {
    height: 1100px;
  }
  .vrtour_window {
    display: block;
    margin: 100px auto 0 auto;
    width: 80%;
    height: 700px;
  }

  .section5_list {
    display: block;
    width: 80%;
    height: fit-content;
    margin: 0 auto;
    padding-bottom: 100px;
    background: #fff;
  }
  .section5_list > h2 {
    padding-top: 100px;
  }
  .section5_items {
    margin: 30px;
  }
  .section5_item {
    display: block;
    width: 18%;
    margin-left: 2.5%;
    text-decoration: none;
    color: #000;
    float: left;
  }
  .section5_item:nth-child(1) {
    margin-left: 0;
  }
  .section5_item:hover {
    opacity: 0.5;
  }
  .section5_item_category {
    display: block;
    width: fit-content;
    margin-top: 10px;
    padding: 0 10px;
    line-height: 1.5rem;
    color: #fff;
    background: #444;
  }
  .section5_item_date,
  .section5_item_title {
    margin: 10px 0;
    line-height: 1.3em;
    letter-spacing: 0.1em;
  }

  #section6 {
    background: #fff;
    padding-bottom: 100px;
  }
  .section6_access {
    display: block;
    width: 80%;
    height: fit-content;
    margin: 0 auto;
  }
  .section6_access > iframe {
    display: block;
    width: 100%;
    height: 600px;
  }
  .section6_access > div {
    margin: 50px 0;
  }
  .section6_access > div > p {
    display: block;
    margin-top: 20px;
  }
}
.related_photos {
  display: flex;
  justify-content: center;
}
.related_photos > img {
  width: min(20%, 200px);
  margin: 80px 0;
}
.related_photos > img + img {
  margin-left: min(4%, 40px);
}

.section2_text_middle > a,
.section3_text_middle > a,
.section5_list > a,
.section6_access > a {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-size:14pt;
  text-decoration: none;
  color: #000;
  text-shadow: 1px 1px 1px #444;
}
.section2_text_middle > a::after,
.section3_text_middle > a::after,
.section5_list > a::after,
.section6_access > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;               /*アンダーラインがaタグの下端から現れる*/
  width: 5rem;
  height: 2px;
  margin: 0 auto;
  background: #000;
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}
.section2_text_middle > a:hover::after,
.section3_text_middle > a:hover::after,
.section5_list > a:hover::after,
.section6_access > a:hover::after {
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

#section2,
#section3 {
  background: #fff;
}

.img_cover {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.img_cover::before {
  content: "";
  display: block;
}
.img_cover img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  min-width: 100%;
  min-height: 100%;
}

#section5 {
  display: block;
  width: 100%;
  padding: 100px 0;
  background-image: url("../img/kainan-ezu.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.section5_item_thumbnail::before {
  padding-top: 75%;
}
