/*
Theme Name: YON Design Theme
Description: YON Designのオリジナルテーマです。
Version: 1.0
*/

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size:62.5%;
}

body {
  margin: 0;
  font-family: sans-serif;
  line-height: 1.8;
  color: #222;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ======================================
　　　　　ヘッダー
====================================== */

.site-header {
  height: 65px;
  display: flex;
  align-items: center;
  background: #fff;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  flex-shrink: 0;
}

.header-logo a {
  display: block;
  flex-shrink: 0;
}

.header-logo img {
  width: 76px;
  display: block;
}

.site-title {
  margin: 0;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.2;
  color: #333;
  white-space: nowrap;
}

.header-nav-area {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding: 0 16px;
}

.global-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.main-menu,
.sub-menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu {
  gap: 17px;
  line-height: 1;
}

.sub-menu {
  gap: 12px;
  line-height: 1;
  margin-top: 6px;
}

.main-menu a {
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
}

.sub-menu a {
  font-size: 10px;
  font-weight: normal;
  line-height: 1;
  color: #333;
}

.sub-menu li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-menu li::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid #ccc;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.main-menu a:hover,
.sub-menu a:hover {
  opacity: 0.7;
}

.header-button {
  width: 116px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
}

.header-button:hover {
  opacity: 0.85;
}

/* ======================================
　　　　　ファーストビュー
====================================== */

.first-view {
  width: 100%;
  background: #fefaf4;
}

.first-view-inner {
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.first-view-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ======================================
　　　　　フッター
====================================== */

.site-footer {
  padding: 24px;
  background: #222;
  color: #fff;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer small {
  font-size: 12px;
}

/* ======================================
　　　　　共通
====================================== */

.story-section,
.worries-section,
.cause-section,
.solution-section {
    padding: 100px 0;
}


.story-section h2 img,
.worries-section h2 img,
.cause-section h2 img,
.solution-section h2 img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.story-section .section-inner,
.worries-section__inner,
.cause-section__inner,
.solution-section .section-inner,
.solution-points,
.solution-message {
    width: min(90%, 1100px);
    margin-right: auto;
    margin-left: auto;
}

.story-section p,
.worries-section p,
.cause-section p,
.solution-section p {
    font-size: 16px;
    line-height: 2;
}

.story-section strong,
.cause-section strong,
.solution-section strong {
    font-weight: 700;
}


/* ======================================
　　　　　セクション　ストーリー
====================================== */

.story-section {
    background: #f7f7f7;
}

.story-section .section-inner {
    display: flex;
    align-items: center;
    gap: 56px;
}

.story-section .section-inner > img {
    display: block;
    width: 48%;
    object-fit: cover;
    border-radius: 20px;
}

.story-section .section-inner > div {
    flex: 1;
    min-width: 0;
}

.story-section .section-inner h3 {
    margin: 0 0 32px;
}

.story-section .section-inner h3 img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.story-section .section-inner p {
    margin: 0 0 18px;
}

.story-section .section-inner p:last-child {
    margin-bottom: 0;
}

.story-block + .story-block {
    margin-top: 120px;
}

.story-block--reverse {
    flex-direction: row-reverse;
}

.story-section__lead {
    width: min(90%, 800px);
    margin: 100px auto 0;
    font-size: 26px !important;
    font-weight: 700;
    line-height: 1.8 !important;
    text-align: center;
}

/* ======================================
　　　　　セクション　お悩み
====================================== */

.worries-section {
    padding: 8rem 0;
    background: #fff;
    text-align: center;
}

.worries-section h2 {
    margin: 0 0 4rem;
    font-size: 3.6rem;
    line-height: 1.5;
}

.worries-section__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6rem;
    max-width: 98rem;
    margin: 0 auto;
    text-align: left;
}

.worries-list {
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.worries-list li {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 4.4rem;
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.8;
}

.worries-list li::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 2.8rem;
    height: 2.8rem;
    background: url("../images/check.svg") no-repeat center / contain;
}

.worries-list li:last-child {
    margin-bottom: 0;
}

.worries-section__inner > img {
    width: 42rem;
    max-width: 45%;
    border-radius: 2rem;
}

@media screen and (max-width: 767px) {
    .worries-section {
        padding: 6rem 0;
    }

    .worries-section h2 {
        margin-bottom: 3.2rem;
        font-size: 2.8rem;
    }

    .worries-section__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 3rem;
    }

    .worries-list li {
        margin-bottom: 1.6rem;
        padding-left: 3.6rem;
        font-size: 1.8rem;
        line-height: 1.7;
    }

    .worries-list li::before {
        top: 0.4rem;
        width: 2.2rem;
        height: 2.2rem;
    }

    .worries-section__inner > img {
        width: 100%;
        max-width: none;
    }
}

/* ======================================
　　　　　セクション　考え方
====================================== */

.approach-section {
    padding: 8rem 0;
    background: #f7f7f7;
    text-align: center;
}

.approach-section h2 {
    margin: 0 0 2rem;
    font-size: 3.6rem;
    line-height: 1.5;
}

.approach-section .section-lead {
    max-width: 78rem;
    margin: 0 auto 5rem;
    font-size: 1.6rem;
    line-height: 2;
}

.approach-list {
    position: relative;
    max-width: 90rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: left;
}

.approach-list::before {
    content: "";
    position: absolute;
    top: 3.2rem;
    bottom: 3.2rem;
    left: 3.2rem;
    width: 0.1rem;
    background: #d8d8d8;
}

.approach-list li {
    position: relative;
    display: grid;
    grid-template-columns: 6.4rem 1fr;
    gap: 3.2rem;
    align-items: start;
    padding: 0 0 4rem;
}

.approach-list li:last-child {
    padding-bottom: 0;
}

.approach-number {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6.4rem;
    height: 6.4rem;
    background: #fff;
    border: 0.1rem solid #cfcfcf;
    border-radius: 50%;
    box-sizing: border-box;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    color: #888;
}

.approach-content {
    padding: 0.8rem 0 4rem;
    border-bottom: 0.1rem solid #e5e5e5;
}

.approach-list li:last-child .approach-content {
    padding-bottom: 0;
    border-bottom: none;
}

.approach-content h3 {
    margin: 0 0 1.2rem;
    font-size: 2rem;
    line-height: 1.6;
}

.approach-content p {
    margin: 0;
    font-size: 1.5rem;
    line-height: 2;
}

/* ======================================
　　　　　タブレット
====================================== */

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

    .approach-list {
        max-width: 80rem;
    }

}

/* ======================================
　　　　　スマートフォン
====================================== */

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

    .approach-section {
        padding: 6rem 0;
    }

    .approach-section h2 {
        margin-bottom: 1.6rem;
        font-size: 2.8rem;
    }

    .approach-section .section-lead {
        margin-bottom: 4rem;
        font-size: 1.5rem;
        line-height: 1.9;
        text-align: left;
    }

    .approach-section .section-lead br {
        display: none;
    }

    .approach-list::before {
        top: 2.6rem;
        bottom: 2.6rem;
        left: 2.6rem;
    }

    .approach-list li {
        grid-template-columns: 5.2rem 1fr;
        gap: 2rem;
        padding-bottom: 3.2rem;
    }

    .approach-number {
        width: 5.2rem;
        height: 5.2rem;
        font-size: 1.6rem;
    }

    .approach-content {
        padding: 0.4rem 0 3.2rem;
    }

    .approach-content h3 {
        margin-bottom: 0.8rem;
        font-size: 1.7rem;
        line-height: 1.6;
    }

    .approach-content p {
        font-size: 1.4rem;
        line-height: 1.9;
    }

}

/* ======================================
　　　　　セクション　オープニング
====================================== */

.opening-section {
  padding: 40px 0;
  background: #fff;
  text-align: center;
}

.section-inner {
  max-width: 1080px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: bold;
  color: #777;
  letter-spacing: 0.12em;
}

.opening-section h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 38px;
  font-size: 16px;
  line-height: 2;
}

.opening-section ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.opening-section li {
  flex: 1;
  padding: 32px;
  background: #f7f7f7;
  border-radius: 20px;
}

.opening-section li img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 0 0 20px;
  border-radius: 14px;
}

.opening-section li h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.5;
}

.opening-section li p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

/* ======================================
　　　　　セクション　ボディ
====================================== */

.body-section {
    padding: 80px 0;
    background: #f7f7f7;
}

.body-section .section-inner {
    display: flex;
    align-items: center;
    gap: 56px;
}

.body-section .section-inner > img {
    width: 50%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.body-section .section-inner > div {
    flex: 1;
}

.body-section .section-label {
    margin: 0 0 14px;
}

.body-section h2 {
    max-width: 0 0 24px;
    font-size: 36px;
    line-height: 1.5;
}

.body-section .section-inner > div > p {
    margin: 0 0 18px;
    font-size: 16px;
    list-style: 2;
}

.body-section .section-inner > div > p:last-child {
    margin-bottom: 0;
}

/* ======================================
　　　　　セクション　サービス
====================================== */

.service-section {
    padding: 8rem 0;
    background: #fff;
    text-align: center;
}

.service-section h2 {
    margin: 0 0 2rem;
    font-size: 3.6rem;
    line-height: 1.5;
}

.service-section .section-lead {
    max-width: 78rem;
    margin: 0 auto 4rem;
    font-size: 1.6rem;
    line-height: 2;
}

.service-section dl {
    display: grid;
    grid-template-columns: 24rem 1fr;
    max-width: 98rem;
    margin: 0 auto;
    text-align: left;
    border-top: 0.1rem solid #ddd;
    border-left: 0.1rem solid #ddd;
    border-radius: 2rem;
    overflow: hidden;
}

.service-section dt,
.service-section dd {
    margin: 0;
    padding: 2.8rem;
    border-right: 0.1rem solid #ddd;
    border-bottom: 0.1rem solid #ddd;
}

.service-section dt {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.7;
    background: #eee;
}

.service-section dd {
    font-size: 1.5rem;
    line-height: 2;
    background: #f7f7f7;
}

@media screen and (max-width: 767px) {
    .service-section {
        padding: 6rem 0;
    }

    .service-section h2 {
        margin-bottom: 1.6rem;
        font-size: 2.8rem;
    }

    .service-section .section-lead {
        margin-bottom: 3.2rem;
        font-size: 1.5rem;
        text-align: left;
    }

    .service-section dl {
        display: block;
        border: none;
        border-radius: 0;
        overflow: visible;
    }

    .service-section dt,
    .service-section dd {
        border: none;
    }

    .service-section dt {
        display: block;
        padding: 2rem 2.4rem;
        font-size: 1.7rem;
        text-align: center;
        border-radius: 1.6rem 1.6rem 0 0;
    }

    .service-section dd {
        margin-bottom: 1.6rem;
        padding: 2rem 2.4rem 2.4rem;
        font-size: 1.5rem;
        line-height: 1.9;
        border-radius: 0 0 1.6rem 1.6rem;
    }

    .service-section dd:last-child {
        margin-bottom: 0;
    }
}

/* ======================================
　　　　　セクション　実績
====================================== */

.works-section {
    padding: 8rem 0;
    background: #f7f7f7;
    text-align: center;
}

.works-section h2 {
    margin: 0 0 2rem;
    font-size: 3.6rem;
    line-height: 1.5;
}

.works-section .section-lead {
    max-width: 78rem;
    margin: 0 auto 4rem;
    font-size: 1.6rem;
    line-height: 2;
}

.works-section > .section-inner > ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.works-section > .section-inner > ul > li {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.04);
}

.works-section > .section-inner > ul > li > img {
    display: block;
    width: 100%;
    height: 22rem;
    object-fit: cover;
}

.works-badge {
    position: absolute;
    top: 1.6rem;
    left: 1.6rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    margin: 0;
    padding: 0.6rem 1.4rem;
    border-radius: 999rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.4;
}

.works-badge.client {
    background: #8f6b63;
}

.works-badge.own {
    background: #c07ba5;
}

.works-section > .section-inner > ul > li > h3 {
    margin: 2.4rem 2.4rem 1.2rem;
    font-size: 2rem;
    line-height: 1.5;
}

.works-section > .section-inner > ul > li > p {
    margin: 0 2.4rem 2rem;
    font-size: 1.5rem;
    line-height: 1.9;
}

.works-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: auto 2.4rem 2.8rem;
    padding: 0;
    list-style: none;
}

.works-tags li {
    margin: 0;
    padding: 0.6rem 1.2rem;
    background: #f3f1ef;
    border-radius: 999rem;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #666;
    box-shadow: none;
}

/* ======================================
　　　　　タブレット
====================================== */

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

    .works-section > .section-inner > ul {
        grid-template-columns: repeat(2, 1fr);
        max-width: 80rem;
        margin: 0 auto;
    }

}

/* ======================================
　　　　　スマートフォン
====================================== */

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

    .works-section {
        padding: 6rem 0;
    }

    .works-section h2 {
        margin-bottom: 1.6rem;
        font-size: 2.8rem;
    }

    .works-section .section-lead {
        margin-bottom: 3.2rem;
        font-size: 1.5rem;
        line-height: 1.9;
        text-align: left;
    }

    .works-section .section-lead br {
        display: none;
    }

    .works-section > .section-inner > ul {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .works-section > .section-inner > ul > li > img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .works-badge {
        top: 1.2rem;
        left: 1.2rem;
        min-height: 2.8rem;
        padding: 0.5rem 1.2rem;
        font-size: 1.1rem;
    }

    .works-section > .section-inner > ul > li > h3 {
        margin: 2rem 2rem 1rem;
        font-size: 1.8rem;
    }

    .works-section > .section-inner > ul > li > p {
        margin: 0 2rem 1.8rem;
        font-size: 1.4rem;
        line-height: 1.9;
    }

    .works-tags {
        gap: 0.6rem;
        margin: auto 2rem 2.4rem;
    }

    .works-tags li {
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
    }

}

/* ======================================
　　　　　セクション　流れ
====================================== */

.flow-section {
    padding: 8rem 0;
    background: #fff;
    text-align: center;
}

.flow-section h2 {
    margin: 0 0 2rem;
    font-size: 3.6rem;
    line-height: 1.5;
}

.flow-section .section-lead {
    max-width: 78rem;
    margin: 0 auto 4rem;
    font-size: 1.6rem;
    line-height: 2;
}

.flow-section ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: flow-number;
    text-align: left;
}

.flow-section li {
    position: relative;
    padding: 3.2rem 2.8rem 2.8rem;
    background: #f7f7f7;
    border-radius: 2rem;
    counter-increment: flow-number;
}

.flow-section li::before {
    content: counter(flow-number, decimal-leading-zero);
    display: block;
    margin: 0 0 2rem;
    font-size: 3.2rem;
    font-weight: bold;
    line-height: 1;
    color: #ccc;
}

.flow-section li h3 {
    margin: 0 0 1.4rem;
    font-size: 1.8rem;
    line-height: 1.5;
}

.flow-section li p {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.9;
}

@media screen and (max-width: 900px) {
    .flow-section ol {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .flow-section {
        padding: 6rem 0;
    }

    .flow-section h2 {
        margin-bottom: 1.6rem;
        font-size: 2.8rem;
    }

    .flow-section .section-lead {
        margin-bottom: 3.2rem;
        font-size: 1.5rem;
        text-align: left;
    }

    .flow-section .section-lead br {
        display: none;
    }

    .flow-section ol {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .flow-section li {
        padding: 2.4rem;
    }

    .flow-section li::before {
        margin-bottom: 1.2rem;
        font-size: 2.6rem;
    }

    .flow-section li h3 {
        margin-bottom: 1rem;
        font-size: 1.7rem;
    }

    .flow-section li p {
        font-size: 1.4rem;
    }
}

/* ======================================
　　　　　セクション　料金
====================================== */

.price-section {
    padding: 8rem 0;
    background: #f7f7f7;
    text-align: center;
}

.price-section h2 {
    margin: 0 0 2rem;
    font-size: 3.6rem;
    line-height: 1.5;
}

.price-section .section-lead {
    max-width: 78rem;
    margin: 0 auto 4rem;
    font-size: 1.6rem;
    line-height: 2;
}

.price-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 0 2.4rem;
    padding: 0;
    list-style: none;
    text-align: left;
}

.price-list li {
    display: flex;
    flex-direction: column;
    padding: 3.6rem 2.4rem;
    background: #fff;
    border-radius: 2rem;
}

.price-list li h3 {
    min-height: 5.4rem;
    margin: 0 0 2rem;
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: center;
}

.price-section .price {
    min-height: 4rem;
    margin: 0 0 1rem;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.price-section .price strong {
    font-size: 3rem;
    line-height: 1;
}

.price-section .price span {
    font-size: 1.4rem;
    font-weight: bold;
}

.price-list li small {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

.price-list li p {
    margin: 0 0 1.8rem;
    font-size: 1.5rem;
    line-height: 1.9;
}

.price-list li p:nth-of-type(2) {
    min-height: 4.4rem;
}

.price-list li p:last-child {
    margin-bottom: 0;
}

.price-note {
    margin: 0 0 4rem;
}

.price-note small {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

.price-detail {
    max-width: 98rem;
    margin: 0 auto;
    padding: 4rem;
    background: #fff;
    border-radius: 2rem;
    text-align: left;
}

.price-detail > h3 {
    margin: 0 0 3rem;
    font-size: 2.2rem;
    line-height: 1.5;
    text-align: center;
}

.price-detail__item {
    display: grid;
    grid-template-columns: 22rem 1fr;
    gap: 3rem;
    padding: 2.4rem 0;
    border-top: 0.1rem solid #ddd;
}

.price-detail__item h4 {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.8;
}

.price-detail__item p {
    margin: 0;
    font-size: 1.5rem;
    line-height: 2;
}

.price-detail__note {
    margin: 0;
    padding: 2.4rem 0 0;
    border-top: 0.1rem solid #ddd;
    font-size: 1.4rem;
    line-height: 2;
    color: #666;
}

@media screen and (max-width: 1100px) {
    .price-list {
        grid-template-columns: repeat(2, 1fr);
        max-width: 80rem;
        margin: 0 auto 2.4rem;
    }
}

@media screen and (max-width: 767px) {
    .price-section {
        padding: 6rem 0;
    }

    .price-section h2 {
        margin-bottom: 1.6rem;
        font-size: 2.8rem;
    }

    .price-section .section-lead {
        margin-bottom: 3.2rem;
        font-size: 1.5rem;
        text-align: left;
    }

    .price-section .section-lead br {
        display: none;
    }

    .price-list {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .price-list li {
        padding: 2.8rem 2.4rem;
    }

    .price-list li h3 {
        min-height: auto;
        margin-bottom: 1.6rem;
        font-size: 1.8rem;
    }

    .price-section .price {
        min-height: auto;
    }

    .price-section .price strong {
        font-size: 3.2rem;
    }

    .price-list li p:nth-of-type(2) {
        min-height: auto;
    }

    .price-note {
        margin-bottom: 3.2rem;
        text-align: left;
    }

    .price-detail {
        padding: 2.8rem 2.4rem;
    }

    .price-detail > h3 {
        margin-bottom: 2rem;
        font-size: 2rem;
    }

    .price-detail__item {
        display: block;
        padding: 2rem 0;
    }

    .price-detail__item h4 {
        margin-bottom: 0.8rem;
        font-size: 1.6rem;
    }

    .price-detail__item p {
        font-size: 1.4rem;
        line-height: 1.9;
    }

    .price-detail__note {
        padding-top: 2rem;
        font-size: 1.3rem;
        line-height: 1.9;
    }
}

/* ======================================
　　　　　セクション　CTA
====================================== */

.cta-section {
    padding: 9rem 0;
    background: #222;
    color: #fff;
    text-align: center;
}

.cta-section .section-label {
    color: #bbb;
}

.cta-section h2 {
    margin: 0 0 4rem;
    font-size: 3.6rem;
    line-height: 1.5;
}

.cta-message {
    max-width: 76rem;
    margin: 0 auto 4rem;
}

.cta-message p {
    margin: 0 0 2rem;
    font-size: 1.6rem;
    line-height: 2;
}

.cta-message p:last-child {
    margin-bottom: 0;
}

.cta-message__lead {
    font-size: 2rem !important;
    font-weight: bold;
    line-height: 1.7 !important;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28rem;
    min-height: 6rem;
    padding: 1.6rem 4rem;
    border: 0.1rem solid #fff;
    border-radius: 999rem;
    box-sizing: border-box;
    background: #fff;
    color: #222;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.5;
    text-decoration: none;
    transition: 0.3s;
}

.cta-button:hover {
    background: transparent;
    color: #fff;
}

.cta-note {
    margin: 2rem 0 0;
}

.cta-note small {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #bbb;
}

/* ======================================
　　　　　スマートフォン
====================================== */

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

    .cta-section {
        padding: 6rem 0;
    }

    .cta-section h2 {
        margin-bottom: 3.2rem;
        font-size: 2.8rem;
    }

    .cta-message {
        margin-bottom: 3.2rem;
        text-align: left;
    }

    .cta-message p {
        margin-bottom: 1.8rem;
        font-size: 1.5rem;
        line-height: 1.9;
    }

    .cta-message p br {
        display: none;
    }

    .cta-message__lead {
        font-size: 1.8rem !important;
    }

    .cta-button {
        width: 100%;
        min-width: 0;
        min-height: 5.6rem;
        padding: 1.5rem 2.4rem;
        font-size: 1.5rem;
    }

    .cta-note {
        margin-top: 1.6rem;
        text-align: left;
    }

    .cta-note small {
        font-size: 1.2rem;
    }

}

/* ======================================
　　　　　全体的な設定
====================================== */

.opening-section,
.body-section,
.service-section,
.works-section,
.flow-section,
.price-section,
.cta-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.opening-section h2,
.body-section h2,
.service-section h2,
.works-section h2,
.flow-section h2,
.price-section h2,
.cta-section h2 {
    margin: 0 0 20px;
    font-size: 36px;
    line-height: 1.5;
}

.opening-section li,
.works-section li,
.flow-section li,
.price-section li {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}


/* ======================================
　　　　　タブレット
====================================== */

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

    .story-section,
    .worries-section,
    .cause-section,
    .solution-section {
        padding: 80px 0;
    }

    .story-section .section-inner,
    .worries-section__inner,
    .solution-section .solution-block {
        gap: 40px;
    }

    .story-section .section-inner > img,
    .solution-block > img {
        height: 380px;
    }

    .worries-section__inner > img {
        height: 420px;
    }

    .cause-list,
    .solution-points {
        gap: 20px;
    }

    .cause-item,
    .solution-point {
        padding: 32px 22px;
    }

}


/* ======================================
　　　　　スマートフォン
====================================== */

@media (max-width: 768px) {

    .section-inner {
        width: calc(100% - 32px);
        max-width: none;
        margin: 0 auto;
    }

    .opening-section,
    .service-section,
    .works-section,
    .flow-section,
    .price-section,
    .cta-section,
    .body-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .opening-section h2,
    .service-section h2,
    .works-section h2,
    .flow-section h2,
    .price-section h2,
    .cta-section h2,
    .body-section h2 {
        font-size: 28px;
        line-height: 1.5;
    }

    .section-lead {
        margin-bottom: 32px;
        font-size: 15px;
        line-height: 1.9;
    }

    .first-view {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .first-view-inner {
        width: 100%;
        max-width: none;
        height: auto;
        margin: 0;
        padding: 0;
    }

    .first-view-inner picture {
        display: block;
        width: 100%;
    }

    .first-view-inner img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center center;
        display: block;
    }

    /* Header */
    .site-header {
        height: auto;
        padding: 14px 0;
    }

    .site-header .section-inner {
        display: block;
    }

    .site-title {
        margin: 0 0 10px;
        text-align: center;
    }

    .site-title img {
        max-height: 36px;
    }

    /* Story */
    .story-section,
    .worries-section,
    .cause-section,
    .solution-section {
        padding: 64px 0;
    }

    .story-section h2,
    .worries-section h2,
    .cause-section h2,
    .solution-section h2 {
        margin-bottom: 40px;
    }

    .story-section p,
    .worries-section p,
    .cause-section p,
    .solution-section p {
        font-size: 15px;
        line-height: 1.9;
    }


    /* ストーリー */

    .story-section .section-inner,
    .story-block--reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .story-section .section-inner > img {
        width: 100%;
        height: auto;
        border-radius: 14px;
    }

    .story-section .section-inner h3 {
        margin-bottom: 24px;
    }

    .story-section .section-inner p {
        margin-bottom: 16px;
    }

    .story-block + .story-block {
        margin-top: 72px;
    }

    .story-section__lead {
        margin-top: 64px;
        font-size: 20px !important;
        line-height: 1.7 !important;
    }


    /* お悩み */

    .worries-section__inner {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 32px;
    }

    .worries-section__inner > img {
        width: 100%;
        height: auto;
        border-radius: 14px;
    }

    .worries-list li {
        margin-bottom: 14px;
        padding: 16px 18px 16px 48px;
        font-size: 15px;
    }

    .worries-list li::before {
        left: 18px;
        font-size: 18px;
    }


    /* Opening:スマホでは必ず１行*/
    .opening-section ul {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .opening-section li {
        width: 100%;
        margin: 0 0 20px;
        padding: 24px;
    }

    .opening-section li:last-child {
        margin-bottom: 0;
    }

    .opening-section li img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
        margin: 0 0 20px;
    }

    .opening-section li h3 {
        margin: 0 0 12px;
        font-size: 20px;
        line-height: 1.5;
    }

    .opening-section li p {
        margin: 0;
        font-size: 15px;
        line-height: 1.9;
    }

    /* Body */
    .body-section .section-inner {
        display: block;
    }

    .body-section .section-inner > img {
        width: 100%;
        height: 260px;
        margin-bottom: 28px;
    }

    .body-section .section-inner > div > p {
        font-size: 15px;
        line-height: 1.9;
    }

    /* Flow */
    .flow-section ol {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .flow-section li {
        padding: 28px 24px;
    }

    /* Price */
    .price-section ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        margin: 0 0 24px;
        padding: 0;
    }

    .price-section li {
        padding: 32px 24px;
    }

    /* CTA */

    .cta-section a {
        width: 100%;
        min-width: 0;
        padding: 18px 24px;
    }

}

/* ======================================
　　　　　スマホ用ハンバーガーメニュー
====================================== */

.menu-toggle {
    display: none;
}

.header-nav-area {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 0;
}

.header-nav-area .global-nav {
    margin-right: 30px;
}

.header-nav-area .header-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* スマホ表示 */
@media (max-width: 768px) {

    .site-header {
        position: relative;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 65px;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .header-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .header-logo a {
        display: block;
        line-height: 1;
    }

    .header-logo img {
        width: 70px;
        height: auto;
        display: block;
    }

    .site-title {
        margin: 0;
        font-size: 12px;
        line-height: 1.2;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid #ccc;
        border-radius: 8px;
        background: #fff;
        cursor: pointer;
        flex-shrink: 0;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 0 auto;
        background: #333;
    }

    .header-nav-area {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        padding: 0 16px 20px;
        box-sizing: border-box;
        background: #f7f7f7;
        z-index: 1001;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .header-nav-area.is-open {
        display: block;
    }

    .header-nav-area .global-nav {
        margin-right: 0;
    }

    .main-menu,
    .sub-menu {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .main-menu li,
    .sub-menu li {
        display: block;
        border-bottom: 1px solid #e3e3e3;
    }

    .main-menu a,
    .sub-menu a {
        display: block;
        padding: 22px 0;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.5;
        text-align: center;
    }

    .sub-menu {
        margin-top: 0;
    }

    .sub-menu li {
        gap: 0;
    }

    .sub-menu li::before {
        display: none;
    }

    .header-nav-area .header-button {
        width: 100%;
        max-width: none;
        height: 56px;
        margin-top: 20px;
        font-size: 14px;
    }
}

/* ======================================
　　　　　固定ページ
====================================== */
.page-main {
    padding: 60px;
    padding-bottom: 60px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    margin-bottom: 32px;
    font-size: 32px;
    line-height: 1.5;
    text-align: center;
}

.page-body {
    font-size: 16px;
    line-height: 1.9;
}

.page-body h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    font-size: 24px;
    line-height: 1.5;
    border-bottom: 1px solid #ddd;
}

.page-body h3 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.5;
}

.page-body p {
    margin-bottom: 20px;
}

.page-body ul,
.page-body ol {
    margin-bottom: 24px;
    padding-left: 1.5em;
}

.page-body li {
    margin-bottom: 8px;
}

.page-body table {
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
    border-collapse: collapse;
}

.page-body th,
.page-body td {
    padding: 14px 16px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.page-body th {
    width: 30%;
    background: #f7f7f7;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    
    .page-main {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .page-content {
        max-width: 100%;
    }

    .page-title {
    
        margin-bottom: 24px;
    
        font-size: 26px;

    }

    .page-body {   
        font-size: 15px;
    }

    .page-body h2 {
        margin-top: 40px;
        font-size: 22px;
    }

    .page-body h3 {
        margin-top: 32px;
        font-size: 18px;
    }

    .page-body table {
        font-size: 14px;

    }

    .page-body th,
    .page-body td {   
        display: block;   
        width: 100%;
    }

}


/* ======================================
　　　　　ブログ一覧
====================================== */
.blog-main,
.archive-main {
    padding-top: 60px;
    padding-bottom: 60px;
}

.blog-heading,
.archive-heading {
    margin-bottom: 40px;
    text-align: center;
}

.blog-title,
.archive-title {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1.5;
}

.blog-lead {
    font-size: 16px;
    line-height: 1.8;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.blog-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
}

.blog-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-card-image {
    aspect-ratio: 3 / 2;
    background: #f7f7f7;
}

.blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 24px;
}

.blog-date {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    color: #777;
}

.blog-card-title {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.5;
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.8;
}

.blog-pagination {
    margin-top: 40px;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-block;
    margin: 0 4px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
}

.blog-pagination .current {
    background: #333;
    color: #fff;
}

/* ======================================
　　　　　記事詳細
====================================== */
.single-main {
    padding-top:  60px;
    padding-bottom: 60px;
}

.single-content {
    max-width: 800px;
    margin: 0 auto;
}

.single-header {
    margin-bottom: 40px;
    text-align: center;
}

.single-date {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #777;
}

.single-title {
    font-size: 32px;
    line-height: 1.5;
}

.single-eyecatch {
    margin-bottom: 40px;
}

.single-eyecatch img {
    display: block;
    width: 100%;
    height: auto;
}

.single-body {
    font-size: 16px;
    line-height: 1.9;
}

.single-body h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    font-size: 24px;
    line-height: 1.5;
    border-bottom: 1px solid #ddd;
}

.single-body h3 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.5;
}

.single-body p {
    margin-bottom: 20px;
}

.single-body ul,
.single-body ol {
    margin-bottom: 24px;
    padding-left: 1.5em;
}

.single-body li {
    margin-bottom: 8px;
}

.single-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
}

.single-nav a,
.back-to-blog a {
    text-decoration: underline;
}

.back-to-blog {
    margin-top: 32px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    
    .blog-main,
    .archive-main,
    .single-main {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .blog-heading,
    .archive-heading {
        margin-bottom: 32px;
    }

    .blog-title,
    .archive-title,
    .single-title {
        font-size: 26px;
    }

    .blog-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card-body {
        padding: 20px;
    }

    .single-header {
        margin-bottom: 32px;
    }

    .single-eyecatch {
        margin-bottom: 32px;
    }

    .single-body {
        font-size: 15px;
    }

    .single-body h2 {
        margin-top: 40px;
        font-size: 22px;
    }

    .single-body h3 {
        margin-top: 32px;
        font-size: 18px;
    }

    .single-nav {
        display: block;
    }

    .single-nav-prev,
    .single-nav-next {
        margin-bottom: 16px;
    }

}

/* ======================================
　　　　　お問い合わせフォーム
====================================== */
.page-body .wpcf7-form {
    max-width: 640px;
    margin: 0 auto;
}

.page-body .wpcf7-form p {
    margin-bottom: 20px;
}

.page-body .wpcf7-form label {
    display: block;
    font-weight: 700;
}

.page-body .wpcf7-form input[type="text"],
.page-body .wpcf7-form input[type="email"],
.page-body .wpcf7-form input[type="tel"],
.page-body .wpcf7-form select,
.page-body .wpcf7-form textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    font-size: 16px;
    line-height: 1.6;
} 

.page-body .wpcf7-form textarea {
    min-height: 180px;
}

.page-body .wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.page-body .wpcf7-form input[type="submit"]:hover {
    opacity: 0.8;
}

.page-body .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 14px;
    color: #c00;
}

.page-body .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 16px;
}