/*
Theme Name: SORA GROW Arkhe Child
Theme URI: https://sora-grow.jp/
Description: SORA GROW用 Arkhe子テーマ
Author: SORA GROW
Template: arkhe
Version: 1.1.0
Text Domain: sora-grow-arkhe-child
*/

/* =========================================================
   SORA GROW TOP PAGE
   Prefix: sgx-
   既存の追加CSSと競合しにくいようTOP専用クラスで設計
========================================================= */

body.sora-grow-front .entry-title,
body.sora-grow-front .c-pageTitle,
body.sora-grow-front .p-pageTitle,
body.sora-grow-front .page-header,
body.sora-grow-front .l-breadcrumb {
  display: none !important;
}

body.sora-grow-front .l-sidebar,
body.sora-grow-front .c-sidebar {
  display: none !important;
}

body.sora-grow-front .l-main,
body.sora-grow-front .l-content,
body.sora-grow-front .l-content__body {
  width: 100% !important;
  max-width: none !important;
}

body.sora-grow-front .c-postContent,
body.sora-grow-front .p-entry__body {
  margin: 0 !important;
  padding: 0 !important;
}

.sgx-home {
  --sgx-dark: #102f49;
  --sgx-dark-2: #173e5e;
  --sgx-blue: #2f77b5;
  --sgx-blue-deep: #205f96;
  --sgx-blue-light: #e9f3fa;
  --sgx-blue-pale: #f3f8fc;
  --sgx-ink: #20394d;
  --sgx-text: #506779;
  --sgx-muted: #7b8f9f;
  --sgx-line: #d9e4ec;
  --sgx-line-strong: #c4d4df;
  --sgx-bg: #f7fafc;
  --sgx-white: #fff;

  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -50vw;
  overflow: hidden;

  color: var(--sgx-text);
  background: #fff;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .01em;
}

.sgx-home *,
.sgx-home *::before,
.sgx-home *::after {
  box-sizing: border-box;
}

.sgx-home h1,
.sgx-home h2,
.sgx-home h3,
.sgx-home h4,
.sgx-home p {
  margin-top: 0;
}

.sgx-home h1,
.sgx-home h2,
.sgx-home h3,
.sgx-home h4 {
  color: var(--sgx-dark);
  font-weight: 700;
  letter-spacing: -.025em;
}

/* =========================================
   SORA GROW - DO / DON'T
========================================= */

.sg-home .sgx-do-dont {
    padding: 105px 0 115px;
    background: #102d45;
    color: #fff;
}

.sg-home .sgx-do-dont__heading {
    text-align: center;
    margin-bottom: 45px;
}

.sg-home .sgx-do-dont__heading h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -.04em;
}

.sg-home .sgx-do-dont__heading p {
    margin: 0;
    color: #c3d5e2;
    font-size: 14px;
    line-height: 1.8;
}

/* Two Columns */

.sg-home .sgx-do-dont__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
}

.sg-home .sgx-do-dont__panel {
    padding: 35px 40px 42px;
    background: #fff;
    border-radius: 12px;
    color: #102d45;
    min-width: 0;
}

/* Panel Heading */

.sg-home .sgx-do-dont__panel-head {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 28px;
    min-height: 65px;
}

.sg-home .sgx-do-dont__panel-head p {
    margin: 0;
    color: #102d45;
    font-size: 25px;
    font-weight: 800;
}

.sg-home .sgx-do-dont__mark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    font-size: 57px;
    font-weight: 500;
    line-height: 1;
}

.sg-home .sgx-do-dont__panel--do .sgx-do-dont__mark {
    color: #2875b5;
}

.sg-home .sgx-do-dont__panel--dont .sgx-do-dont__mark {
    color: #aab3bc;
}

/* Each Item */

.sg-home .sgx-do-dont__item {
    padding: 24px 0 26px;
    border-top: 1px dashed #c9d4dd;
}

.sg-home .sgx-do-dont__item:last-child {
    padding-bottom: 0;
}

.sg-home .sgx-do-dont__item h3 {
    position: relative;
    padding-left: 32px;
    margin: 0 0 12px;
    color: #102d45;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.65;
    letter-spacing: -.025em;
}

.sg-home .sgx-do-dont__item h3::before {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 800;
}

.sg-home .sgx-do-dont__panel--do
.sgx-do-dont__item h3::before {
    content: "✓";
    color: #2875b5;
}

.sg-home .sgx-do-dont__panel--dont
.sgx-do-dont__item h3::before {
    content: "−";
    color: #aab3bc;
}

.sg-home .sgx-do-dont__item p {
    margin: 0 0 0 32px;
    color: #4b6274;
    font-size: 13px;
    font-weight: 400;
    line-height: 2.05;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 900px) {

    .sg-home .sgx-do-dont {
        padding: 75px 0;
    }

    .sg-home .sgx-do-dont__columns {
        gap: 18px;
    }

    .sg-home .sgx-do-dont__panel {
        padding: 27px 25px 32px;
    }

    .sg-home .sgx-do-dont__item h3 {
        font-size: 16px;
    }

}

@media (max-width: 767px) {

    .sg-home .sgx-do-dont {
        padding: 65px 0 75px;
    }

    .sg-home .sgx-do-dont__heading {
        margin-bottom: 32px;
    }

    .sg-home .sgx-do-dont__heading h2 {
        font-size: 27px;
    }

    .sg-home .sgx-do-dont__heading p {
        font-size: 12px;
    }

    .sg-home .sgx-do-dont__columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sg-home .sgx-do-dont__panel {
        padding: 24px 22px 29px;
        border-radius: 9px;
    }

    .sg-home .sgx-do-dont__panel-head {
        min-height: 48px;
        margin-bottom: 20px;
        gap: 13px;
    }

    .sg-home .sgx-do-dont__mark {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        font-size: 46px;
    }

    .sg-home .sgx-do-dont__panel-head p {
        font-size: 22px;
    }

    .sg-home .sgx-do-dont__item {
        padding: 19px 0 21px;
    }

    .sg-home .sgx-do-dont__item h3 {
        padding-left: 27px;
        font-size: 15px;
        margin-bottom: 10px;
    }

    .sg-home .sgx-do-dont__item h3::before {
        font-size: 18px;
    }

    .sg-home .sgx-do-dont__item p {
        margin-left: 27px;
        font-size: 12px;
        line-height: 1.95;
    }

}


/* ==============================================
   SORA GROW COMPARISON - COMPLETE CSS
============================================== */

.sg-home .sgx-compare {
    padding: 110px 0;
    background: #f7f9fb;
    color: #102d45;
}

.sg-home .sgx-compare *,
.sg-home .sgx-compare *::before,
.sg-home .sgx-compare *::after {
    box-sizing: border-box;
}

/* ==============================================
   SECTION HEADING
============================================== */

.sg-home .sgx-compare__heading {
    max-width: 950px;
    margin: 0 auto 55px;
    text-align: center;
}

.sg-home .sgx-compare__heading h2 {
    margin: 0 0 25px;
    color: #102d45;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -.045em;
}

.sg-home .sgx-compare__catch {
    margin: 0 0 25px;
    color: #102d45;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.8;
}

.sg-home .sgx-compare__catch strong {
    color: #2875b5;
    font-weight: 800;
}

.sg-home .sgx-compare__lead {
    max-width: 880px;
    margin: 0 auto;
    color: #4c6171;
    font-size: 14px;
    font-weight: 400;
    line-height: 2.15;
}

/* ==============================================
   TABLE WRAPPER
============================================== */

.sg-home .sgx-compare__table-wrap {
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ==============================================
   COMPARISON TABLE
============================================== */

.sg-home .sgx-compare__table {
    display: table;
    width: 100%;
    min-width: 760px;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background: #fff;
    border: 1px solid #d6e1e9;
}

/* Column Width */

.sg-home .sgx-compare__col-label {
    width: 20%;
}

.sg-home .sgx-compare__col-sora {
    width: 40%;
}

.sg-home .sgx-compare__col-other {
    width: 40%;
}

/* Header */

.sg-home .sgx-compare__table thead th {
    height: 96px;
    padding: 20px;
    border: 1px solid #d6e1e9;
    border-radius: 0;
    text-align: center;
    vertical-align: middle;
}

.sg-home .sgx-compare__table
thead .sgx-compare__empty {
    background: #e8eff4;
    color: #405568;
    font-size: 15px;
    font-weight: 800;
}

.sg-home .sgx-compare__table
thead .sgx-compare__th-sora {
    background: #2875b5;
    border-color: #2875b5;
    color: #fff;
}

.sg-home .sgx-compare__table
thead .sgx-compare__th-other {
    background: #637382;
    color: #fff;
}

.sg-home .sgx-compare__table thead th span {
    display: block;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.5;
}

.sg-home .sgx-compare__table thead th small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

/* Body */

.sg-home .sgx-compare__table tbody tr {
    display: table-row;
    background: transparent;
}

.sg-home .sgx-compare__table tbody th,
.sg-home .sgx-compare__table tbody td {
    height: 112px;
    padding: 24px;
    border: 1px solid #d6e1e9;
    border-radius: 0;
    vertical-align: middle;
    line-height: 1.9;
}

.sg-home .sgx-compare__table tbody th {
    background: #edf2f6;
    color: #102d45;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
}

.sg-home .sgx-compare__table tbody td {
    font-size: 14px;
    font-weight: 400;
}

/* SORA GROW column */

.sg-home .sgx-compare__table
tbody .sgx-compare__td-sora {
    background: #eaf4fb;
    color: #102d45;
    border-left: 2px solid #2875b5;
    border-right: 2px solid #2875b5;
    border-bottom: 1px solid #c4dceb;
    border-radius: 0;
}

.sg-home .sgx-compare__td-sora strong {
    color: #102d45;
    font-weight: 800;
}

/* Other Company */

.sg-home .sgx-compare__table
tbody .sgx-compare__td-other {
    background: #fff;
    color: #526575;
    border: 1px solid #d6e1e9;
    border-radius: 0;
}

/* Circle Icon */

.sg-home .sgx-compare__circle {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 12px;
    border: 3px solid #2875b5;
    border-radius: 50%;
    vertical-align: middle;
}

/* Last Row */

.sg-home .sgx-compare__table
tbody tr:last-child .sgx-compare__td-sora {
    border-bottom: 2px solid #2875b5;
    border-radius: 0;
}

.sg-home .sgx-compare__table
tbody tr:last-child .sgx-compare__td-other {
    border-bottom: 1px solid #d6e1e9;
    border-radius: 0;
}

/* Table Note */

.sg-home .sgx-compare__note {
    margin: 15px 0 0;
    color: #718292;
    text-align: right;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.8;
}

/* ==============================================
   STORIES BELOW TABLE
============================================== */

.sg-home .sgx-compare__stories {
    display: block;
    max-width: 1050px;
    margin: 90px auto 0;
    padding: 0;
    border-top: 1px solid #cad9e4;
}

/* Each Story */

.sg-home .sgx-compare__story {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 35px;

    margin: 0;
    padding: 60px 0;

    background: transparent;
    border: 0;
    border-bottom: 1px solid #cad9e4;
    border-radius: 0;
    box-shadow: none;
}

/* Number */

.sg-home .sgx-compare__story-no {
    display: block;
    margin: 5px 0 0;
    color: #a1c7e2;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.06em;
}

/* Story Content */

.sg-home .sgx-compare__story-content {
    display: block;
    width: 100%;
    max-width: 820px;
}

/* Story Heading */

.sg-home .sgx-compare__story h3 {
    display: block;
    margin: 0 0 28px;
    padding: 0;

    color: #102d45;
    font-size: clamp(27px, 2.7vw, 36px);
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: -.045em;

    background: transparent;
    border: 0;
}

.sg-home .sgx-compare__story h3 span {
    color: #2875b5;
}

/* Story Paragraphs */

.sg-home .sgx-compare__story-content > p {
    display: block;
    margin: 0 0 18px;
    padding: 0;

    color: #43596b;
    font-size: 15px;
    font-weight: 400;
    line-height: 2.15;
}

/* Emphasis */

.sg-home .sgx-compare__story-content
.sgx-compare__story-emphasis {
    display: block;
    width: fit-content;
    max-width: 100%;

    margin: 28px 0 0;
    padding: 19px 25px;

    background: #e6f2fa;
    border-left: 4px solid #2875b5;

    color: #102d45;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.9;
}

/* ==============================================
   FINAL CLOSING
============================================== */

.sg-home .sgx-compare__closing {
    display: block;
    max-width: 950px;

    margin: 75px auto 0;
    padding: 48px 35px;

    background: #102d45;
    border: 0;
    border-radius: 0;

    text-align: center;
}

.sg-home .sgx-compare__closing p {
    margin: 0;
    color: #fff;

    font-size: clamp(19px, 2.2vw, 27px);
    font-weight: 600;
    line-height: 2;
    letter-spacing: -.035em;
}

.sg-home .sgx-compare__closing strong {
    color: #a9d9f5;
    font-weight: 800;
}

/* ==============================================
   TABLET
============================================== */

@media (max-width: 900px) {

    .sg-home .sgx-compare {
        padding: 80px 0;
    }

    .sg-home .sgx-compare__heading {
        margin-bottom: 45px;
    }

    .sg-home .sgx-compare__lead br {
        display: none;
    }

    .sg-home .sgx-compare__story {
        grid-template-columns: 75px minmax(0, 1fr);
        gap: 24px;
    }

    .sg-home .sgx-compare__story-no {
        font-size: 47px;
    }
}

/* ==============================================
   MOBILE
============================================== */

@media (max-width: 767px) {

    .sg-home .sgx-compare {
        padding: 65px 0 75px;
    }

    .sg-home .sgx-compare__heading {
        margin-bottom: 35px;
    }

    .sg-home .sgx-compare__heading h2 {
        font-size: 27px;
        margin-bottom: 22px;
    }

    .sg-home .sgx-compare__catch {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .sg-home .sgx-compare__lead {
        font-size: 13px;
        line-height: 2;
        text-align: left;
    }

    /* Keep actual table on mobile */

    .sg-home .sgx-compare__table {
        display: table;
        width: 760px;
        min-width: 760px;
    }

    .sg-home .sgx-compare__table thead {
        display: table-header-group;
    }

    .sg-home .sgx-compare__table tbody {
        display: table-row-group;
    }

    .sg-home .sgx-compare__table colgroup {
        display: table-column-group;
    }

    .sg-home .sgx-compare__table tr,
    .sg-home .sgx-compare__table tbody tr {
        display: table-row;
        margin: 0;
        border-radius: 0;
    }

    .sg-home .sgx-compare__table th,
    .sg-home .sgx-compare__table td,
    .sg-home .sgx-compare__table tbody th,
    .sg-home .sgx-compare__table tbody td {
        display: table-cell;
        width: auto;
        height: auto;
        padding: 20px 16px;
        border-radius: 0;
        vertical-align: middle;
    }

    .sg-home .sgx-compare__table
    tbody .sgx-compare__td-sora {
        border-left: 2px solid #2875b5;
        border-right: 2px solid #2875b5;
        border-radius: 0;
    }

    .sg-home .sgx-compare__table tbody td::before {
        content: none;
        display: none;
    }

    .sg-home .sgx-compare__note {
        text-align: left;
        font-size: 10px;
    }

    /* Story Layout */

    .sg-home .sgx-compare__stories {
        margin-top: 60px;
    }

    .sg-home .sgx-compare__story {
        display: block;
        padding: 40px 0;
    }

    .sg-home .sgx-compare__story-no {
        margin-bottom: 17px;
        font-size: 40px;
    }

    .sg-home .sgx-compare__story h3 {
        margin-bottom: 23px;
        font-size: 25px;
        line-height: 1.55;
    }

    .sg-home .sgx-compare__story-content > p {
        font-size: 13px;
        line-height: 2.05;
        margin-bottom: 16px;
    }

    .sg-home .sgx-compare__story-content
    .sgx-compare__story-emphasis {
        margin-top: 23px;
        padding: 16px 18px;
        font-size: 14px;
        line-height: 1.85;
    }

    .sg-home .sgx-compare__story-emphasis br {
        display: none;
    }

    /* Closing */

    .sg-home .sgx-compare__closing {
        margin-top: 45px;
        padding: 36px 20px;
    }

    .sg-home .sgx-compare__closing p {
        font-size: 19px;
        line-height: 1.85;
    }
}

/* ==========================================
   SORA GROW お問い合わせページ
========================================== */

.sg-contact-page {
  --sg-contact-navy: #102d45;
  --sg-contact-blue: #2875b5;
  --sg-contact-text: #455b6c;
  --sg-contact-border: #dce5eb;

  width: min(1160px, calc(100% - 48px));
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 0 100px;

  font-family:
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  color: var(--sg-contact-navy);
}

.sg-contact-page,
.sg-contact-page *,
.sg-contact-page *::before,
.sg-contact-page *::after {
  box-sizing: border-box;
}

/* ==========================================
   導入部分
========================================== */

.sg-contact-page .sg-contact-page__intro {
  max-width: 900px;
  margin: 0 0 62px;
}

.sg-contact-page .sg-contact-page__eyebrow {
  margin: 0 0 14px;
  color: var(--sg-contact-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.6;
}

.sg-contact-page .sg-contact-page__intro h1 {
  margin: 0 0 24px;
  color: var(--sg-contact-navy);
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.sg-contact-page .sg-contact-page__intro-text {
  max-width: 850px;
  margin: 0 0 14px;
  color: #354f63;
  font-size: 15px;
  line-height: 2;
}

.sg-contact-page .sg-contact-page__intro-sub {
  margin: 0;
  color: #687d8d;
  font-size: 14px;
  line-height: 1.9;
}

/* ==========================================
   2カラム
========================================== */

.sg-contact-page .sg-contact-page__columns {
  display: grid !important;
  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(0, 1.08fr);

  align-items: start;
  gap: 62px;

  width: 100%;
  max-width: none;
  margin: 0 !important;
}

.sg-contact-page .sg-contact-page__columns
> .wp-block-column {
  min-width: 0;
  width: auto;
  margin: 0 !important;
  padding: 0;
  flex-basis: auto !important;
}

/* ==========================================
   左：相談内容
========================================== */

.sg-contact-page .sg-contact-page__consult {
  padding-top: 6px;
}

.sg-contact-page .sg-contact-page__consult > h2 {
  margin: 0 0 25px;
  color: var(--sg-contact-navy);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
}

.sg-contact-page .sg-contact-page__consult-list {
  border-top: 1px solid var(--sg-contact-border);
}

.sg-contact-page .sg-contact-page__consult-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;

  padding: 24px 0;
  border-bottom: 1px solid var(--sg-contact-border);
}

.sg-contact-page .sg-contact-page__num {
  padding-top: 2px;
  color: var(--sg-contact-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.sg-contact-page .sg-contact-page__consult-item h3 {
  margin: 0 0 8px;
  color: var(--sg-contact-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.sg-contact-page .sg-contact-page__consult-item p {
  margin: 0;
  color: #617687;
  font-size: 13px;
  line-height: 1.9;
}

/* ご相談の前に */

.sg-contact-page .sg-contact-page__guidance {
  margin-top: 32px;
  padding: 25px 27px;
  background: #f2f6f9;
  border-left: 3px solid var(--sg-contact-blue);
}

.sg-contact-page .sg-contact-page__guidance h3 {
  margin: 0 0 12px;
  color: var(--sg-contact-navy);
  font-size: 16px;
  font-weight: 700;
}

.sg-contact-page .sg-contact-page__guidance p {
  margin: 0 0 11px;
  color: #536879;
  font-size: 13px;
  line-height: 1.9;
}

.sg-contact-page .sg-contact-page__guidance p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   右：フォーム枠
========================================== */

.sg-contact-page .sg-contact-page__columns
> .wp-block-column:last-child {
  padding: 34px 35px 29px;

  border: 1px solid var(--sg-contact-border);
  background: #f7f9fb;
}

.sg-contact-page .sg-contact-page__form-header {
  margin: 0 0 30px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--sg-contact-border);
}

.sg-contact-page .sg-contact-page__form-header h2 {
  margin: 0 0 10px;
  color: var(--sg-contact-navy);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

.sg-contact-page .sg-contact-page__form-header p {
  margin: 0;
  color: #617687;
  font-size: 13px;
  line-height: 1.9;
}

.sg-contact-page .sg-contact-page__form-header span {
  color: #bb4a47;
  font-weight: 700;
}

/* ==========================================
   Contact Form 7
========================================== */

.sg-contact-page .wpcf7 {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sg-contact-page .wpcf7 form {
  width: 100%;
  margin: 0;
}

/* 元フォームの大きすぎる上下余白を調整 */

.sg-contact-page .wpcf7 form p {
  margin: 0 0 22px !important;
  padding: 0;
  line-height: 1.8;
}

.sg-contact-page .wpcf7 form p:last-child {
  margin-bottom: 0 !important;
}

/* ラベル */

.sg-contact-page .wpcf7 form label {
  display: block;
  margin: 0;

  color: var(--sg-contact-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

/* 入力要素との間隔 */

.sg-contact-page .wpcf7
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 8px;
}

/* テキスト・メール等 */

.sg-contact-page .wpcf7 input[type="text"],
.sg-contact-page .wpcf7 input[type="email"],
.sg-contact-page .wpcf7 input[type="tel"],
.sg-contact-page .wpcf7 input[type="url"],
.sg-contact-page .wpcf7 input[type="number"],
.sg-contact-page .wpcf7 select,
.sg-contact-page .wpcf7 textarea {
  display: block;
  width: 100%;
  max-width: 100%;

  min-height: 50px;
  padding: 12px 14px;
  margin: 0;

  background: #fff;
  border: 1px solid #cbd7df;
  border-radius: 2px;

  color: #102d45;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;

  box-shadow: none;
  outline: none;
  appearance: auto;
}

.sg-contact-page .wpcf7 textarea {
  min-height: 150px;
  height: auto;
  resize: vertical;
}

.sg-contact-page .wpcf7 input::placeholder,
.sg-contact-page .wpcf7 textarea::placeholder {
  color: #9ba9b3;
  opacity: 1;
}

/* フォーカス */

.sg-contact-page .wpcf7 input[type="text"]:focus,
.sg-contact-page .wpcf7 input[type="email"]:focus,
.sg-contact-page .wpcf7 input[type="tel"]:focus,
.sg-contact-page .wpcf7 input[type="url"]:focus,
.sg-contact-page .wpcf7 input[type="number"]:focus,
.sg-contact-page .wpcf7 select:focus,
.sg-contact-page .wpcf7 textarea:focus {
  border-color: var(--sg-contact-blue);
  outline: 2px solid rgba(40, 117, 181, .15);
  outline-offset: 0;
}

/* チェックボックス・ラジオ */

.sg-contact-page .wpcf7 input[type="checkbox"],
.sg-contact-page .wpcf7 input[type="radio"] {
  width: 17px;
  height: 17px;
  margin: 0 7px 0 0;
  accent-color: #2875b5;
  vertical-align: middle;
}

.sg-contact-page .wpcf7 .wpcf7-list-item {
  margin: 5px 14px 5px 0;
}

.sg-contact-page .wpcf7 .wpcf7-list-item-label {
  color: #42596a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
}

/* 必須項目エラー */

.sg-contact-page .wpcf7 .wpcf7-not-valid {
  border-color: #c85e5e !important;
}

.sg-contact-page .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: #b84141;
  font-size: 12px;
}

/* 送信ボタン */

.sg-contact-page .wpcf7 input[type="submit"],
.sg-contact-page .wpcf7 button[type="submit"] {
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 12px 0 0;
  padding: 15px 24px;

  background: #2875b5;
  border: 1px solid #2875b5;
  border-radius: 2px;

  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;

  box-shadow: none;
  transition: background-color .2s ease;
}

.sg-contact-page .wpcf7 input[type="submit"]:hover,
.sg-contact-page .wpcf7 button[type="submit"]:hover {
  background: #102d45;
  border-color: #102d45;
}

.sg-contact-page .wpcf7 input[type="submit"]:focus-visible,
.sg-contact-page .wpcf7 button[type="submit"]:focus-visible {
  outline: 3px solid #8bbfe3;
  outline-offset: 3px;
}

/* 送信中 */

.sg-contact-page .wpcf7 .wpcf7-spinner {
  margin: 13px auto;
}

/* 送信結果の通知 */

.sg-contact-page .wpcf7 .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 14px 17px;
  border-width: 1px;
  font-size: 13px;
  line-height: 1.85;
}

/* フォーム下の注釈 */

.sg-contact-page .sg-contact-page__form-note {
  margin: 22px 0 0;
  color: #7c8d9a;
  font-size: 11px;
  line-height: 1.9;
}

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

@media (max-width: 1000px) {
  .sg-contact-page {
    padding: 45px 0 75px;
  }

  .sg-contact-page .sg-contact-page__columns {
    gap: 32px;
  }

  .sg-contact-page .sg-contact-page__columns
  > .wp-block-column:last-child {
    padding: 28px 25px;
  }
}

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

@media (max-width: 767px) {

  .sg-contact-page {
    width: calc(100% - 36px);
    padding: 32px 0 60px;
  }

  .sg-contact-page .sg-contact-page__intro {
    margin-bottom: 39px;
  }

  .sg-contact-page .sg-contact-page__eyebrow {
    font-size: 12px;
    margin-bottom: 11px;
  }

  .sg-contact-page .sg-contact-page__intro h1 {
    margin-bottom: 19px;
    font-size: 29px;
    line-height: 1.5;
  }

  .sg-contact-page .sg-contact-page__intro-text,
  .sg-contact-page .sg-contact-page__intro-sub {
    font-size: 14px;
    line-height: 1.95;
  }

  .sg-contact-page .sg-contact-page__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .sg-contact-page .sg-contact-page__consult > h2 {
    margin-bottom: 18px;
    font-size: 21px;
  }

  .sg-contact-page .sg-contact-page__consult-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
  }

  .sg-contact-page .sg-contact-page__consult-item h3 {
    font-size: 15px;
  }

  .sg-contact-page .sg-contact-page__consult-item p {
    font-size: 12px;
  }

  .sg-contact-page .sg-contact-page__guidance {
    margin-top: 25px;
    padding: 21px 20px;
  }

  .sg-contact-page .sg-contact-page__columns
  > .wp-block-column:last-child {
    padding: 25px 19px;
  }

  .sg-contact-page .sg-contact-page__form-header {
    margin-bottom: 25px;
    padding-bottom: 18px;
  }

  .sg-contact-page .sg-contact-page__form-header h2 {
    font-size: 21px;
  }

  .sg-contact-page .wpcf7 form p {
    margin-bottom: 19px !important;
  }

  .sg-contact-page .wpcf7 input[type="text"],
  .sg-contact-page .wpcf7 input[type="email"],
  .sg-contact-page .wpcf7 input[type="tel"],
  .sg-contact-page .wpcf7 input[type="url"],
  .sg-contact-page .wpcf7 input[type="number"],
  .sg-contact-page .wpcf7 select,
  .sg-contact-page .wpcf7 textarea {
    font-size: 16px;
  }
}

/* ==========================================
   SORA GROW お問い合わせフォーム
   入力項目の余白・幅をコンパクトに調整
========================================== */

/* フォーム全体 */
.sg-contact-page .wpcf7 form {
  margin: 0 !important;
  padding: 0 !important;
}

/* 項目間の余白を縮小 */
.sg-contact-page .wpcf7 form p {
  margin: 0 0 18px !important;
  padding: 0 !important;
  line-height: 1.65 !important;
}

/* 自動挿入された改行の余白を解消 */
.sg-contact-page .wpcf7 form p > br,
.sg-contact-page .wpcf7 form label > br {
  display: none;
}

/* ラベル */
.sg-contact-page .wpcf7 form label {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

/* ラベルと入力欄の間隔 */
.sg-contact-page .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin: 7px 0 0 !important;
  padding: 0 !important;
}

/* 入力欄 */
.sg-contact-page .wpcf7 input[type="text"],
.sg-contact-page .wpcf7 input[type="email"],
.sg-contact-page .wpcf7 input[type="tel"],
.sg-contact-page .wpcf7 input[type="url"],
.sg-contact-page .wpcf7 select {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  height: 46px;
  padding: 10px 13px;
  margin: 0 !important;
}

/* お問い合わせ内容 */
.sg-contact-page .wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  min-height: 130px;
  padding: 12px 13px;
  margin: 0 !important;
}

/* フォーム枠内の左右余白 */
.sg-contact-page .sg-contact-page__columns
> .wp-block-column:last-child {
  padding: 28px 30px;
}

/* フォーム見出し下の余白 */
.sg-contact-page .sg-contact-page__form-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
}

/* スマホ */
@media (max-width: 767px) {
  .sg-contact-page .wpcf7 form p {
    margin-bottom: 16px !important;
  }

  .sg-contact-page .sg-contact-page__columns
  > .wp-block-column:last-child {
    padding: 22px 18px;
  }
}
