* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

body {
  background: var(--baseColor);
}

button {
    cursor: pointer;
}

/*------------------------------*/
/* 変数 */
/*------------------------------*/

:root {
  --accentColor: #FF9E42;
  --bluePrimary: #0E94C3;
  --blueSecondary: #005C80;
  --baseColor: #FFFFFA; 
  --textColor: #1A6784; 
  --h2FontSize: clamp(1.5rem, 1.273rem + 0.97vw, 2rem); 
  --h3FontSize: clamp(1rem, 0.773rem + 0.97vw, 1.5rem);
  --pFontSize: clamp(0.813rem, 0.727rem + 0.36vw, 1rem);
  --buttonPadding: 16px 40px;
  --notoSansJp: 'Noto Sans JP';
  --barlowCondensed: 'Barlow Condensed';
  --letterSpace: 0.08em;
}


/*------------------------------*/
/* layout */
/*------------------------------*/

.layout {
  display: grid;
  grid-template-columns: 78.75vw 1fr;
}


/*------------------------------*/
/* sidebar */
/*------------------------------*/

/* サイドバー（常時追従） */
.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, -1.25rem + 3.13vw, 2.5rem);
    padding: clamp(1.5rem, -1.5rem + 3.75vw, 3rem);
    background-color: #F2FCFF;
}

/* PCヘッダー */
.header h1 a img{
    width: 100%;
    height: auto;
}

/* LINEボタン */
.button__line {
    width: 100%;
    padding-block: clamp(0.5rem, -0.5rem + 1.25vw, 1rem);
    background-color: #20D058;
    border: none;
    border-radius: 6px;
}

.button__line a {
    font-family: var(--notoSansJp);
    font-size: 16px;
    font-weight: bold;
    color: var(--baseColor);
}

/* PC nav */

.nav {
    background-color: var(--bluePrimary);
    padding: clamp(1.25rem, -1.25rem + 3.13vw, 2.5rem) clamp(1rem, -1rem + 2.5vw, 2rem);
    border-radius: 6px;
}

.nav ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav ul li a {
    color: var(--baseColor);
    font-family: var(--notoSansJp);
    font-weight: normal;
    font-size: 16px;
    letter-spacing: var(--letterSpace);
}

.btn-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-links li:first-of-type {
    display: flex;
    gap: 12px;
}

.button__blue,
.button__blue2,
.button__orange {
    width: 100%;
    padding-block: clamp(0.5rem, -0.5rem + 1.25vw, 1rem);
    font-size: 16px;
    font-family: var(--notoSansJp);
    border: none;
    border-radius: 6px;
}

.button__blue {
    background-color: var(--bluePrimary);
}

.button__blue2 {
    background-color: var(--blueSecondary);
}

.button__orange {
    background-color: var(--accentColor);
}

.btn-links button a {
    color: var(--baseColor);
}

small {
    display: flex;
    justify-content: center;
    color: var(--blueSecondary);
    font-size: 16px;
    font-family: var(--notoSansJp);
}

/* モバイルメニュー（非表示） */
.mobile-nav-toggle,
.mobile-nav {
    display: none;
}

/* ヘッダー＆ナビ（共通） */
.header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.nav ul {
    list-style: none;
    padding: 0;
}

.nav li {
    margin: 0.5rem 0;
}

.nav a {
    text-decoration: none;
    color: #333;
}

/* --- レスポンシブ（768px以下） --- */
@media (max-width: 768px) {
    .layout {
        grid-template-columns: 1fr; /* 1カラムに */
    }

    .sidebar {
        display: none; /* PC用サイドバー非表示 */
    }

    #brand-logo {
        display: none;
    }

    #toggleButton {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        font-family: var(--barlowCondensed);
        font-size:20px;
        color: var(--blueSecondary);
        background-color: #F2FCFF;
    }

    #toggleButton img {
        width: 48px;
    }
        
    .mobile-nav-toggle {
        width: 100%;
        display: flex;
        position: fixed;
        bottom: 0;
        font-size: 2rem;
        background: none;
        border: none;
        z-index: 1000;
        cursor: pointer;
    }

    .mobile-nav-toggle > button {
        width: 50%;
        padding: 16px;
        border: none;
    }

    .mobile-nav-toggle button:last-of-type {
        font-size: clamp(0.813rem, 0.634rem + 0.76vw, 1rem);
        background-color: var(--accentColor);
    }

    .mobile-nav-toggle button:last-of-type a {
        font-family: var(--notoSansJp);
        font-weight: 500;
        color: var(--baseColor);
    }

    .mobile-nav {
        width: 85vw;
        height: auto;
        display: none;
        position: fixed;
        top: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        background: #F2FCFF;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        padding: 1rem;
        z-index: 999;
        flex-direction: column;
    }

    .mobile-nav.active {
        display: flex;
    }

    #closeNav {
        align-self: flex-end;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        margin-bottom: 1rem;
    }

    .button__line {
        margin-bottom: clamp(1rem, 0.046rem + 4.07vw, 2rem);
    }

    .global-nav-list {
        display: flex;
        flex-direction: column;
        gap: clamp(0.5rem, -1.408rem + 8.14vw, 2.5rem);
        background-color: var(--bluePrimary);
        padding-block: 40px;
        padding-inline: 32px;
        border-radius: 6px;
        margin-bottom: clamp(1rem, 0.046rem + 4.07vw, 2rem);
    }

    .global-nav-list li {
        font-family: var(--notoSansJp);
    }

    .global-nav-list li a {
        color: var(--baseColor);
    }

    .global-buttons {
        display: flex;
        flex-direction: column;
        gap: clamp(1rem, 0.046rem + 4.07vw, 2rem);
    }

    .global-buttons li {
        font-family: var(--notoSansJp);
    }

    .global-buttons li a {
        color: var(--baseColor);
    }

    .global-buttons li:first-of-type {
        display: flex;
        gap: 16px;
    }
}


/*------------------------------*/
/* main area FV */
/*------------------------------*/

.main_visual {
    height: 100vh;
    background-image: url(/assets/images/locoloco_fv.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.main_copy {
    padding: 224px 0 0 24px;
}

.main_copy img {
    position: absolute;
    top: 25%;
    left: 0;
}

.main_copy p {
    font-family: 'Barlow Condensed';
    font-size: clamp(4.25rem, 2.733rem + 6.47vw, 10.5rem);
    font-weight: 600;
    font-style: italic;
    color: var(--accentColor);
    letter-spacing: 0.08em;
    margin-bottom: 80px;
}


.scroll-indicator {
    position: absolute;
    right: 4vw;
    bottom: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll_down {
    font-family: 'Barlow Condensed';
    font-weight: 500;
    font-size: clamp(1rem, 0.545rem + 1.94vw, 2rem);
    color: var(--baseColor);
    margin-bottom: 7rem;
    letter-spacing: 0.08em;
    transform: translateX(1px) rotate(90deg);
}

.arrow {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.arrow:not(:first-of-type) {
    margin-top: -24px;
}

.arrow svg {
    width: 40px;
    height: 40px;
}


@media (max-width: 768px) {
    .main_copy img {
        width: 70%;
    }
}


/*------------------------------*/
/* requirements */
/*------------------------------*/

.requirements {
    padding-block: clamp(3.375rem, 2.374rem + 4.27vw, 7.5rem);
    padding-inline: clamp(1rem, -1.109rem + 9vw, 9.688rem);
    background-color: var(--blueSecondary);
    margin-bottom: clamp(3.375rem, -0.326rem + 15.79vw, 18.625rem);
}

.requirements h2 {
    font-family: var(--notoSansJp);
    font-weight: bold;
    font-size: clamp(1rem, 0.586rem + 1.77vw, 2rem);
    letter-spacing: var(--letterSpace);
    color: var(--accentColor);
    margin-bottom: clamp(2rem, 1.393rem + 2.59vw, 4.5rem);
    text-align: center;
}

.requirements__outer {
    padding-block: clamp(1.5rem, 1.257rem + 1.04vw, 2.5rem);
    padding-inline: clamp(1rem, 0.272rem + 3.11vw, 4rem);
    background-color: #F2FCFF;
    border-radius: 8px;
}

.requirements__outer li {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding-bottom: clamp(0.25rem, 0.189rem + 0.26vw, 0.5rem);
    border-bottom: dashed 1px var(--blueSecondary);
    margin-bottom: clamp(1.125rem, 0.791rem + 1.42vw, 2.5rem);
}

.heading {
    font-size: clamp(0.875rem, 0.72rem + 0.66vw, 1.25rem);
    font-weight: 500;
    font-family: var(--notoSansJp);
    letter-spacing: var(--letterSpace);
    color: var(--blueSecondary);
}

.description {
    font-size: clamp(0.813rem, 0.767rem + 0.19vw, 1rem);
    color: var(--blueSecondary);
    font-family: var(--notoSansJp);
    line-height: 160%;
    letter-spacing: var(--letterSpace);
}

.description span {
    font-size: clamp(0.688rem, 0.642rem + 0.19vw, 0.875rem);
}

.description a {
    color: var(--blueSecondary);
}


/*------------------------------*/
/* form */
/*------------------------------*/

.inquiry {
  text-align: center;
  margin-bottom: clamp(6.25rem, 3.66rem + 11.05vw, 12.5rem);
  padding-inline: clamp(1rem, -3.46rem + 19.03vw, 19.375rem);
}

form {
  max-width: 892px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: clamp(2rem, 1.515rem + 2.07vw, 4rem);
  background-color: var(--blueSecondary);
  margin: 0 auto;
  border-radius: 8px;
}

form h2 {
  font-family: var(--notoSansJp);
  font-weight: bold;
  font-size: clamp(1rem, 0.586rem + 1.77vw, 2rem);
  letter-spacing: var(--letterSpace);
  color: var(--baseColor);
  margin-bottom: clamp(2rem, 1.393rem + 2.59vw, 4.5rem);
}

input, select, textarea {
  font-size: clamp(1rem, 0.896rem + 0.44vw, 1.25rem);
  font-family: var(--notoSansJp);
  font-weight: 500;
  padding: 15px;
  margin-inline: clamp(1rem, 0.15rem + 3.62vw, 4.5rem);
  border: none;
  background-color: var(--baseColor);
  border-radius: 6px;
  letter-spacing: var(--letterSpace);
}

select {
  appearance: none;             /* 矢印を消す（共通） */
  -webkit-appearance: none;     /* Safari対応 */
  -moz-appearance: none;        /* Firefox対応 */
  background: 
    url(/assets/images/arrow.svg) 
    no-repeat right 1rem 
    center;
  background-size: 1rem;
  padding-right: 2rem;          /* 矢印分の余白を確保 */
  background-color: var(--baseColor);
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #757575;
}

textarea {
  height: 400px;
}

input[type=submit] {
  width: 212px;
  background-color: var(--accentColor);
  margin: 0 auto;
  color: var(--baseColor);
}


/*------------------------------*/
/* footer */
/*------------------------------*/

footer {
    display: flex;
    align-items: center;
    padding-right: clamp(5.75rem, 1.583rem + 8.68vw, 12rem);
    padding-left: clamp(2rem, -2rem + 8.33vw, 8rem);
    margin-bottom: 100px;
}

.footer__credit {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer__credit--detail {
    display: flex;
    gap: 32px;
}

.footer__corpname ,
.footer__credit--detail small,
.footer__credit--detail a {
    color: var(--blueSecondary);
    font-size: clamp(0.813rem, 0.767rem + 0.19vw, 1rem);
    font-family: var(--notoSansJp);
}

.footer__info {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: clamp(1.75rem, -1.417rem + 6.6vw, 6.5rem);
}

.footer__address h4 {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
    font-family: var(--notoSansJp);
    font-weight: 600;
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
    color: var(--blueSecondary);
    margin-bottom: clamp(1rem, 0.879rem + 0.52vw, 1.5rem);
}

.footer__address--number {
    display: flex;
    gap: clamp(1rem, 0.879rem + 0.52vw, 1.5rem);
}

.footer__address--number a,
.footer__address--number > span {
    color: var(--blueSecondary);
}

.footer__address p {
    font-family: var(--notoSansJp);
    font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
    color: var(--blueSecondary);
    margin-bottom: 12px;
}

.footer__address p:last-child {
    margin-bottom: clamp(2rem, 1.879rem + 0.52vw, 2.5rem);
}

.footer__links {
    display: flex;
    gap: 32px;
}

.footer__links > .button__blue a,
.footer__links > .button__blue2 a {
    font-weight: 500;
    font-size: clamp(1rem, 0.879rem + 0.52vw, 1.5rem);
    color: var(--baseColor);
}


@media (max-width: 768px) {
    footer {
        flex-direction: column-reverse;
        gap: 48px;
        padding-right: 0;
        padding-left: 0;
    }

    .footer__credit--logo {
        width: 90%;
    }

    .footer__credit--logo img {
        width: 100%;
    }

    .footer__credit--detail {
        justify-content: space-between;
    }

    .footer__info {
        width: auto;
        padding-left: 0;
    }

    .footer__links {
        flex-direction: column;
        gap: 16px;
    }
}