@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/*
  ブレイクポイント
  PC:   1920x1080 
  @media screen and (min-width: 1024px)
  TAB:  768x1024
  @media screen and (max-width: 1023px)
  SP:   390x844
  @media screen and (max-width: 767px)
*/

/* constant */ 
:root {
  --main-color: #a4c8c7;
  --sub-color01: #b5b5b5;
  --sub-color02: #f9d5e5;
  --font-color-text: #333333;
  --font-color-heading: #333333;
  --bg-color: #fce8f0;
  --border-color: #999999;
  --bg-gray: #fafafa;
  --font-family: 'BIZ UDPGothic', 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
  --font-family-en: 'Red Hat Display', 'BIZ UDPGothic', 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
  --container-width: 1200px;
}

/*layout*/
body {
  font-family: var(--font-family);
  color: var(--font-color-text);
  background: var(--bg-color);
  font-size: clamp(1.4rem, calc(1.3rem + 0.25vw), 1.6rem);
  letter-spacing: 0.1em;
  line-height: 1.8;
}
main{
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}
p{
  margin: 0;
}
.container {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: calc(var(--container-width) + 20px);
  padding: 0 10px;
}
section {
  position: relative;
  padding: 80px 0;
}
.flex{
  display: flex;
  &.reverse{
    flex-direction: row-reverse;
  }
}
.btn{
  background: #000;
  color: #fff;
  text-align: center;
  padding: 15px 40px;
  display: block;
  position: relative;
  width: 300px;
  margin: 0 auto;
  span{
    color: #818888;
    font-family: var(--font-family-en);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2rem;
    margin-left: 15px;
    font-size: 12px;
    vertical-align: middle;
  }
  &::after{
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    right: 30px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    transform-origin: top center;
  }
}
.button-container{
  text-align: center;
}

.breadcrumb{
  text-align: right;
  padding: 10px 0;
  font-size: clamp(10px, calc(8px + 0.5vw), 14px);;
}
h2{
  text-align: center;
  font-size: clamp(1.8rem, 1.145rem + 3.27vw, 3.6rem);
  margin-bottom: 40px;
}
@media screen and (max-width:1023px) {
  section{
    padding: 35px 0;
  }
  .container{
    padding: 0 30px;
  }
}
@media screen and (max-width: 767px){
  body{
    font-size: 1.4rem;
  }
  section{
    padding: 40px 0;
  }
  .container{
    padding: 0 15px;
  }
  .flex{
    flex-direction: column;
    &.reverse{
      flex-direction: column;
    }
  }
}

/* header */
#header{
  .container{
    height: 90px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .logo{
      a{
        display: block;
      }
    }
    nav{
      .global-nav{
        display: flex;
        gap: 3vw;
        a{
          font-weight: 600;
          @media screen and (max-width: 767px){
          width: 100%;
          display: block;
          font-size: 120%;
          padding: 10px 0;
          }
        }
      }
    }
  }
}
/* ハンバーガーメニュー */
#humburger{
  display: none;
}
@media screen and (max-width: 767px){
  #header {
    .container{
      height: 60px;
    }
    .drawer-nav-wrapper {
      display: block;
      position: fixed;
      background: var(--sub-color02);
      top: 60px;
      right: calc(-100% - 20px);
      z-index: 99999;
      transition: all 0.5s;
      max-width: 80vw;
      padding: 40px 40px 100px;
      height: 100vh;
      &.open{
        right: 0;
      }
      .global-nav {
        flex-direction: column;
        gap: 20px 0;
        padding-bottom: 40px;
        margin-bottom: 20px;
        li{
          border-bottom: 2px dotted var(--border-color);
        }
      }
    }
  }
  #humburger {
    cursor: pointer;
    display: block;
    width: 35px;
    height: 100%;
    > span {
      display: inline-block;
      transition: transform .2s, opacity .2s;
      will-change: transform;
      position: absolute;
      right: 35px;
      height: 2px;
      background: var(--font-color-text);
      width: 40px;
      perspective: 1000;
      border-radius: 3px;
      &:nth-of-type(1) {
        top: calc(50% - 11px);
      }
      &:nth-of-type(2) {
        top: 50%;
        width: 30px;
        right:40px;
      }
      &:nth-of-type(3) {
        top: calc(50% + 11px);
      }
    }
    &.active{
      > span{
        &:nth-of-type(1) {
          transform: translateY(-3px) rotate(45deg);
          transform-origin: left top 0;
        }
        &:nth-of-type(2) {
          opacity: 0;
        }
        &:nth-of-type(3) {
          transform: translateY(3px) rotate(-45deg);
          transform-origin: bottom left 0;
        }
      }
    }
  }
}
@media screen and (max-width: 767px){
  #header .drawer-nav-wrapper{
    width: 100vw;
    height: 100vh;
  }
  #header .drawer-nav-wrapper.open {
    width: 100vw;
    height: 100vh;
  }
  #humburger > span {
    right: 20px;
    width: 35px;
  }
  #humburger > span:nth-of-type(1) {
    top: calc(50% - 9px);
  }
  #humburger > span:nth-of-type(2) {
    top: 50%;
    width: 28px;
    right:23px;
  }
  #humburger > span:nth-of-type(3) {
    top: calc(50% + 9px);
  }
}
/* footer */
#footer{
  background-color: var(--main-color);
  margin-top: 180px;
  padding-top: 120px;
  position: relative;
  #toTop{
    display: none; 
    opacity: 0;
    position: fixed;
    z-index: 90;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    transition: opacity 0.3s ease-in-out;
    &.show{
      display: block;
      opacity: 1;
    }
    a{
      color: #fff;
      background: var(--sub-color01);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      span{
        font-size: 50px;
      }
    }
  }
  .scroll-container{
    color: var(--sub-color01);
    top: -70px;

  }
  .footer-navArea{
    .footer-logo{
      a{
        max-width: 500px;
        display: block;
        width: 100%;
        height: 100%;
        margin: 0 auto 60px;  
      }
    }
    .footer-nav{
      display: flex;
      justify-content: center;
      gap: 5px 60px;
      font-weight: 600;
      margin-bottom: 80px;
    }
  }
  .copyright{
    padding: 10px 10px 80px;
    text-align: center;
    font-size: clamp(9px, calc(7.5px + 0.375vw), 12px);
    font-family: var(--font-family-en);
    background-color: #000;
    color:#fff;
  }
  @media screen and (max-width: 767px){
    margin-top: 100px;
    padding-top: 60px;
    .scroll-container{
      top: -50px;
    }
    .footer-navArea{
      .footer-logo{
        a{
          width: 40%;
          margin: 0 auto 20px;
        }
      }
      .footer-nav{
        flex-wrap: wrap;
        margin-bottom: 20px;
      }
    }
    .copyright{
      padding: 10px 10px 40px;
    }
  }
}

/*オリジナル追記*/
.txtbg{
	background:linear-gradient(transparent 60%, #ff6 60%);
	}
