@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: 0 40px;
}

/* ボタン（トップページ等と共通仕様） */
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 190px;
    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-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: 24px;
    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);
}


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

/* Header */
.header {
    padding: 50px 0 30px;
    text-align: center;
}

.header-logo {
    font-family: "roboto-flex", sans-serif;
    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;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    color: #2a2a2a;
}

/* Main */
main {
    padding-bottom: 50px;
}

main p {
    font-size: 0.875rem;
    line-height: 2;
    color: #4a4a4a;
}

/* ページタイトル */
.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #2a2a2a;
    text-align: center;
    margin-top: 20px;
}

/* 実績一覧セクション */
.works-section {
    margin-top: 40px;
}

/* 実績ブロック */
.work-item {
    margin-top: 50px;
}

.work-item:first-child {
    margin-top: 0;
}

/* 画像エリア */
.work-image {
    width: 100%;
}

.work-image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* 仮のプレースホルダー（実画像が入ったら削除でOK） */
.work-image-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #d9d9d9;
}

/* テキストエリア */
.work-text {
    margin-top: 16px;
}

.work-title {
    font-size: 0.875rem;
    font-weight: 300;
    color: #4a4a4a;
    line-height: 2;
}

.work-description {
    font-size: 0.875rem;
    color: #4a4a4a;
    line-height: 2;
}

/* 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) {

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

    .button-wrapper {
        margin-top: 40px;
        justify-content: flex-start;
    }

    /* Header */
    .header {
        padding: 40px 0;
    }

    .header-logo {
        font-size: 3rem;
    }

    /* Main */
    main {
        padding-bottom: 80px;
    }

    main p {
        font-size: 1rem;
    }

    /* ページタイトル */
    .page-title {
        font-size: 1.75rem;
        margin-top: 60px;
    }

    /* 実績一覧セクション */
    .works-section {
        margin-top: 80px;
    }

    /* 実績ブロック（PCは左右2カラム） */
    .work-item {
        display: flex;
        align-items: center;
        gap: 60px;
        margin-top: 80px;
    }

    /* 画像エリア */
    .work-image {
        flex: 0 0 35%;
    }

    .work-image-placeholder {
        aspect-ratio: 3 / 4;
    }

    /* テキストエリア */
    .work-text {
        flex: 1;
        margin-top: 0;
    }

    .work-title {
        font-size: 1rem;
    }

    .work-description {
        font-size: 1rem;
    }

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