@charset "UTF-8";

html {
  font-size: 62.5%;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro";
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: .8px;
  color: #d0513f;
  background-color: #f5eee9;
}

a {
  text-decoration: none;
}

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

.wrapper {
width: 100%;
}

/* -----------------header---------------- */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 99;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  align-items: center;
  height: 80px;
}
.header-logo {
  width: 60px;
}

/* nav ul{
  display: flex;
  font-size: 2.6rem;
} */

nav ul li{
  margin-left: 36px;
}

nav ul li a{
color: #2b2b2b;
font-family: "fot-chiaro-std", sans-serif;
font-weight: 700;
font-style: normal;
}




/* 矢印 */

.yazirusi {
  display: inline-flex;
  transform: rotate(90deg);
  margin-right: 5px;
} 
.yazirusi::after {
  content: '';
  width: 50px;
  height: 15px;
  border-bottom: solid 1px;
  border-left: solid 1px;
  transform: skew(-45deg);
  color: #f5eee9;
}

.page-top {
margin: 60px 0 0 auto;
    width: 80px;
    height: 80px;
    text-align: -webkit-right;
    line-height: 100px;
    border-radius: 50%;
    border: solid 1px #f5eee9;
}


/* ----------------------------footer */
.footer {
  padding: 15px;
  background-color: #F5EEE9;
}

.complete {
  text-align: center;
  font-weight: 800;
}


/*-------------------- レスポンシブ 対応 
----------------------------------------*/

	/*ハンバーガーメニューのリスト（スマホ用）を非表示*/
/* .header-nav_sp {
  display: none;
} */


/**********************************　
以下、ハンバーガーメニューの設定　
************************************/


 
  /* .header-nav_pc {
    display: none;	/*ヘッダーのグローバルメニューのリスト（パソコン用）を非表示*/
   /* nav ul li {
    margin-left: 0px;
    margin: 0 auto;
  } */


  .menu-wrapper {
  position: relative;
}

.menu-icon {
  width: 40px;
  height: 30px;
  position: fixed; /* ← fixedにして常に左上固定 */
  top: 20px;
  right: 30px;
  cursor: pointer;
  z-index: 3;
  display: inline-block;
}

.menu-icon span {
  display: block;
  height: 4px;
  margin: 6px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.4s;
}

/* ハンバーガーがXに変形 */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* オーバーレイ背景 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 1;
}

#menu-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* メニュー本体（左から出す） */
.menu {
  position: fixed;
  top: 0;
  right: -40%; /* ← 初期位置を左へ */
  width: 40%;
  height: 100%;
  background: #f5eee9;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  transition: left 0.4s ease;
  z-index: 2;
}

#menu-toggle:checked ~ .menu {
  right: 0; /* ← 開いたときは左0へ */
}

.menu ul {
  list-style: none;
  padding: 60px 20px;
}

.menu li {
  margin: 20px 0;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 1.8rem;
  transition: color 0.3s;
}

.menu a:hover {
  color: #007bff;
}

