/*----------------------
  　ヘッダー
-----------------------*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 100px;
    z-index: 1000;
}

body {
    margin-top: 100px !important;
}

/* ロゴエリア */
.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    min-width: 0;
    z-index: 10001;
}

.hdr-logo {
    display: flex;
    justify-content: flex-start;
}

.header-logo img {
    max-height: 50px;
}

/* ナビゲーション */
.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 24px;
}

.nav li {}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.nav .contact {
    background-color: #238589;
    padding: 14px 32px;
    border-radius: 50px;
    color: #fff;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.nav .contact:hover {
    background-color: #922220;
}

.nav .contact a {
    color: #fff;
}

.nav-list a:hover {
    color: #922220;
}

.phone {
    display: flex;
    align-items: center;
}

.phone a {
    font-size: 21.5px;
    font-weight: bold;
    color: #238589;
    line-height: 1;
}

.phone-icon {
    width: 36px;
}

.phone-info a {
    font-size: 21.5px;
    font-weight: bold;
    color: #238589;
    line-height: 1;
}

.opening {
    font-size: 14px !important;
    color: #333 !important;
    font-weight: bold;
}

.phone-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 10001;
}

.phone-info {
    display: grid;
}

.hamburger-icon {
    display: none;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 5px);
    background: #fff;
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -5px);
    background: #fff;
}

/* フルスクリーンメニュー */
.full-screen-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: #292929da;
    z-index: 10000;
    padding: 40px 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.full-screen-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* メニューリスト */
.full-screen-menu .menu-items {
    list-style: none;
    padding: 0;
    margin: 50px 0 0;
    text-align: center;
}

.full-screen-menu .menu-items li {
    margin: 16px 0;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 12px;
    position: relative;
}

/* メニューリンク */
.full-screen-menu .menu-items li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    margin-left: 16px;
}

.submenu-toggle {
    position: absolute;
    right: 12px;
    top: 8px;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    color: white;
}

/* 開いた時の向き */
.submenu-toggle.open {
    transform: translateY(-50%) rotate(180deg);
}

/* サブメニュー */
.full-screen-menu .sub-menu {
    display: none;
    margin-top: 8px;
    padding-left: 20px;
    list-style: none;
}

.full-screen-menu .sub-menu.open {
    display: block;
}

.full-screen-menu .sub-menu li {
    font-size: 1.2rem;
    margin: 10px 0;
    border: none;
    padding-bottom: 0;
}

.full-screen-menu .sub-menu li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

/* 親メニュー li に position: relative */
.full-screen-menu .menu-item-has-children {
    position: relative;
}

/* PCホバーでサブメニュー表示 */
.full-screen-menu .menu-item-has-children:hover>.sub-menu {
    display: block;
}

@media screen and (min-width: 1120px) and (max-width: 1620px) {
    .nav .phone {
        position: absolute;
        top: 100%;
        right: 155px;
        margin-top: 10px;
        padding: 10px 15px;
        z-index: 1001;
        white-space: nowrap;
    }

    .nav .contact {
        position: absolute;
        top: 117px;
        right: 21px;
        padding: 10px 15px;
        z-index: 1001;
        white-space: nowrap;
    }
}

@media (max-width: 1226px) {
    .header {
        height: 80px;
    }

    .header-logo img {
        max-height: 50px;
        width: 80%;
        margin: 0 auto 0 0;
    }

    body {
        margin-top: 80px !important;
    }

    .phone {
        display: none;
    }

    .hamburger-icon {
        display: flex;
    }

    .nav {
        display: none;
    }



    .full-screen-menu .menu-items li {
        margin: 16px 0;
        font-size: 16px;
        text-align: left;
    }

    /* ハンバーガーアイコン */
    .hamburger-icon {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 6px;
        width: 30px;
        height: 25px;
        z-index: 10001;
        position: relative;
        transition: transform 0.3s ease;
    }
}

/*-------------------------
  ドロップダウン
-------------------------*/
/* ドロップダウンメニュー内のカレント表示を非表示にする */
.nav-list.sub-menu.current-menu-item a::after {
    content: none !important;
}


/* 親メニューの基本スタイル */
.nav-list {
    list-style: none;
    display: flex;
    position: relative;
}

.nav-list li {
    position: relative;
}


.nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 99%;
    left: 55%;
    transform: translateX(-50%);
    padding: 10px 0;
    background: rgb(255 255 255);
    list-style: none;
    width: auto;
    min-width: 100px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1040;
    white-space: nowrap;
    border-radius: 5px;
}

/* サブメニューのリンク */
.nav-list .sub-menu li {
    transition: all 0.3s;
    position: relative;
}

.nav-list .sub-menu li::after {
    content: url("./assets/img/common/icon-arrow-dropdown.png");
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    transition: right 0.3s ease;
    color: #922220;
}

.nav-list .sub-menu li:hover::after {
    right: 20px;
}


.nav-list .sub-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px 17px;
    transition: all 0.3s;
}

.nav-list .sub-menu li a:hover {
    color: #922220;
}



/* PC: ホバーでサブメニュー表示 */
@media (min-width: 768px) {
    .nav-list li:hover>.sub-menu {
        display: block;
    }
}

/* スマホ用のメニュー（開閉用） */
@media (max-width: 767px) {
    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list .sub-menu {
        position: static;
        box-shadow: none;
        background: none;
    }

    /* サブメニューを開いたときのスタイル */
    .nav-list li.open>.sub-menu {
        display: none;
    }
}

/*----------------------
フッター
-----------------------*/

footer {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    padding: 80px 16px 24px;
    padding-bottom: 20px;
    background-color: #E8E7E7;

    @media (max-width: 768px) {
        padding: 40px 16px 16px;
    }
}

.footer-cont {
    display: flex;
    position: relative;
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
}

.footer-info {
    margin-top: 75px;

    @media(min-width:769px) and (max-width: 1020px) {
        margin-top: 16px;
    }
}

.footer-info.recruit p,
.footer-info.recruit a {
    color: #fff !important;
}

.footer-info p,
.footer-info a {
    font-size: 14px;
    color: #000;
}

.footer-left {
    width: 30%;

    @media(max-width:769px) {
        width: 100%;
    }
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-top: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    width: calc(70% - 25px);

    @media(max-width:769px) {
        width: unset;
        flex-direction: column;
        gap: 0px;
    }
}

.footer-menu li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 16px;

    @media(max-width:769px) {
        display: block;
        border-left: none;
        border-top: 1px solid #d3d3d3;
        padding: 12px 0;
        margin: 0;
        width: 100%;
        text-align: left;
        margin-bottom: 0px;
    }
}


.footer-menu li::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 4px;
    width: 1px;
    height: 16px;
    background-color: #636363;

    @media(max-width:769px) {
        display: none;
    }
}



.footer-menu a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.footer-menu a:hover {
    color: #922220;
}

.footer-logo {
    float: left;
}

.footer-logo img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.cl {
    text-align: center;
    margin-top: 32px;
}

.produced-by {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.recruit {
    small {
        color: #ffffff;
    }

    .produced-by {
        color: #ffffff;
    }

    .sp {
        display: none;

        @media (max-width: 768px) {
            display: unset;
        }
    }
}



.produced-by:hover {
    color: #0077ff;
    text-decoration: none;
}

@media (max-width: 1024px) {
    footer {
        padding-left: 30px;
        padding-right: 30px;
    }

    .footer-right {
        justify-content: center;
        align-items: center;
    }

    .footer-menu {
        width: 100%;
        padding: 0 10px;
    }

    .footer-menu li {
        width: auto;
        text-align: center;
    }

    .footer-logo {
        float: none;
    }

    .footer-logo img {
        width: 200px;
    }
}

/* スマホ用 */
@media (max-width: 768px) {
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-cont {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-info {
        text-align: center;
        margin-top: 24px;
    }

    .footer-right {
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        width: 100%;
    }

    .footer-menu {
        width: 100%;
        padding: 0px;
    }

    .footer-menu li {
        width: auto;
        text-align: left;
        padding: 10px;
    }

    .footer-menu li:last-child {
        border-bottom: 1px solid #d3d3d3;
    }

    .footer-logo {
        float: none;
        margin: 0 auto;
        text-align: center;
    }

    .footer-logo img {
        width: 250px;
    }
}


/*採用*/
.nav .entry {
    background: linear-gradient(135deg, #FEA549, #F84547);
    padding: 14px 24px;
    border-radius: 50px;
    color: #fff;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    gap: 8px;
}

.nav .entry a {
    color: #fff;
}

.nav .entry img {
    max-width: 30px;
}

.entry:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav .entry {
        background: linear-gradient(135deg, #FEA549, #F84547);
        padding: 14px 24px;
        border-radius: 50px;
        color: #fff;
        transition: background-color 0.3s ease;
        white-space: nowrap;
        display: flex;
        align-items: center;
        font-size: 18px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
        gap: 8px;
    }
}


.recruit-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    width: calc(70% - 50px);
}

.recruit-footer-menu li {
    padding: 0 4px
}

.recruit-footer-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}


.recruit-footer-menu a:hover {
    color: #922220;
}

.recruit-footer-menu li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 16px;
}

.recruit-footer-menu li::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0px;
    width: 1px;
    height: 16px;
    background-color: #ffffff;
}


@media (max-width: 1024px) {
    .recruit-footer-menu {
        width: 100%;
        justify-content: center;
        /* メニューの中央寄せ */
        padding: 0 10px;
    }

    .recruit-footer-menu li {
        width: auto;
        margin: 5px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .recruit-footer-menu {
        width: 100%;
        justify-content: center;
        padding: 0 20px;
    }

    .recruit-footer-menu li {
        width: auto;
        margin: 5px;
        text-align: center;
    }
}

.sp-contact-flex.sp {
    display: none;
}

@media (max-width: 1225px) {
    .sp-contact-flex.sp {
        display: flex;
        align-items: center;
        gap: 16px;
    }
}



@media screen and (min-width: 1025px) {
    .footer-info a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }

    .side-contact a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }

    .phone a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }

    .phone-info a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

.footer-right {
    flex-direction: column;
    align-items: flex-end;

    @media(max-width:769px) {
        align-items: center;
    }
}

.sns-item {
    gap: 28px;
    align-items: center;
    margin-top: 16px;
    margin-right: 8px;

    @media(max-width:769px) {
        margin-top: 32px;
        margin-right: 0px;
    }
}

.sns-item img {
    height: 30px;
    width: auto;

    @media(max-width:769px) {
        height: 40px;
    }
}

.yt {
    max-width: 40px;
    height: auto !important;

    @media(max-width:769px) {
        height: 40px;
    }
}

.flex {
    display: flex;
}