@charset "utf-8";


/*==========================
common
==========================*/



:root {
    --Title_blue: #362774;
    --txt_blue: #1B1437;
    --white: #F1F5F8;
}

html {
    font-size: 62.5%;
}

body {
    font-family:
        'Zen Old Mincho',
        'Zen Kaku Gothic Antique',
        'Plus Jakarta Sans',
        sans-serif;
    font-style: normal;
    color: var(--txt_blue);
    background-color: #DDE3EA;
    line-height: 1.5;
}

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


@media screen and (min-width: 505px) and (max-width: 600px) {
    html {
        font-size: 70%; 
    }
}

@media screen and (min-width: 601px) and (max-width: 768px) {
    html {
        font-size: 80%; 
    }
}


/* 769px 〜 1024px くらいの「中くらい画面」の時だけ */
@media screen and (min-width: 769px) and (max-width: 837px) {
    html {
        font-size: 32%; 
    }
}

@media screen and (min-width: 837px) and (max-width: 1024px) {
    html {
        font-size: 35%; 
    }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
    html {
        font-size: 44%; 
    }
}

@media screen and (min-width: 1200px) and (max-width: 1439px) {
    html {
        font-size: 52%; 
    }
}

/* 1440px以上（大きなPCモニター用） */
@media screen and (min-width: 1440px) {
    html {
        /* 
           vwで滑らかに大きくしつつも、
           テレビとかで見た時に「62.5%（10px相当）」を超えないようにキャップをかける
        */
        font-size: clamp(52%, 4.5vw, 62.5%);
    }
}




/*==========================
header
==========================*/

.header {
  padding: 0px 4.1%;
  display: flex;
  justify-content: space-between;
  position: fixed;
  align-items: center;
  background-color: var(--white);
  width: 100%;
  z-index: 10000;
}

.logo {
    width: 66px;
    height: 66px;
    display: block;
}


.header__btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--Title_blue); 
    border-radius: 2px;
    transform-origin: 50% 50%;
    transition: transform .25s ease, top .25s ease, opacity .2s ease;
}

.header__btn {
    position: fixed; /* ← 重要：ヘッダーのレイアウトに影響されない */
    top: 4.1%;
    right: 4.1%;
    width: 28px;
    height: 22px;
    z-index: 1001;         /* .nav より上 */
    display: inline-block;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;

}


.header__btn span:nth-child(1) { top: 0; }
.header__btn span:nth-child(2) { top: 10px; }
.header__btn span:nth-child(3) { top: 20px; }

.header__btn.is-open span:nth-child(1) {
  top: 10px;             /* 真ん中に集めてから回転 */
  transform: rotate(45deg);
  background: var(--white); 
}
.header__btn.is-open span:nth-child(2) {
  opacity: 0;            /* 中央線は消す */
}
.header__btn.is-open span:nth-child(3) {
  top: 10px;             /* 真ん中に集めてから回転 */
  transform: rotate(-45deg);
  background: var(--white);
}


/*nav*/
/* .nav初期表示 */
.nav {
  position: fixed;
  top: 0;
  right: 0;              /* 右から出す */
  width: min(80vw, 360px);
  height: 100vh;
  transform: translateX(100%);
  transition: transform .4s ease;
  background-color: rgba(27, 20, 50, 0.9);
  z-index: 1000;
  padding: 25px 0;
  backdrop-filter: blur(6px); 
}

.nav_logo {
    width: 100px;
    height: 97px;
    display: block;
    margin: 0 auto 45px;
}

.nav__list{
    padding: 0 0 0 15%;
}

.nav__item {
    font-size: 1.6rem;
    font-weight: 500;
    margin-top: 34px;
    color: var(--white);

}

.nav__itemli {
    position: relative;  
    padding-bottom: 8px;
}

.nav__itemli ::after {
    content: ""; 
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--white);
}

.nav__item:hover {
    opacity: 0.6;
  transition: 0.3s;
}

.news_icon {
    width: 35px;
    height: 27px;
    margin-right: 16px;
}

.work_icon {
    width: 30px;
    height: 23px;
    margin-right: 16px;
}

.company_icon {
    width: 30px;
    height: 23px;
    margin-right: 16px;
}

.mail_icon {
    width: 32px;
    height: 25px;
    margin-right: 16px;
}


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

/* 改行非表示 */
.pcsemai {
  display: none;
}


/****** PC用デザイン *******/

@media screen and (min-width: 769px) {
     .header {
        padding: 0 8%;
        display: flex;
        justify-content: space-between; /* ← ロゴ左・メニュー右 */
        align-items: center;
        box-shadow: 0 0.41vw 0.694vw rgba(0, 4, 4, 0.25);
    }

    .nav {
        position: static;
        transform: none;
        background: none;
        width: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0;
        flex: 1; /* ← 可変スペース確保で右側に寄りやすく */
    }

    .news_icon,.work_icon,.company_icon,.mail_icon {
        display: none;
    }

    .header__btn {
        display: none; /* ハンバーガーボタン非表示 */
    }

    /* 横並びにする部分 */
    .nav__box {
        display: flex;
        align-items: center;
    }

    .nav_logo {
        display: none;
    }

    .nav__list {
        display: flex;
        align-items: center;
        gap: 5rem; /* メニュー間の余白 */
        padding: 0;
        margin: 0;

    }

    .nav__item {
        white-space: nowrap;
        letter-spacing: 0.208vw;
        margin-top: 0;
        font-size: 2rem;
        color: var(--txt_blue);
    }


    .logo {
        width: 6.944vw; /* ロゴ全体を少し大きく */
        height: auto;
    }

}





/*==========================
  Page Top Button
==========================*/
/* page-top, is-showの設定はそのまま */
.page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.page-top.is-show {
    opacity: 1;
    visibility: visible;
}

.page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    /* ★画像のような薄いグレー（白に近い色）の丸 */
    background: #eef0f5; 
    border-radius: 50%; /* ここを50%にすると綺麗な丸になるで！ */
    text-decoration: none;
    /* 紺色の背景の上で浮き立つように影を調整 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background-color 0.3s;
}

/* ホバー時の挙動 */
.page-top a:hover {
    transform: translateY(-5px);
    background-color: #ffffff; /* ホバーで真っ白に */
}

/* --- 画像のような「細い矢印」を作る --- */
.arrow {
    display: block;
    width: 2px; /* 縦棒の太さ */
    height: 14px; /* 縦棒の長さ */
    background-color: #3b2f63; /* 矢印の色（紺） */
    position: relative;
}

.arrow::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    /* Ｖ字部分のサイズ（先端の広がり） */
    width: 10px;
    height: 10px;
    border-top: 2px solid #3b2f63;
    border-left: 2px solid #3b2f63;
    /* 45度回転させて「ハの字」にする */
    transform: translateX(-50%) rotate(45deg);
}