@import url('/common/css/root.css');

/* トップヘッダー - 削除してヒーローと統合 */
.top-header {
    display: none;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.header__ {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

@media (max-width:768px) {
    .header__ {
        padding: 0 10px;
    }
}

/* サイト名 */
.siteName {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    max-width: 258px;
}

@media (max-width:768px) {
    .siteName {
        max-width: 180px;
    }

}

.siteName a {
    text-decoration: none;
    color: var(--main-color);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.siteName img {
    width: 100%;
}

.siteName a:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.siteName__icon .fa {
    font-size: 2rem;
    color: #EA7317;
}

/* ヘッダーメニュー */

 /* ヘッダーメニューのスタイリング */
 .headerMenu {
     list-style: none;
     display: flex;
     gap: 10px;
     padding: 0;
     border-radius: 0;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }
 @media (max-width:768px) {
     .headerMenu {
         display: none;
     }
 }

 .headerMenu li {
     position: relative;
    background-color: #2c3e50;
     /* flex: 1; */
 }

 .headerMenu li a {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     padding: 16px 20px;
     color: #ecf0f1;
     text-decoration: none;
     font-size: 14px;
     font-weight: 500;
     letter-spacing: 0.5px;
     transition: all 0.3s ease;
     background-color: transparent;
     border-radius: 0;
 }

 /* ホバー効果 */
 .headerMenu li a:hover {
     background-color: #34495e;
     color: #ffffff;
 }

 /* アクティブ・フォーカス状態 */
 .headerMenu li a:focus,
 .headerMenu li a:active {
     outline: none;
     background-color: #1a252f;
     color: #ffffff;
 }

 /* アイコンの追加 */
 .headerMenu li a::before {
     content: '';
     display: inline-block;
     width: 18px;
     height: 18px;
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center;
     filter: brightness(0) invert(1);
     transition: transform 0.3s ease;
 }

 /* 各メニュー項目のアイコン */
 .headerMenu li:nth-child(1) a::before {
     /* 検討中案件 - クリップボードアイコン */
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'%3E%3C/path%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'%3E%3C/rect%3E%3Cline x1='9' y1='11' x2='15' y2='11'%3E%3C/line%3E%3Cline x1='9' y1='15' x2='13' y2='15'%3E%3C/line%3E%3C/svg%3E");
 }

 .headerMenu li:nth-child(2) a::before {
     /* メッセージボックス - メールアイコン */
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
 }

 .headerMenu li:nth-child(3) a::before {
     /* 会員情報の編集 - ユーザー編集アイコン */
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3Cpath d='M19 8l2 2-2 2M5 8l-2 2 2 2'%3E%3C/path%3E%3C/svg%3E");
 }

 .headerMenu li:nth-child(4) a::before {
     /* ログアウト - ログアウトアイコン */
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'%3E%3C/path%3E%3Cpolyline points='16 17 21 12 16 7'%3E%3C/polyline%3E%3Cline x1='21' y1='12' x2='9' y2='12'%3E%3C/line%3E%3C/svg%3E");
 }

 /* ホバー時のアイコンアニメーション */
 .headerMenu li a:hover::before {
     transform: scale(1.1);
 }

 /* 区切り線 */
 .headerMenu li:not(:last-child)::after {
     content: '';
     position: absolute;
     right: 0;
     top: 50%;
     transform: translateY(-50%);
     height: 24px;
     width: 1px;
     background-color: rgba(236, 240, 241, 0.2);
 }



/* グローバルナビゲーション */
.globalNav {
    background-color: #3a6e2f;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 80px;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 3;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.globalNav.active {
    opacity: 1;
    transform: translateY(0);
}

.globalNav:not(.active) {
    opacity: 0;
    transform: translateY(-100%);
}

.globalNav__list {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    padding: 0 2rem;
}

.globalNav__list li {
    flex: 1;
}

.globalNav__list li a {
    display: block;
    color: white;
    font-family: var(--font-base);
    text-decoration: none;
    padding: 1rem;
    text-align: center;
    transition: background-color 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.globalNav__list li:last-child a {
    border-right: none;
}

.globalNav__list li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* メインコンテンツ */
.head_ceparater {
    height: 5px;
    background: linear-gradient(to bottom, #3a6e2f, #f8f9fa);
}

/* スマートフォンメニュー */
.slideMenu {
    display: none;
}

#slideMenu-input {
    display: none;
}

#slideMenu-toggle {
    position: fixed;
    top: 25px;
    right: 40px;
    z-index: 9999;
    cursor: pointer;
}

#slideMenu-toggle label {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    margin-right: 0;
}

#slideMenu-toggle label span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--main-color);
    transition: all 0.3s ease;
}

#slideMenu-toggle label span:nth-child(1) {
    top: 6px;
}

#slideMenu-toggle label span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

#slideMenu-toggle label span:nth-child(3) {
    bottom: 6px;
}

#slideMenu-input:checked~#slideMenu-toggle label span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
    margin-top: -1px;
}

#slideMenu-input:checked~#slideMenu-toggle label span:nth-child(2) {
    opacity: 0;
}

#slideMenu-input:checked~#slideMenu-toggle label span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
    margin-bottom: -1px;
}

#slideMenu-nav {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 9998;
    padding-top: 100px;
}

#slideMenu-input:checked~#slideMenu-nav {
    right: 0;
}

#slideMenu-nav ul {
    list-style: none;
}

#slideMenu-nav ul li {
    border-bottom: 1px solid #f0f0f0;
}

#slideMenu-nav ul li.headline a {
    background: #f8f9fa;
    padding: 20px 30px;
    font-weight: 600;
    color: var(--main-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#slideMenu-nav ul li a {
    display: block;
    padding: 20px 30px;
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: all 0.3s ease;
}

#slideMenu-nav ul li a:hover {
    background: #f8f9fa;
    color: var(--main-color);
    padding-left: 40px;
}

@media (max-width:768px) {
    .slideMenu {
        display: block;
    }

    #slideMenu-toggle {
        top: 25px;
        right: 24px;
    }

    #slideMenu-nav {
        width: 100vw;
        right: -100vw;
    }

    .globalNav {
        display: none;
    }
}

/* パンくずリスト */
.pankuzu {
    padding: 10px 0;
    max-width: 1400px;
    margin: auto;
}

@media (min-width:769px) {
    .pankuzu {
        margin-top: 137px;
    }
}

@media (max-width:768px) {
    .pankuzu {
        margin-top: 80px;
    }
}

.pankuzu ul {
    list-style: none;
    display: flex;
    gap: 12px;
    align-items: center;
}

.pankuzu li {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 300;
}

.pankuzu li:not(:last-child)::after {
    content: '/';
    margin-left: 12px;
    color: #bdc3c7;
    font-weight: 300;
}

.pankuzu a {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pankuzu a:hover {
    color: #5a9c47;
}










/* .slideMenu {
    width: 100%;
    padding: 0;
    position: fixed;
    z-index: 9999;
}

#slideMenu-nav {
    position: absolute;
    z-index: 100;

    top: -500px;
    width: 100%;
    text-align: center;
    transition: .5s ease-in-out;
    background: rgba(0, 0, 0, 0.9);
    padding: 60px 20px;
}

#slideMenu-nav ul {
    list-style: none;
    font-size: 12px;
}

#slideMenu-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#slideMenu-nav .headline {
    background: #555;
    color: #CCC;
    padding: 5px;
    font-size: 10px;
}

#slideMenu-nav .headline span {
    color: #FFF;
}

#slideMenu-nav ul li a {
    width: 100%;
    display: block;
    color: #fff;
    padding: 15px 0;
    text-decoration: none;
    position: relative;
}

#slideMenu-nav ul li a::after {
    content: ">";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
}

#slideMenu-input {
    display: none;
}

#slideMenu-toggle {
    position: absolute;
    top: 12px;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    z-index: 101;
}

#slideMenu-toggle label {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    position: relative;
}

#slideMenu-toggle label span {
    background: #FFF;
}

#slideMenu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #555;
    left: 0;
    transition: .35s ease-in-out;
}

#slideMenu-toggle span:nth-child(1) {
    top: 0;
}

#slideMenu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

#slideMenu-toggle span:nth-child(3) {
    top: 100%;
    transform: translateY(-100%);
}


#slideMenu-input:checked+#slideMenu-toggle span:nth-child(1) {
    top: 8px;
    transform: rotate(315deg);
}

#slideMenu-input:checked+#slideMenu-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
}

#slideMenu-input:checked+#slideMenu-toggle span:nth-child(3) {
    top: 8px;
    transform: rotate(-315deg);
}


#slideMenu-input:checked~#slideMenu-nav {
    display: block;
    transform: translateY(500px);
}

@media screen and (min-width:768px) {

    #slideMenu-nav,
    #slideMenu-toggle,
    #slideMenu-input:checked~#slideMenu-nav {
        display: none;
    }
} */