@charset "UTF-8";

/* CSS Document */
:root {
  --corporate-color: #BA9F77;
  --background-color: #F5F7FA;
  --btn-color: #BFAA8B;
  --text-color: #333;
  --subtext-color: #9D9D9D;
  --border-color: #DDD;
}

html {
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  color: var(--text-color);
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

img {
  width: 100%;
}

main {
  margin-top: 96px;
}

@media(max-width:768px) {
  main {
    margin-top: 64px;
  }
}

/*************
header
*************/
header {
  background-color: #FFF;
  padding: 0 40px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.header_inner {
  margin: 0 auto;
  /* max-width: 1286px; */
  height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_logo {
  display: block;
  width: 400px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  margin-right: 72px;
}

nav ul li {
  font-weight: bold;
  color: var(--corporate-color);
}

nav ul li:not(:first-of-type) {
  margin-left: 42px;
}

nav ul li a {
  display: inline-block;
  position: relative;
  padding: 0 2px;
}

nav ul li a::after {
  content: "";
  position: absolute;
  background: linear-gradient(transparent 30%, #DCC881 160%);
  right: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  transition: all 0.2s;
}

nav ul li a:hover::after {
  right: 0;
  transition: all 0.2s;
}

nav .contact_btn {
  display: block;
  background-color: var(--corporate-color);
  border: 1px solid var(--corporate-color);
  color: #FFF;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s;
}

nav .contact_btn:hover {
  color: var(--corporate-color);
  background-color: #FFF;
  transition: all 0.3s;
}

#hbg_btn {
  display: none;
  width: 30px;
  height: 28px;
  cursor: pointer;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 999;
}

#hbg_btn span {
  display: block;
  position: absolute;
  width: 32px;
  height: 2px;
  background-color: var(--corporate-color);
  transform: translate(-50%, -50%);
  left: 50%;
  transition: all 0.3s;
}

.hbg_line1 {
  top: 10%;
}

.hbg_line2 {
  top: 50%;
}

.hbg_line3 {
  top: 90%;
}

#hbg_btn.close span {
  top: 50%;
  transition: all 0.3s;
}

#hbg_btn.close .hbg_line1 {
  transform: translate(-50%, -50%) rotate(135deg);
}

#hbg_btn.close .hbg_line2 {
  opacity: 0;
}

#hbg_btn.close .hbg_line3 {
  transform: translate(-50%, -50%) rotate(-135deg);
}

@media(max-width:1080px) {
  header {
    padding: 0 20px;
  }

  .header_inner {
    height: 64px;
  }

  .header_logo {
    width: 264px;
  }

  nav {
    position: fixed;
    top: -470px;
    right: 0;
    width: 100%;
    z-index: 20;
    background-color: #FFF;
    height: 454px;
    flex-direction: column;
    padding: 70px 0;
    transition: all 0.3s;
    box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.2);
  }

  nav.open {
    top: 0;
    height: 454px;
    min-height: fit-content;
    transition: all 0.3s;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    margin-right: 0;
  }

  nav ul li:not(:first-of-type) {
    margin-left: 0;
    margin-top: 40px;
  }

  nav .contact_btn {
    width: fit-content;
    margin: 40px auto 0;
  }

  #hbg_btn {
    display: block;
  }
}


/*************
TOPに戻るボタン
*************/
#top_btn {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  height: 48px;
  width: 48px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  z-index: 999;
  transition: all 0.3s;
}

#top_btn::after {
  content: "";
  position: absolute;
  top: 56%;
  left: 50%;
  height: 12px;
  width: 12px;
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/*************
スクロールで下から出現
*************/
.fadeUp {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/*************
下層ページぱんくず
*************/
.breadcrumb {
  background-color: var(--background-color);
  padding: 14px 0;
}

.breadcrumb ul {
  display: flex;
  max-width: 1286px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: flex-start;
  font-size: 12px;
  padding: 0 43px;
}

.breadcrumb ul li:not(:first-child) {
  margin-left: 24px;
  position: relative;
}

.breadcrumb ul li:not(:first-child)::before {
  content: ">";
  position: absolute;
  left: -16px;
  top: 0;
  font-weight: bold;
  color: var(--corporate-color);
}

.breadcrumb ul li {
  color: var(--subtext-color);
}

.breadcrumb ul li a {
  color: var(--corporate-color);
  font-weight: bold;
}

.breadcrumb ul li a:hover {
  text-decoration: underline;
}

@media(max-width:768px) {
  .breadcrumb ul {
    padding: 0 20px;
  }
}

/*************
下層ページH1
*************/
.h1_wrapper {
  background-color: var(--corporate-color);
  color: #FFF;
  padding: 32px 0;
}

.h1_box {
  display: flex;
  justify-content: space-between;
  padding: 0 43px;
  max-width: 1286px;
  margin: 0 auto;
  align-items: center;
}

h1.under {
  font-weight: bold;
  font-size: 24px;
  line-height: 1.3;
}

h1.under .h1_en {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
}

.h1_subtext {
  font-size: 16px;
  font-weight: bold;
  margin-top: 32px;
  line-height: 1.75;
}

.h1_image {
  max-width: 390px;
  margin-left: 64px;
  border-radius: 8px;
  overflow: hidden;
}

/*************
下層ページH2-吹き出しデザイン
*************/
.headline-balloon {
  display: inline-block;
  justify-content: center;
  position: relative;
  margin-bottom: 15px;
  padding: 0.4em 0.8em;
  border-radius: 8px;
  background-color: var(--corporate-color);
  color: #fff !important;
  font-size: 34px;
  font-weight: bold;
}

.headline-balloon::before {
  position: absolute;
  bottom: -19px;
  left: 48px;
  width: 32px;
  height: 20px;
  background-color: var(--corporate-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
}


@media(max-width:1024px) {
  .h1_image {
    margin-left: 32px;
  }
}

@media(max-width:768px) {
  .h1_box {
    flex-direction: column-reverse;
    padding: 0 20px;
    align-items: flex-start;
  }

  h1.under {
    font-size: 20px;
  }

  h1.under .h1_en {
    font-size: 32px;
  }

  .h1_subtext {
    margin-top: 16px;
    font-size: 14px;
  }

  .h1_image {
    margin: 0 auto 16px;
  }

  .headline-balloon {
    font-size: 20px;
  }

  .headline-balloon::before {
    position: absolute;
    bottom: -15px;
    left: 32px;
    width: 24px;
    height: 16px;
    background-color: var(--corporate-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
  }
}

/*************
下層ページ-h2吹き出し下テキスト、h3白背景ボックスFMT
*************/
.h2_sub_text {
  font-size: 20px;
  font-weight: bold;
  color: var(--corporate-color);
  margin-top: 32px;
  line-height: 1.9;
}

.white_box_wrapper {
  margin-top: 64px;
}

.white_box {
  display: flex;
  background-color: #fff;
}

.white_box+.white_box {
  margin-top: 32px;
}

.wb_pic {
  max-width: 360px;
}

.wb_pic img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.white_box.reverse {
  flex-direction: row-reverse;
}

.wb_text_wrapper {
  padding: 32px;
  flex: 1;
}

.wb_h3 {
  color: var(--corporate-color);
  font-size: 24px;
  font-weight: bold;
}

.fontMontserrat {
  font-family: 'Montserrat', sans-serif;
}

.wb_h3 .fontMontserrat {
  font-size: 28px;
  margin-right: 16px;
}

.wb_category {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: -8px;
}

.wb_category li {
  border: 1px solid var(--subtext-color);
  background-color: #F5F5F5;
  font-size: 14px;
  padding: 8px 16px;
  line-height: 1;
  margin-right: 8px;
  margin-bottom: 8px;
  border-radius: 8px;
}

.wb_text {
  margin-top: 24px;
  line-height: 1.9;
}

.content_contact_btn {
  margin-top: 64px;
  text-align: center;
}

@media(max-width:768px) {
  .h2_sub_text {
    font-size: 16px;
    margin-top: 16px;
  }

  .white_box,
  .white_box.reverse {
    flex-direction: column;
  }

  .wb_text_wrapper {
    padding: 16px;
  }

  .wb_h3 {
    font-size: 20px;
  }

  .wb_h3 .fontMontserrat {
    font-size: 22px;
  }

  .wb_text {
    margin-top: 16px;
    font-size: 14px;
  }

  .content_contact_btn {
    margin-top: 32px;
  }

  .wb_pic {
    max-width: 100%;
    height: 200px;
  }
}

/*************
セクションFMT
*************/


.container {
  padding: 128px 0;
  position: relative;
}

.container .inner {
  padding: 0 43px;
  max-width: 1286px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section_heading {
  display: block;
  font-size: 48px;
  font-weight: bold;
  color: var(--corporate-color);
  text-align: center;
  line-height: .8;
}

.section_sub_heading {
  font-size: 16px;
  color: #333333;
  position: relative;
  display: inline-block;
  padding: 10px 55px;
}

.section_sub_heading:before,
.section_sub_heading:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: #333333;
}

.section_sub_heading:before {
  left: 0;
}

.section_sub_heading:after {
  right: 0;
}

.sub_text {
  margin-top: 32px;
}

@media(max-width:768px) {
  .section_heading {
    font-size: 34px;
  }
  .section_sub_heading {
    font-size: 16px;
    padding: 0 55px;
  }

  .container {
    padding: 48px 0;
  }

  .container .inner {
    padding: 0 16px;
  }
}

/*************
青背景セクションFMT
*************/
.bg_blue {
  background-color: var(--corporate-color);
}

.bg_blue h2,
.bg_blue .sub_text {
  color: #FFF;
}

/*************
グレー背景セクションFMT
*************/
.bg_gray {
  background-color: var(--background-color);
}

.bg_gray h2,
.bg_gray .sub_text {
  color: var(--text-color);
}

/*************
ボタンFMT
*************/
.gold_btn {
  position: relative;
  display: inline-block;
  padding: 16px 48px 16px 24px;
  line-height: 1;
  background-color: #FFF;
  color: var(--btn-color);
  border: 1px solid var(--btn-color);
  transition: all 0.3s;
  width: 280px;
  text-align: center;
  font-weight: bold;
}

.gold_btn:after {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  border-top: 2px solid var(--btn-color);
  border-right: 2px solid var(--btn-color);
  transform: translateY(-50%) rotate(45deg);
  top: 50%;
  right: 24px;
  transition: all 0.3s;
}

.gold_btn:hover {
  background-color: var(--btn-color);
  color: #FFF;
}

.gold_btn:hover::after {
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
}

@media(max-width:768px) {
  .gold_btn {
    width: 100%;
    max-width: 280px;
  }
}

/*************
#contact
*************/

.contact_box {
  display: flex;
  justify-content: space-between;
  margin-top: 64px;
}

.contact_box li {
  background-color: var(--background-color);
  border-radius: 8px;
  width: 48%;
  padding: 32px 16px;
  text-align: center;
}

.contact_box li h3 {
  font-weight: bold;
  font-size: 24px;
}

.contact_tel_num {
  font-family: 'Montserrat', sans-serif;
  font-size: 35px;
  font-weight: bold;
  display: inline-block;
  position: relative;
  padding-left: 32px;
}

.contact_tel_num:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 26px;
  height: 34px;
  background-image: url(../img/icon_tel.svg);
  background-size: cover;
  transform: translateY(-50%);
}

.contact_tel_sub {
  font-size: 12px;
}

.contact_box .gold_btn {
  margin-top: 20px;
}

@media(max-width:768px) {
  .contact_box {
    flex-direction: column;
    margin-top: 32px;
  }

  .contact_box li {
    width: 100%;
  }

  .contact_box li h3 {
    font-size: 20px;
  }

  .contact_form {
    margin-top: 32px;
  }

  .contact_tel_num {
    font-size: 28px;
    padding-left: 32px;
  }

  .contact_tel_num:before {
    width: 26px;
    height: 34px;
  }
}

/*************
footer
*************/
footer {
  background-color: var(--corporate-color);
  color: #FFF;
  height: 45px;
  position: relative;
}

.copyright {
  font-size: 12px;
  position: absolute;
  top: 14px;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

/*************
メディアクエリ
*************/
.pc {
  display: block;
}

.sp {
  display: none;
}

@media(max-width:768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/*—————————————————————
  Responsive Grid Media Queries - 1280, 1024, 768, 480
   1280-1024   - デスクトップ
   1024-768    - タブレット横長
   768-480     - タブレット縦長
   480-less    - スマホ
——————————————————————*/
@media all and (min-width: 1024px) and (max-width: 1280px) {}

@media all and (min-width: 768px) and (max-width: 1024px) {}

@media all and (min-width: 480px) and (max-width: 768px) {}

@media all and (max-width: 480px) {}