@charset "UTF-8";

/* indexの設定 */

body {
  background-image: url(../img/index/body/body.jpg);
  background-repeat: repeat-y;
  background-size: contain;
  background-position: right top;
}

/* スクロール固定用のスタイル */
body.body_fixed {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* ---------------------------------------------
#topの設定
---------------------------------------------*/
#top {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  background-color: #fff;
}

#top_img img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  position: relative;
}

#top_logo {
  position: absolute;
  top: 5.5vw;
  left: 7%;
  width: 24%;
}

#top_logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  position: relative;
}

@media screen and (max-width: 767px) {
  #top {
    width: 100%;
    position: relative;
  }
  #top_img img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    position: relative;
  }

  #top_logo {
    position: absolute;
    top: 8.2vw;
    left: 9%;
    width: 45%;
  }

  #top_logo img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    position: relative;
  }
}

/* ---------------------------------------------
#newsの設定
---------------------------------------------*/
/*#news {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto -4vw;
  position: relative;
  top: -4vw;
  z-index: 2;
}

.news_content {
  position: absolute;
  top: 10vw;
  left: 50%;
  transform: translateX(-50%);
}

.news_content .news_time {
  margin-right: 15px;
  font-size: 19px;
  font-weight: normal;
}

.news_content .news_categori {
  padding: 0.1px 15px;
  margin-right: 20px;
  background-color: #d8c29c;
}

.news_content li {
  display: flex;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  border-bottom: #d0bb96 dashed 2px;
  min-width: 800px;
}

.news_content li:last-of-type {
  display: flex;
  padding-top: 1em;
  padding-bottom: 1em;
  border-bottom: #d0bb96 dashed 0px;
  margin-bottom: 3.2vw;
}

.news_link {
  all: unset;
  filter: drop-shadow(-4px 4px 1px rgba(100, 100, 100, 0.2));
  position: relative;
  box-sizing: border-box;
  transition: all 0.2s;
}
.news_link:hover {
  all: unset;
  filter: drop-shadow(-4px 4px 1px rgba(100, 100, 100, 0.2));
  position: relative;
  box-sizing: border-box;
  transition: all 0.2s;
}

.news_link::after {
  content: '〉';
  color: white;
  display: inline-block;
  position: absolute;
  right: 5px;
}

.news_link a {
  background-color: #d0bb96;
  color: white;
  padding: 8px 55px;
  box-sizing: border-box;
  font-size: 18px;
  border-radius: 0px;
  cursor: pointer;
}
.news_link a :hover {
  position: relative;
  top: 6px;
}

#news h4 {
  font-size: 25.5px;
  padding: 5.5px 31px;
  background-color: white;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 2.3vw;
}

@media screen and (min-width: 1501px) and (max-width: 1920px) {
  .news_content {
    min-width: none;
    position: absolute;
    top: 15vw;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (min-width: 1461px) and (max-width: 1500px) {
  .news_content {
    position: absolute;
    top: 14vw;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (min-width: 1373px) and (max-width: 1460px) {
  .news_content {
    position: absolute;
    top: 13vw;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (min-width: 1331px) and (max-width: 1372px) {
  .news_content {
    position: absolute;
    top: 12.5vw;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (min-width: 1311px) and (max-width: 1330px) {
  .news_content {
    position: absolute;
    top: 12vw;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (min-width: 1201px) and (max-width: 1310px) {
  .news_content {
    position: absolute;
    top: 11.5vw;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (min-width: 1101px) and (max-width: 1200px) {
  .news_content {
    position: absolute;
    top: 11vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content h4 {
    font-size: 22px;
    padding: 5.2px 30px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 2vw;
  }

  .news_content .news_time {
    margin-right: 15px;
    font-size: 18px;
    font-weight: normal;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 3vw;
  }

  .news_link a {
    background-color: #d0bb96;
    color: white;
    padding: 8px 55px;
    box-sizing: border-box;
    font-size: 17px;
    border-radius: 0px;
    cursor: pointer;
  }
}
@media screen and (min-width: 1001px) and (max-width: 1100px) {
  .news_content {
    position: absolute;
    top: 10vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content h4 {
    font-size: 20px;
    padding: 5px 28px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.3vw;
  }

  .news_content .news_time {
    margin-right: 15px;
    font-size: 16px;
    font-weight: normal;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 2.5vw;
  }

  .news_link a {
    background-color: #d0bb96;
    color: white;
    padding: 8px 55px;
    box-sizing: border-box;
    font-size: 15px;
    border-radius: 0px;
    cursor: pointer;
  }
}

@media screen and (min-width: 901px) and (max-width: 1000px) {
  .news_content {
    position: absolute;
    top: 9vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content h4 {
    font-size: 18px;
    padding: 4px 25.5px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.2vw;
  }

  .news_content .news_time {
    margin-right: 14px;
    font-size: 16px;
    font-weight: normal;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 2vw;
  }

  .news_link a {
    background-color: #d0bb96;
    color: white;
    padding: 8px 55px;
    box-sizing: border-box;
    font-size: 14px;
    border-radius: 0px;
    cursor: pointer;
  }
}

@media screen and (min-width: 768px) and (max-width: 900px) {
  .news_content li {
    display: flex;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    border-bottom: #d0bb96 dashed 2px;
    min-width: 680px;
  }
  .news_content {
    position: absolute;
    top: 8vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content h4 {
    font-size: 14px;
    padding: 3px 22px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: -0.5vw;
  }

  .news_content .news_time {
    margin-right: 12px;
    font-size: 15px;
    font-weight: normal;
  }

  .news_content .news_categori {
    padding: 0.1px 12px;
    margin-right: 20px;
    background-color: #d8c29c;
    font-size: 11px;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 1vw;
  }

  .news_link a {
    background-color: #d0bb96;
    color: white;
    padding: 8px 52px;
    box-sizing: border-box;
    font-size: 13.5px;
    border-radius: 0px;
    cursor: pointer;
  }
}

@media screen and (min-width: 768px) {
  .news_text_s {
    display: none;
  }
  .news_text_l {
    display: inline-block;
  }
}

@media screen and (max-width: 767px) {
  .news_content {
    min-width: none;
    position: absolute;
    top: 25vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content li {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1.8em;
    padding-bottom: 1.8em;
    border-bottom: #d0bb96 dashed 2px;
    min-width: 580px;
    max-width: 580px;
    text-align: left;
  }

  .news_text_l {
    display: none;
  }
  .news_text_s {
    display: inline-block;
  }

  .news_date {
    width: 700px;
  }

  news_content .news_time {
    margin-right: 19px;
    font-size: 22px;
    font-weight: normal;
  }

  .news_content .news_categori {
    padding: 0.1px 28px;
    margin-right: 23px;
    background-color: #d8c29c;
    position: relative;
    top: -1px;
  }

  .news_date {
    width: 580px;
    margin-bottom: 10px;
  }

  #news h4 {
    font-size: 29.5px;
    padding: 7.5px 40px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6.3vw;
  }

  .news_text_s {
    display: inline-block;
    font-size: 25px;
    width: 580px;
    inline-size: 580px;
    overflow-wrap: break-word;
    margin: 0 auto 0 0;
    text-align: left;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 7.2vw;
  }

  .news_link a {
    background-color: #d0bb96;
    color: white;
    padding: 8px 70px;
    box-sizing: border-box;
    font-size: 23px;
    border-radius: 0px;
    cursor: pointer;
  }
}

@media screen and (max-width: 700px) {
  .news_content {
    min-width: none;
    position: absolute;
    top: 25vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content li {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1.8em;
    padding-bottom: 1.8em;
    border-bottom: #d0bb96 dashed 2px;
    min-width: 540px;
    max-width: 540px;
    text-align: left;
  }

  .news_text_l {
    display: none;
  }
  .news_text_s {
    display: inline-block;
  }

  .news_date {
    width: 700px;
  }

  news_content .news_time {
    margin-right: 19px;
    font-size: 22px;
    font-weight: normal;
  }

  .news_content .news_categori {
    padding: 0.1px 28px;
    margin-right: 23px;
    background-color: #d8c29c;
    position: relative;
    top: -1px;
  }

  .news_date {
    width: 540px;
    margin-bottom: 10px;
  }

  #news h4 {
    font-size: 29.5px;
    padding: 7.5px 40px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6.3vw;
  }

  .news_text_s {
    display: inline-block;
    font-size: 24px;
    width: 540px;
    inline-size: 540px;
    overflow-wrap: break-word;
    margin: 0 auto 0 0;
    text-align: left;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 7.2vw;
  }

  .news_link a {
    background-color: #d0bb96;
    color: white;
    padding: 8px 70px;
    box-sizing: border-box;
    font-size: 23px;
    border-radius: 0px;
    cursor: pointer;
  }
}

@media screen and (max-width: 650px) {
  .news_content {
    min-width: none;
    position: absolute;
    top: 22vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content li {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: #d0bb96 dashed 2px;
    min-width: 480px;
    max-width: 480px;
    text-align: left;
  }

  .news_text_l {
    display: none;
  }
  .news_text_s {
    display: inline-block;
  }

  .news_date {
    width: 480px;
  }

  news_content .news_time {
    margin-right: 19px;
    font-size: 22px;
    font-weight: normal;
  }

  .news_content .news_categori {
    padding: 0.1px 28px;
    margin-right: 23px;
    background-color: #d8c29c;
    position: relative;
    top: -1px;
  }

  .news_date {
    width: 480px;
    margin-bottom: 10px;
  }

  #news h4 {
    font-size: 29.5px;
    padding: 7.5px 40px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6.3vw;
  }

  .news_text_s {
    display: inline-block;
    font-size: 23px;
    width: 480px;
    inline-size: 480px;
    overflow-wrap: break-word;
    margin: 0 auto 0 0;
    text-align: left;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 7.2vw;
  }

  .news_link a {
    background-color: #d0bb96;
    color: white;
    padding: 8px 70px;
    box-sizing: border-box;
    font-size: 23px;
    border-radius: 0px;
    cursor: pointer;
  }
}

@media screen and (max-width: 600px) {
  .news_content {
    min-width: none;
    position: absolute;
    top: 22vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content li {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: #d0bb96 dashed 2px;
    min-width: 430px;
    max-width: 430px;
    text-align: left;
  }

  .news_text_l {
    display: none;
  }
  .news_text_s {
    display: inline-block;
  }

  .news_date {
    width: 430px;
  }

  news_content .news_time {
    margin-right: 19px;
    font-size: 22px;
    font-weight: normal;
  }

  .news_content .news_categori {
    padding: 0.1px 28px;
    margin-right: 23px;
    background-color: #d8c29c;
    position: relative;
    top: -1px;
  }

  .news_date {
    width: 430px;
    margin-bottom: 10px;
  }

  #news h4 {
    font-size: 29.5px;
    padding: 7.5px 40px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6.3vw;
  }

  .news_text_s {
    display: inline-block;
    font-size: 22px;
    width: 430px;
    inline-size: 430px;
    overflow-wrap: break-word;
    margin: 0 auto 0 0;
    text-align: left;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 7.2vw;
  }

  .news_link a {
    background-color: #d0bb96;
    color: white;
    padding: 8px 70px;
    box-sizing: border-box;
    font-size: 23px;
    border-radius: 0px;
    cursor: pointer;
  }
}

@media screen and (max-width: 570px) {
  .news_content {
    min-width: none;
    position: absolute;
    top: 20vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content li {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    border-bottom: #d0bb96 dashed 2px;
    min-width: 400px;
    max-width: 400px;
    text-align: left;
  }

  .news_text_l {
    display: none;
  }
  .news_text_s {
    display: inline-block;
  }

  .news_date {
    width: 400px;
  }

  news_content .news_time {
    margin-right: 15px;
    font-size: 19px;
    font-weight: normal;
    position: relative;
    top: -2px;
  }

  .news_content .news_categori {
    padding: 0.1px 26px;
    margin-right: 21px;
    background-color: #d8c29c;
    position: relative;
    top: -5px;
  }

  .news_date {
    width: 400px;
    margin-bottom: 10px;
  }

  #news h4 {
    font-size: 28px;
    padding: 7px 38px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6vw;
  }

  .news_text_s {
    display: inline-block;
    font-size: 20px;
    width: 400px;
    inline-size: 400px;
    overflow-wrap: break-word;
    margin: 0 auto 0 0;
    text-align: left;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 7vw;
  }

  .news_link a {
    color: white;
    padding: 8px 70px;
    font-size: 22px;
  }
}

@media screen and (max-width: 500px) {
  .news_content {
    min-width: none;
    position: absolute;
    top: 18vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content li {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1.1em;
    padding-bottom: 1.1em;
    border-bottom: #d0bb96 dashed 2px;
    min-width: 380px;
    max-width: 380px;
    text-align: left;
  }

  .news_text_l {
    display: none;
  }
  .news_text_s {
    display: inline-block;
  }

  .news_date {
    width: 380px;
  }

  news_content .news_time {
    margin-right: 19px;
    font-size: 19px;
    font-weight: normal;
  }

  .news_content .news_categori {
    padding: 0.1px 26px;
    margin-right: 21px;
    background-color: #d8c29c;
    position: relative;
    top: -1px;
  }

  .news_date {
    width: 380px;
    margin-bottom: 10px;
  }

  #news h4 {
    font-size: 27px;
    padding: 7px 38px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 5vw;
  }

  .news_text_s {
    display: inline-block;
    font-size: 19px;
    width: 380px;
    inline-size: 380px;
    overflow-wrap: break-word;
    margin: 0 auto 0 0;
    text-align: left;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 6vw;
  }

  .news_link a {
    color: white;
    padding: 8px 70px;
    font-size: 21px;
  }
}

@media screen and (max-width: 480px) {
  .news_content {
    min-width: none;
    position: absolute;
    top: 17.5vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content li {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1.1em;
    padding-bottom: 1.1em;
    border-bottom: #d0bb96 dashed 2px;
    min-width: 350px;
    max-width: 350px;
    text-align: left;
  }

  .news_text_l {
    display: none;
  }
  .news_text_s {
    display: inline-block;
  }

  .news_date {
    width: 350px;
  }

  news_content .news_time {
    margin-right: 19px;
    font-size: 18px;
    font-weight: normal;
  }

  .news_content .news_categori {
    padding: 0.1px 26px;
    margin-right: 21px;
    background-color: #d8c29c;
    position: relative;
    top: -1px;
  }

  .news_date {
    width: 350px;
    margin-bottom: 10px;
  }

  #news h4 {
    font-size: 26px;
    padding: 7px 36px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 5vw;
  }

  .news_text_s {
    display: inline-block;
    font-size: 18px;
    width: 350px;
    inline-size: 350px;
    overflow-wrap: break-word;
    margin: 0 auto 0 0;
    text-align: left;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 5vw;
  }

  .news_link a {
    color: white;
    padding: 8px 65px;
    font-size: 20px;
  }
}

@media screen and (max-width: 450px) {
  .news_content {
    min-width: none;
    position: absolute;
    top: 17vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content li {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 2px;
    min-width: 320px;
    max-width: 320px;
    text-align: left;
  }

  .news_text_l {
    display: none;
  }
  .news_text_s {
    display: inline-block;
  }

  .news_date {
    width: 320px;
  }

  news_content .news_time {
    margin-right: 19px;
    font-size: 16px;
    font-weight: normal;
  }

  .news_content .news_categori {
    padding: 0.1px 25px;
    margin-right: 21px;
    background-color: #d8c29c;
    position: relative;
    top: -1px;
  }

  .news_date {
    width: 320px;
    margin-bottom: 5px;
  }

  #news h4 {
    font-size: 23px;
    padding: 5.5px 34px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 4vw;
  }

  .news_text_s {
    display: inline-block;
    font-size: 17px;
    width: 320px;
    inline-size: 320px;
    overflow-wrap: break-word;
    margin: 0 auto 0 0;
    text-align: left;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 4.5vw;
  }

  .news_link a {
    color: white;
    padding: 7.5px 62px;
    font-size: 19px;
  }
}

@media screen and (max-width: 400px) {
  .news_content {
    min-width: none;
    position: absolute;
    top: 17vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .news_content li {
    display: flex;
    flex-wrap: wrap;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    border-bottom: #d0bb96 dashed 2px;
    min-width: 290px;
    max-width: 290px;
    text-align: left;
  }

  .news_text_l {
    display: none;
  }
  .news_text_s {
    display: inline-block;
  }

  .news_date {
    width: 300px;
  }

  .news_content .news_time {
    margin-right: 15px;
    font-size: 17px;
    font-weight: normal;
  }

  .news_content .news_categori {
    padding: 0px 25px;
    margin-right: 21px;
    background-color: #d8c29c;
    position: relative;
    top: -1px;
  }

  .news_date {
    width: 290px;
    margin-bottom: 5px;
  }

  #news h4 {
    font-size: 21px;
    padding: 5px 32px;
    background-color: white;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 3.6vw;
  }

  .news_text_s {
    display: inline-block;
    font-size: 16px;
    width: 290px;
    inline-size: 290px;
    overflow-wrap: break-word;
    margin: 0 auto 0 0;
    text-align: left;
  }

  .news_content li:last-of-type {
    display: flex;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    border-bottom: #d0bb96 dashed 0px;
    margin-bottom: 4.5vw;
  }

  .news_link a {
    color: white;
    padding: 7.2px 60px;
    font-size: 18px;
  }
}*/

/* ---------------------------------------------
#aboutの設定
---------------------------------------------*/
#about {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  /*background-color: #eeeae5;*/
}

#about #about_img img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

#about_text {
  position: absolute;
  top: 12vw;
  right: 37.5%;
  width: 25%;
}

#about_text img {
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.5));
  object-fit: contain;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {
  #about {
    width: 100%;
    object-fit: auto;
    position: relative;
    top: -3.5vw;
  }

  #about_text {
    position: absolute;
    top: 24vw;
    right: calc(28% - 5px);
    width: 44%;
  }
}
/* ---------------------------------------------
#mainの設定
---------------------------------------------*/
#main {
  width: 100%;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  #main {
    width: 100%;
    position: relative;
  }
}

#container1,
#container2,
#container25,
#container3,
#container4 {
  width: 100%;
  margin: 0 auto;
  position: relative;
  top: 40px;
}

#container1 .Text_box,
#container2 .Text_box,
#container25 .Text_box,
#container3 .Text_box {
  width: 56%;
  height: auto;
  margin: 0 auto 6.5vw;
}

#container1 .Text_box img,
#container2 .Text_box img,
#container25 .Text_box img,
#container3 .Text_box img,
#container4 .Text_box img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.map-container img{
  cursor: pointer;
}

#container4 .Text_box {
  width: 48%;
  height: auto;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0 4.5%;
  position: relative;
  left: 0.5vw;
}

@media screen and (max-width: 767px) {
  #container1 .Text_box,
  #container2 .Text_box,
  #container25 .Text_box,
  #container3 .Text_box {
    width: 82%;
    max-width: 420px;
    height: auto;
    margin: 0 auto 10vw;
  }
  #container3 .Text_box {
    margin: 0 auto 12vw;
  }

  #container4 .Text_box {
    width: 82%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap: 4.5% 0;
    position: relative;
    left: 0vw;
    padding-bottom: 120px;
  }
}

/*-- =============================
Detailed point
============================= --*/

.headline1 {
  width: 12.5%;
  position: absolute;
  bottom: 4.3vw;
  right: 13.13%;
  z-index: 1;
}

.headline1 img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.head_img {
  width: 60%;
  position: absolute;
  top: -0.5vw;
  left: 19%;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .hum_nav a {
    display: block;
  }
  .head_img {
    display: none;
  }

  .headline2 {
    max-width: 90px;
    position: absolute;
    top: -70px;
    right: 0%;
    z-index: 1;
  }

  .headline2 img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 600px) {
  .headline2 {
    top: -20vw;
  }
}

@media screen and (max-width: 520px) {
  .headline2 {
    width: 100%;
    max-width: 100px;
    position: absolute;
    bottom: 60vw;
    right: 0%;
    z-index: 1;
  }
}
/*-- =============================
マップ
============================= --*/
.popPicture{
  position: fixed;
  top: -1000vh;
  left: -1000vw;
  overflow: visible;
  width: 90%;
  height: calc(95vh - 119px); 
  bottom: 0;
  right: 0;
  opacity: 1;
  z-index: 1000;
}

.pop_image {
  width: 100%;
  height: calc(95vh - 120px);
  margin-bottom: 100px;
  position: relative;
  overflow-y: scroll;
  border-radius: 30px;
  border-radius: 50px;
}

.popPicture img {
  width: 100%;
  height: auto;
  border-radius: 50px;
}

.modal-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(80, 80, 80, 0.3);
  justify-content: center;
  align-items: center;
  z-index: 399;
  cursor: pointer;
}

.tojiru {
  position: fixed;
  top: 105px;
  right: calc(5% + 30px);
  width: 32px;
  height: 32px;
  background-image: url(../img/support/container1/close.svg);
  background-repeat: no-repeat;
  display: none;
  opacity: 0;
  z-index: 5;
}

@media screen and (max-width: 767px) {
  .popPicture * {
    width: 90%;
    overflow: scroll;
  }

  .tojiru {
    position: fixed;
    top: 105px;
    right: calc(11% + 30px);
    width: 32px;
    height: 32px;
    background-image: url(../img/support/container1/close.svg);
    background-repeat: no-repeat;
    background-position: right;
    display: none;
    opacity: 0;
    z-index: 5;
}

  .popPicture img {
    width: auto;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
  }
}


/*-- =============================
#container4
============================= --*/

#container4 .item1,
#container4 .item2,
#container4 .item3,
#container4 .item4 {
  width: 20%;
  position: relative;
  transition: 0.1s;
}

#container4 .item1::after,
#container4 .item2::after,
#container4 .item3::after,
#container4 .item4::after {
  content: ' ';
  position: absolute;
  top: 8px;
  left: -8px;
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../img/index/container4/shadow_l.png);
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.4;
  transition: 0.1s;
}

#container4 .item1:hover,
#container4 .item2:hover,
#container4 .item3:hover,
#container4 .item4:hover {
  filter: brightness(93%);
}

#container4 .item1:hover::after,
#container4 .item2:hover::after,
#container4 .item3:hover::after,
#container4 .item4:hover::after {
  opacity: 0;
}

#container4 .item1 a,
#container4 .item2 a,
#container4 .item3 a,
#container4 .item4 a {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  #container4 .item1 {
    order: 4;
  }
  #container4 .item2 {
    order: 3;
  }
  #container4 .item3 {
    order: 2;
  }
  #container4 .item4 {
    order: 1;
  }
}
@media screen and (max-width: 767px) {
  #container4 .item1,
  #container4 .item2,
  #container4 .item3,
  #container4 .item4 {
    width: 100%;
    position: relative;
    transition: 0.1s;
    margin-bottom: 4vw;
  }

  #container4 .item1::after,
  #container4 .item2::after,
  #container4 .item3::after,
  #container4 .item4::after {
    content: ' ';
    position: absolute;
    top: 5px;
    left: -8px;
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../img/index/container4/shadow_s.png);
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 1;
    transition: 0.1s;
  }
}
/*-- =============================
footer
============================= --*/
#footer {
  width: 100%;
  padding-top: 27.3%;
  margin-top: -120px;
  background-image: url(../img/index/footer/img_l.svg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  position: relative;
  z-index: 2;
}

#footer .Text_box {
  width: 80%;
  position: absolute;
  bottom: calc(3vw + 105px);
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  gap: 0 4.7%;
}

#footer h1 {
  display: inline-block;
  cursor: pointer;
}

/* 追加した公式サイトへのボタン */
#footer .item1 {
  width: 23%;
}

#footer .item1 p {
  white-space: nowrap;
  position: relative;
  margin-top: 3px;
  transform: translateX(-6%);
}

.oishida_link a {
  color: #fff;
  background-color: #bda67a;
  font-size: 15px;
  padding: 0.55em 1.5em;
  border-radius: 15px;
}

.oishida_link a:hover {
  opacity: 0.7;
}

#footer .item2 {
  flex: 1;
}

#footer .official {
  width: 63%;
  margin-bottom: 22px;
}

#footer .address {
  width: 54%;
  margin-bottom: 32px;
}

#footer ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#footer li {
  cursor: pointer;
}

#footer li:nth-of-type(1) {
  width: 22.42%;
}

#footer li:nth-of-type(2) {
  width: 25.82%;
}

#footer li:nth-of-type(3) {
  width: 46.1%;
}

#footer .Copyright {
  width: 38.2%;
  position: absolute;
  bottom: -7.5vw;
  left: 0;
  right: 0;
  margin: 0 auto;
}

@media screen and (max-width: 1500px) {
  #footer .Text_box {
    bottom: calc(3vw + 85px);
  }

  #footer .official {
    margin-bottom: 15px;
  }

  #footer .address {
    margin-bottom: 25px;
  }
  #footer .Copyright {
    bottom: -6.5vw;
  }
}

@media screen and (max-width: 1300px) {
  #footer .Text_box {
    bottom: calc(3vw + 65px);
  }

  #footer .official {
    margin-bottom: 10px;
  }

  #footer .address {
    margin-bottom: 20px;
  }
  #footer .Copyright {
    bottom: -6vw;
  }

  #footer .item1 p {
    white-space: nowrap;
    position: relative;
    margin-top: 3px;
    transform: translateX(-5%);
  }

  .oishida_link a {
    color: #fff;
    background-color: #bda67a;
    font-size: 14px;
    padding: 0.55em 1.5em;
    border-radius: 15px;
  }
}

@media screen and (max-width: 1200px) {
  #footer .item1 p {
    white-space: nowrap;
    position: relative;
    margin-top: -10px;
    transform: translateX(-6%);
  }

  .oishida_link a {
    color: #fff;
    background-color: #bda67a;
    font-size: 12.5px;
    padding: 0.55em 1.3em;
    border-radius: 15px;
  }
}

@media screen and (max-width: 1100px) {
  #footer .item1 p {
    white-space: nowrap;
    position: relative;
    margin-top: -10px;
    transform: translateX(-9%);
  }

  .oishida_link a {
    color: #fff;
    background-color: #bda67a;
    font-size: 12px;
    padding: 0.55em 1.3em;
    border-radius: 15px;
  }
}

@media screen and (max-width: 1000px) {
  #footer .Text_box {
    bottom: calc(3vw + 45px);
  }

  #footer .official {
    margin-bottom: 0px;
  }

  #footer .address {
    margin-bottom: 10px;
  }
  #footer .Copyright {
    bottom: -5.5vw;
  }

  #footer .item1 p {
    white-space: nowrap;
    position: relative;
    margin-top: -20px;
    transform: translateX(-4%);
  }

  .oishida_link a {
    color: #fff;
    background-color: #bda67a;
    font-size: 10px;
    padding: 0.55em 1.3em;
    border-radius: 15px;
  }
}

@media screen and (max-width: 900px) {
  #footer .item1 p {
    white-space: nowrap;
    position: relative;
    margin-top: -20px;
    transform: translateX(-11%);
  }

  .oishida_link a {
    color: #fff;
    background-color: #bda67a;
    font-size: 10px;
    padding: 0.55em 1.3em;
    border-radius: 15px;
  }
}

@media screen and (max-width: 850px) {
  #footer .item1 p {
    white-space: nowrap;
    position: relative;
    margin-top: -20px;
    transform: translateX(-13%);
  }

  .oishida_link a {
    color: #fff;
    background-color: #bda67a;
    font-size: 10px;
    padding: 0.55em 1.3em;
    border-radius: 15px;
  }
}

@media screen and (max-width: 767px) {
  #footer {
    width: 100%;
    padding-top: 27%;
    margin-top: -50px;
    background-image: url(../img/index/footer/img_s.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    position: relative;
    z-index: 2;
  }

  #footer .Text_box {
    width: 82%;
    position: relative;
    bottom: 5vw;
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap: 0 4.7%;
  }

  #footer .item1 {
    width: 100%;
    margin: 0 auto 0vw;
    position: relative;
  }

  #footer h1 {
    width: 40%;
    margin: 0 auto 10vw;
  }

  #footer .item1 p {
    white-space: nowrap;
    position: absolute;
    left: 50%;
    margin: -10px auto 20px;
    margin-top: -10px;
    transform: translateX(-50%);
  }

  .oishida_link a {
    color: #fff;
    background-color: #bda67a;
    font-size: 14px;
    padding: 0.55em 1.3em;
    border-radius: 15px;
    margin: 0 auto;
  }

  #footer .official {
    width: 100%;
    margin: 0 auto -0.7vw;
  }

  #footer .address {
    width: 90%;
    margin: 0 auto -0.7vw;
  }

  #footer ul {
    width: 85%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 5%;
  }

  #footer li:nth-of-type(1) {
    width: 43%;
    margin-bottom: -0.7vw;
  }

  #footer li:nth-of-type(2) {
    width: 50%;
    margin-bottom: -0.7vw;
  }

  #footer li:nth-of-type(3) {
    width: 92.54%;
  }

  #footer .Copyright {
    width: 82%;
    position: relative;
    bottom: -4.5vw;
    left: 0;
    right: 0;
    margin: 0 auto 7.5vw;
  }

  #footer img {
    object-fit: contain;
  }
}

@media screen and (max-width: 500px) {
  #footer h1 {
    width: 40%;
    margin: 0 auto 13vw;
  }
}





.inline_block{
  display: inline-block;
}