/* ======================================= */
/* 1. リセット & 基本設定 */
/* ======================================= */

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

h1, h2, h3, h4, h5, h6, p, ul, ol {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

html {
    font-size: 62.5%; 
}

body {
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
    line-height: 1.6;
    background-color: #eff0ee;
    color: #222222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.loader-bg-top,
.loader-bg-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #bcd331;
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}

.loader-bg-top { top: 0; }
.loader-bg-bottom { bottom: 0; }

.loaded .loader-bg-top { transform: translateY(-100%); }
.loaded .loader-bg-bottom { transform: translateY(100%); }

.loader-content {
    position: relative;
    z-index: 10001;
    display: flex;
    align-items: baseline;
    font-family: sans-serif;
    color: #fff;
    transition: opacity 0.3s ease;
    font-family: "Zen Kurenaido", sans-serif;
    font-weight: bold;
    font-style: normal;
}

#loader-count {
    font-size: 60px;
    font-weight: bold;
}

.loader-unit {
    font-size: 24px;
    margin-left: 5px;
}

.loaded .loader-content {
    opacity: 0;
}

main {
    flex: 1;
}

section {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1200px; 
    margin: 0 auto;
}

.first-container {
    margin-top: 80px;
}

.container img {
    max-width: 100%; 
    height: auto; 
    display: block;
}

a {
    color: #222222;
}

.main-title {
    margin-bottom: 40px;
}

.main-title h2 {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 10px;
}

.main-title span {
    font-size: 16px;
    font-weight: bold;
}

.sp-only {
    display: none;
}

.image-reveal {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-reveal img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    animation: fadeIn 0.1s forwards 0.5s; 
}

.image-reveal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #bcd331;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    animation: revealEffect 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
@keyframes revealEffect {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }
    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
    51% {
        transform: scaleX(1);
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ======================================= */
/* 2. ヘッダー */
/* ======================================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 80px;
    background-color: #eff0ee;
    position: relative;
}

.logo-area {
    background-color: #eff0ee;
    padding: 0 30px;
    height: 130px; 
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: 30px;
    z-index: 10;
}

.logo {
    text-align: center;
}

.logo img {
    width: 60%;
    margin: auto;
}

.header-sticky .logo-area {
    height: 80px;
    background-color: none !important;
    border-bottom-right-radius: 0;
}

.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.header-sticky.is-show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nav-menu {
    display: flex;
    align-items: stretch;
}

.nav-menu a {
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
    display: flex;
    align-items: center;
    min-width: 160px;
    justify-content: center;
    transition: 0.5s;
    position: relative;
}

.nav-menu > a:not(.btn-recruit):not(.btn-contact),
.nav-item.has-child > a {
    background-image: linear-gradient(to right, #bcd331 50%, #222 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 0.5s ease;
}

.nav-menu > a:not(.btn-recruit):not(.btn-contact):hover,
.nav-item.has-child:hover > a {
    background-position: 0 0;
    opacity: 1;
}

.btn-recruit,
.btn-contact {
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

.nav-menu a:hover {
    opacity: 0.6;
    transition: 0.8s;
}

.btn-recruit {
    background-color: #222222;
    color: #fff !important;
}

.btn-contact {
    background-color: #bcd331;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.dropdown-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 240px;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    border: #222222 1px solid;
}

.has-child:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    font-size: 1.4em;
    padding: 15px 20px;
    min-width: 100%;
    justify-content: flex-start;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:hover {
    background-color: #e2e2e2;
    opacity: 1;
}

.nav-menu > a, 
.nav-item > a {
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
    display: flex;
    align-items: center;
    min-width: 160px;
    justify-content: center;
}
/* ======================================= */
/* HOME */
/* ======================================= */
.fv-container {
    position: relative;
    padding: 20px 0 0;
}

.fv-content {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 20px;
    max-width: 95%;
    margin: 0 auto;
    position: relative;
    height: 700px;
}

.image-wrap {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
}

.image-wrap.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.left-image {
    transition-delay: 0s;
}

.right-image {
    transition-delay: 0.4s; 
}

.image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; 
    position: relative;
    z-index: 1;
}

.left-image img {
    object-position: 100% top; 
    transform: scale(1.2); 
    transform-origin: center center;
}

.right-image img {
    object-position: center top; 
}

.main-copy-circle {
    position: absolute;
    bottom: -40px;
    left: 0px;
    z-index: 10; 
}

.main-copy-circle img {
    width: 420px;
}

.bottom-text-bar {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%; 
    background-color: #eff0ee;
    padding: 40px 60px;
    border-top-left-radius: 30px;
    z-index: 5; 
}

.copy-jp {
    font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
    font-size: 3.0em;
    white-space: nowrap; /* 改行させない */
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.about-text {
    width: 60%;
    font-size: 20px;
    margin-bottom: 80px;
    align-self: right;
}

.about-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding-bottom: 15px;
    width: 350px;
    justify-content: space-between;
    position: relative; 
}

.about-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.about-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #bcd331;
    z-index: 2;
    transition: width 0.4s ease; 
}

.about-link:hover::after {
    width: 100%;
}

.link-label {
    font-size: 16px;
    font-weight: bold;
}

.link-arrow {
    background-color: #222;
    color: #fff;
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.link-arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #bcd331;
    transition: width 0.4s ease;
    z-index: -1;
}

.link-arrow {
    transition: color 0.4s ease;
}

.about-link:hover .link-arrow::before {
    width: 100%;
}

.about-link:hover .link-arrow {
    color: #222222;
}



.service-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.service-card {
    background-color: #fefffc;
    cursor: pointer;
    overflow: hidden;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.service-card:hover {
    border-bottom: 3px solid #bcd331;
}

.card-image {
    width: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    font-size: 16px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-arrow-box {
    width: 60px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #dddddd;
    border-radius: 3px;
    position: relative;
    background-color: #fff;
    z-index: 1;
    overflow: hidden;
    transition: border-color 0.4s ease, color 0.4s ease;
}

.card-arrow-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #bcd331;
    z-index: -1;
    transition: width 0.4s ease;
}

.service-card:hover .card-arrow-box {
    border-color: #bcd331;
    color: #222222;
}

.service-card:hover .card-arrow-box::before {
    width: 100%;
}

.arrow {
    position: relative;
    z-index: 2;
}


.company {
    background-color: #bcd331;
    position: relative;
    border-top-left-radius: 100px; 
    margin-top: 50px;
}

.company-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.company-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-row {
    display: flex;
    align-items: stretch;
    height: 45px;
}

.list-row dt {
    background-color: #222;
    color: #fff;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.list-row dd {
    background-color: #eff0ee;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
}

.company-map {
    width: 450px;
    height: 500px;
}

.company-map iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================================= */
/* 15. フッター */
/* ======================================= */
.footer {
    background-color: #222222; /* 濃いめの黒 */
    color: #fff;
    padding-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
}

.footer-logo {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
}

.footer-address {
    font-size: 14px;
}

.footer-address a {
    color: #fff;
    -webkit-text-fill-color: #fff; /* Safariの電話番号自動リンク色を上書き */
    text-decoration: none;
}

.company-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 右側：ナビゲーション */
.footer-nav {
    display: flex;
    gap: 80px; /* カラム間の距離 */
    margin-top: 20px;
}

.nav-column {
    display: flex;
    flex-direction: column;
    gap: 20px; /* メニュー間の縦の距離 */
}

.nav-column a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

.nav-column a:hover {
    opacity: 0.6;
}

/* 最下部：コピーライト */
.footer-bottom {
    border-top: 2px solid #333; /* 区切り線 */
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #fff;
}

/* ======================================= */
/* 16. メッセージ */
/* ======================================= */

/* タイトル部分 */
.h3-header {
    margin-bottom: 60px;
}

.sub-title {
    color: #789301;
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.h3-header h3 {
    font-size: 36px;
    font-weight: bold;
}

.message-body {
    line-height: 2;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 60px;
}

.message-body p {
    margin-bottom: 1.5em;
}

.message-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: auto;
    width: fit-content;
}

.message-footer p {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    font-family: "Zen Kurenaido", sans-serif;
    font-weight: bold;
    font-style: normal;
}
/* ======================================= */
/* 17. 買い物代行事業 */
/* ======================================= */

.features-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; 
}

.feature-card {
    background-color: transparent;
    display: flex;
    flex-direction: column;
}

.feature-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 20px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-body {
    text-align: center;
}

.feature-body h5 {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 15px;
}

.feature-body p {
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
}

.flow-container {
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.flow-visual {
    flex: 1;
}

.flow-visual img {
    width: 100%;
    height: auto;
}

.flow-content {
    flex: 1;
}

.flow-header {
    margin-bottom: 40px;
}

.flow-header h4 {
    font-size: 24px;
    font-weight: bold;
}

.flow-list {
    border-top: 2px solid #dddddd;
}

.flow-item {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 2px solid #dddddd;
    align-items: flex-start;
}

.flow-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.flow-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flow-text h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.flow-text p {
    font-size: 16px;
    line-height: 1.8;
}

.product {
    text-align: center;
}

.product-container {
    margin: 0 auto;
}

.product-main-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-label {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
}


.service-detail-header {
    margin-bottom: 40px;
}

.service-detail-lead {
    margin-left: auto;
    width: 60%;
    margin-bottom: 80px;
}

.service-detail-lead h4 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.service-detail-lead p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.service-circle-area {
    display: flex;
    justify-content: center; /* 中央寄せに変更 */
    align-items: center;
    position: relative;
    margin: 50px auto 0;
    gap: 100px; /* PCでの円同士の間隔 */
}

.circle-item {
    width: 300px;
    height: 300px;
    flex-shrink: 0; /* 【重要】これが無いと円が潰れます */
    background-color: #fefffc;
    border: 3px solid #bcd331;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.circle-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -92px; /* gapに合わせて調整 */
    width: 80px;
    height: 80px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    background: 
        linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
}

.circle-content h5 {
    color: #789301;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.circle-content p {
    font-size: 14px;
    line-height: 1.6;
}

.h4-title {
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 40px;
}

.h4-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #bcd331;
}

.sf-lead {
    margin-left: auto;
    width: 60%;
    margin-bottom: 80px;
}

.sf-lead p {
    font-size: 18px;
}

.sf-highlight {
    font-size: 28px !important;
    margin: 10px 0;
    font-weight: bold;
}

.sf-highlight span {
    font-size: 18px;
    font-weight: 100;
}

.sf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sf-card {
    background-color: #fefffc;
    padding: 30px 25px;
    text-align: center;
}

.sf-card h5 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.sf-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sf-card p {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.step-container {
    margin: 0 auto;
    position: relative;
}

.step-line {
    position: absolute;
    left: 75px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ddd;
    z-index: 1;
}

.step-list {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.step-label {
    background-color: #bcd331;
    font-weight: bold;
    width: 150px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    letter-spacing: 0.05em;
    position: relative;
}

.step-content {
    padding-top: 5px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.step-content p {
    font-size: 16px;
    line-height: 1.8;
}

.recruit-section {
    background-color: #eff0ee;
    overflow: hidden;
}

.recruit-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 120px;
    background-color: #bcd331;
    border-top-left-radius: 100px; 
}

.recruit-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-top {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.image-top img {
    width: 70% !important;
    height: auto;
    display: block;
}

.image-bottom-wrapper {
    display: flex;
    gap: 15px;
}

.image-bottom {
    flex: 1;
}

.image-bottom img {
    width: 100%;
    height: auto;
    display: block;
}

.recruit-images img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-top, .image-bottom {
    overflow: hidden;
}

.image-bottom img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
}

@keyframes relayZoom {
    0%   { transform: scale(1); }
    10%  { transform: scale(1.05); }
    30%  { transform: scale(1); }
    100% { transform: scale(1); }
}

.is-zoom-active img {
    animation: relayZoom 9s ease-in-out infinite;
}

.image-top.is-zoom-active img {
    animation-delay: 0s;
}

.image-bottom-wrapper .image-bottom:nth-child(1).is-zoom-active img {
    animation-delay: 3s;
}

.image-bottom-wrapper .image-bottom:nth-child(2).is-zoom-active img {
    animation-delay: 6s;
}

.recruit-content {
    flex: 1;
    color: #fff;
}

.recruit-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.recruit-text {
    font-size: 18px;
    line-height: 2;
    font-weight: bold;
}

.recruit-text p {
    margin-bottom: 20px;
}


.persona-main-title {
    font-size: 32px;
    font-weight: bold;
    color: #789301;
    margin-bottom: 30px;
    letter-spacing: 0.02em;
}

.persona-text {
    line-height: 2.2;
    font-size: 16px;
    font-weight: 500;
}

.persona-text p {
    margin-bottom: 2em;
}

.career-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.career-item-title {
    font-size: 20px;
    font-weight: bold;
    color: #789301;
    margin-bottom: 15px;
}

.career-item-text {
    font-size: 16px;
    line-height: 1.8;
    padding-left: 1.5em;
}


.benefits-card {
    background-color: #fefffc;
    padding: 40px 60px;
    border-radius: 4px;
}

.benefits-row {
    display: flex;
    align-items: center; 
    padding: 10px 0 0;
    position: relative;
    gap: 20px;
}

.benefits-label {
    flex: 0 0 300px;
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
    padding: 0 0 10px;
}

.benefits-label h5 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding-bottom: 25px; 
    padding-top: 25px;
}

.benefits-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #bcd331;
}

.benefits-detail {
    flex: 1;
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 10px;
}

.benefits-detail p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 0;
}

.benefits-detail::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ddd;
}




.contact-container {
    max-width: 600px;
    margin: 20px auto;
    background: #fefffc;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-container h2 {
    text-align: center;
    color: #bcd331;
    font-size: 24px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

.required {
    color: #fa4141;
    font-size: 0.85em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.radio-group label {
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
    cursor: pointer;
}

.privacy-policy {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 4px;
    margin: 30px 0;
    font-size: 12px;
}

.privacy-policy a {
    text-decoration: underline;
    color: #222;
}

.checkbox-label {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #bcd331;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #a5ba2a;
}

.notice {
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.thanks-message {
    text-align: center;
    font-size: 14px;
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #bcd331;
    border: 1px solid #bcd331;
    padding: 10px 20px;
    border-radius: 4px;
}


.policy-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fefffc;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    line-height: 1.8;
}

.policy-container h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    border-bottom: 2px solid #bcd331;
    padding-bottom: 15px;
}

.policy-container h4 {
    color: #789301;
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 10px;
    border-left: 4px solid #bcd331;
    padding-left: 15px;
}

.policy-container p, .policy-container li {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.policy-container ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.company-name {
    font-weight: bold;
    font-size: 18px;
}
/* ======================================= */
/* 16. レスポンシブ対応 (1300px以下) */
/* ======================================= */
@media screen and (max-width: 1300px) {
    .nav-menu a {
        min-width: 120px;
        font-size: 1.4em;
    }

    .logo-area {
        padding: 0px;
    }

    .fv-content {
        height: 500px;
    }

    .bottom-text-bar {
        width: 60%;
        padding: 30px;
    }

    .main-copy-circle img {
        width: 300px;
    }

    .copy-jp {
        font-size: 2.2em;
    }

    .company-content {
        flex-direction: column;
    }

    .company-list, .company-map {
        width: 100%;
    }

    .features-container {
        gap: 20px;
    }

    .flow-container {
        gap: 30px;
    }

    .product-grid {
        gap: 10px;
    }

    .sf-lead {
        width: 65%;
    }

    .sf-grid {
        gap: 15px;
    }

    .circle-item {
        width: 260px;
        height: 260px;
        padding: 20px;
    }
    .service-circle-area {
        gap: 50px;
    }
    .circle-item:not(:last-child)::after {
        right: -68px;
        transform: translateY(-50%) scale(0.7);
    }

    .recruit-container {
        padding: 0 20px;
    }

    .recruit-title {
        font-size: 32px;
        padding-top: 20px;
    }

    .recruit-text {
        line-height: 1.8;
    }
}

/* ======================================= */
/* 17. レスポンシブ対応 (768px以下) */
/* ======================================= */
@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .first-container {
        margin-top: 50px;
    }

    .header {
        height: 60px;
    }

    .logo-area {
        height: 80px;
        padding: 10px 20px;
    }

    .logo img {
        width: 80px;
    }

    .header-sticky .logo-area {
        height: 60px;
        padding: 0 20px;
    }

    .header-sticky .logo {
        align-items: center;
        display: flex;
    }

    .header-sticky .logo img {
        width: 120px;
    }

    /* --- 1. ハンバーガーボタン本体 --- */
    .hamburger {
        display: block;
        position: relative;
        z-index: 9999 !important;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        margin-right: 20px;
        align-self: center;
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #222;
        transition: all .4s;
    }

    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 11px; }
    .hamburger span:nth-child(3) { bottom: 0; }

    .hamburger.is-active span:nth-child(1) { transform: translateY(11px) rotate(-45deg); }
    .hamburger.is-active span:nth-child(2) { opacity: 0; }
    .hamburger.is-active span:nth-child(3) { transform: translateY(-11px) rotate(45deg); }

    /* --- 2. ナビゲーションメニュー本体 --- */
    .nav-menu {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(239, 240, 238, 0.98);
        transition: right 0.5s ease;
        z-index: 1001 !important;
        padding: 60px 0;
        overflow-y: auto;
    }

    .nav-menu.is-active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: static !important;
    }

    .nav-menu a, 
    .js-dropdown-toggle {
        font-size: 2.0rem !important;
        padding: 15px 0 !important;
        width: 100%;
        min-width: 0 !important;
        justify-content: center;
        border-bottom: 1px solid #ddd;
        background-image: none !important;
        color: #222 !important;
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    /* --- 3. SERVICE アコーディオン設定 --- */
    .js-dropdown-toggle {
        position: relative;
    }

    .js-dropdown-toggle::after {
        content: '▼';
        font-size: 1.2rem;
        position: absolute;
        right: 20%;
        transition: transform 0.3s;
    }

    .js-dropdown-toggle.is-active::after {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        display: block !important;
        position: static !important;
        transform: none !important;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background-color: #e9e9e7 !important;
        border: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: max-height 0.4s ease;
    }

    .dropdown-menu.is-open {
        max-height: 300px;
    }

    .dropdown-menu a {
        font-size: 1.6rem !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid #ccc;
        background-color: transparent !important;
    }

    /* --- 4. Aboutセクション右寄せ --- */
    .about-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
    }

    .about-text {
        width: 70%;
        font-size: 16px;
        margin-bottom: 40px;
        text-align: left;
        margin-left: auto;
        margin-right: 0;
    }

    .about-link {
        width: 60%;
    }

    /* --- 5. レイアウト・ボタン・追従設定 --- */
    .fv-container { 
        padding-top: 0px;
    }
    .left-image img { 
        object-position: 80% top; 
    }
    .bottom-text-bar { 
        padding: 20px; 
    }
    .copy-jp { 
        font-size: 1.8em;
        white-space: normal; 
    }
    .main-copy-circle img { 
        width: 250px; 
    }
    .main-title {
        margin-bottom: 20px;
    }
    .main-title h2 { 
        font-size: 40px; 
    }
    
    .h3-header {
        margin-bottom: 30px;
    }
    .h3-header h3 {
        font-size: 28px;
    }
    .sub-title {
        margin-bottom: 5px;
    }
    .service-container { 
        grid-template-columns: 1fr;
        gap: 30px; 
    }
    .company { 
        border-top-left-radius: 50px; 
    }
    .company-map { 
        height: 300px; 
    }
    .list-row dt { 
        width: 100px;
        font-size: 16px; 
    }
    .footer-container, .footer-nav { 
        flex-direction: column; gap: 40px; 
    }

    .btn-recruit, .btn-contact {
        margin-top: 15px;
        width: 80% !important;
        border-radius: 5px;
        border-bottom: none !important;
    }

    .nav-menu a.btn-recruit, 
    .nav-menu a.btn-contact {
        color: #ffffff !important;
    }

    .header-sticky {
        z-index: 2000 !important;
    }

    .header-sticky .hamburger span {
        background-color: #222 !important;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 600px;
        width: 90%;
    }

    .feature-body p {
       font-size: 16px;
       text-align: center;
    }

    .flow-visual {
       flex: 0.6;
    }

    .product-grid {
       grid-template-columns: repeat(2, 1fr);
       gap: 30px 10px;
    }

    .service-detail-lead {
        width: 70%;
        margin-bottom: 30px;
    }

    .service-detail-lead h4 {
        font-size: 24px;
    }

    .sf-lead {
        width: 70%;
        margin-bottom: 50px;
    }

    .sf-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 600px;
        width: 90%;
        margin: auto;
    }

    .sf-card p {
        font-size: 16px;
    }

    .step-item {
        gap: 30px;
    }

    .service-circle-area {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        max-width: 640px;
        margin: 0px auto 0;
    }

    .circle-item {
        width: 300px;
        height: 300px;
        flex-shrink: 0;
        padding: 25px;
    }

    .circle-item:nth-child(1) {
        width: 100%;
        flex-basis: 100%; 
        display: flex;
        justify-content: center;
    }

    .circle-item:nth-child(1) .circle-content {
        width: 300px; 
        height: 300px;
        border: 3px solid #bcd331;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #fefffc;
    }

    .circle-item:nth-child(1) {
        border: none;
        background-color: transparent;
    }

    .circle-item::after {
        display: none !important;
    }

    .circle-content p {
        padding:  10px;
    }

    .recruit-images {
        gap: 5px;
    }

    .benefits-label {
        flex: 0 0 150px;
    }

    .footer {
        padding-top: 40px;
    }
}

/* ======================================= */
/* 18. 小さなスマホ向け (480px以下) */
/* ======================================= */
@media screen and (max-width: 480px) {
    section {
        padding: 40px 0;
    }

    .sp-only { display: block; }
    .pc-only { display: none; }

    .fv-content {
        gap: 10px;
    }

    .main-copy-circle {
        bottom: -20px;
    }

    .main-copy-circle img {
        width: 180px;
    }

    .about-text {
        width: 100%;
        font-size: 14px;
    }

    .main-title h2 {
        font-size: 36px;
        margin-bottom: 5px;
    }

    .main-title span {
        font-size: 12px;
    }

    .h3-header h3 {
        font-size: 24px;
    }

    .about-link {
        width: 50%;
    }

    .link-label, .link-arrow {
        font-size: 12px;
    }

    .link-arrow {
        background-color: #222;
        color: #fff;
        width: 40px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .card-body {
        font-size: 14px;
        padding: 10px 30px;
    }

    .card-arrow-box {
        width: 40px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: bold;
        border: 2px solid #dddddd;
        border-radius: 3px;
        position: relative;
        background-color: #fff;
        z-index: 1;
        overflow: hidden;
        transition: border-color 0.4s ease, color 0.4s ease;
    }

    .feature-body p {
       font-size: 14px;
    }

    .flow-container {
        display: block;
    }

    .flow-visual img {
        margin-bottom: 30px;
    }

    .flow-header {
        margin-bottom: 20px;
    }

    .flow-text h5 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .flow-header h4 {
       font-size: 20px;
    }

    .flow-text p {
        font-size: 14px;
    }

    .product-main-title {
        font-size: 20px;
    }

    .product-label {
        font-size: 14px;
    }

    .h4-title {
        font-size: 20px;
    }

    .service-detail-lead {
        width: 100%;
    }

    .service-detail-lead h4 {
        font-size: 20px;
    }

    .service-detail-lead p {
        font-size: 14px;
    }

    .sf-lead {
        width: 100%;
    }

    .sf-lead p {
        font-size: 14px;
    }

    .sf-highlight {
        font-size: 24px !important;
    }

    .sf-highlight span {
        font-size: 14px;
    }

    .sf-card {
        padding: 15px 20px;
    }

    .sf-card h5 {
        font-size: 18px;
    }

    .sf-card p {
        font-size: 14px;
    }

    .step-label {
        width: 100px;
        height: 30px;
    }

    .step-content h3 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 14px;
    }

    .recruit-container {
        display: block;
        padding-bottom: 20px;
    }

    .recruit-title {
        font-size: 28px;
    }

    .recruit-text p {
        font-size: 16px;
    }

    .persona-main-title {
        font-size: 28px;
    }

    .persona-text p {
        font-size: 14px;
    }

    .career-item-text {
        font-size: 14px;
    }

    .benefits-card {
        padding: 20px;
    }

    .benefits-row {
        display: block;
    }

    .benefits-label h5 {
        padding: 0;
    }

    .benefits-detail {
        padding: 20px 0;
    }

    .benefits-detail::after {
        display: none;
    }

    .list-row {
        height: auto;
        flex-direction: column;
    }

    .list-row dt {
        width: 100%;
        padding: 5px 0;
    }

    .list-row dd {
        padding: 10px;
        justify-content: center;
    }

    .footer-logo {
        font-size: 32px;
    }

    
}

@media screen and (min-width: 769px) {
    .hamburger {
        display: none;
    }
}