@charset "utf-8";

/* 汎用 */
body{
    margin: 0;
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
h1, h2, h3, h4, p, dd, ul{
    padding: 0;
    margin: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

.main{
  padding: 93px 0 0;
}

/* 基本スタイル */
.header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 5;
}
.header-inr {
  max-width: 1024px;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header-logo a{
    display: block;
}

.header-logo img {
}

.global-nav {
  display: flex;
}
.global-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 30px;
}
.global-nav-list-item a {
    font-size: 16px;
    text-decoration: none;
    color: #333;
    display: block;
    position: relative;
    text-align: center;
}

.global-nav-list-item a span{
    display: inline-block;
    position: relative;
}

.global-nav-list-item a:hover span:after {
    width: 100%;
}

.global-nav-list-item a span:after {
    width: 0;
    height: 3px;
    content: "";
    background: rgb(244, 117, 117);
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    margin: auto;
    transition: all .2s;
}

.global-nav-list-item a.current span:after{
    width: 100%;
}
.global-nav-list-item .btn-inq{
  display: inline-block;
  padding: 5px 20px;
  box-sizing: border-box;
  background: #f47575;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  transition: all .2s;
}

.global-nav-list-item .btn-inq:hover{
  opacity: 0.8;
}


/* ハンバーガー初期非表示 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 50px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: rgb(240 174 174);
  border-radius: 2px;
}

/* ====== レスポンシブ対応 ====== */
@media (max-width: 768px) {
  .main{
    padding: 70px 0 0;
  }
    .header{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 3;
    }
    .header.is-active{
      height: 100vh;
    }
    .header-inr {
        max-width: none;
        padding: 0;
    }
    .header-box{
        width:100%;
        padding: 10px;
        box-sizing: border-box;
        background: #fff;
        position: relative;
        z-index: 3;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header-logo{
        width: 80px;
    }

    .header-logo img{
        width: 100%;
    }
    .global-nav{
        
    }
  .hamburger {
    display: flex;
    z-index: 3;
  }

  .global-nav {
    position: absolute;
    top: 8.4vh;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
    transform: translateY(-100vh);
    transition: transform 0.6s ease;
    z-index: 2;
    opacity: 0;
  }

  .global-nav-list {
    width: 100%;
    flex-direction: column;
    padding:0;
    margin: 0;
    gap: 0;
    justify-content: flex-start;
  }

.global-nav-list li{
    width: 100%;
    flex-direction: column;
    padding:0;
    gap: 0;
    text-align: center;
  }

  .global-nav-list li a{
    padding: 20px 0;
    font-size: 18px;
  }

  .global-nav-list-item {
    padding: 12px 20px;
    border-bottom: 2px solid #eee;
  }

    .global-nav-list-item:last-child {
        border-bottom: none;
    }

    .global-nav-list-item:last-child img{
        width: 160px;
    }
    .global-nav-list-item .btn-inq{
      font-size: 18px;
    }

  /* ナビ開いた時 */
  header.is-active .global-nav {
    transform: translateY(0);
    opacity: 1;
  }
}

header.is-active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translateX(8px) translateY(5px);
}
header.is-active .hamburger span:nth-child(2) {
  opacity: 0;
}
header.is-active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translateX(11px) translateY(-9px);
}
.hamburger span {
  transition: all 0.3s ease;
}

/* 基本スタイル */
.footer {
  width: 100%;
  background: rgb(241, 240, 230);
  padding: 30px 0 20px;
  box-sizing: border-box;
  margin: 0 auto 0;
  text-align: center;
}

.footer-inr {
  max-width: 1024px;
  margin: 0 auto;
}

.footer-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin:0 auto 0;
}

.footer-list li{
    position: relative;
    margin: 0 0 0 40px;
}

.footer-list li:first-child{
    margin: 0;
}

.footer-list li a{
    width: 215px;
    display: block;
}

.footer-list li:first-child:after{
    display: none;
}

.footer-list li:after{
    width: 2px;
    height: 50px;
    content: "";
    position: absolute;
    top: 0px;
    left: -30px;
    border-left: 2px solid rgb(197, 197, 192);
}

.footer-list li img {
  max-width: 100%;
  height: auto;
}

.footer-copy{
    margin: 20px auto 0;
    padding: 0;
}

.footer-copy small {
  font-size: 12px;
  color: #666;
}

/* レスポンシブ対応：スマホ用 */
@media (max-width: 768px) {
    .footer{
        padding: 15px 0;
    }
  .footer-list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-copy {
    font-size: 12px;
    margin: 0 auto 0;
  }
}

.btn-pagetop{
  width: 50px;
  height: 50px;
  border: 1px solid #000;
  content: "";
  border-radius: 100%;
  position: fixed;
  bottom: 30px;
  right: 20px;
  background: #fff;
}

.btn-pagetop a{
  width: 50px;
  height: 50px;
  display: block;
}

.btn-pagetop a:before {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    transform: rotate(-45deg);
    display: block;
    width: 18px;
    height: 18px;
    content: "";
    border: 1px solid #000;
    border-width: 1px 1px 0px 0px;
    margin: auto;
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}

