/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}

:root {
    /* --header: #466f59;元カラー */
    --header: #2D5C3E;
    /* --accent: #a5d6a7; */
    --accent: #a9c299;
    /* --link: #0056b3; */
    --h2: #2D5C3E;
    --h3: #C0392B;
    --link: #0056b3;
    /* --linkhover: #003d80; */
    --linkhover: #003d80;
    /* --text: #262626; */
    --text: #333333;
    /* --base: #fffdf5; */
    --base: #fffdfa;
    /* --base2: #f7f4ee; */
    --base2: #F8F5F0;
    /* --cta: #b82c28; */
    --cta: #C0392B;
    /* --cardHeader: #6a4a3d; */
    --ctahover: #262626;
    --cardHeader: #6a4a3d;
    /* --cardBg: #f0e6d2; */
    --cardBg: #f0e6d2;
}


html {
    scroll-behavior: smooth;
}

p,
a {
    text-align: justify;
    font-family: 'Open Sans', 'Noto Sans JP', sans-serif;
    font-weight: 400;
}


.fas {
    /* vertical-align: top; */
    margin-left: 6px;
    font-size: .75rem;
    font-weight: 400;
    font-family: "FontAwesome5";
}

.fa-cart-shopping {
    vertical-align: baseline;
    font-size: 1rem;
    font-weight: 400;
    font-family: "FontAwesome5";
}

/* 全体の共通のスタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    background-color: var(--base);
}

.entry-content a[target="_blank"]:after {
    font-family: 'Font Awesome 5 Free';
    content: '\f35d';
    font-size: 0.9rem;
    margin: 0px 3px;
    font-weight: 900;
}

/* 文字位置（左揃え）・パディング設定 */
section {
    text-align: left;
    padding: 10rem 16%;
    /* border: 1px dashed pink; */
}

.section-content {
    padding: 2rem 1rem;
}

hgroup .comment {
    margin-top: .75rem;
}

/* 偶数セクションの背景色 */
section:nth-child(even) {
    background-color: var(--base2);
}

/* セクション名のスタイル */
section h2 {
    display: block;
    padding: .5rem;
    color: var(--h2);
    font-size: min(8vw, 3rem);
    font-family: 'Playfair Display', 'Noto Serif JP', serif;
    /* 見出しにMerriweatherを適用 */
    position: relative;
    text-align: left;
    margin-top: 4rem;
}

h3 {
    font-family: 'Lora', 'Noto Serif JP', serif;
}

#service-solution h2 {
    font-size: min(7vw, 3rem);
}

/* セクション名の疑似要素（英語名） */
section h2:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    content: '';
    background-image: -webkit-repeating-linear-gradient(-45deg, var(--text), var(--text) 1px, transparent 2px, transparent 5px);
    background-image: repeating-linear-gradient(135deg, var(--text), var(--text) 1px, transparent 2px, transparent 5px);
    background-size: 7px 7px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#features h2::before {
    content: "Commitment";
}

#service-solution h2::before {
    content: "Service/Solution";
}

#sns h2::before {
    content: "SNS";
}

#testimonials h2::before {
    content: "VOC";
}

#faq h2::before {
    content: "FAQ";
}

#service-intro h2::before {
    content: "Step";
}

#company-info h2::before {
    content: "Infomation";
}

h2::before {
    /* vertical-align: bottom; */
    padding: 0;
    font-family: 'Playfair Display', 'Noto Serif JP', serif;
    /* font-style: italic; */
    font-weight: 100;
    font-size: min(7vw, 6rem);
    position: absolute;
    bottom: min(8.5vw, 4.5rem);
    right: 20px;
    color: rgba(38, 38, 38, 0.15);
}

/* ナビゲーション(PC) */
header {
    background-color: var(--header);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent);
    padding: 0 .5rem;
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 高さ中央ぞろえ */
}

.nav-logo {
    display: flex;
    align-items: center;
    margin: 1rem 0 .5rem 0;
}

.logo-text {
    display: inline-block;
    color: var(--base);
    text-decoration: none;
    font-size: 3rem;
    font-family: 'Playfair Display', 'Noto Serif JP', serif;
    font-weight: 400;
    text-align: center;
    max-width: 300px;
    padding: .5rem 1rem;
    line-height: 1;
}

/* 表示中のセクション名につくスタイル */
.nav-menu li a.active {
    box-sizing: content-box;
    border-top: .5px solid var(--base);
    border-bottom: .5px solid var(--base);
}

/* PCVのロゴサイズ */
.desktop-logo {
    display: block;
    max-height: 4rem;
    height: auto;
}

/* MobileNAVのスタイル+PC時非表示設定 */
.nav-menu {
    align-items: center;
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-menu li a {
    font-size: clamp(.5rem, 1rem, 1.25rem);
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--base);
    display: inline-block;
    padding: 12px 6px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    border-top: .5px solid transparent;
    /* デフォルト状態で透明なボーダー */
    border-bottom: .5px solid transparent;
    transition: 0.2s;
}

.nav-menu li .cta-button {
    padding: .75rem 1.5rem;
    border: none;
    outline: 2px solid var(--base);
    outline-offset: -4px;
}

.nav-menu li .cta-button.active {
    border: none;
    outline: 2px solid var(--base);
    outline-offset: -4px;
    background-color: var(--cta);
}

.nav-menu li .cta-button a:active,
.nav-menu li .cta-button a:hover {
    background-color: var(--text);
}

.nav-menu li .nav-link:hover {
    opacity: 0.5;
}

/* PCVモバイルロゴの非表示 */
.mobile-logo {
    display: none;
}

/* ハンバーガーアイコン */
.hamburger {
    z-index: 2000;
    display: none;
    /* PCV非表示 */
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 30px;
    background-color: var(--base);
    margin: 4px 0;
}

/* メニュー展開時のスタイル */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(0px, 8px);
}

.hamburger.open span:nth-child(2) {
    transform: rotate(-45deg) translate(0px, -8px);
}


/* ハンバーガアイコンのアニメーション */
.hamburger span {
    background-color: var(--base);
    transition: all 0.3s ease;
}

/* ヒーローセクション（ファーストビュー） */
.hero {
    background-image: url('../images/topimage.jpg');
    background-size: cover;
    /* background-attachment: fixed; */
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
}

.hero-content {
    text-align: center;
    padding-top: 10%;
}

.hero-content h1 {
    display: block;
    color: var(--base);
    text-shadow: 0px 0px 8px rgba(26, 26, 26, 1);
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', 'Noto Serif JP', serif;
    text-align: center;
    line-height: 1;
}

.hero-content h1 img {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem 4rem 1.5rem 4rem;
    width: 90%;
    max-width: 600px;
}

.hero-content h1 span {
    background-color: rgba(26, 26, 26, .6);
    display: inline-block;
    font-size: 5rem;
    /* margin-right: 1.5rem; */
    border: solid .5px var(--base);
    /* font-style: italic; */
    font-weight: 400;
    padding: 0rem 2rem 0.5rem 2rem;
}

.hero-content p {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    text-shadow: 0px 0px 8px rgba(26, 26, 26, 1);
    color: var(--base);
    font-size: 1.5rem;
    /* opacity: 0.8; */
    font-family: 'Lora', 'Noto Serif JP', serif;
    font-weight: 700;
    margin-top: .5rem;
}

.cta-button {
    text-decoration: none;
    border: 2px solid var(--base);
    display: inline-block;
    background-color: var(--cta);
    color: var(--base);
    padding: 1rem 2rem;
    text-align: center;
    vertical-align: middle;
    border-radius: 50px;
    font-size: 1.25em;
    font-family: 'Noto Sans JP', sans-serif;
    /* ボタンにNoto Sans JPを適用 */
    transition: background-color 0.3s ease;
    outline: 2px solid var(--base);
    outline-offset: -4px;
}

.hero .cta-button {
    border: none;
    align-items: right;
    margin-top: 3rem;
}

.cta-button:hover {
    background-color: var(--ctahover);
}

/* Features Section */
#features h3 {
    color: var(--h3);
    font-size: 2rem;
}

#features h3:nth-of-type(2) {
    margin-top: 2rem;
}

.feature-items {
    /* border: 1px solid aqua; */
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: .5rem;
    margin: 0 auto;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    min-width: 10rem;
    border: .5px solid var(--cardHeader);
    background-color: var(--cardBg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.feature-items h4 {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: .5rem 0 2rem 0;
    font-size: 1.25rem;
    letter-spacing: .1rem;
    background-color: var(--cardHeader);
    color: var(--base);
    font-family: 'Lora', 'Noto Serif JP', serif;
    position: relative;
}

.feature-item h4::after {
    content: "";
    display: inline-block;
    font-size: .75rem;
    bottom: .75rem;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
}

.allergen-free h4::after {
    content: "Allergen-Free";
}

.gluten-free h4::after {
    content: "Gluten-Free";
}

.vegan-halal h4::after {
    content: "Vegan and Halal";
}

.sustainable h4::after {
    color: var(--base);
    content: "Sustainable";
}

.local h4::after {
    content: "Local Food";
}

.community h4::after {
    content: "Community";
}

.feature-text {
    padding: 0 4%;
    font-size: 1.125rem;
    text-align: left;
    margin-top: .25rem;
}

.card-text {
    font-size: .875rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.feature-item img {
    max-width: 80%;
    height: auto;
    margin:0 auto;
}

/* サービス・ソリューションセクションのスタイル */
#service-solution h2 {
    position: relative;
}

.service-solution .comment {
    color: var(--text);
    padding: 0 5% 0 5%;
    font-size: 1.125rem;
    text-align: left;
}

#service-solution h3 {
    display: block;
    width: 100%;
    font-size: 1.75rem;
    color: var(--link);
}


#service-solution h3:nth-of-type(2) {
    margin-top: 2rem;
}

.service-solution p {
    display: block;
    font-size: 1rem;
    color: #666;
    padding: 0 4%;
    margin-top: 1rem;
}

#service-solution a {
    color: var(--link);
    text-decoration: none;
    border-bottom: 1px solid var(--link);
}

#service-solution a:hover {
    color: var(--linkhover);
    border-bottom: 1px solid var(--linkhover);
}

/* お客様の声セクションのスタイル */
.testimonial-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.testimonial-item  {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 600px;
    background-color: var(--base);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-item + .testimonial-item {
    margin-top: 2rem;
}

.testimonial-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-text {
    text-align: left;
}

.testimonial-text .comment {
    background-color: #e9ecef;
    padding: 1rem;
    border-radius: 10px;
    position: relative;
    font-size: 1rem;
    color: #333;
}

.testimonial-text .comment::before {
    content: "";
    position: absolute;
    top: 10px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 10px solid #e9ecef;
    border-bottom: 10px solid transparent;
}

.tester-name {
    font-size: 1.125rem;
    color: var(--link);
    margin: 0.5rem 0 0;
}

.company-name {
    font-size: 0.875rem;
    color: #666;
}

/* 導入の流れセクションのタイムラインスタイル */
.timeline {
    margin: 2rem auto;
    max-width: 800px;

}

.timeline-item {
    position: relative;
    padding-left: 20px;
}

.timeline-border {
    margin: 0;
    padding: 0 0 2rem 0;
    border-left: 4px solid var(--header);
    border-bottom: transparent 3px dashed;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -12px;
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    border-radius: 50%;
    border: 4px solid var(--header);
}

.timeline-content {
    background-color: var(--base);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.375rem;
    color: var(--link);
}

.timeline-content p {
    font-size: 1rem;
    color: #555;
}

/* Trust Section */
.trust {
    background-color: var(--base);
}

.trust-content p {
    font-size: 1.25rem;
    font-family: 'Noto Sans JP', sans-serif;
    /* 本文にNoto Sans JPを適用 */
}

.logos img {
    margin: 20px;
    width: 150px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logos img:hover {
    opacity: 1;
}

/* FAQ */
.faq-item + .faq-item {
    margin-top: 2rem;
}

#faq h3 {
    font-size: 1.25rem;
}

/* Contact Form Section */
#contact h2::before {
    content: "Contact";
}

.contact {
    background-color: var(--base2);
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: var(--base);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

form input,
form textarea {
    width: 100%;
    padding: .75rem;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.2em;
    font-family: 'Noto Sans JP', sans-serif;
    /* フォーム入力フィールドにNoto Sans JPを適用 */
}

form button {
    width: 40%;
    padding: 15px;
    background-color: var(--cta);
    color: var(--base);
    border: none;
    border-radius: 50%;
    font-size: 1.5em;
    font-family: 'Noto Sans JP', sans-serif;
    /* ボタンにNoto Sans JPを適用 */
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: var(--text);
}

/* SNSセクション */
.sns {
    text-align: center;
}

.sns h2 {}

/* 会社情報セクション */
.company-info {
    background-color: var(--base);
    text-align: center;
}

.company-info h2 {}

.company-info .map-embed iframe {
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.company-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
}

.company-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--base);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.company-table th,
.company-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

.company-table th {
    background-color: var(--header);
    color: var(--base);
    font-weight: bold;
    font-size: 1rem;
    width: 26%;
}

.company-table td {
    color: #333;
    font-size: 1rem;
}

.company-table a {
    color: var(--link);
    text-decoration: none;
    border-bottom: 1px solid var(--link);
}

.company-table a:hover {
    color: var(--linkhover);
    border-bottom: 1px solid var(--linkhover);
}

.map-embed {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: var(--header);
    color: var(--base);
    text-align: center;
    border-top: 5px solid var(--accent);
    padding-top: .5rem;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}

.footer-nav ul li {
    margin: 0 1rem;
}

.footer-nav ul a {
    color: var(--base);
    text-decoration: none;
    font-size: .875rem;
    font-family: 'Noto Sans JP', sans-serif;
    /* フッターリンクにNoto Sans JPを適用 */
    transition: .2;
}

.footer-nav ul a:hover {
    opacity: .5;
}

.footer-logo {
    display: inline-block;
    width: auto;
}

.footer-logo a {
    padding: 20px;
    display: inline-block;
    height: auto;
}

.footer-logo a img {
    height: 80px;
    width: auto;
    margin: auto;
    vertical-align: top;
}

.footer-info h3 {
    color: var(--base);
    font-size: 1.5rem;
    font-family: 'Merriweather', serif;
    /* フッターの見出しにMerriweatherを適用 */
}

.footer-info {
    height: auto;
    width: 60%;
    /* border: solid pink 3px; */
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-top: 2rem;
}

.footer-info p {
    color: var(--base);
    font-size: .875rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.footer-info a {
    color: var(--base);
    font-size: .875rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.footer-company-info {
    padding: 20px;
}

.footer-company-info p {
    text-align: center;
}

.copy {
    text-align: center;
    width: 100%;
}


/* タブレット時 */
@media (max-width: 1080px) {
    section {
        text-align: left;
        padding: 10rem 8%;
    }

    .nav-logo img {
        width: 200px;
        height: auto;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h1 img {
        display: inline-block;
    }

    .hero-content p {
        text-align: center;
        padding-right: 0;
        max-width: 90%;
        font-size: 1rem;
    }

    .hamburger {
        z-index: 2000;
        display: flex;
        position: fixed;
        right: 1.5rem;
        top: 1.75rem;
    }

    .nav-menu {
        z-index: 100;
        display: block;
        position: fixed;
        top: 0;
        right: -75%;
        /* 最初は右に隠す（幅が50%） */
        width: 45%;
        /* 画面の右半分を覆う */
        /* border: 1px var(--text) solid; */
        box-shadow: 0px 0px 6px rgba(26, 26, 26, .3);
        height: 95%;
        padding-top: 2rem;
        padding-left: 8%;
        background-color: var(--header);
        border-radius: 0 0 0 100px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        /* スライドアニメーション */
    }

    .nav-menu.show {
        right: 0;
        /* 表示時に右からスライドイン */
    }

    .nav-menu li {
        width: 80%;
        margin-top: 2rem;
        text-align: center;
    }

    .nav-menu li a {
        text-align: center;
    }

    .footer-info {
        display: contents;
        text-align: center;
    }

}

/* Media query for mobile view */
@media (max-width: 680px) {
    :root {
        font-size: 14px;
    }

    section {
        padding: 10rem 4%;
    }

    .navbar {
        width: 100%;
    }

    .nav-menu {
        width: 60%;
        padding-left: 10%;
    }

    .hero {
        height: 100vh;
        justify-content: center;
        text-align: center;
    }

    .hero-content span {
        margin-right: 24px;
    }

    .cta-button {
        padding: 12px 25px;
    }

    .feature-item {
        width: 100%;
    }

    #features h3 {}

    .feature-items h4 {}

    .footer {
        padding: 30px 20px;
    }

    .footer-nav ul {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr 1fr;
    }

    .footer-nav ul a {}

    .feature-items {
        grid-template-columns: repeat(2, 3fr);
    }

}

/* iphoneSE */
@media (max-width: 400px) {
    :root {
        font-size: 12px;
    }

    .footer-logo a {
        width: 80%;
    }

    .footer-logo a img {
        width: 100%;
        height: auto;
        margin: 0;
        pad: 0;
    }
}

/* 高さでメニュー感覚の調整 */
@media (max-height: 700px) {
    .nav-menu li {
        margin-top: 1rem;
    }
}