/*
Theme Name: MyTheme
Theme URI: https://maremi.co.jp/
Author: Your Name
Author URI: https://maremi.co.jp/
Description: これはオリジナルのWordPressテーマです
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@charset "utf-8";
/* A Modern CSS Reset */

*,
*::before,
*::after {
    box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}
ul[role='list'],
ol[role='list'] {
    list-style: none;
}
html:focus-within {
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}
a:not([class]) {
    text-decoration-skip-ink: auto;
}
img,
picture {
    max-width: 100%;
    display: block;
}
input,
button,
textarea,
select {
    font: inherit;
}
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    /* *,*::before,*::after{
        animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important
    } */
}
table {
    border-collapse: collapse;
}
/* グローバル変数の定義（色の変数など） */
:root {
    --green: #81c19a;
    --white: #fff;
    --off_white: #f0f4f7;
    --black: #000;
    --gray: #2b2c2e;
    --dark_gray: #1c1d1f;
    --light_gray: #969aa4;
    --main-font: 'Noto Sans JP', sans-serif;
    --english-font: 'Montserrat', serif;
    --sky_blue: #dfeef8;
    --light_blue: #76adcb;
}
* {
    margin: 0;
    padding: 0;
}
html {
    font-size: 62.5%;
}
body {
    font-size: 1.6rem;
    font-family: var(--main-font);
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--black);
    /* position: relative; */
}
h1 {
    display: none; /* 固定ページでのタイトルを非表示にさせるため */
}
h2 {
    font-size: 4.8rem;

    font-weight: normal;
    letter-spacing: 0.15em;
    margin: 0 0 1em;
}
h3 {
    font-size: 2.6rem;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
    color: var(--black);
}
.under_ttl h1 {
    display: block;
}
.flex_box {
    display: flex;
}
.wrap {
    flex-wrap: wrap;
}
.link_btn {
    display: inline-block;
}
.bg_white {
    background-color: var(--white);
}
.bg_off_white {
    background-color: var(--off_white);
}
.bg_black {
    background-color: var(--black);
    color: var(--white);
}
.bg_black a {
    color: var(--light_gray);
}
.bg_black .page_ttl a {
    color: var(--white);
}
.bg_light_blue {
    background-color: var(--light_blue);
}
.bg_sky_blue {
    background-color: var(--sky_blue);
}
.bg_gray {
    background-color: var(--gray);
}
.bg_dark_gray {
    background-color: var(--dark_gray);
}
.en_font {
    font-family: var(--english-font);
}
.sp_header {
    display: none;
}
.fv_content p {
    letter-spacing: 0.08em;
    line-height: 2;
    font-size: 1.8rem;
}
.under_768 {
    display: none;
}

/* --------------------------------
    header
-------------------------------- */
.header {
    width: 100vw;
    height: auto;
    height: 120px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0);
    position: fixed;
}
.pc_header {
    width: 100%;
    height: 120px;
    align-items: center;
    justify-content: space-between;
    padding-left: 7.66vw;
    padding: 0 3.33vw 0 7.66vw;
}
.header_logo {
    max-width: 256px;
    width: 100%;
    display: block;
}
.header_nav_content {
    max-width: 650px;
    width: 100%;
    align-items: center;
    justify-content: space-between;

    max-width: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 160px 0 0;
}
.header_nav_content ul {
    width: 70%;
    width: 326px;
    align-items: center;
    justify-content: space-between;
}
.contact_box.flex_box {
    border: 1px solid var(--black);
    border-radius: 40px;
    padding: 18px 24px;
    align-items: center;
    justify-content: space-between;
    width: 176px;
}
.contact_box img {
    width: 1em;
}

/* ハンバーガーメニュー */
.hamburger_btn_box {
    background-color: var(--dark_gray);
    width: 74px;
    height: 74px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999999;

    position: fixed;
    top: 24px;
    right: 46px;
}
.hamburger_btn {
    padding: 1em;
}
.hamburger_btn .line {
    background-color: var(--white);
    display: block;
    width: 30px;
    height: 2px;
    transition:
        transform 0.3s,
        opacity 0.3s;
    margin: 4px 0;
}
.hamburger_btn_box.active {
    background-color: var(--white);
    position: fixed;
    top: 24px;
    right: 46px;
}
.hamburger_btn.active .line:nth-child(1) {
    transform: rotate(25deg) translate(1px, 2px);
    background-color: var(--black);
}
.hamburger_btn.active .line:nth-child(2) {
    transform: rotate(-25deg) translate(2px, -3px);
    background-color: var(--black);
}

.hamburger_menu {
    display: none;
}
.hamburger_menu.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    flex-direction: column;
    padding: 100px 0 54px;
    display: block;
}

.page_menu.flex_box {
    align-items: center;
    justify-content: space-between;
    max-width: 1266px;
    width: 100%;
    margin: 0 auto;
}
.hamburger_menu .page_menu.flex_box {
    max-width: 1030px;
}
.hamburger_menu .page_ttl.flex_box {
    margin: 0;
}

.page_menu {
    max-width: 1026px;
    width: 100%;
    margin: 0 auto 82px;
    align-items: center;
    justify-content: space-between;
}
.page_list .link {
    font-size: 2rem;
    line-height: 2;
}
.page_list.page_ttl {
    flex-direction: column;
    width: 30%;
}
.page_list.sub_menu {
    flex-direction: column;
    width: 30%;
}
.page_list.sub_menu a span {
    max-width: 14px;
    display: inline-block;
    margin: 0 0 0 0.8em;
}
.page_list li {
    padding: 0 0 0 1.5em;
    position: relative;
    line-height: 2;
}
.page_list li::before {
    position: absolute;
    content: '';
    display: block;
    width: 1em;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: var(--light_gray);
}
.hamburger_menu .contact a {
    display: flex;
    align-items: center;
    width: 100%;
}
.access .text.bottom {
    margin: 1em 0 0;
}

.policy_list {
    max-width: 1026px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0 0;
}
.policy_list .link {
    align-items: center;
    justify-content: center;
}
.policy_list .link a {
    font-size: 1.6rem;
}

.info {
    width: 100%;
    background-color: var(--gray);
    margin: 58px 0;
}
.bg_gradient {
    max-width: 1260px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 34px 0;
    margin: 0 auto;
}
.info .logo {
    max-width: 176px;
    width: 100%;
}
.access .tel_number {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0.04em;
    align-items: center;
}
.access p.flex_box {
    align-items: center;
}
.access a {
    border-bottom: 1px solid var(--light_gray);
}
.text.bottom a {
    color: var(--white);
}
.contact {
    width: 42%;
    height: 206px;
    border-radius: 6px;
    align-items: center;
    padding: 0 0 0 50px;
}
.contact .mail_icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    margin: 0 2em 0 0;

    display: flex;
    align-items: center;
    justify-content: center;
}
.contact .mail_icon img {
    width: 32px;
}

.hamburger_menu .sns_link {
    margin: 0 auto;
    max-width: 550px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
.sns_link {
    width: 30%;
}
.sns_item {
    align-items: center;
}
.sns_item img {
    max-width: 20px;
    width: 100%;
    margin: 0 10px 0 0;
}

/* sub_header */
.sub_header .header_nav {
    background-color: var(--white);
    border-radius: 56px;
    width: 96%;
    height: 90px;
    margin: 1em auto 0;
}

/* --------------------------------
    footer
-------------------------------- */
.footer a {
    color: var(--white);
}
.footer_contents.flex_box {
    flex-direction: column;
}
.footer_catch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1266px;
    width: 100%;
    margin: 100px auto 40px;
}
.footer_catch .fv_content {
    width: 50%;
}
.footer_catch .fv_content h2 {
    color: var(--white);
    font-size: 3.2rem;
    margin: 0;
}
.footer .bg_gradient {
    flex-direction: column;
    align-items: center;
}
.footer .bg_gradient .content_box {
    max-width: 1266px;
    width: 100%;
    margin: 0 auto 70px;
    align-items: center;
    justify-content: space-between;
}
.footer .info {
    margin: 0;
}
.footer .info .logo {
    max-width: 184px;
    width: 100%;
}
.page_menu.flex_box {
    align-items: center;
    align-items: baseline;
    justify-content: space-between;
    max-width: 1266px;
    width: 100%;
    margin: 0 auto;
}
.footer .page_list.page_ttl {
    width: 25%;
    margin: 0 0 0 4em;
}
.footer .page_menu .link {
    font-size: 1.6rem;
}
.footer .sub_menu a {
    font-size: 1.4rem;
}
.footer .sub_menu .link.page_ttl a {
    font-size: 1.6rem;
}
.sub_menu a,
.sns_link p {
    color: var(--light_gray);
}
.sub_menu .link.page_ttl a {
    font-size: 1.6rem;
    font-size: 2rem;
    color: var(--white);
}
.footer .policy {
    padding: 1.5em 0 0;
}
.footer .contact a {
    display: flex;
    align-items: center;
    width: 100%;
}
.footer .sns_link.flex_box {
    max-width: 550px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin: 72px auto 50px;
}
.copyright.flex_box {
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 44px 0;
    border-top: 1px solid var(--gray);
}

@media screen and (max-width: 1079px) {
    .header .over_769 {
        display: none;
    }
    .hamburger_menu.active {
        height: 100%;
        flex-direction: column;
        padding: 100px 0 0;
        display: block;
        overflow-y: scroll;
        scrollbar-width: none;
    }
    .hamburger_menu .page_menu.flex_box {
        flex-direction: column;
        align-items: start;
    }
    .hamburger_menu .page_menu .page_list {
        width: 100%;
    }
    .hamburger_menu .page_menu .page_list .link {
        border-bottom: 2px solid var(--dark_gray);
        padding: 16px 24px;
        position: relative;
    }
    .hamburger_menu .page_menu .page_list .link::after {
        position: absolute;
        display: block;
        content: '→';
        top: 50%;
        right: 30px;
        transform: translateY(-50%);
    }
    .hamburger_menu .page_menu .page_list .link.service {
        border-bottom: none;
    }
    .hamburger_menu .page_menu .page_list ul {
        padding: 0 24px;
    }
    .link.service a {
        color: var(--white);
    }
    .news_category {
        display: none;
    }
    .bg_gradient {
        justify-content: center;
        background-color: var(--black);
        border-top: 2px solid var(--dark_gray);
        padding: 24px;
    }
    .footer .bg_gradient {
        background-color: var(--dark_gray);
    }
    .reverse {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .policy_list {
        flex-direction: column;
        align-items: start;
        padding: 0 24px;
    }
    .policy_list span.inline-block {
        max-width: 14px;
        display: inline-block;
        margin: 0 0 0 0.8em;
    }
    .info {
        margin: 58px 0 0;
    }
    .pc_header .contact {
        background-color: var(--dark_gray);
        max-width: 324px;
        width: 100%;
        height: 80px;
        padding: 0 0 0 16px;
    }
    .pc_header .contact .mail_icon {
        margin: 0;
        width: 50px;
        height: 50px;
    }
    .pc_header .contact .mail_icon img {
        width: 20px;
    }
    .pc_header .contact .text {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 70%;
    }
    .pc_header .contact .text p {
        color: var(--white);
    }
    .pc_header .contact .text .en {
        font-size: 2.4rem;
        letter-spacing: 0.06em;
    }
    .pc_header .logo,
    .pc_header .access {
        display: none;
    }
    .hamburger_menu .sns_link {
        justify-content: space-evenly;
        padding: 28px 0;
    }
    .hamburger_menu .sns_item p {
        display: none;
    }

    .footer_catch .fv_content {
        width: 100%;
    }
    .footer .bg_gradient .content_box {
        flex-direction: column;
    }
    .footer .page_menu.flex_box {
        display: none;
    }
    .footer .sns_link.flex_box {
        display: none;
    }
    .footer_catch .fv_content h2 {
        font-size: 2.4rem;
        text-align: center;
    }
    .footer_info .access {
        margin: 60px 0 30px;
    }
    .footer_info .contact {
        max-width: 382px;
        width: 100%;
        height: 146px;
    }
}

@media screen and (max-width: 768px) {
    .over_769 {
        display: none;
    }
    .under_768 {
        display: block;
    }

    .pc_header {
        height: 104px;
    }
    .header_nav_content {
        max-width: 74px;
        width: 100%;
    }

    .pc_header .contact {
        width: 100%;
    }

    .footer_catch .fv_content {
        width: 100%;
    }
    .footer .bg_gradient .content_box {
        flex-direction: column;
    }
    .footer .page_menu.flex_box {
        display: none;
    }
    .footer .sns_link.flex_box {
        display: none;
    }
    .footer_catch .fv_content h2 {
        font-size: 2.4rem;
        text-align: center;
    }
    .footer_info .access {
        margin: 60px 0 30px;
    }
    .footer_info .contact {
        max-width: 382px;
        width: 100%;
        height: 146px;
    }
}

@media screen and (max-width: 440px) {
    .hamburger_btn_box {
        width: 58px;
        height: 58px;
    }
    .pc_header .contact .text p {
        font-size: 1.4rem;
    }
    .pc_header .contact .text .en {
        font-size: 2rem;
        padding: 0 0 0 0.5em;
    }
    .sub_header .header_nav {
        height: 76px;
    }
    .footer_catch .fv_content h2 {
        font-size: 1.8rem;
    }
}
