@charset "utf-8";

/* HEADER */

header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3.5%;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1.25rem;
    z-index: 999;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

header.hidden {
    transform: translateY(-6.25rem);
}

header .main_logo {
    width: 17rem;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.94rem 1.88rem;
    box-shadow: 1px 2px 30px 0px rgba(0, 0, 0, 0.1);
    border-radius: 9999px;
    font-size: 0.8rem;
    background-color: var(--base-color_01);
    letter-spacing: 0;
}

header nav .nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* サブメニューの親 */
.nav-main > li {
    position: relative;
    margin-right: 3.13rem;
}

.nav-main > li a {
    transition: color .5s ease;
}

.nav-main > li:hover .nav-a {
    color: var(--accent-color_01);
} 

/* 「サービス」のdiv */
.nav-main > li > div {
    position: relative;
    cursor: pointer;
}

/* サブメニュー */
.nav-main > li > div > ul {
    position: absolute;
    top: calc(100% + 0.62rem);
    left: 50%;

    width: max-content;
    max-width: 90vw;
    padding: 1.25rem 1.5rem;
    background: #fff;
    box-shadow: 1px 2px 30px 0px rgba(0, 0, 0, 0.1);
    border-radius: 0.62rem;

    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 0.62rem);

    transition:
        opacity .5s ease,
        transform .5s ease,
        visibility .5s;

    z-index: 1000;
}

/* ホバーで表示 */
@media screen and (min-width: 821px) {
    .nav-main > li > div:hover > ul {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
}

/* サブメニューのリンク */
.nav-main > li > div > ul li a {
    display: block;
    transition: color .5s ease;
}

.nav-main > li > div > ul li a:hover {
    color: var(--accent-color_01);
}

.sevice-submenu {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px dotted var(--text-line-main);
}

.sevice-submenu:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.sns-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sns-box li {
    background-color: var(--accent-color_01);
    border: 1px solid var(--accent-color_01);
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    transition: background-color .5s ease;
}

.sns-box li:hover {
    background-color: var(--base-color_01);
    border: 1px solid var(--accent-color_01);
}

.sns-box li:last-of-type {
    margin-right: 0;
}

.sns-box li a {
    color: var(--base-color_01);
    font-size: 1rem;
    transition: color .5s ease;
    position: relative;
}

.sns-box li a .btn-name {
    display: none;
    font-size: 1.16rem;
    letter-spacing: 0.05em;
}

.sns-box li:hover a {
    color: var(--accent-color_01);
    font-size: 1rem;
}

.openbtn {
    display: none;
}

@media screen and (max-width: 820px) {

    header {
        padding: 2% 5%;
        background: var(--base-color_01);
        margin-top: 0;
    }

    h1 {
        z-index: 101;
    }

    header nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        z-index: 100;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 9.375rem 5% 5%;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.8s ease, visibility 0.8s;
        border-radius: initial;
    }

    header nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    header nav .nav-main {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-main > li {
    margin-right: 0;
    border-bottom: 1px dashed var(--text-line-main);
    padding-bottom: 1.88rem;
    margin-bottom: 1.88rem;
    width: 100%;
    font-size: 1.16rem;
    }

    .nav-main > li:last-of-type {
        margin-bottom: 3.13rem;
    }

    /* サブメニュー */
    .nav-main > li > div {
        display: flex;
        align-items: flex-start;
        gap: 6.25rem;
    }

    .nav-main > li > div > ul {
        position: initial;
        width: max-content;
        max-width: 90vw;
        padding: 0;
        background: none;
        box-shadow: none;
        border-radius: 0.62rem;
        opacity: 1;
        visibility: initial;
        transform: initial;
        transition:
            opacity .5s ease,
            transform .5s ease,
            visibility .5s;
        z-index: 1000;
    }

    .sevice-submenu {
        padding-bottom: 0;
        margin-bottom: 0.62rem;
        border-bottom: none;
        position: relative;
        display: flex;
        align-items: center;
        padding-left: 1.2rem;
    }

    .sevice-submenu::before {
        position: absolute;
        left: 0;
        content: "";
        display: block;
        width: 10px;
        height: 1.8px;
        background-color: var(--text-line-main);
        border-radius: 20%;
    }

    .sns-box li {
        height: auto;
        width: auto;
        background-color: initial;
        border: none;
        margin-bottom: 1.88rem;
    }

     .sns-box li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        background: var(--accent-color_01);
        border: 1px solid var(--accent-color_01);
        color: var(--base-color_01);
        border-radius: 2.38rem;
        width: 18.8rem;
        height: 4.5rem;
        box-sizing: border-box;
        transition: all 0.5s ease;
    }

    .fa-phone:before {
        font-size: 1.5rem;
    }

    .sns-box li a .btn-name {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .fa-brands.fa-header,
    .fa-solid {
        width: 2.3rem;
        height: 2.3rem;
        background-color: var(--accent-color_01);
        /* border: 1px solid var(--base-color_01); */
        color: var(--base-color_01);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-left: 1.25rem;
    }

    .fa-instagram:before {
        font-size: 1.88rem;
    }


    .openbtn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 2.3rem;
        height: auto;
        cursor: pointer;
        position: fixed;
        z-index: 101;
        right: 5%;
    }

    .openbtn .hbg-bar {
        display: block;
        width: 100%;
        height: 2.5px;
        background: var(--text-line-main);
        margin: 0.25rem 0;
        transition: all 0.3s ease;
        border-radius: 999px;
    }

    .openbtn p {
        font-size: 0.62rem;
        margin: 0.18rem 0 0;
        margin-right: -2px;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .openbtn.active span.hbg-bar:nth-child(1) {
        transform: rotate(30deg) translate(2px, 5px);
    }

    .openbtn.active span.hbg-bar:nth-child(2) {
        transform: rotate(45deg);
        opacity: 0;
    }

    .openbtn.active span.hbg-bar:nth-child(3) {
        transform: rotate(-30deg) translate(6px, -13px);
    }

    body.no-scroll {
        overflow: hidden;
    }
}

@media screen and (max-width: 601px) {

    .sns-box {
        flex-direction: column;
    }

    .sns-box li {
        margin-right: 0;
    }

}

@media screen and (max-width: 440px) {

    header {
        padding: 3% 5%;
    }

    header .main_logo {
        width: 14rem;
    }

}

/* FLOATING BTN */

.floating-btn {
    position: fixed;
    right: 3.13rem;
    bottom: 3.13rem;
    writing-mode: vertical-rl;
    background: var(--accent-color_01);
    width: 4.69rem;
    height: 11.25rem;
    border-radius: 1.25rem 1.25rem 0 1.25rem;
    color: var(--base-color_01);
    border: 1px solid var(--accent-color_01);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    box-shadow: 2px 3px 5px rgba(2, 2, 1, 0.1);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
    z-index: 99;
}

.floating-btn .floating_circle-box {
    position: relative;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--base-color_01);
    transition: all 0.5s ease;
    margin-top: 0.62rem;
}

.floating-btn .floating_circle-box .svg_arrow {
    fill: var(--base-color_01);
    width: 0.8rem;
    transition: fill 0.5s ease, margin-right 0.5s ease;
}

.floating-btn.is-hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-btn:hover {
  background: var(--base-color_01);
  color: var(--accent-color_01);
}

.floating-btn:hover .floating_circle-box {
  background: var(--base-color_01);
  border: 1px solid var(--accent-color_01);
}

.floating-btn:hover .floating_circle-box .svg_arrow {
  fill: var(--accent-color_01);
  margin-right: -9px;
}

@media screen and (max-width: 440px) {
    .floating-btn {
        right: 0.88rem;
        bottom: 0.88rem;
        width: 4rem;
        height: 10rem;
        font-size: 0.88rem;
        border-radius: 1.25rem 1.25rem 0 1.25rem;
    }
}

/* SEAGULLS *1* */

.seagulls-box {
    position: absolute;
    z-index: 3;
    top: 100%;
    left: 0;
}

.seagulls {
    position: relative;
    width: 500px;
    height: 220px;
}

.seagulls svg {
    position: absolute;
    fill: var(--accent-color_02);
}

.seagull_01 {
    width: 8rem;
    top: 0;
    left: 0;
    animation: seagull_01 3.5s infinite;
}

@keyframes seagull_01 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.seagull_02 {
    width: 6.5rem;
    top: 10%;
    left: 35%;
    animation: seagull_02 4s infinite;
}

@keyframes seagull_02 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.seagull_03 {
    width: 6rem;
    top: 37%;
    left: 19%;
    animation: seagull_03 4.2s infinite;
}

@keyframes seagull_03 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@media screen and (max-width: 820px) {
    .seagulls-box {
        left: auto;
        top: 15%;
        right: 0;
        width: fit-content;
    }

    .seagulls {
        width: 170px;
        height: 80px;
    }

    .seagull_01 {
        width: 6rem;
    }

    .seagull_02 {
        width: 5rem;
        top: 10%;
        left: initial;
        right: 0;
    }

    .seagull_03 {
        width: 4rem;
        top: 60%;
        left: 35%;
    }
}

@media screen and (max-width: 601px) {
    .seagulls-box {
        top: 5%;
    }
}

@media screen and (max-width: 440px) {
    .seagulls-box {
        top: 20%;
    }

    .seagull_01 {
        width: 4rem;
        left: 20%;
    }

    .seagull_02 {
        width: 3.5rem;
        top: 15%;
    }

    .seagull_03 {
        width: 3rem;
        top: 35%;
        left: 45%;
    }
}

/* SEAGULLS *2* */

.seagulls_02 {
    position: relative;
    width: 23rem;
    height: 10rem;
    flex-shrink: 0;
}

.seagulls_02 svg {
    fill: var(--accent-color_02);
}

.seagulls_02 .seagull_01 {
    position: absolute;
    width: 6.5rem;
    top: 23%;
    left: 10%;
}

.seagulls_02 .seagull_02 {
    position: absolute;
    width: 5.5rem;
    top: 43%;
    left: initial;
    right: 0;
}

.seagulls_02 .seagull_03 {
    position: absolute;
    width: 4.5rem;
    top: initial;
    bottom: 25%;
    left: 42%;
}

/* MAIN BACK */

.main-back {
    background: var(--background-color_01);
    width: 100%;
    position: relative;
    padding: 3.13rem 0 6.25rem 0;
    margin-bottom: 12.5rem;
    box-sizing: border-box;
}

.main-back::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    aspect-ratio: 1440 / 96;
    background: url(../img/bg-deco-common.svg) no-repeat center;
    left: 0;
    bottom: 100%;
    background-size: cover;
    z-index: -1;
}

.main-back::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    aspect-ratio: 1440 / 96;
    background: url(../img/bg-deco-common_02.svg) no-repeat center;
    left: 0;
    top: 100%;
    background-size: cover;
    z-index: -1;
}

@media screen and (max-width: 820px) {
    .main-back {
        margin-bottom: 9.375rem;
    }
}

@media screen and (max-width: 440px) {
    .main-back {
        margin-bottom: 6.25rem;
    }
}

/* IMG BOX */

.img-box_01 {
    position: relative;
    isolation: isolate;
}

.img-mask{
    aspect-ratio: 3 / 2;
    border-radius: 1.88rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-box_01 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.img-box_01::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--accent-color_02);
    transform: translate(10px, 10px);
    z-index: -1;
    border-radius: 1.88rem;
}

.img-box_02 {
    position: relative;
    isolation: isolate;
}

.img-mask_02{
    aspect-ratio: 1 / 1;
    border-radius: 1.88rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-box_02 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.img-box_02::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--accent-color_02);
    transform: translate(10px, 10px);
    z-index: -1;
    border-radius: 1.88rem;
}

@media screen and (max-width: 820px) {

    .img-mask_02{
        aspect-ratio: 3 / 2;
    }
}

.img-box_03 {
    position: relative;
    isolation: isolate;
}

.img-mask_03 {
    aspect-ratio: 3 / 2.2;
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-box_03 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.img-box_03::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--accent-color_02);
    transform: translate(15px, 15px);
    z-index: -1;
    border-radius: 1.25rem;
}

@media screen and (max-width: 440px) {

    .img-mask_03 {
        aspect-ratio: 3 / 4;
    }

    .img-box_03::after {
        transform: translate(10px, 10px);
    }
}

/* H3 */

h3 {
    color: var(--accent-color_01);
    letter-spacing: 0;
    font-weight: 900;
    font-size: 2.25rem;
}

h3 span {
    color: var(--text-line-main);
    font-size: 0.88rem;
    margin-left: 1.25rem;
}

@media screen and (max-width: 820px) {
    h3 {
        font-size: 1.88rem;
    }

        h3 span {
        color: var(--text-line-main);
        font-size: 0.88rem;
        margin-left: 0.62rem;
    }
}

/* H4 */

h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.75em;
}

/* BTN 01 */

.btn_01 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--accent-color_01);
  border: 1px solid var(--accent-color_01);
  color: var(--base-color_01);
  border-radius: 2.38rem;
  width: 15.6rem;
  height: 3.9rem;
  box-sizing: border-box;
  transition: all 0.5s ease;
}

.btn_01:hover {
  background: var(--base-color_01);
  color: var(--accent-color_01);
}

.btn_01 span {
  margin-left: 0.31rem;
}

.btn_01 .btn_01_circle-box {
  position: relative;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid  var(--base-color_01);
  transition: all 0.5s ease;
}

.btn_01:hover .btn_01_circle-box {
  border: 1px solid var(--accent-color_01);
}

.btn_01 .btn_01_circle-box .svg_arrow {
  fill:  var(--base-color_01);
  width: 0.8rem;
  transition: fill 0.5s ease, margin-right 0.5s ease;
}

.btn_01:hover .btn_01_circle-box .svg_arrow {
  fill: var(--accent-color_01);
  margin-right: -9px;
}

/* FLEX */

.flex-pc {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 820px) {

    .btn_01 {
    margin-left: auto;
    margin-right: auto;
    }

    .flex-pc {
        display: block;
    }
}

/* CONTACT */

.contact-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 5%;
}

#contact .flex-pc {
    align-items: center;
}

#contact .logo-mark {
    width: 9.375rem;
}

#contact h3 {
    margin-bottom: 1.88rem;
}

.contact-message {
    margin-bottom: 1.88rem;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 3.13rem;
    padding: 1.88rem;
    border: 1px solid var(--accent-color_01);
    border-radius: 1.88rem;
    box-sizing: border-box;
}

.contact-tel {
    text-align: center;
}

.contact-tel a {
    display: flex;
    align-items: center;
    font-style: normal;
    font-weight: 800;
    font-size: 1.88rem;
    color: var(--accent-color_01);
}

.tel-link {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

/* スマホのみクリック可能 */
@media screen and (max-width: 820px) {
    .tel-link {
        pointer-events: auto;
        cursor: pointer;
    }
}

.contact-tel svg {
    width: 1.88rem;
    height: 1.88rem;
    border-radius: 50%;
    background-color: var(--accent-color_01);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-color_01);
    margin-right: 0.88rem;
}

.contact-tel svg path {
    transform: scale(0.6);
    transform-origin: center;
    fill: var(--base-color_01);
}

.contact-tel p {
     font-style: normal;
     font-size: 0.88rem;
     margin-top: 0.62rem;
}

@media screen and (max-width: 820px) {
    #contact .flex-pc {
        text-align: center;
    }

    #contact .logo-mark {
        width: 12.5rem;
        margin-bottom: 1.88rem;
    }

    .contact-box {
        display: block;
        max-width: 560px;
        margin: 0 auto;
    }

    .contact-tel  {
        margin-bottom: 1.88rem;
    }

    .contact-tel a {
        margin: 0 auto;
        width: fit-content;
        font-size: 2.5rem;
    }

    .contact-tel svg {
        width: 2.5rem;
        height: 2.5rem;
    }

    #contact .btn_01 {
        margin: 0 auto;
    }
}

@media screen and (max-width: 440px) {

    #contact .logo-mark {
        width: 10rem;
    }

    .contact-content {
        text-align: left;
    }

    .contact-tel a {
        margin: 0 auto;
        width: fit-content;
        font-size: 2rem;
    }

    .contact-tel svg {
        width: 2rem;
        height: 2rem;
    }

    #contact .btn_01 {
        margin: 0 auto;
    }
}

/* FOOTER */

footer {
    width: 100%;
    background: var(--footer-color);
    color: var(--base-color_01);
    font-weight: 400;
    font-size: 0.88rem;
    position: relative;
    margin-top: 55rem;
}

footer::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 100%;
    width: 100%;
    aspect-ratio: 2.5 / 1; /* ← viewBoxの比率 */
    background: url(../img/parts_city.svg) no-repeat center;
    background-size: contain; /* coverではなくcontain */
    z-index: -1;
    margin-bottom: -5px;
}

footer a {
    color: var(--base-color_01);
    font-weight: 400;
    font-size: 0.88rem;
    transition: all 0.5s ease;
}

footer li:hover a {
    color: var(--accent-color_03);
}

.footer-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    align-items: flex-start;
    gap: 9.375rem;
    padding: 6.25rem 5%;
    box-sizing: border-box;
}

.footer-l {
    flex-shrink: 0;
    font-size: 1rem;
}

.footer-l img {
    width: 17rem;
    margin-bottom: 1.25rem;
}

.footer-l address {
    font-style: normal;
    margin-bottom: 1.25rem;
}

.footer-l i {
    font-size: 1.88rem;
}

.footer-r {
    flex: 1;
}

.footer-r nav {
    align-items: flex-start;
    margin-bottom: 6.25rem;
}

small {
    color: var(--accent-color_03);
}

.deco-dot {
    position: relative;
    padding-left: 1.5rem;
}

.deco-dot::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em; /* フォントに合わせて微調整 */

    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--accent-color_01);
}

@media screen and (max-width: 1536px) {
    footer {
        margin-top: 43rem;
    }
}

@media screen and (max-width: 1280px) {
    footer {
        margin-top: 39rem;
    }
}

@media screen and (max-width: 820px) {
    footer {
        margin-top: 30rem;
    }

    .footer-l {
        margin-bottom: 3.13rem;
    }

    .footer-l img {
        width: 20rem;
    }

    .footer-l address {
        margin-bottom: 0.64rem;
    }

    .footer-r nav {
        margin-bottom: 3.13rem;
    }
}

@media screen and (max-width: 601px) {
    footer {
        margin-top: 20rem;
    }
}

@media screen and (max-width: 440px) {
    footer {
        margin-top: 18rem;
    }
}

/* FADE IN */

/* 元の状態 */
.fade-in {
  opacity: 0;
  /* transitionはopacityのみ、またはallでOK */
  transition: opacity 2s ease;
  will-change: opacity;
}

/* 画面内に入った時の状態 */
.fade-in.show {
  opacity: 1;
}