@charset "uft-8";

:root {
    --primary-white: #FAFAFA;
    --primary-black: #181818;
    --primary-red: #B32425;
    --primary-yellow: #DCB009;
    --contentWidth: 91.4%;
    --contentPadding: 4.2%;
}

html {
    font-size: 62.5%;
}

body {
    font-family:
        "Shippori Mincho",
        "Noto Sans JP",
        serif;
    font-style: normal;
    font-weight: 400;
    color: var(--primary-black, #181818);
    background-color: var(--primary-white, #FAFAFA);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.topic {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 3.2rem;
    /* 133.333% */
    letter-spacing: 0.5em;
    display: inline-block;
    writing-mode: vertical-rl;
    text-align: center;
    margin: 0 auto;
}

/* ====================
scrollTo
 ====================*/
.topBtn {
    display: inline-block;
    padding: 18px;
    border-radius: 50%;
    background-color: #DCB009;
    color: #FAFAFA;
    font-size: 1.2rem;
    box-shadow: 2px 2px 4px 2px rgba(211,169,34);
    
    position: fixed;
    bottom: 11%;
    right: 5%;

}
/* ====================
header
 ====================*/
.header {
    display: block;

}

.background-container {
    display: none;
}


.content {
    max-width: 375px;
    height: 100vh;
    background-color: #FAFAFA;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow-y: auto;
    z-index: 1;
}

.container {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.header {
    background: rgba(250, 250, 250, 0.90);
    padding: 20px 5.3%;
    width: 100%;
    max-width: 375px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 100;
    position: relative;
}

.telephone_group {
    gap: 4px;
    margin: 0 auto;
}

.telephone_number {
    font-size: 1.4rem;
}

/* .nav初期表示 */
.nav {
    background: var(--primary-white, #FAFAFA);
    width: 100%;
    height: 100vh;
    max-width: 375px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__header {
    /* width: 100%; */
    max-width: 375px;
    display: flex;
    justify-content: space-between;
    height: 65px;
    /* padding: 0 0 0 5.3%; */
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(100%);
    background-color: #FFF; 
    transition: ease .4s;
    position: fixed;
    z-index: 300;
}

.logo__btn {
    display: none;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 131px;
    margin-left: 33px; 
    background-color: #FAFAFA;
}

.nav__item {
    display: flex;
    font-size: 2.0rem;
    line-height: 1;
    letter-spacing: 0;
    align-items: center;
    gap: 5px;
}

.nav__item__box {
    display: inline-block;
}

.shape__triangular {
    margin-right: 5px;
}



/* ハンバーガーメニュー */
.header__btn {
    display: block;
    width: 40px;
    height: 40px;
}

.hamburger {
    background-color: transparent; 
    border-color: transparent; 
    z-index: 999;
}

/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: relative;
    transition: ease .4s; /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
    display: block;
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  
  .hamburger span:nth-child(2) {
    margin: 8px 0;
  }
  
  .hamburger span:nth-child(3) {
    top: 0;
  }

/* .nav.active表示*/
.nav.active {
    transform: translateX(0);
}

 /* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
    transform: translateX(0);
}
  
.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}
  
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
  
.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}
  

/* ====================
footer
 ====================*/
.footer {
    padding: 102px 202px 77px 42px;
    position: relative;
    width: 100%;
    height: auto;
}

.footer::after {
    content: "";
    background-image: url(..//images/shamoji__cut__group.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    width: 135px;
    height: 285px;
    right: 39px;
    bottom: 0;
    margin-top: 25px;
}

.nav__list__2 {
    gap: 25px;
}

.footer__nav__item {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    text-align: left;
}

.footer__nav__item:nth-child(2),
.footer__nav__item:nth-child(3) {
    margin-top: 25px;
}

.copy {
    font-size: 1.2rem;
    line-height: 1;
    margin-top: 25px;
    text-align: left;
}

