@charset "UTF-8";

/* ==============================
    ブレイクポイント
============================== */
/* スマホ (SP) : ~ 767px (デフォルト) */

/* TB/TBS : 768px ~ (タブレット縦) */
@media (min-width: 768px) {
}
@media (min-width: 768px) and (max-width: 959px) {
}

/* TB/TBL（Landscape） : 960px ~ (タブレット横・PC小) */
@media (min-width: 960px) {
}
@media (min-width: 960px) and (max-width: 1279px) {
}

/* PC/PCS : 1280px ~ (PC標準) */
@media (min-width: 1280px) {
}
@media (min-width: 1280px) and (max-width: 1599px) {
}

/* PC/PCL（Large） : 1600px ~ (PC大画面) */
@media (min-width: 1600px) {
}

/* ==============================
  Foundation: Variables
============================== */
:root {
    /* project colors */
    --color-primary: #28A838;
    --color-secondary: #75BB29;
    --color-accent: #FFF54C;
    --color-text: #222222;

    /* link colors */
    --color-link: #3c3c3c;
    --color-link-hover: #00ADA2;
    --color-link-visited: #3c3c3c;

    /* base colors */
    --color-black: #3c3c3c;
    --color-white: #FFFFFF;
    --color-gray-dark: #CCCCCC;
    --color-gray-light: #edf0f2;
    --color-red: #E53935;
    --color-pink: #EB6EA5;
    --color-purple: #9C27B0;
    --color-blue: #1684B6;
    --color-turquoise: #00ADA2;
    --color-green: #4CAF50;
    --color-yellow: #FFC107;
    --color-orange: #ED833C;

    /* sidebar layout */
    --sidebar-width: clamp(8rem, 10%, 12rem);
}

/* ==============================
  Foundation: Base Styles
============================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--color-text);
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
    body {
        /* 768px: 1.4rem 〜 960px: 1.5rem */
        font-size: clamp(1.4rem, 1rem + 0.5208vw, 1.5rem);
    }
}

@media screen and (min-width: 960px) {
    body {
        /* 960px: 1.5rem 〜 1280px: 1.6rem */
        font-size: clamp(1.5rem, 1.2rem + 0.3125vw, 1.6rem);
    }
}

@media screen and (min-width: 1280px) {
    body {
        /* 1280px: 1.6rem 〜 1600px: 1.8rem 〜 1920px: 2.0rem */
        font-size: clamp(1.6rem, 0.8rem + 0.625vw, 2.4rem);
    }
}

/* --- Basic Elements --- */
ul, ol {
    list-style: none;
}

dt, dd {
    margin: 0;
}

p {
    margin: 0;
    letter-spacing: 0.05em;
}


/* --- img ----------------- */

figure {
    margin: 0;
}

img{
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

a img {
    display: inline-block;
}

/* ==============================
  Layout: Container
============================== */
/* l-container */

.l-sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* あるいは任意の高さ */
    background-color: var(--color-white);
    z-index: 1000;
    border-bottom: 1px solid var(--color-gray-dark);
}

.l-main-contents {
    padding-top: 60px; /* サイドバーの高さ分空ける */
    min-width: 0
}

@media (min-width: 768px) {
    .l-container {
        display: flex;
        overflow: hidden;
    }
    .l-main-contents {
        flex: 1;
        padding-right: var(--sidebar-width);
        padding-top: 0; /* PCでは戻す */
    }
    .l-sidebar {
        top: 0;
        left: auto; /* SPのleft:0を打ち消し */
        right: 0;
        width: var(--sidebar-width);
        height: 100vh;
        border-bottom: none;
        border-left: 1px solid var(--color-gray-dark);
    }
}

/* l-inner */

.l-inner, .l-inner--sm, .l-inner--lg {
    width: 88%;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

@media (min-width: 768px) {
    .l-inner, .l-inner--sm, .l-inner--lg {
        width: 92%;
    }
    .l-inner {
        max-width: 73em;
    }
    .l-inner--sm {
        max-width: 60em;
    }
    .l-inner--lg {
        max-width: 80em;
    }
}

/* ==============================
  Layout: Header
============================== */
.l-header {
    display: none;
    width: 100%;
    min-height: 80px;
    padding-top: clamp(30px, 10%, 115px);
}
@media (min-width: 768px) {
    .l-header {
        display: block;
        background-image: url('/common/img/header-vegeline.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: top center;
    }
}
@media (min-width: 1280px) {
    .l-header {
        background-repeat: repeat-x;
        background-size: auto;
    }
}

.l-header__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: auto;
}
.l-header__logo {
    display: block;
    width: clamp(20rem, 40%, 80rem);
}
.l-header__logo-link {
    display: block;
    width: 100%;
    aspect-ratio: 662 / 159;
    background-image: url('/common/img/logo-all.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    transition: transform 0.3s ease;
}
.l-header__logo-link:hover {
    transform: scale(1.1);
}
.l-header__logo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.l-header__menu {
    display: none;
}
@media (min-width: 768px) {
    .l-header__menu {
        display: block;
    }
}

.l-header__nav {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
}
@media (min-width: 960px) {
    .l-header__nav {
        font-size: 1.125em;
    }
}

.l-header__nav-list {
    display: flex;
    gap: .5em;
    align-items: center;
    line-height: 1.4;
}
.l-header__nav-list li {
    display: flex;
    align-items: center;
}
.l-header__nav-list li + li::before {
    content: '／';
    margin-right: 1em;
    color: var(--color-text);
    font-size: 1.2em;
    font-weight: normal;
}
.l-header__nav-list a {
    color: var(--color-text);
    transition: opacity 0.3s;
}
.l-header__nav-list a:hover {
    opacity: 0.7;
}

/* ==============================
  Layout: Main
============================== */
main {
    line-height: 2;
}

/* ==============================
  Layout: Section
============================== */
.l-section {
    padding-top: 3em;
}
@media (min-width: 768px) {
    .l-section {
        padding-top: 5em;
    }
}

/* ==============================
  Layout: Footer
============================== */
.l-footer {
    padding-top: 2em;
    line-height: 2;
}
@media(min-width: 768px) {
    .l-footer {
        padding-top: 3.5em;
    }
}

/* l-footer-contact */
.l-footer-contact {
    text-align: center;
}

.l-footer-contact__txt {
    font-size: 1.375em;
    font-weight: 900;
    text-align: left;
}
@media (min-width: 768px) {
    .l-footer-contact__txt {
        text-align: center;
    }
}
.l-footer-contact__phone-number {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.5em;
    font-weight: 900;
    transition: opacity 0.3s;
    margin-top: 1em;
}
.l-footer-contact__phone-number::before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    background: url('/common/img/icon_phone.svg') no-repeat center / contain;
}
@media(min-width: 768px) {
    .l-footer-contact__phone-number {
        font-size: 2.5em;
    }
}

.l-footer-contact__dept {
    font-size: .875em;
    margin-top: .5em;
}
.l-footer-contact__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.5em 1em;
    background-color: var(--color-accent);
    font-size: 1.125em;
    font-weight: 900;
    border-radius: 999px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: var(--color-black);
}
.l-footer-contact__btn::after {
    content: "";
    position: absolute;
    right: 1.25em;
    top: 50%;
    transform: translateY(-50%);
    width: 2em;
    height: .625em;
    background-image: url("/common/img/half-arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: transform 0.3s ease;
}
.l-footer-contact__btn:hover {
    color: var(--color-black) !important;
}
.l-footer-contact__btn:hover::after {
    transform: translate(8px, -50%);
}
@media (min-width: 768px) {
    .l-footer-contact__btn {
        font-size: 1.375em;
        padding: 2em 1em;
    }
    .l-footer-contact__btn::after {
        right: 3em;
        width: 2.75em;
        height: .875em;
    }
}

/* l-footer__pagetop */
.l-footer__pagetop {
    text-align: center;
    padding: 1.5em 0 0;
    margin-top: 1.5em;
    border-bottom: 1px solid var(--color-gray-dark);
}
@media(min-width: 768px) {
    .l-footer__pagetop {
        margin-top: 2em;
    }
}

.l-footer__pagetop-text {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-black);
    text-decoration: none;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
    gap: .5em;
}
.l-footer__pagetop-text::before {
    content: "";
    order: 2;
    width: 2.875em;
    padding-bottom: 3em;
    background-image: url("/common/img/half-arrow-top.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
@media (hover: hover) {
    .l-footer__pagetop-text:hover {
        opacity: 0.7;
    }
}
@media (min-width: 768px) {
    .l-footer__pagetop-text {
        font-size: .875em;
        gap: 1.5em;
    }
    .l-footer__pagetop-text::before {
        height: 4em;
    }
}

/* l-footer__container */
.l-footer__container {
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
    padding-bottom: 2em;
}
.l-footer__top {
    padding-top: 3em;
}
/* スマホ時: フッターの共通メニューのみ非表示（ハンバーガーメニューは維持） */
@media (max-width: 767px) {
    .l-footer__nav-column .l-footer__bottom {
        display: none;
    }
    .l-footer__nav-column #g-nav:not(.panelactive) {
        display: none;
    }
}

@media (min-width: 500px) and (max-width: 768px) {
    .l-footer__top {
        text-align: center;
    }
}
@media(min-width: 768px) {
    .l-footer__container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        padding-bottom: 0;
    }
    .l-footer__top {
        width: 36%;
        border-right: 1px solid var(--color-gray-dark);
        padding-right: 2em;
        padding-top: 3em;
        padding-bottom: 6em;
    }
    .l-footer__nav-column {
        flex: 1;
        padding-top: 3em;
        padding-bottom: 3em;
    }
    .l-footer__nav-column .l-footer__bottom {
        display: block;
    }
}

.l-footer__logo {
    display: block;
    width: clamp(18rem, 98%, 33rem);
    height: auto;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}
.l-footer__logo:hover {
    opacity: 0.8;
}
@media(min-width: 768px) {
    .l-footer__logo {
        margin: 0;
    }
}

.l-footer__information p:nth-of-type(n+2) {
    margin-top: .1em;
}

.l-footer__sns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    margin-top: 1.5em;
}
.l-footer__sns p {
    font-weight: 900;
    line-height: 1;
}
.l-footer__sns ul {
    display: flex;
    gap: 1em;
    align-items: center;
    margin: 0;
}
.l-footer__sns li {
    width: 1.5em;
    height: 1.5em;
}
.l-footer__sns li a {
    display: block;
    width: 100%;
    height: 100%;
}

.l-footer__sns img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media(min-width: 768px) {
    .l-footer__sns {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
}

.l-footer__bottom-ttl {
    font-weight: 900;
    width: 1.1em;
    color: var(--color-gray-dark);
}

.l-footer__nav-column .c-gnav {
    margin-top: 1em;
}

/* l-footer__copyright */
.l-footer__copyright {
    text-align: center;
    font-size: .875em;
    padding: .5em 0;
    color: var(--color-white);    
    background: linear-gradient(to right, #28A838, #80D02B);
}
@media(min-width: 768px) {  
    .l-footer__copyright br {
        display: none;
    }
}

/* ==============================
  Layout: l-sidebar
============================== */
.l-sidebar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 15px;
}
@media (min-width: 768px) {
    .l-sidebar__inner {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding-right: 0;
        padding-bottom: 2em;
    }
}

.l-sidebar__logo-link {
    display: block;
    width: 15rem;
    height: 100%;
    margin: 0 0 0 15px;
    aspect-ratio: 463 / 137;
    background-image: url('/common/img/logo-all.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .l-sidebar__logo-link {
        width: 42%;
        margin: 3em auto 1em;
        height: auto;
        aspect-ratio: 114 / 942;
        background-image: url('/common/img/logo-all-v.png');
        background-position: center;
        flex-shrink: 0;
    }
    .l-sidebar__logo {
        width: 100%;
    }
}

.l-sidebar__logo-link:hover {
    transform: scale(1.1);
}

.l-sidebar__logo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Sidebar Menu & Icons (PC) */
.l-sidebar__hamburger {
}
@media (min-width: 768px) {
    .l-sidebar__hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: 100%;
        margin-top: 0;
        flex: 1;
    }
    .l-sidebar__hamburger-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        border-top: 1px solid var(--color-gray-dark) !important;
        border-bottom: 1px solid var(--color-gray-dark) !important;
        background-image: linear-gradient(to right, var(--color-primary), #80D02B);
    }
}


/*========= ナビゲーションのためのCSS ===============*/

/* フッター内では Contents の二重表示を防ぐ */
/* フッター内では Contents の二重表示を防ぐ（オーバーレイ時は表示） */
.l-footer__nav-column #g-nav:not(.panelactive) .c-gnav__contents-ttl {
    display: none;
}

/* ハンバーガーオーバーレイ: アクティブ時 */
#g-nav.panelactive {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: calc(100% - var(--sidebar-width));
    max-height: 100vh;
    max-height: 100dvh; /* モバイルのアドレスバー考慮 */
    overflow-x: hidden;
    overflow-y: auto; /* コンテンツが入りきらない場合のみ縦スクロール */
    -webkit-overflow-scrolling: touch;
    padding: 3em 10% 4em;
    box-sizing: border-box;
    flex-wrap: wrap; /* Contents と2グループを配置 */
}

#g-nav.panelactive .c-gnav__contents-ttl {
    display: block;
    font-weight: 900;
    width: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    margin: 1em 0 0 0;
    flex: 0 0 100%;
}
@media (min-width: 768px) {
    #g-nav.panelactive .c-gnav__contents-ttl {
        margin: 0 0 1em 0;
    }
}

#g-nav.panelactive .c-gnav__ttl a,
#g-nav.panelactive .c-gnav__list li a,
#g-nav.panelactive .c-gnav__sub-list li a {
    color: var(--color-white);
    font-weight: 700;
    transition: font-size 0.2s ease;
}
@media (hover: hover) {
    #g-nav.panelactive .c-gnav__ttl a:hover,
    #g-nav.panelactive .c-gnav__list li a:hover,
    #g-nav.panelactive .c-gnav__sub-list li a:hover {
        color: var(--color-white) !important;
        opacity: 1;
        font-size: 1.05em;
    }
}

#g-nav.panelactive .c-gnav__ttl::before,
#g-nav.panelactive .c-gnav__list li::before {
    background-color: var(--color-white);
}

#g-nav.panelactive .c-gnav__group {
    width: 38%;
}

@media (max-width: 767px) {
    #g-nav.panelactive {
        flex-direction: column;
        flex-wrap: nowrap; /* 縦1カラムを維持（wrapだとPC同様2カラムになる） */
        width: 100%;
        padding: 3em 8% 4em;
    }
    #g-nav.panelactive .c-gnav__group {
        width: 100%;
    }
}

/*丸の拡大*/
.circle-bg {
    position: fixed;
    z-index: 3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(to right, #28A838, #80D02B);
    transform: scale(0);
    right: -50px;
    top: calc(50% - 50px);
    transition: all .6s;
}

.circle-bg.circleactive {
    transform: scale(50);
}

/* オーバーレイ時の li アニメーション */
#g-nav.panelactive .c-gnav__list li,
#g-nav.panelactive .c-gnav__sub-list li {
    animation-name: gnaviAnime;
    animation-duration: 0.6s;
    animation-delay: 0.1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes gnaviAnime {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


/*========= ボタンのためのCSS ===============*/
.openbtn{
	position: relative;
	cursor: pointer;
    width: 50px;
    height: 50px;
}
@media (min-width: 768px) {
    .openbtn {
        width: 80px;
        height: 50px;
    }
}

/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    border-radius: 2px;
	background-color: var(--color-black);
  	width: 90%;
}
  @media (min-width: 768px) {
    .openbtn span {
        background-color: var(--color-white);
    }
}

.openbtn span:nth-of-type(1) {
	top:15px;
}

.openbtn span:nth-of-type(2) {
	top:25px;
}

.openbtn span:nth-of-type(3) {
	top:35px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 50%;
    transform: translateX(-50%) translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-6px) rotate(45deg);
    width: 30%;
}


/* Icons */

.l-sidebar__icons {
    display: none;
}

@media (min-width: 768px) {
    .l-sidebar__icons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
        width: 100%;
        margin-top: 1em;
    }
}

.l-sidebar__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    color: var(--color-black);
    transition: opacity 0.3s;
}
.l-sidebar__search-btn > svg {
    width: 100%;
    height: 100%;
}
.l-sidebar__search-btn:hover {
    opacity: 0.7;
}

.l-sidebar__sns-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
}
.l-sidebar__sns-list li {
    width: 1.2em;
    height: 1.2em;
}
.l-sidebar__sns-list a {
    display: block;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s;
}
.l-sidebar__sns-list a:hover {
    opacity: 0.7;
}
.l-sidebar__sns-list img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ==============================
 Scrollbar
============================== */
::-webkit-scrollbar,
.scrollable-element::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track,
.scrollable-element::-webkit-scrollbar-track {
    background-color: var(--color-gray-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb,
.scrollable-element::-webkit-scrollbar-thumb {
    background-color: var(--color-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover,
.scrollable-element::-webkit-scrollbar-thumb:hover {
    background-color: color-mix(in srgb, var(--color-secondary) 80%, black 20%);
}