html {
    font-size: 62.5%;
    scroll-behavior: smooth;
	scroll-padding-top: 10rem;
}

/* ローディングアニメーション */
.pace-running {
    background: #ebfffc;
    &:before {
        content: "Loading...";
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translateX(-50%);
        color: #7c5e62;
        font-family: "Zen Maru Gothic", sans-serif;
        font-size: 4.8rem;
        font-weight: 700;
        position: fixed;
    }
}
.pace {
    -webkit-pointer-events: none;
    pointer-events: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    border-radius: 1rem;

    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;

    z-index: 2000;
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 2.9rem;
    overflow: hidden;
    background: #fff;
}
.pace .pace-progress {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;

    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;

    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

    display: block;
    position: absolute;
    right: 100%;
    margin-right: -0.7rem;
    width: 100%;
    top: 0.7rem;
    height: 1.4rem;
    font-size: 1.2rem;
    background: #7c5e62;
    line-height: 6rem;
    font-weight: 700;

    -webkit-box-shadow:
        120px 0 #fff,
        240px 0 #fff;
    -ms-box-shadow:
        120px 0 #fff,
        240px 0 #fff;
    box-shadow:
        120px 0 #fff,
        240px 0 #fff;
}
.pace .pace-activity {
    position: absolute;
    width: 100%;
    height: 2.8rem;
    z-index: 2001;
    box-shadow:
        inset 0 0 0 2px #7c5e62,
        inset 0 0 0 7px #fff;
    border-radius: 1rem;
}

.pace.pace-inactive {
    display: none;
}

.main-content {
    opacity: 0;
    transition: opacity 0.8s ease-in 0.3s;
}

/* 中身 */
body {
    font-family: "Zen Maru Gothic", sans-serif;
    /* medium */
    font-weight: 500;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #7c5e62;
}

.header {
    background: linear-gradient(0.25turn, #ecfffd, 52%, #b2e7e2);
    height: 8rem;
    width: 92%;
    position: fixed;
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    box-shadow: 0.2rem 0.4rem 0.4rem #9dc7c2;
}

.header-inner {
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    height: inherit;
    align-items: center;
}

.header-title {
    height: inherit;
}

.header-title a {
    height: inherit;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 3.2rem;
    transition: 0.3s;
    cursor: pointer;
}

.header-title a:hover {
    opacity: 0.7;
}

.hamburger {
    display: none;
}

.header-nav ul {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #7c5e62;
    padding: 1rem 2rem;
    font-size: 2.2rem;
    text-transform: capitalize;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.nav-link::before {
    content: "";
    width: auto;
    height: 1.5px;
    background-color: #7c5e62;
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 1rem;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s;
}
.nav-link:hover::before {
    transform: scaleX(1);
}

/* MV */
.mv {
    height: 100vh;
    background-color: #fbf5f9;
    padding: 0 6rem 6rem;
    display: flex;
    align-items: end;
    position: relative;
    min-height: 69rem;
}

.mv-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 4%;
    bottom: 50%;
    z-index: 10;
    margin: 0 0 0 auto;
}

.mv-title {
    font-size: 13rem;
}

.mv-title-sp {
    display: none;
}

.mv-text::before {
    content: "";
    display: inline-block;
    width: 24rem;
    height: 0.3rem;
    background-color: #7c5e62;
    margin-bottom: 1rem;
}

.mv-text {
    font-size: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.mv-pic {
    width: 63%;
    border-radius: 0 27rem 0 0;
    overflow: hidden;
    position: relative;
}

.mv-pic::before {
    content: "";
    inset: 0;
    background-color: rgba(240, 245, 223, 0.6);
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.mv-pic img {
    width: 100%;
    aspect-ratio: 917 / 535;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.mv::after {
    content: "";
    display: inline-block;
    background: url(../img/dog-hand.webp) no-repeat center/ cover;
    width: 18.4rem;
    height: 18.4rem;
    transform: rotate(23deg);
    position: absolute;
    top: 50%;
    right: 4%;
    z-index: 2;
}

/* mv直下の帯 */
.line-dog {
    height: 4rem;
    background-color: #b2e7e1;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.line-dog-item::before {
    content: "";
    inset: 0;
    background-color: rgba(178, 231, 225, 0.6);
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.line-dog-item {
    width: 4rem;
    height: 4rem;
    display: block;
    position: relative;
}

.line-dog-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.reveal-section > .section-small-inner,
.reveal-section > .section-wide-inner{
    opacity: 0;
    transform: translateY(3rem);
    transition: 
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}

.reveal-section.is-visible > .section-small-inner,
.reveal-section.is-visible > .section-wide-inner{
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-section > .section-small-inner,
    .reveal-section > .section-wide-inner {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* worksセクション */
.works {
    padding: 8rem 0;
    background-color: #fbf5f9;
}

.section-wide-inner {
    max-width: 125rem;
    padding: 0 2.5rem;
    margin: 0 auto;
}

.section-title {
    text-transform: capitalize;
    font-size: 4.8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title::after {
    content: "";
    display: inline-block;
    width: 10rem;
    height: 0.2rem;
    background-color: #7c5e62;
    margin-top: 1rem;
}

.swiper {
    overflow: visible;
}

.swiper-wrapper {
    margin-top: 6.4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.8rem;
}

.works-item {
	display:block;
    padding: 4rem;
    border-radius: 2rem;
    background-color: #b2e7e1;
    box-shadow: 0.4rem 0.4rem 0.4rem #92aca9;
    text-decoration: none;
    transition: 0.5s;
}

.works-item:hover {
    transform: translate(0.4rem, 0.4rem);
    box-shadow: none;
}

.works-img {
    width: 100%;
    border-radius: 1rem;
    border: 2px solid #7c5e62;
    overflow: hidden;
}

.works-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 288 / 241;
    object-fit: cover;
}

.works-category-items {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    text-align: center;
}

.category-item {
    display: inline-block;
    color: #7c5e62;
    font-size: 1.4rem;
    padding: 0.4rem;
    border: 1.5px solid #7c5e62;
    border-radius: 0.6rem;
}

.category-item:nth-child(n + 2) {
    margin-left: 0.8rem;
}

.works-item-title {
    margin-top: 2rem;
    text-align: center;
    color: #7c5e62;
    font-size: 2.2rem;
}

.swiper-pagination {
    display: none;
}
.swiper-button-prev,
.swiper-button-next {
    display: none;
}

/* serviceセクション */
.service {
    padding: 8rem 0;
    background-color: #ebfffc;
}

.service-container {
    margin-top: 6.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4.8rem;
}

.service-item {
    width: 100%;
    padding: 2.4rem 2.2rem;
    background-color: #ffffff;
    border-radius: 3rem;
    border: 0.3rem solid #7c5e62;
}

.service-img {
    width: 100%;
}

.service-img img {
    width: 100%;
    aspect-ratio: 340 / 300;
    object-fit: contain;
}

.service-body {
    width: 100%;
}

.service-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
}

.service-text {
    font-size: 1.6rem;
    line-height: calc(30 / 16);
    margin-top: 1.2rem;
}

/* aboutmeセクション */
.about {
    padding: 8rem 0;
    background-color: #fbf5f9;
}

.section-small-inner {
    max-width: 104rem;
    margin: 0 auto;
}

.my-profile {
    margin-top: 6.4rem;
    padding: 4rem 5rem 4rem 12rem;
    background-color: #e2c3bc;
    border-radius: 17rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    gap: 7%;
}

.my-profile::before {
    content: "";
    display: inline-block;
    width: 15rem;
    height: 15rem;
    background: url(../img/dog-hand-green.webp) no-repeat center/ cover;
    transform: rotate(-30deg);
    position: absolute;
    top: 4%;
    right: 23%;
    z-index: 2;
}

.my-body {
    width: calc(614 / 960 * 100%);
}

.my-name {
    font-size: 2.4rem;
}

.my-text {
    font-size: 1.6rem;
    margin-top: 2.4rem;
    line-height: calc(30 / 16);
}

.my-pic {
    width: calc(298 / 960 * 100%);
    border-radius: 50%;
    overflow: hidden;
}

.my-pic img {
    width: 100%;
}

/* contactセクション */
.contact {
    padding: 8rem 0;
    background-color: #ebfffc;
}

.contact-text {
    margin-top: 6.4rem;
    text-align: center;
    font-size: 1.6rem;
}

.contact-text-sp {
    display: none;
}

.contact-text span {
    color: #5e9ea0;
}

.contact-form {
    margin-top: 6.4rem;
}

.form-container {
    padding: 4.8rem 17.6rem;
    background-color: #fbf5f9;
    border-radius: 3rem;
}

.form-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-item:nth-child(n + 2) {
    margin-top: 4.6rem;
}

.form-label {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
}

.form-label span::after {
    content: "*";
    display: inline-block;
    font-size: 1.6rem;
    color: #5e9ea0;
    margin-left: 0.2rem;
}

.input-wrapper {
    width: calc(440 / 687 * 100%);
}

.input-wrapper input[type="text"],
.input-wrapper input[type="email"],
.input-wrapper textarea {
    width: 100%;
    padding: 2rem;
    border: 1px solid #7c5e62;
    border-radius: 1rem;
    font-size: 1.6rem;
}

.input-wrapper textarea {
    resize: none;
    height: 20rem;
}

.input-wrapper input[type="text"]::placeholder,
.input-wrapper input[type="email"]::placeholder,
.input-wrapper textarea::placeholder {
    color: #a3a3a3;
}

.input-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-agree label::before {
    background-color: #ebfffc;
    margin-right: 2rem;
}

.input-select p {
    width: 100%;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-list-item input[type="checkbox" i] {
    opacity: 0;
    position: absolute;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
}

.wpcf7-list-item input[type="checkbox"] {
    margin: 0;
}

.wpcf7-list-item-label::before {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 1px solid #7c5e62;
    background-color: #fbf5f9;
    margin-right: 1rem;
}

.wpcf7-list-item
    input[type="checkbox"]:checked
    + .wpcf7-list-item-label::after {
    display: inline-block;
    width: 1.4rem;
    height: 0.8rem;
    border-left: 0.2rem solid #5e9ea0;
    border-bottom: 0.2rem solid #5e9ea0;
    position: absolute;
    top: 33%;
    left: 0%;
    transform: rotate(-45deg) translateX(0.4rem);
}

.wpcf7-list-item-label {
    font-size: 1.6rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    position: relative;
}

.form-message {
    margin-top: 4.6rem;
}

.input-message {
    width: 100%;
    margin-top: 1.2rem;
}

.form-agree {
    margin-top: 6.4rem;
}

.form-agree p {
    text-align: center;
}

.form-agree label {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.form-agree input[type="checkbox"]:checked + label::after {
    content: "";
    display: inline-block;
    width: 1.4rem;
    height: 0.8rem;
    border-left: 0.2rem solid #5e9ea0;
    border-bottom: 0.2rem solid #5e9ea0;
    position: absolute;
    top: 49%;
    left: 36%;
    transform: rotate(-45deg) translateX(0.8rem);
}

.form-agree label a {
    color: #5e9ea0;
    transition: 0.3s;
}

.form-agree label a:hover {
    opacity: 0.7;
}

.form-btn {
    margin-top: 6.4rem;
    display: flex;
    justify-content: center;
}

.form-button {
    font-size: 1.6rem;
    font-weight: 700;
    padding: 2rem 11rem;
    background-color: #e2c3bc;
    border-radius: 2rem;
    border: 2px solid #e2c3bc;
    color: #7c5e62;
    transition: 0.5s;
    position: relative;
}

.wpcf7-spinner {
    /* display: none !important; */
    /* スピナー無理やり消す */
    position: absolute !important;
    background-color: #e2c3bc !important;
}

.wpcf7-not-valid-tip:nth-child(1) {
    display: none;
    /* 「入力してください」が2個出てたので1コ消した */
}

.wpcf7-response-output{
    display: none;
}

.form-button:hover {
    background-color: #fbf5f9;
    border: 2px solid #e2c3bc;
    letter-spacing: 0.15em;
}

.footer {
    padding: 2rem 0;
    background-color: #b2e7e1;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright small {
    font-size: 1.4rem;
    text-transform: capitalize;
    font-weight: 700;
}

/* ---WORkページここから--- */
.work {
    padding: 18rem 0 10rem;
    background-color: #fbf5f9;
}

.work-title {
    margin-top: 6.4rem;
}

.work-title p {
    font-size: 2.4rem;
}

.work-title div {
    margin-top: 1.6rem;
}

.work-title a {
    text-decoration: none;
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
}

.work-title a:hover {
    color: #5e9ea0;
}

.work-title a::after {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: url(../img/eva_external-link-fill.webp) no-repeat center / cover;
    margin-left: 0.8rem;
    transition: 0.3s;
}

.work-img {
    margin-top: 4.8rem;
    border-radius: 0 5rem 0 5rem;
    overflow: hidden;
    box-shadow: 0.6rem 0.6rem 0.4rem #fddbf2;
    border: 2px solid #fddbf2;
}

.work-img img {
    width: 100%;
    aspect-ratio: 1040 / 581;
    object-fit: cover;
}

.work-detail {
    margin-top: 4.8rem;
    background-color: #ebfffc;
    padding: 4.8rem 6.4rem;
    position: relative;
}

.work-detail::before {
    content: "";
    background: url(../img/dog-hand.webp) no-repeat center / cover;
    width: 14.8rem;
    height: 14.8rem;
    transform: rotate(-30deg);
    position: absolute;
    top: 3%;
    right: 6%;
}

.detail-title {
    font-size: 2rem;
}

.detail-body {
    margin-top: 3.2rem;
    font-size: 1.6rem;
}

.detail-body dl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.2rem;
}

.detail-list dt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-list dt::after {
    content: "";
    display: inline-block;
    width: 7rem;
    height: 2px;
    background-color: #7c5e62;
}

.detail-list {
    display: flex;
    gap: 4.8rem;
}

.detail-body p {
    margin-top: 3.2rem;
}

.back-btn {
    margin-top: 10rem;
    text-align: center;
}

.back {
    display: inline-flex;
    text-decoration: none;
    font-size: 1.6rem;
    color: #7c5e62;
    padding: 2rem 11rem;
    border-radius: 2rem;
    background-color: #b2e7e1;
    border: 2px solid #ebfffc;
    transition: 0.5s;
}

.back:hover {
    border: 2px solid #7c5e62;
    letter-spacing: 0.15em;
}

/* ---privacyページここから--- */
.privacy-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.privacy-title span {
    font-size: 2.4rem;
    text-align: center;
    margin-top: 0.8rem;
}

.privacy-wrapper {
    margin-top: 6.4rem;
    font-size: 1.6rem;
}

.privacy-body {
    margin-top: 4.8rem;
}

.privacy-items {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
    list-style: none;
    counter-reset: num;
}

.privacy-item-title {
    font-size: 2rem;
    position: relative;
}

.privacy-item-title::after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 1.5px;
    background-color: #7c5e62;
    position: absolute;
    bottom: -20%;
    left: 0;
}

.privacy-item span {
    display: flex;
    align-items: center;
}

.privacy-item-title span::before {
    counter-increment: num;
    content: counter(num) ".";
    margin-right: 1rem;
}

.privacy-text-container {
    margin-top: 2.4rem;
}

.privacy-text-container ul {
    margin-top: 0.8rem;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.privacy-text-container li {
    display: flex;
}

.privacy-text-container li::before {
    content: "・";
    display: inline-block;
}

.purpose {
    margin-top: 0.8rem;
}

.day {
    text-align: right;
    margin-top: 6.4rem;
    font-size: 1.4rem;
}

/* ---thanksページここから */
.thanks-inner {
    background-color: #fddbf2;
    padding: 4.8rem 0;
    border-radius: 3rem;
}

.thanks-title::after {
    display: none;
}

.thanks-title {
    position: relative;
}

.thanks-title::before,
.thanks-title::after {
    content: "";
    display: inline-block;
    width: 8rem;
    height: 3px;
    background-color: #7c5e62;
    position: absolute;
}

.thanks-title::before {
    transform: rotate(58deg);
    top: 70%;
    left: 29%;
}

.thanks-title::after {
    transform: rotate(-58deg);
    top: 70%;
    right: 29%;
    margin-top: 0;
}

.thanks-title {
    text-transform: uppercase;
}
.thanks-container {
    margin-top: 6.4rem;
    display: flex;
    justify-content: center;
    gap: 5%;
}

.thanks-img {
    width: 30%;
}

.thanks-img img{
	width: 100%;
    aspect-ratio: 312 / 312;
    object-fit: cover;
}

.thanks-body {
    color: #7c5e62;
    font-size: 2rem;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thanks-text:nth-child(2){
    margin-top: 2.4rem;
}

/* 画面幅が1210px以下のとき */
@media screen and (max-width: 1250px) {
    html {
        font-size: calc(10 / 1250 * 100vw);
    }
}

/* 画面幅が768px以下のとき */
@media screen and (max-width: 768px) {
    html {
        font-size: 62.5%;
		scroll-behavior: auto;
        scroll-padding-top: 0;
    }

    .pace-running {
        background: #ebfffc;
        &:before {
            font-size: 3.2rem;
        }
    }

    .pace {
        width: 70%;
    }

    .header {
        width: 100%;
        height: 7rem;
        top: 0;
        left: 0;
        transform: none;
    }

    .header-inner {
        padding: 0 2rem;
    }

    .header-title a {
        font-size: 2.8rem;
    }

    .header-title a:hover {
        opacity: 1;
    }

    /* ハンバーガーメニュー */
    .hamburger {
        display: block;
        position: absolute;
        top: 25%;
        right: 4%;
        width: 4rem;
        height: 4rem;
        transition: transform 0.5s ease 0s;
        z-index: 100;
        cursor: pointer;
    }

    .hamburger__bar {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        width: 3.5rem;
        height: 2px;
        background-color: #7c5e62;
        transition: 0.3s;
    }

    .hamburger__bar:nth-of-type(1) {
        top: 25%;
    }

    .hamburger__bar:nth-of-type(2) {
        top: 50%;
    }

    .hamburger__bar:nth-of-type(3) {
        top: 75%;
    }

    .header-menu {
        display: none;
    }

    /* OPEN時の動き */
    .hamburger.is-open .hamburger__bar:nth-of-type(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .hamburger.is-open .hamburger__bar:nth-of-type(2) {
        opacity: 0;
        transform: translate(-50%, -50%);
    }

    .hamburger.is-open .hamburger__bar:nth-of-type(3) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    /* ドロワーメニュー */
    .drawer-menu.is-open {
        position: absolute;
        top: 7rem;
        left: 0;
        overflow: scroll;
        z-index: 100;
        width: 100%;
        height: calc(100dvh - 7rem);
        background: linear-gradient(0.25turn, #ecfffd, 52%, #b2e7e2);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .header-nav ul {
        display: flex;
        flex-direction: column;
        row-gap: 2rem;
        align-items: center;
    }

    .nav-link {
        font-size: 2.2rem;
    }

    .nav-link::before {
        height: 1.2px;
    }

    /* MV */
    .mv {
		
        padding: 0 2.5rem 2.5rem;
        min-height: 48rem;
    }

    .mv-body {
        align-items: flex-start;
        top: 27%;
        right: auto;
        left: 4%;
        margin: 0;
    }

    .mv-title {
        font-size: 7rem;
    }

    .mv-title-sp {
        display: block;
    }

    .mv-text::before {
        width: 20rem;
        height: 0.2rem;
    }

    .mv-text {
        font-size: 2.2rem;
        align-items: flex-start;
        margin-top: 1rem;
    }

    .mv-pic {
        width: 90%;
        border-radius: 0 20rem 0 0;
    }

    .mv::after {
        width: 10.4rem;
        height: 10.4rem;
        top: 15%;
        right: 6%;
    }

    /* mv直下の帯 */
    .line-dog {
        height: 2rem;
    }

    .line-dog-item {
        width: 2rem;
        height: 2rem;
    }

    /* worksセクション */
    .works {
		scroll-margin-top: 7rem;
        padding: 4.8rem 0;
    }

    .section-wide-inner {
        max-width: 100%;
        padding: 0 2.5rem;
    }

    .section-title {
        font-size: 3.6rem;
    }

    .section-title::after {
        width: 8rem;
    }

    .swiper {
        overflow: hidden;
    }

    .swiper-wrapper {
        margin-top: 4.8rem;
        display: flex;
        gap: 0;
    }

    .swiper-slide {
        width: 100%;
    }

    .works-item {
        box-shadow: none;
        transition: none;
    }

    .works-item:hover {
        transform: none;
    }

    .works-item-title {
        font-size: 1.8rem;
    }

    .swiper-pagination {
        display: block;
    }

    /* serviceセクション */
    .service {
		scroll-margin-top: 7rem;
        padding: 4.8rem 0;
    }

    .service-container {
        margin-top: 4.8rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-title {
        font-size: 2.2rem;
    }

    .service-text {
        font-size: 1.4rem;
    }

    /* aboutmeセクション */
    .about {
		scroll-margin-top: 7rem;
        padding: 4.8rem 0;
    }

    .section-small-inner {
        max-width: 100%;
        padding: 0 2.5rem;
    }

    .my-profile {
        margin-top: 4.8rem;
        flex-direction: column-reverse;
        padding: 4rem 4rem 8rem;
        justify-content: center;
        gap: 2.4rem;
    }

    .my-profile::before {
        width: 13rem;
        height: 13rem;
        top: 21%;
        right: 2%;
        z-index: 2;
    }

    .my-body {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .my-name {
        font-size: 2.4rem;
    }

    .my-text {
        font-size: 1.6rem;
        margin-top: 2rem;
    }

    .my-pic {
        width: 100%;
    }

    /* contactセクション */
    .contact {
		scroll-margin-top: 7rem;
        padding: 4.8rem 0;
    }

    .contact-inner {
        padding: 0;
    }

    .contact-text {
        margin-top: 4.8rem;
        font-size: 1.4rem;
    }

    .contact-text-sp {
        display: block;
    }

    .contact-form {
        margin-top: 4.8rem;
    }

    .form-container {
        padding: 4.8rem 4.8rem;
        border-radius: 0;
    }

    .form-item {
        display: block;
    }

    .form-item:nth-child(n + 2) {
        margin-top: 4.8rem;
    }

    .input-wrapper {
        width: 100%;
        margin-top: 1.6rem;
    }

    .input-wrapper input[type="text"],
    .input-wrapper input[type="email"],
    .input-wrapper textarea {
        padding: 1.8rem 2rem;
        font-size: 1.4rem;
    }

    .input-select {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
    }

    .form-message {
        margin-top: 4.8rem;
    }

    .form-agree {
        margin-top: 4.8rem;
        text-align: center;
    }

    .form-agree label {
        display: inline-flex;
    }

    .form-agree input[type="checkbox"]:checked + label::after {
        left: -1%;
    }

    .form-btn {
        margin-top: 4.8rem;
    }

    .wpcf7-spinner{
        width: 2.2rem !important;
        height: 2.2rem !important;
        margin: 0 0.6rem !important;
    }

    .wpcf7-spinner::before{
        top: 0.4rem !important;
        left: 0.4rem !important;
        width: 0.6rem !important;
        height: 0.6rem !important;
    }

    .footer {
        padding: 2rem 0;
    }

    /* ---WORkページここから--- */
    .work {
        padding: 11.8rem 0 10rem;
    }

    .work-title {
        margin-top: 4.8rem;
    }

    .work-img {
        margin-top: 3.2rem;
        border-radius: 0 3rem 0 3rem;
        box-shadow: 0.2rem 0.2rem 0.4rem #fddbf2;
    }

    .work-detail {
        margin-top: 3.2rem;
        padding: 2.4rem 1.2rem;
    }

    .work-detail::before {
        width: 8rem;
        height: 8rem;
        transform: rotate(-25deg);
        top: 3%;
    }

    .detail-body dl {
        gap: 2.4rem;
    }

    .detail-list {
        gap: 3.2rem;
    }

    .back-btn {
        margin-top: 8rem;
    }

    /* ---privacyページここから--- */
    .privacy-title span {
        font-size: 1.8rem;
        margin-top: 0.4rem;
    }

    .privacy-wrapper {
        margin-top: 3.2rem;
        font-size: 1.4rem;
    }

    .privacy-body {
        margin-top: 4.8rem;
    }

    .privacy-items {
        gap: 3.2rem;
    }

    .privacy-item-title {
        font-size: 1.8rem;
    }

    .privacy-item-title::after {
        height: 1.5px;
    }

    .day {
        margin-top: 3.2rem;
        font-size: 1.2rem;
    }

    /* ---thanksページここから */
    .thanks{
        padding: 11.8rem 1.5rem 10rem;
    }
    
    .thanks-inner {
        padding: 4.8rem 2.5rem;
    }

    .thanks-title::before,
    .thanks-title::after {
        width: 6rem;
    }

    .thanks-title::before {
        top: 60%;
        left: 0;
    }

    .thanks-title::after {
        top: 60%;
        right: 0;
    }

    .thanks-container {
        margin-top: 3.2rem;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .thanks-img {
        width: 70%;
        transform: translate(-1rem);
    }

    .thanks-body {
        margin-top: 2rem;
        font-size: 1.6rem;
        width: 100%;
    }

    .thanks-text:nth-child(2){
        margin-top: 1.2rem;
    }
}

@media screen and (max-width: 375px) {
    html {
        font-size: calc(10 / 375 * 100vw);
    }
}
