@charset "UTF-8";


/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* ENDリセットCSS */


/* My CSS */

/*----------------
Default Styling
------------------*/
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #2a2a2a;
    background-color: #FAFAFA;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

figure {
    margin: 0;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}


/*---------------
Reusable Classes
-----------------*/

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 35px 50px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 240px;
    padding: 15px 25px;
    border-radius: 50px;
    color: #2a2a2a;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background-color: #F0ECEC;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
}

.button:hover {
    background-color: #E5E0E0;
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.button:active {
    transform: translateY(3px);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.08);
}

.button img {
    width: 50px;
    flex-shrink: 0;
}

.button-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.button-icon::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #F0ECEC;
    margin-left: 2px; /* 視覚的中心を補正 */
}

.button-wrapper {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ページトップへ戻るボタン */
.page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: #F0ECEC;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.page-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top:hover {
    background-color: #E5E0E0;
}

.page-top-arrow {
    display: block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #fff;
    margin-top: -2px;
}


/*---------------
SP (default)
-----------------*/

/* Header */
.header {
    width: 100%;
    padding-top: 80px;
}

.header-button {
    display: none;
}

.header-nav {
    display: none;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    padding: 30px 10px;
    width: 85%;
}

.header-logo-title {
    font-family: "roboto-flex", sans-serif;
    font-weight: 600;
    font-variation-settings: "YTFI" 738, "YTDE" -203, "YTAS" 750, "YTLC" 514, "YTUC" 712, "XTRA" 468, "YOPQ" 79, "XOPQ" 96, "slnt" 0, "wdth" 100, "GRAD" 0, "wght" 600, "opsz" 14;
    font-size: 1.375rem;
    letter-spacing: 0.02em;
    color: #2a2a2a;
}

/* メニュー開閉ボタン(SP) - ハンバーガーメニュー */
.btn-menu {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 4;
    padding: 0;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: 0.4s;
}

.btn-menu-bar {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #2a2a2a;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* メニュー展開時はバツ印に変形 */
.btn-menu.is-open .btn-menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.btn-menu.is-open .btn-menu-bar:nth-child(2) {
    opacity: 0;
}

.btn-menu.is-open .btn-menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* メニューパネル(SP) */
.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100vh;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.menu {
    text-align: center;
    list-style: none;
}

.menu a {
    display: block;
    padding: 1.5rem;
    color: #2a2a2a;
    font-size: 2rem;
    transition: opacity 0.3s ease;
}

.menu a:hover {
    opacity: 0.5;
}

/* メニュー表示状態 */
.panel-open {
    opacity: 1;
    visibility: visible;
}

/* Main */
main p {
    font-size: 0.875rem;
    text-align: left;
    line-height: 2;
    color: #4a4a4a;
}

/* セクション共通 */
section {
    margin-top: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #2a2a2a;
    text-align: center;
    margin-bottom: 32px;
}

/* service */
.service {
    padding-top: 35px;
}

.service-content {
    margin-top: 32px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.service-content p {
    text-align: left;
}

.service-content img {
    display: block;
    width: 70%;
    margin: 20px auto 0;
}

.service-message {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: left;
    margin-top: 40px;
}

.service-text {
    margin-top: 20px;
}

/* flow */
.flow-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.flow-img {
    display: none;
}

.flow-box-text {
    flex: 1;
    width: 100%;
    padding: 20px;
    background-color: #fff;
    border: 7px solid #F0ECEC;
}

.flow-box-text h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.flow-box-text p {
    text-align: left;
}

.flow-shape {
    display: block;
    width: 15%;
    margin: 20px auto 0;
}

/* Footer */
.footer {
    background-color: #F0ECEC;
    color: #4a4a4a;
    margin-top: 80px;
    padding: 24px 20px;
    text-align: center;
}

.footer small {
    font-family: "roboto-flex", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}


/*---------------
PC (1025px以上)
-----------------*/
@media (min-width: 1025px) {

    .container {
        padding: 150px 40px 40px;
    }

    .button {
        width: 270px;
        font-size: 1rem;
    }

    .button img {
        width: 60px;
    }

    .button-wrapper {
        margin-top: 40px;
    }

    /* ページトップボタン (PC) */
    .page-top {
        right: 30px;
        bottom: 30px;
        width: 60px;
        height: 60px;
    }

    .page-top-arrow {
        border-left-width: 10px;
        border-right-width: 10px;
        border-bottom-width: 14px;
    }

    /* Header */
    .header {
        padding-top: 75px;
        margin-bottom: 60px;
    }

    #menu-toggle {
        display: none;
    }

    /* PC版ではメニューパネルも非表示にしておく（万が一表示状態が残っていても安全） */
    .menu-container {
        display: none;
    }

    .header-button {
        display: flex;
        justify-content: flex-end;
        width: 80%;
        max-width: 830px;
        margin: 0 auto 45px;
        visibility: hidden;
    }

    .header-logo {
        width: 80%;
        max-width: 830px;
        height: 260px;
        margin: 0 auto;
    }

    .header-logo-title {
        font-size: 4rem;
        font-weight: normal;
        font-variation-settings: "YTFI" 738, "YTDE" -203, "YTAS" 750, "YTLC" 514, "YTUC" 712, "XTRA" 468, "YOPQ" 79, "XOPQ" 96, "slnt" 0, "wdth" 100, "GRAD" 0, "wght" 400, "opsz" 14;
    }

    .header-nav {
        display: block;
        width: 80%;
        max-width: 830px;
        margin: 0 auto;
    }

    .header-nav-menu {
        position: relative;
        display: flex;
        justify-content: space-between;
        gap: 4rem;
        margin-top: 50px;
        padding: 5px;
    }

    .n-item {
        display: inline-block;
        padding-bottom: 10px;
        color: #2a2a2a;
        border-bottom: 3px solid #F0ECEC;
        transition: color 0.3s ease, border-color 0.3s ease;
    }

    .n-item:hover {
        color: #8a8a8a;
        border-bottom-color: #d8d3d3;
    }

    /* ドロップダウンサブメニュー */
    .header-nav-menu-subitem {
        position: absolute;
        z-index: 2;
        top: 2.5rem;
        background: #F0ECEC;
        font-size: 1rem;
        scale: 1 0;
        transform-origin: center top;
        transition: scale 0.4s;
    }

    .header-nav-menu-item:has(> .header-nav-menu-subitem):hover .header-nav-menu-subitem {
        scale: 1;
    }

    .header-nav-menu-subitem a {
        display: block;
        padding: 10px 20px;
        color: #2a2a2a;
        text-align: left;
    }

    .header-nav-menu-subitem a:hover {
        background-color: #E5E0E0;
    }

    /* Main */
    main p {
        font-size: 1rem;
        text-align: center;
    }

    /* セクション共通 */
    section {
        margin-top: 80px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 50px;
    }

    /* service */
    .service {
        padding-top: 150px;
    }

    .service-content {
        width: 100%;
        max-width: 330px;
        margin-top: 50px;
    }

    .service-content p {
        text-align: center;
    }

    .service-content img {
        width: 80%;
    }

    .content1 {
        margin-top: 50px;
        margin-left: 100px;
    }

    .content2 {
        margin-left: auto;
        margin-right: 100px;
    }

    .service-message {
        font-size: 1.375rem;
        margin-top: 75px;
        text-align: center;
    }

    .service-text {
        margin-top: 40px;
    }

    /* flow */
    .flow {
        max-width: 1000px;
    }

    .flow-box {
        margin-top: 40px;
    }

    .flow-img {
        display: block;
        width: 20%;
    }

    .flow-box-text {
        padding: 30px;
    }

    .flow-box-text h3 {
        font-size: 1.125rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .flow-shape {
        width: 8%;
        margin: 20px 35% 0 auto;
    }

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

    /* Footer */
    .footer {
        margin-top: 100px;
    }
}
