@charset "UTF-8";

a{
  text-decoration: none;
}


/* =========================
   Header
========================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;

}


.header-inner {
    position: relative;
    z-index: 1;
    max-width: 100%;

    margin: 0 auto;
    padding: 22px 0;  /* ★左右に少し余裕 */
    margin-left: 2%;
    margin-right: 2%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* スクロール後だけ詰める */
.site-header.is-dark .header-inner {
    padding: 10px 0 10px;
}
.logo{
    width: 180px;
    height: 36px;
}
.logo-image{
    display: inline-block;
    height: 32px;
}

.logo img{
    max-width: 180px;
    width: 100%;
}
/* =========================
   MENU BUTTON
========================= */
.menu-button{
  width:48px;
  height:48px;
  border:none;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

/* =========================
   アイコン本体
========================= */
.menu-icon{
  position:relative;
  width:26px;
  height:18px;
}

/* 全ライン共通 */
.menu-icon::before,
.menu-icon::after,
.menu-icon span{
  content:"";
  position:absolute;
  left:0;
  height:2px;
  background:var(--color-text);
  border-radius:999px;
  transition:0.4s cubic-bezier(.22,1,.36,1);
}

/* 中央ライン（←これ重要） */
.menu-icon span{
  display:block;
  top:50%;
  transform:translateY(-50%);
  width:100%;
}

/* 上 */
.menu-icon::before{
  top:0;
  width:70%;
}

/* 下 */
.menu-icon::after{
  bottom:0;
  width:50%;
}

/* =========================
   ×変形
========================= */
.menu-open .menu-icon::before{
  width:100%;
  transform:rotate(45deg);
  top:50%;
}

.menu-open .menu-icon span{
  opacity:0;
}

.menu-open .menu-icon::after{
  width:100%;
  transform:rotate(-45deg);
  top:50%;
}
/* =========================
   Slide Menu
========================= */
.slide-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-body);
    transition: right 0.45s ease;
    z-index: 2500;

    display: flex;
    flex-direction: column;
    padding: 80px 20px;
}
.nav-inner{
    position: relative;
    padding: 20px 20px;
    margin-top: 50px;
}



.slide-menu.open{
    right:0;
}

.slide-menu-list{
    list-style-type: style decimal-leading-zero;;
    text-align:center;
}
.slide-menu-p{
    text-align: center;
    margin-bottom: 10px;
}

.slide-menu-list li{
    margin-bottom:22px;
}

.slide-menu-list a{
    font-size:18px;
    letter-spacing:0.15em;
    color:var(--color-bg);
}
.slide-contact-btn{
  display: block;
  width: fit-content;

  margin: 30px auto;

  padding: 12px 34px;

  background: transparent;
  color: var(--color-primary);

  border: 1.5px solid var(--color-primary);

  font-size: 13px;
  letter-spacing: 0.15em;

  transition: all 0.3s ease;
}
.slide-contact-btn:hover{
  background: var(--color-primary);
  color: var(--color-text-white);

  transform: translateY(-2px);
}

.slide-menu-sns{
    text-align: center;
}

/* =========================
   MENU OPEN時：色反転
========================= */

/* ロゴを白に */
.menu-open .text-logo,
.menu-open .text-logo span {
    color: var(--color-text-white);
}

/* メニューボタンを白に */
.menu-open .menu-button {
    background: var(--color-text-white);
}

/* 三本線を青に */
.menu-open .menu-icon,
.menu-open .menu-icon::before,
.menu-open .menu-icon::after {
    background: var(--color-primary);
}

/* MENU / CLOSE文字を青に */
.menu-open .menu-label {
    color: var(--color-primary);
}

/* × 表示時：真ん中の線は消す */
.menu-open .menu-icon {
    background: transparent !important;
}

/* =========================
   MENU OPEN時：ヘッダー背景の白を消す
========================= */
.menu-open .site-header::before {
    background: transparent;
}

/* =========================
   MENU VISUAL
========================= */

.slide-menu-visual{
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    margin-top: 90px;
}

.slide-menu-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* メインカラー透け */
.slide-menu-overlay{
    position:absolute;
    inset:0;
    background:var(--color-primary);
    opacity:0.8;
}

/* MENU文字 */

.slide-menu-title{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;

    color:var(--color-text-white);
    font-size:25px;
    letter-spacing:0.2em;
    font-weight:700;
}


/* ===== Slide Menu SNS ===== */
.slide-menu-sns {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
}

.slide-menu-sns a {
    display: flex; /* ← inline-flexやめる */
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    border-radius: 10px;

    transition: transform 0.3s ease, opacity 0.3s ease;
}
.slide-menu-sns img{
  width: 85%;
  height: 85%;
  object-fit: contain;
  display: block;

}
.slide-menu-sns a:hover {
    transform: translateY(-4px);
    opacity: 0.8;
}
/* メニュー開いてる時は最優先 */
.menu-open .site-header {
    background: transparent !important;
    box-shadow: none !important;
}


/* =========================
   PC HEADER
========================= */

.pc-menu{
    display:flex;
    align-items:center;
    gap:32px;
    justify-self:end;
}

.pc-menu-list{
    display:flex;
    gap:20px;
    list-style:none;
}

.pc-menu-list a{
    position: relative;
    font-size: 18px;
    letter-spacing: 0.08em;
    color: var(--color-text);
    text-decoration: none;
    
}

/* 下線 */
.pc-menu-list a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px; /* 少し下に出すとおしゃれ */
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

/* ホバーで左→右に伸びる */
.pc-menu-list a:hover::after{
    width: 100%;
}

.pc-sns{
    display:flex;
    gap:15px;
    align-items: center;
}
.pc-sns a{
    width:30px;
    height:30px;
}

.pc-sns img{
    width:30px;
    height:30px;
}

.pc-contact-btn{
    padding: 10px 30px;
  background: transparent;
  color: var(--color-primary);

  border: 1.5px solid var(--color-primary);

  font-size: 18px;
  letter-spacing: 0.15em;

  transition: all 0.3s ease;
}
.pc-contact-btn:hover{
  background: var(--color-primary);
  color: var(--color-text-white);

}

/* =========================
   スクロール後（黒ヘッダー）
========================= */

/* ヘッダー全体 */
.site-header {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ★ここが重要：paddingもアニメーションさせる */
.header-inner {
    transition: padding 0.35s ease;
}
/* スクロール後 */
.site-header.is-dark{
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.site-header.is-dark .pc-menu-list a{
    color: var(--color-text);
}

/* 下線も黒に */
.site-header.is-dark .pc-menu-list a::after{
    background: var(--color-text);
}


@media (max-width: 1000px){

.pc-menu{
    display:none;
}

}

@media (min-width: 1000px){

.menu-button{
    display:none;
}

}





@media (max-width: 768px) {
.pc-menu{
display:none;
}

.header-inner{
    padding: 10px 0 10px;  /* ★左右に少し余裕 */
    margin-left: 5%;
    margin-right: 5%;
}
.menu-open .header-inner{
grid-template-columns:auto auto;
/* background-color: var(--color-text-white); */
}

    /* メニュー文字を小さく */
    .slide-menu-list a {
        font-size: 22px;
        letter-spacing: 0.15em;
        line-height: 1em;
    }




    .menu-button {
        width: 48px;
        height: 48px;
        gap: 8px;
    }

    .menu-label {
        font-size: 8px;
    }
    .slide-menu-list li:not(:last-child) {
    margin-bottom: 18px;
}

.logo{
    width: 140px;
    height: 28px;
}
.logo-image{
    display: inline-block;
    height: 32px;
}

.logo img{
    max-width: 140px;
    width: 100%;
}

/* =====================
 全体を2カラムにする
===================== */
.slide-menu{
  display:grid;
  grid-template-columns: 20% 80%;
  padding:0; /* ←今のpadding消す */
}

/* =====================
 左：縦写真
===================== */
.slide-menu-visual-sp{
  width:100%;
  height:100vh;
  overflow:hidden;
}

.slide-menu-visual-sp img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* =====================
 右：コンテンツ
===================== */
.nav-inner{
  padding:80px 20px 40px;
  margin-top:0;
}

/* =====================
 左揃えに変更（重要）
===================== */
.slide-menu-list{
  text-align:left;
  padding: 20px 0 0 20px;
}

.slide-menu-list a{
  display:block;
  text-align:left;
}

/* CONTACTも左寄せ */
.slide-contact-btn{
  margin:30px 0;
}

/* SNSも左寄せ */
.slide-menu-sns{
  justify-content:flex-start;
}

/* =====================
 少し余白でおしゃれに
===================== */
.nav-inner{
  padding-left:30px;
}
}

