@import url("https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&display=swap");
/**
 * 共通
 */

.sp {
  display: none;
}

@media (max-width: 600px) {
  .sp {
    display: block;
  }
}

.pc_only2 {
  display: block;
}

@media (max-width: 960px) {
  .pc_only2 {
    display: block !important;
  }
}
@media (max-width: 600px) {
  .pc_only2 {
    display: none !important;
  }
}

.sp_only2 {
  display: none;
}
@media (max-width: 960px) {
  .sp_only2 {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .sp_only2 {
    display: block !important;
  }
}

.l-content {
  margin: 0 auto 0;
}

.post_content > h2 {
  margin-left: 0;
}

.post_content
  h2:where(
    :not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)
  )::before {
  all: unset;
}
.post_content h2 small {
  font-size: 0.5em;
  opacity: 0.8;
  display: block;
  font-weight: 600;
  color: #0051ba;
  padding-top: 4px;
}

.post_content h3.is-style-section_ttl {
  padding: 0.5rem 0 1.4rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(90deg, #c9a24d 0% 50%, #dbbf81 50%);
  background-repeat: no-repeat;
  background-size: 4rem 1px;
  background-position: bottom;
  color: #0b2f5b;
}

.post_content
  h3:where(
    :not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)
  )::before {
  content: "";
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--color_htag) 0%,
    var(--color_htag) 29.3%,
    rgba(150, 150, 150, 0.2) 29.3%,
    rgba(155, 175, 204, 0.2) 100%
  );
}

/* 横並びボックス　高さ調整 */
@media (min-width: 782px) {
  .is-capbox-eq {
    align-items: stretch;
  }

  .is-capbox-eq > .wp-block-column {
    display: flex;
    align-self: stretch !important;
  }

  .is-capbox-eq > .wp-block-column > .wp-block-group,
  .is-capbox-eq
    > .wp-block-column
    > .wp-block-group
    > .wp-block-group__inner-container {
    display: flex;
    flex: 1;
  }

  .is-capbox-eq .cap_box {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .is-capbox-eq .cap_box_content {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .swell-block-button {
    width: 100% !important;
  }
}

.post_content
  h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  background: none;
  padding: 0.1em 0.8em 0.2em;
  background-image: linear-gradient(#092f90 50%, #0051ba 50%);
  background-size: 6px 100%;
  background-repeat: no-repeat;
  color: var(--color_main);
  font-family: "Cormorant", serif;
}
@media screen and (min-width: 600px) {
  .post_content
    h2:where(
      :not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)
    ) {
    font-size: 2.4em !important;
  }
}

@media (max-width: 600px) {
  .post_content h3.is-style-section_ttl {
    font-size: 1.1em !important;
  }
}

@media (max-width: 782px) {
  .c-tb-center {
    text-align: center !important;
  }
}

.c-cta-text .swl-fz {
  font-size: clamp(
    18px,
    18px + (28 - 18) * (100vw - 600px) / 480,
    28px
  ) !important;
}
@media (max-width: 600px) {
  .c-cta-text .swl-fz {
    line-height: 1.5;
    font-size: clamp(
      12px,
      12px + (22 - 12) * (100vw - 320px) / 280,
      22px
    ) !important;
  }
}

@media (max-width: 960px) {
  .c-cta-text {
    padding: 0.8em !important;
  }
}
@media (max-width: 600px) {
  .c-cta-text {
    line-height: 1.5;
  }
}

.c-btn--sm[class*="is-style-btn_"] a {
  --the-padding: 0.75em 1em;
}

.c-table2 th {
  padding: 16px 8px;
  letter-spacing: 0.1em;
}
@media (max-width: 600px) {
  .c-table2 td {
    padding: 14px 8px;
    font-size: 0.8em !important;
  }
}

.c-table2 td {
  padding: 16px 10px;
}
@media (max-width: 600px) {
  .c-table2 td {
    padding: 14px 8px;
    font-size: 0.8em !important;
  }
}

@media (max-width: 600px) {
  .c-table2 .u-fz-l {
    --swl-fz--large: 1em !important;
  }
}

.c-flow__wrap {
  background: #f3f8fd;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 24px 134px;
}
@media (max-width: 960px) {
  .c-flow__wrap {
    padding: 40px 24px 80px;
  }
}

.c-flow {
  display: flex !important;
  flex-direction: column !important;
  gap: 40px;
  max-width: 690px;
  width: 100%;
  margin: 0 auto;
}

.c-flow .swell-block-step__item {
  border: none !important;
  background: #fff;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  position: relative;
}

@media (max-width: 600px) {
  .c-flow .swell-block-step__item {
    padding: 16px 16px 32px !important;
  }
}

@media (max-width: 600px) {
  .c-flow .swell-block-step__item p {
    font-size: 0.9em !important;
  }
}

.c-flow .swell-block-step__number {
  position: absolute !important;
  top: 24px;
  left: 32px;
  font-weight: 700;
}
@media (max-width: 600px) {
  .c-flow .swell-block-step__number {
    top: 12px;
    left: 16px;
    line-height: 1.5;
    margin: 0 !important;
  }
}

.c-flow > .swell-block-step__item > .swell-block-step__number:after {
  font-size: 48px;
}
@media (max-width: 960px) {
  .c-flow > .swell-block-step__item > .swell-block-step__number:after {
    font-size: 36px;
  }
}
@media (max-width: 600px) {
  .c-flow > .swell-block-step__item > .swell-block-step__number:after {
    font-size: clamp(22px, 22px + (42 - 22) * (100vw - 320px) / 280, 42px);
  }
}

.c-flow .swell-block-step__title {
  margin-left: 15%;
  text-align: left;
  font-size: 18px !important;
  color: #092f90 !important;
}
@media (max-width: 960px) {
  .c-flow .swell-block-step__title {
    margin-left: 14.5%;
  }
}
@media (max-width: 600px) {
  .c-flow .swell-block-step__title {
    font-size: clamp(
      16px,
      16px + (30 - 16) * (100vw - 320px) / 280,
      30px
    ) !important;
  }
}

.c-flow .swell-block-step__body {
  margin-left: 15%;
}
@media (max-width: 960px) {
  .c-flow .swell-block-step__body {
    margin-left: 0%;
    margin-top: 0.8em !important;
  }
}

.c-flow.is-style-big > .swell-block-step__item:before {
  border: 40px solid transparent !important;
  border-top: 20px solid #092f90 !important;
}

@media (max-width: 600px) {
  .c-sm-text {
    font-size: 0.8em !important;
  }
}

/* テーブル横スクロール */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* スマホの慣性スクロール */
}

.c-scroll-table .table-wrapper table {
  width: 100%;
  min-width: 540px; /* 必要に応じて調整 */
}
@media (max-width: 600px) {
  .c-scroll-table .table-wrapper table {
    font-size: 0.9em;
  }
}

/* スペーサー */
@media (max-width: 600px) {
  .c-section-pd--sm {
    height: 16px !important;
  }
}

@media (max-width: 600px) {
  .c-section-pd {
    height: 16px !important;
  }
}

/* メニュー */
.c-gnav {
  font-weight: 900;
}

.c-gnav > .menu-item > a .ttl {
  display: block;
  font-size: 15px;
}

@media (max-width: 1280px) {
  .c-gnav > .menu-item > a .ttl {
    font-size: clamp(13px, 13px + (14 - 13) * (100vw - 982px) / 298, 14px);
  }
}

@media screen and (min-width: 960px) {
  .c-gnav .c-btn.c-btn--form {
    padding: 0 0px !important;
    margin-left: clamp(0px, 0px + (20 - 0) * (100vw - 960px) / 280, 20px);
    margin-bottom: 20px;
  }
  .c-gnav .menu-item-29 span {
    background: linear-gradient(
      90deg,
      #092f90 0%,
      #092f90 50%,
      #092f90 50%,
      #0051ba 100%
    );
    background-size: 200% 100%;
    padding: 20px clamp(10px, 10px + (38 - 10) * (100vw - 960px) / 280, 38px);
    transition: all 0.3s ease;
    border-radius: 4px;
    color: #fff !important;
    font-weight: 600;
  }
  .c-gnav .c-btn.c-btn--form span:hover {
    background-position: 100% 0;
  }
  .c-gnav .c-btn.c-btn--form a::after {
    height: 0px;
  }
}

@media (min-width: 600px) {
  .-txt .c-headLogo__link {
    font-size: clamp(18px, 18px + (24 - 18) * (100vw - 960px) / 160, 24px);
  }
}

/**
 * トップページ
 */

/* FV */
.p-mainVisual__inner {
  min-height: 480px;
}

@media (max-width: 960px) {
  .p-mainVisual__inner {
    min-height: 600px;
    max-height: clamp(
      800px,
      800px + (1000 - 800) * (100vw - 460px) / 500,
      1000px
    ) !important;
  }
}
@media (max-width: 460px) {
  .p-mainVisual__inner {
    max-height: clamp(
      610px,
      610px + (800 - 610) * (100vw - 340px) / 120,
      800px
    ) !important;
  }
}

.p-mainVisual__textLayer {
  left: 52%;
}

@media (max-width: 960px) {
  .p-mainVisual__textLayer {
    justify-content: flex-start;
    top: 64px;
  }
}

@media (max-width: 768px) {
  .p-mainVisual__textLayer {
    justify-content: flex-start;
    top: 36px;
  }
}

@media (min-width: 600px) {
  .p-mainVisual__slideTitle {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1.5px;
  }
}

.home .l-mainContent__inner {
  padding-bottom: 0;
}

.p-mainVisual__slideText {
  font-size: 3.2vw;
  margin-top: 1em !important;
}
@media (max-width: 960px) {
  .p-mainVisual__slideText {
    margin-top: 1.5em !important;
  }
}

@media (min-width: 600px) {
  .p-mainVisual__slideText {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1.5px;
  }
}

.c-mvBtn {
  margin: 3em auto 0;
}
@media (min-width: 960px) {
  .c-mvBtn__btn {
    margin: 2.5em auto 0;
  }
}
@media (min-width: 600px) {
  .c-mvBtn__btn {
    font-size: 20px;
    font-weight: 700;
  }
}

@media (max-width: 600px) {
  .c-mvBtn__btn a {
    font-weight: 700;
  }
}

/* ABOUT US */
@media (max-width: 960px) {
  .assignment {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 600px) {
  .assignment {
    padding: 32px 16px 48px 16px !important;
  }
}

@media (max-width: 960px) {
  .p-about__col .has-text-align-center.has-medium-font-size {
    font-size: 1em !important;
  }
}

@media (max-width: 600px) {
  .p-about__col .has-text-align-center.has-medium-font-size {
    font-size: 1.1em !important;
  }
}

@media (max-width: 960px) {
  .assignment .p-about__col.wp-block-columns {
    --wp-column-gap: 0.6em;
  }
}
@media (max-width: 782px) {
  .assignment .p-about__col.wp-block-columns {
    --wp-column-gap: 1.5em !important;
  }
}

.assignment {
  padding: 44px 40px 40px 40px;
  border-radius: 8px;
  background-color: #f0f4f9;
  margin-bottom: -1px;
}
.assignment .wp-block-columns {
  --wp-column-gap: 1em;
  gap: var(--wp-column-gap) !important;
}
.triangle-full {
  margin: 0px auto 0 auto;
  max-width: 280px !important;
}
.triangle-full::before {
  background: #f0f4f9 !important;
}
/* SERVICE */
@media (max-width: 600px) {
  .p-service__column .swell-block-columns__inner {
    gap: 0 !important;
  }
}

.service .swell-block-columns__inner {
  justify-content: center;
}

.service .cap_box_ttl {
  font-size: 2.5em;
  left: 65%;
  padding: 0em 0.75em 0.5em 0.75em;
  top: 0.8em;
  font-family: "Cormorant", serif;
  font-weight: 300;
  color: #c9a24d;
}
.service .cap_box_content {
  box-shadow: 10px 10px 0px 0px rgba(240, 244, 249, 0.9);
}

/* PROFILE */
@media (max-width: 960px) {
  .p-top-profile__role {
    font-size: clamp(
      14px,
      14px + (20 - 14) * (100vw - 601px) / 359,
      20px
    ) !important;
  }
}

@media (max-width: 600px) {
  .p-top-profile__role {
    font-size: clamp(
      12px,
      12px + (20 - 12) * (100vw - 320px) / 280,
      20px
    ) !important;
  }
}

@media (max-width: 960px) {
  .p-top-profile__col.wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 40%;
  }
}

.profile .profile_history p {
  padding: 0.8em 0 0.4em 0;
  margin-bottom: 0;
  border-bottom: 1px solid #9bafcc;
}
.profile h3 {
  margin-top: 1.5em;
  padding: 0 0em 0.5em;
}

/* PHILOSOPHY */
.philosophy_clm {
  --wp-column-gap: 2em;
  gap: var(--wp-column-gap) !important;
  border-radius: 0px;
}
.philosophy_clm .is-style-intext.cap_box {
  border: 1px solid var(--capbox-color);
  padding: 1.5em 1.5em 2.4em 1.5em;
}
.philosophy_clm strong {
  font-family: "Cormorant", serif;
  font-weight: 500;
  font-style: none;
  font-size: 2.6em;
  color: #c9a24d;
}
@media (max-width: 600px) {
  .philosophy_clm strong {
    font-size: clamp(16px, 16px + (34 - 16) * (100vw - 340px) / 260, 34px);
  }
}

.philosophy_clm img {
  width: 100%;
  max-width: 840px;
}

@media (max-width: 600px) {
  .philosophy_clm img {
    width: 90% !important;
  }
}

@media (max-width: 600px) {
  .philosophy_clm .wp-block-image {
    margin-bottom: 0.5em !important;
  }
}

.project .wp-block-table th {
  background-clip: padding-box;
  border: 1px solid #fff;
}
.project .wp-block-table {
  --table-border: 1px solid #092f90;
}

/* FAQ */
.swell-block-accordion.is-style-simple .swell-block-accordion__title {
  color: #32373c;
}

.is-style-simple > .swell-block-accordion__item:last-child {
  border-bottom: 1px solid var(--color_border);
}

.swell-block-accordion.is-style-simple .swell-block-accordion__body {
  border-top: 1px solid #f0f4f9;
  margin: 0em 0.5em 1em;
  background-color: #f0f4f9;
}

.swell-block-accordion__title {
  text-indent: -2.9em;
  margin-left: 2.9em;
}

.swell-block-accordion__label::first-letter {
  font-family: "Cormorant", serif;
  font-size: 1.2em;
  color: var(--color_main);
  font-weight: bold;
  border: 1px solid var(--color_main);
  padding: 4px 8px;
  margin-right: 16px;
}

.swell-block-accordion__body::first-letter {
  font-family: "Cormorant", serif;
  font-size: 1.2em;
  color: #f5f7fa;
  font-weight: bold;
  background-color: var(--color_main);
  border: 1px solid var(--color_main);
  padding: 4px 8px;
  margin-right: 16px;
}
.swell-block-accordion.is-style-simple .swell-block-accordion__body p {
  text-indent: -2.9em;
  margin-left: 2.9em;
}

/* フォーム */
.note {
  font-size: 0.9em !important;
}

@media (max-width: 600px) {
  .mwform-tel-field input[type="text"],
  .mwform-zip-field input[type="text"] {
    width: 25% !important;
  }
}

@media (max-width: 600px) {
  .c-form__submit-wrap {
    text-align: center;
  }
}

/*  お問い合わせ */
.c-form {
  max-width: 670px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c-form__label {
  color: #1c2e3f;
  min-width: 200px;
  font-weight: 700;
}

.c-form__radio {
}
.c-form__req {
  margin: 0px 10px 3px 0px;
  color: #ffffff;
  font-weight: 500;
  border-radius: 0px;
  padding: 0px 10px 2px 10px;
  font-size: 12px;
  background: #092f90;
}

.c-form__any {
  margin: 0px 10px 3px 0px;
  color: #ffffff;
  font-weight: 500;
  border-radius: 0px;
  padding: 0px 10px 2px 10px;
  font-size: 12px;
  background: #8a94a6;
}

.c-form__submit {
  display: inline-flex;
  cursor: pointer;
  height: 48px;
  padding: 0 32px;
  min-width: 260px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    90deg,
    #0b3a8f 0%,
    #092f90 50%,
    /* ホバー */ #1a4ed8 50%,
    #123a9a 100%
  );
  background-size: 200% 100%;
  border: 0px;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}
.c-form__submit:hover {
  background-position: 100% 0;
}
.c-form__input {
  border: 1px solid #e4e9f0;
  border-radius: 4px;
  margin-top: 8px;
}

.c-form__input {
  /*  width: 100%; */
}

/**
 * 下層ページ
 */
.l-mainContent__inner {
  padding-bottom: 160px;
}
@media (max-width: 600px) {
  .l-mainContent__inner {
    padding-bottom: 80px;
  }
}

.l-topTitleArea__body {
  text-shadow: none !important;
}

.c-pageTitle {
  margin-bottom: 16px;
  color: #092f90 !important;
  font-size: 40px;
}
@media (max-width: 600px) {
  .c-pageTitle {
    margin-bottom: 8px;
    font-size: clamp(24px, 24px + (28 - 24) * (100vw - 340px) / 260, 28px);
  }
}

.wp-singular h2.c-title {
  font-size: 1.5em !important;
  margin-bottom: 40px;
}

.c-table {
  width: 80%;
  max-width: 1000px;
  margin: 40px auto 24px auto;
}
@media (max-width: 768px) {
  .c-table {
    width: 95%;
  }
}

.c-table tr th {
  width: 20%;
  padding: 0 0 0 10px;
}

@media (max-width: 768px) {
  .c-table tr th {
    font-size: 13px;
    width: 90px;
  }
}

.c-table tr td {
  width: 80%;
  padding: 25px 0 25px 10px;
}
@media (max-width: 768px) {
  .c-table tr td {
    font-size: 0.8em;
    width: calc(100% - 90px);
    padding: 25px 0;
  }
}

.c-pageTitle__inner {
  display: inline-block;
  font-size: 26px;
  color: #333;
  position: relative;
  letter-spacing: 0.05em;
}

.c-pageTitle__subTitle {
  display: block;
  font-style: normal;
  font-size: 14px !important;
  color: #bfa38f;
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.25em;
  margin-left: 0;
}
@media (max-width: 400px) {
  .c-pageTitle__subTitle {
    font-size: 12px !important;
  }
}

/**
 * プロフィールページ
 */

@media (max-width: 600px) {
  .p-profile__col {
    margin-bottom: 1em !important;
  }
}

@media (max-width: 1080px) {
  .p-profile__col.wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 40%;
  }
}

@media (max-width: 1080px) {
  .p-profile__col .has-large-font-size {
    font-size: clamp(
      14px,
      14px + (25 - 14) * (100vw - 601px) / 479,
      25px
    ) !important;
  }
}

@media (max-width: 600px) {
  .p-profile__col .has-large-font-size {
    font-size: clamp(
      12px,
      12px + (22 - 12) * (100vw - 320px) / 280,
      22px
    ) !important;
  }
}

@media (max-width: 1080px) {
  .p-profile__col .is-style-section_ttl {
    font-size: clamp(
      32px,
      32px + (38 - 32) * (100vw - 601px) / 479,
      38px
    ) !important;
  }
}

@media (max-width: 600px) {
  .p-profile__col .is-style-section_ttl {
    margin-top: 0.5em !important;
    font-size: clamp(
      24px,
      24px + (40 - 24) * (100vw - 320px) / 280,
      40px
    ) !important;
  }
}

@media (max-width: 600px) {
  .p-profile__col .wp-block-media-text__content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/**
 * 実績紹介ページ
 */
.post_content figure.wp-block-table.c-table2.p-project__table > table {
  --swl-cell1-width: 45%;
}

.c-table2.p-project__table tbody tr td:first-child {
  vertical-align: top;
}

.c-table2.p-project__table tbody tr td {
  padding: 20px 24px;
  line-height: 1.8;
}
@media (max-width: 960px) {
  .c-table2.p-project__table tbody tr td {
    padding: 16px 10px;
    line-height: 1.6;
  }
}

/**
 * お申込み・プランページ
 */
.p-plan .post_content figure.wp-block-table.c-table2 > table {
  --swl-cell1-width: 60%;
}
