*{
    margin: 0;
    padding: 0;
}

/* --- Header Overall --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center; /* 上下中央揃え */
  justify-content: space-between; /* ロゴとナビを両端に */
  width: 100%;
  box-sizing: border-box; /* paddingを幅に含める */
  padding: 20px 5%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 100;
}

.header-logobox {
    /* display: flex; */
    width: fit-content;
    /* padding-top: 1%;
    padding-left: 5%;
    padding-right: 5%; */
}


/* --- Logo --- */
.header-logobox h1 a {
    display: block;
  text-decoration: none;
  font-size: 1.8vw;
  /* line-height: 3; */
  color: #334155;
  font-weight: bold;
}

/* --- PC Navigation --- */
.NavMenu {
  /* PCでは画面外に飛ばさない！ */
  display: block;
  position: static;
  width: 40%;
  transform: none;      
  background: none;
}

.NavMenu ul {
  display: flex;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.NavMenu ul li {
    width: calc( 100% /3);
  border: none;
  text-align: center;
}

.NavMenu ul li a {
  text-decoration: none;
  color: #334155;
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.3s;
}

.NavMenu ul li a:hover {
  opacity: 0.6;
}

/* --- PCではハンバーガーボタンを出さない --- */
.Toggle {
  display: none;
}

/* フッター全体：背景色はアーチの外側の色（前のセクションの色）に合わせると自然です */
footer {
    background-color: inherit; /* 前のセクションが白なら白にする */
    padding: 0; /* 余計な隙間をなくす */
}

/* コンタクトセクション：ここに直接グラデーションと切り抜きを適用 */
.footer-contact {
    text-align: center;
    padding: 12vw 5% 8vw; /* 上下の余白をvwで、左右を%で指定 */
    
    /* グラデーションを直接指定 */
    background: linear-gradient(135deg, #cce0f0 0%, #e8d8c8 100%);

    /* 楕円形で切り抜く命令 */
    /* ellipse(横の半径 縦の半径 at 中心位置X 中心位置Y) */
    clip-path: ellipse( 90% 100% at 50% 100%);
}

/* 白抜き文字：CONTACT*/
.footer-contact-title {
    font-family: 'Tenor Sans', sans-serif;
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
    margin: 1vw 0;
}

.footer-contact-button {
    width: 25%;
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.4vw;
}

.footer-contact-inner a {
    display: block;
    border:  2px solid #FFF;
    /* transparentは透明色
    ホバー時に枠線を入れると、下の要素がずれるので、あらかじめ透明の枠線をいれて下の要素のずれを防止した。 */
    text-align: center;
    border-radius: 0.6vw;
    line-height: 2.6;
    text-decoration: none;
    color: #8ca8c0;
    background-color: #FFF;
    transition: 0.3s;
} 


.footer-contact-inner a:hover {
    border:  2px solid #cce0f0;
    border-radius: 0.6vw;
    background-color: #cce0f0;
    color: #fff;
    transition: 0.3s;
    /*  transitionは変化に時間をかけるプロパティ。1s=1秒 */
}

/* 下部のナビゲーションエリア */
.footer-flexbox {
    display: flex;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 3%;
    padding-right: 5%;
    background-color: #F8F7F3; /* ここをアーチの下端の色に合わせると綺麗です */

}

.footer-flexbox ul {
    display: flex;
    width: 40%;
    list-style: none;
    /* 黒丸（マーカー）の削除 */
}

.footer-flexbox ul li {
    width: calc( 100% / 3);
    border-left: 1px solid #8ca8c0;
}

.footer-flexbox ul li:last-child {
    border-right: 1px solid #8ca8c0;
}

.footer-flexbox ul li a {
    display: block;
    text-align: center;
    text-decoration: none;
    line-height: 1.8;
    color: #333333;
    transition: 0.3s;
}

.footer-flexbox ul li a:hover {
    color: #8ca8c0;
    transition: 0.3s;
}

.footer-flexbox p {
    margin-left: auto;
}

/* TOPに戻るボタン */
.top-btn {
    display: block;
    text-decoration: none;
    display: flex;
    position: fixed;
    right: 60px;
    bottom: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #334155;
    border: 1px solid #334155;
    font-size: 1.2vw;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: 0.5s;
}

.top-btn::before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    border-top: 1px solid #334155;
    border-right: 1px solid #334155;
    transform: rotate(-45deg);
}

.top-btn:hover {
    background-color: #334155;
    color: #FAF9F6;
    transform: 0.5s;
}

.top-btn:hover::before {
    border-top: 1px solid #FAF9F6;
    border-right: 1px solid #FAF9F6;
    transform: 0.5s;
}