* {
  padding: 0;
  margin: 0;
}

html {
  margin: 0;
  font-size: 16px;
  /*scroll-padding-top: 150px;*/
}

@media screen and (max-width: 1024px) {
  html {
    /*    scroll-padding-top: 12.7vw;*/
  }
}

body {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 400;
  box-sizing: border-box;
  color: #000;
}

a {
  cursor: hand;
  text-decoration: none;
  display: block;
  cursor: pointer;
  color: #000;
}

img {
  width: 100%;
}

/*a:hover,*/
a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

.section {
  overflow: hidden;
}

/*thin*/
.noto1 {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 100;
}
/*demilight-light*/
.noto3 {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 300;
}
/*regular*/
.noto4 {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 400;
}
/*Medium*/
.noto5 {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 500;
}
/*Bold*/
.noto7 {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 700;
}
/*Black*/
.noto9 {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 900;
}

/*regular*/
.sippo4 {
  font-family: "shippori-mincho", sans-serif;
  font-weight: 400;
}
/*Medium*/
.sippo5 {
  font-family: "shippori-mincho", sans-serif;
  font-weight: 500;
}
/*SemiBold*/
.sippo6 {
  font-family: "shippori-mincho", sans-serif;
  font-weight: 600;
}
/*Bold*/
.sippo7 {
  font-family: "shippori-mincho", sans-serif;
  font-weight: 700;
}
/*ExtraBold*/
.sippo8 {
  font-family: "shippori-mincho", sans-serif;
  font-weight: 800;
}

.tell-none {
  text-decoration: none !important;
}
/* ======================================
ローディング画面
========================================= */
.is-hide {
  display: none;
}
/* LOADING */
#loader-bg {
  background: #ffffff;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
#loader {
  height: 120px;
  left: 50%;
  margin-left: -60px;
  margin-top: -60px;
  position: fixed;
  top: 50%;
  width: 120px;
}
#loader p {
  color: #454545;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}
#loader p img {
  display: inline-block;
}

/* ======================================
下線ボタン
========================================= */
.a-animation-wh a,
.a-animation-bk a,
.a-animation-bl a {
  position: relative;
}

.a-animation-wh a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  bottom: -10px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.a-animation-bk a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #000;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.a-animation-bl a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #036eb8;
  bottom: -10px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.a-animation-wh a:hover::before,
.a-animation-bk a:hover::before,
.a-animation-bl a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

/* ======================================
コンテンツのタイトル
========================================= */
.all__title {
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
}

.all__title h2 {
  font-family: "shippori-mincho", sans-serif;
  font-weight: 700;
  font-size: 60px;
}

.all__title p {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  color: #1f7247;
}

@media screen and (max-width: 1024px) {
  .all__title {
    padding-top: 7%;
  }

  .all__title h2 {
    font-size: min(7vw, 50px);
  }

  .all__title p {
    font-size: min(5vw, 20px);
  }
}

/* ======================================
コンテンツのタイトル02
========================================= */
.all__title02 {
  text-align: center;
  padding: 4.5% 0px 3%;
}

.all__title02 h3 {
  font-family: "shippori-mincho", sans-serif;
  font-weight: 700;
  font-size: min(5vw, 40px);
  border-bottom: solid 2px #1f7247;
  padding-bottom: 0.8%;
  display: inline-block;
}

/* ======================================
各ページトップ
========================================= */
.top__wrapper {
  margin-top: 150px;
  position: relative;
}

.top__img {
  background-repeat: no-repeat;
  background-position: 0% 0%;
  background-size: cover;
  height: 41vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top__text h2 {
  font-size: min(11vw, 51px);
  font-family: "shippori-mincho", sans-serif;
  font-weight: 500;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 1), 0px 0px 10px rgba(255, 255, 255, 1), 0px 0px 10px rgba(255, 255, 255, 1);
  line-height: 1.2;
}

@media screen and (max-width: 1300px) {
  .top__wrapper {
    margin-top: 120px;
  }
}

@media screen and (max-width: 1024px) {
  .top__wrapper {
    margin-top: 12.7vw;
  }

  .top__img {
    background-position: 50% 0%;
    height: 65vw;
  }
}

/* ======================================
コンテンツの幅
========================================= */
.all__content {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ======================================
  ボタンハブ
========================================= */
.hub__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 90%;
  max-width: 1100px;
  margin: 40px auto;
}

.hub__box {
  width: 29%;
  margin: 20px 0px;
}

.hub__box a {
  color: #1f7247;
  border: solid 2px #1f7247;
  position: relative;
  font-size: 24px;
  font-family: "shippori-mincho", sans-serif;
  font-weight: 500;
  text-align: center;
  padding: 27px 0px;
}

.hub__box a::after {
  content: "";
  height: 12px;
  width: 12px;
  border-top: 2px solid #1f7247;
  border-right: 2px solid #1f7247;
  transform: translateY(50%) translateX(50%) rotate(135deg);
  position: absolute;
  right: 10%;
  bottom: 50%;
  transition: all 0.2s;
}

.hub__box:hover a::after {
  bottom: 40%;
}

@media screen and (max-width: 1024px) {
  .hub__content {
    margin: 7% auto;
  }

  .hub__box {
    width: 47%;
    margin: 2% 0px;
  }

  .hub__box a {
    border-width: 0.3vw;
    font-size: 3vw;
    padding: 10% 0px;
  }

  .hub__box a::after {
    height: 1.8vw;
    width: 1.8vw;
    border-width: 0.3vw;
  }
}

/* ======================================
お問い合わせのテーブル
========================================= */
.formTable {
  width: 100%;
  margin: 17% auto 1%;
  font-size: min(4vw, 18px);
}

.formTable tr th {
  border-bottom: solid 3px #efeff0;
  font-family: "shippori-mincho", sans-serif;
  font-weight: 800;
  width: 23%;
  white-space: nowrap;
  padding: 3% 1% 3% 0%;
}

.formTable tr th span {
  font-size: min(3vw, 12px);
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 400;
  background-color: #cc000e;
  color: #fff;
  padding: 0% 2% 1%;
  margin-right: 6%;
}

.formTable tr th .gray {
  background-color: #8a8a8a;
}

.formTable tr th p {
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.formTable tr td {
  background-color: #efeff0;
  border-bottom: solid 3px #fff;
  font-weight: 700;
  padding: 2% 3%;
}

.formTable tr td span {
  font-size: min(3vw, 14px);
}

.table-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.long-p {
  font-size: min(4vw, 16px);
  width: 100% !important;
  margin-bottom: 2%;
}

.table-flex p {
  width: 25%;
}

.formTable tr td select {
  appearance: none;
  padding: 12% 44% 10% 15%;
  border: none;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
}

.formTable tr td .select-box {
  position: relative;
  display: inline;
}

.formTable tr td .select-box::after {
  content: "";
  border-right: solid 2px #8a8a8a;
  border-top: solid 2px #8a8a8a;
  height: 11px;
  width: 11px;
  position: absolute;
  right: -45%;
  top: 30%;
  transform: rotate(135deg);
  transition: transform 0.2s ease-in-out, top 0.2s ease-in-out;
}

.textbox {
  width: 71%;
  padding: 2% 2%;
  border: none;
  font-size: min(4vw, 16px);
}

.textarea {
  width: 94%;
  padding: 3%;
  border: none;
  height: 100px;
  font-size: min(4vw, 16px);
}

.contact__textbox {
  font-size: min(3vw, 14px);
  line-height: 1.8;
}

.button {
  font-family: "Noto Sans JP", sans-serif;
  font-size: min(4vw, 24px);
  text-align: center;
  text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
  font-weight: 700;
  color: #fff;
  background-color: #1f7247;
  display: block;
  border: none;
  outline: 0;
  cursor: pointer;
  padding: 5%;
  width: 100%;
  transition: 0.3s;
  border: solid 5px #1f7247;
  border-radius: 8px;
}

.button_wrap {
  margin: 7% auto 13%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54%;
}

.button:hover {
  background-color: #fff;
  color: #1f7247;
}

@media screen and (max-width: 1024px) {
  .formTable {
    margin-top: 7%;
  }

  .formTable tr {
    display: flex;
    flex-wrap: wrap;
  }

  .formTable tr th {
    width: 94%;
    background-color: #efeff0;
    padding: 3%;
  }

  .formTable tr th span {
    padding: 1% 2%;
  }

  .formTable tr td {
    width: 94%;
    background-color: #fff;
    border-bottom: solid 0.3vw #efeff0;
    padding: 4% 3%;
  }

  .formTable tr td .select-box {
    width: 100%;
  }

  .formTable tr td select {
    border: solid 0.2vw #efeff0;
    padding: 3%;
  }

  .formTable tr td .select-box::after {
    content: none;
  }

  .table-flex p {
    width: 100%;
    margin-bottom: 2%;
  }

  .textbox {
    border: solid 0.2vw #efeff0;
  }

  .textarea {
    border: solid 0.2vw #efeff0;
    height: 10vw;
  }
}

/* ======================================
ページ送り
========================================= */
.pagination__wrapper {
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 97px auto;
  background-color: #f1f5f7;
  padding-right: 25px;
}

.pagination-number,
.prev,
.next {
  width: 80px;
  height: 60px;
  background: #fff;
  font-size: 24px;
  font-weight: 600;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 8px;
}

.pagination-number:hover {
  background: rgba(201, 201, 201, 0.8);
}

/*クリックした時用*/
.pagination-number__activ {
  color: #036eb8;
}

@media screen and (max-width: 1024px) {
  .pagination__wrapper {
    margin: 7% auto;
    padding-right: 3.5%;
  }

  .pagination-number,
  .prev,
  .next {
    width: 10.5vw;
    height: 7.8vw;
    font-size: 3vw;
    margin: 3% 1%;
  }
}

/* ======================================
ブレイクポイント
========================================= */
.bp1024,
.bp768,
.bp425 {
  display: none;
}

.sp_on {
  display: none;
}

@media screen and (max-width: 1024px) {
  .bp1024 {
    display: block;
  }

  .pc_on {
    display: none;
  }

  .sp_on {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .bp768 {
    display: block;
  }
}

@media screen and (max-width: 425px) {
  .bp425 {
    display: block;
  }
}
