/*
Theme Name: 絆運輸
Description: 絆運輸のウェブサイトです。
Version: xxx
Author: xxx
*/

@charset "utf-8";
/* CSS Document */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*リクルートバナー*/
.recruit-banner {
    position: fixed;
    right: 20px;
    bottom: 5px;
    z-index: 999;
    display: block;
    width: 320px;
    height: 140px;
    text-decoration: none;
    position: fixed;
    overflow: visible;
}

.recruit-banner__bg {
    position: absolute;
    inset: 0;
    background: #eb6729;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    z-index: 1;
}

.recruit-banner__text {
    position: absolute;
    left: 34px;
    top: 36px;
    z-index: 2;
    padding-left: 10px;
    color: #fff;
}

.recruit-banner__title {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
}

.recruit-banner__sub {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.recruit-banner__person {
    position: absolute;
    right: -12px;
    top: 20px;
    height: 100px;
    z-index: 3;
    transform-origin: bottom center;
    transition: transform 0.3s ease;
}

.recruit-banner:hover .recruit-banner__person {
    animation: recruitWalk 0.8s ease-in-out infinite;
}

@keyframes recruitWalk {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    20% {
        transform: translateX(2px) translateY(-2px) rotate(2deg);
    }
    40% {
        transform: translateX(5px) translateY(0) rotate(-2deg);
    }
    60% {
        transform: translateX(2px) translateY(-1px) rotate(2deg);
    }
    80% {
        transform: translateX(6px) translateY(0) rotate(-1deg);
    }
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
}

@media (max-width: 767px) {
    .recruit-banner {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
        height: 82px;
        z-index: 999;
    }

    .recruit-banner__bg {
        clip-path: none;
        border-radius: 14px;
    }

    .recruit-banner__text {
        left: 18px;
        top: 16px;
    }

    .recruit-banner__title {
        font-size: 22px;
        letter-spacing: 0.08em;
    }

    .recruit-banner__sub {
        margin-top: 6px;
        font-size: 11px;
    }

    .recruit-banner__person {
        right: 6px;
        top: 0px;
        height: 90px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

a[href^="tel"],
a[href^="mailto"] {
    color: inherit;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 2.0;
    font-size: 15px;
    color: #111111;
    overflow-x: hidden;
    /*横はスクロールさせない*/
    overflow-y: auto;
    /*盾は必要な時だけスクロールさせる*/
}

@media screen and (max-width: 768px) {
    body{
        font-size: 14px;
    }    
}

.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}

.pc-only {
    display: inline;
}

@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }
}

/* Layout Utilities */
.wrapper {
    width: 100%;
    max-width: 1920px;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.footer-padding {
    padding-left: 100px;
    padding-right: 100px;
    width: 100%;
    box-sizing: border-box;
}

.container {
    /*padding: 160px 100px 120px;*/
    flex: 1;
    box-sizing: border-box;
    width: 100%;
}


/* Typography Standards */
.text-h1 {
    font-size: 64px;
    line-height: 1.2;
}

.text-h2 {
    font-size: 52px;
    line-height: 1.3;
}

.text-h3 {
    font-size: 36px;
    line-height: 1.4;
}

.text-body {
    font-size: 15px;
    line-height: 1.8;
}

.text-body-lg {
    font-size: 18px;
    line-height: 1.8;
}

/* Colors */
.text-orange {
    color: #eb6729;
}

.text-white {
    color: #fff;
}

/* ----------------------------------------------------
       ヘッダー
    ---------------------------------------------------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    z-index: 100;
    box-sizing: border-box;
    transition: background-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* スクロール後 */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header-instagram {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eb6729;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 30px;
    transition: all 0.3s ease;
}

.header-instagram:hover {
    background: #000;
    color: #fff;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
    padding: 10px;
    /*background-color: rgba(255, 255, 255, 0.3);*/
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #111;
    cursor: pointer;
    transition: opacity 0.3s;
    text-decoration: none;
}

.nav-text-en {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-family: "Poppins", sans-serif;
    color: #eb6729;
    overflow: hidden;
    /* 1つ目の影を隠す */
    color: transparent;
    /* テキスト本体は透明にする */
    /*
   影の設定
   1つ目：Y方向の位置にマイナスに設定してテキスト本体の上に配置、ぼかしなし
   2つ目：位置はテキスト本体と同じ、ぼかしなし
  */
    text-shadow: 0 -1.5em 0 #eb6729, 0 0 0 #eb6729;
    transition: text-shadow 0.3s;
}

.nav-text-ja {
    font-size: 11px;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
    color: #000;
    /*opacity: 0.4;*/
}

.nav-text-en:hover {
    text-shadow: 0 0 0 #eb6729, 0 1.5em 0 #eb6729;
    /* 2つの影の位置を上方向に1.5emずつずらす */
}

@media screen and (max-width: 1024px) {
    .nav-text-en:hover {
        text-shadow: none;
    }
}

.header-cta {
    background-color: #eb6729;
    color: #fff;
    padding: 14px 32px;
    border-radius: 9999px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    white-space: nowrap;
    text-decoration: none;
    margin-left: 32px;
}

.header-cta:hover {
    color: #fff;
    background-color: #111;
}

/* ハンバーガーメニュー */
.hamburger {
    position: relative;
    display: none;
    /*flex-direction: column;
    justify-content: space-between;*/
    width: 50px;
    height: 44px;
    cursor: pointer;
    z-index: 101;
    background: #000;
    padding: 10px;
    border-radius: 8px;
}

.hamburger span {
    position: absolute;
    display: block;
    left: 10px;
    width: calc(100% - 20px);
    height: 4px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.mobile-menu {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    background: rgba(17,17,17,0.95);

    z-index: 99;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* ←重要 */
    clip-path: circle(0% at 92% 8%);

    transition:
        clip-path 1.8s cubic-bezier(.25,.8,.25,1);
    overflow: hidden;
}

.nav-text-ja-sp {
    font-size: 11px;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
    color: #fff;
    /*opacity: 0.4;*/
}


.mobile-menu.active {
    clip-path: circle(150% at 92% 8%);
}

.mobile-menu .nav-item {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.mobile-menu.active .nav-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .nav-item:nth-child(1){
    transition-delay: .2s;
}

.mobile-menu.active .nav-item:nth-child(2){
    transition-delay: .3s;
}

.mobile-menu.active .nav-item:nth-child(3){
    transition-delay: .4s;
}

.mobile-menu.active .nav-item:nth-child(4){
    transition-delay: .5s;
}

.mobile-menu.active .nav-item:nth-child(5){
    transition-delay: .6s; 
}

.mobile-menu.active .nav-item:nth-child(6){ 
    transition-delay: .7s; 
}

.mobile-menu.active .nav-item:nth-child(7){ 
    transition-delay: .8s; 
}

.js-fade-up,
.scroll-anim {
    opacity: 0;

    transform:
        translateY(80px)
        scale(0.96);

    filter: blur(6px);

    transition:
        opacity 1.2s ease,
        transform 1.2s cubic-bezier(.22,.61,.36,1),
        filter 1.2s ease;
}

.js-fade-up.is-active,
.scroll-anim.is-active {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);

    filter: blur(0);
}

body.menu-open {
    overflow: hidden;
}

/* 初期位置 */
.hamburger span:nth-child(1) {
    top: 10px;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 10px;
}

/* × */
.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
}

/* ----------------------------------------------------
       ページヘッダー
    ---------------------------------------------------- */

.page-header-section {
    padding: 160px 20px 200px;
    text-align: center;
}

.page-label {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.page-title {
    font-family: 'Noto Serif', serif;
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: 0.2em;

}


/* ----------------------------------------------------
       フッター
    ---------------------------------------------------- */

footer {
    color: #111;
    padding: 160px 0 80px;
}

.footer-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-left {
    margin-bottom: 0;
}

.footer-logo {
    width: 200px;
    margin-bottom: 32px;
}

.footer-address {
    font-style: normal;
    font-size: 12px;
    color: #6b7280;
    line-height: 2;
    display: flex;
    gap: 50px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col-title {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 16px;
}

.footer-list a {
    color: #6b7280;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #eb6729;
}

.footer-social-row {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 16px;
}

.footer-follow-text {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.social-icon-link {
    color: #111;
    transition: color 0.3s;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-icon-link:hover {
    color: #eb6729;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    font-size: 12px;
    color: #9ca3af;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #4b5563;
}

/* リクルートバナー */
.recruit-banner-fixed {
    position: fixed;
    bottom: 50px;
    right: 0px;
    z-index: 9999;
    width: 280px;
    display: block;
}

.recruit-banner-fixed:hover {
    opacity: 0.9;
}

.recruit-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media screen and (max-width: 1300px) {
    .nav-menu {
        display: none;
    }

    /* Hide regular nav */
    .hamburger {
        display: flex;
    }

    /* Show hamburger */

    .mobile-menu .nav-item {
        margin-bottom: 6px;
        align-items: center;
    }

    .mobile-menu .nav-text-en {
        font-size: 18px;
    }

    .mobile-menu .nav-text-ja {
        font-size: 10px;
    }

    .mobile-menu .header-cta {
        margin-left: 0;
        margin-top: 20px;
    }

    .header-instagram {
        margin-top: 20px;
    }

}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .footer-padding {
        padding-left: 50px;
        padding-right: 50px;
    }

    header {
        padding: 0 50px;
    }

    .text-h1 {
        font-size: 52px;
    }

    .text-h2 {
        font-size: 42px;
    }

}

@media screen and (max-width: 768px) {
    .footer-padding {
        padding-left: 20px;
        padding-right: 20px;
    }

    header {
        padding: 0 20px;
        height: 100px;
    }

    .logo-img {
        height: 70px;
    }

    .page-header {
        margin: 40px 0 30px;
    }

    footer {
        padding: 80px 0 40px;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
        margin-top: 40px;
    }

    .footer-social-row {
        justify-content: center;
        margin-top: 40px;
    }

    .footer-bottom-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .recruit-banner-fixed {
        width: 200px;
        bottom: 20px;
        right: px;
    }
}

.section-title-1 {
    font-family: 'Noto Serif', serif;
    font-style: italic;
    transform: skewX(-10deg);
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 800;
    color: #111;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    max-width: 520px;
    text-align: left;
}

.section-title-2 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.4;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    text-align: left;
    width: clamp(240px, 28vw, 320px);
}