:root {
  --color_bg_base: #f0f3f6;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
}

.c-title-Arrangement {
  color: var(--color_main);
  font-family: "Aboreto", system-ui;
  font-size: 24px;
}

/* 基本設定 */
.p-sections h3 {
  margin: 1rem 0;
}

/* 角丸設定 */
.br-10 {
  border-radius: 10px;
  overflow: hidden;
}

.br-20 {
  border-radius: 20px;
  overflow: hidden;
}


/* デフォルトは非表示 */
.only-sp {
  display: block !important;
}

/* スマホサイズの時だけ表示 */
@media screen and (max-width: 767px) {
  .only-sp {
    display: none !important;
  }
}

/* メインビジュアル */
.p-mainVisual__slide {
  position: relative;
}
.c-pageTitle {
  padding-top: 35px;
}

@media screen and (max-width: 767px) {
  .home .l-mainContent__inner {
    padding-top: 35px;
  }
  .c-pageTitle {
    padding-top: 65px;
  }
  .top_title_area {
    padding-top: 70px;
  }
  .is-style-section_ttl {
    font-size: 1rem !important;
  }
}

.p-mainVisual__slideTitle {
  line-height: 1.3;
  font-size: 3.6rem !important;
  font-weight: bold;
  text-shadow: 0 0 10.022px rgba(74, 74, 74, 0.96),
    0 4px 13.5px rgba(0, 0, 0, 0.25);

  @media screen and (max-width: 900px) {
    font-size: 2.5rem !important;
  }
  @media screen and (max-width: 768px) {
    font-size: 2rem !important;
  }
}
.p-mainVisual__slideText {
  text-shadow: 0 0 10.022px rgba(74, 74, 74, 0.96),
    0 4px 13.5px rgba(0, 0, 0, 0.25);
  font-size: 20px;
}
@media screen and (max-width: 767px) {
  .p-mainVisual__slideTitle {
    font-size: 2.5rem !important;
  }
}

.p-mainVisual__imgLayer img {
  width: 100% !important;
  margin-left: auto;
  box-shadow: 0 0 10px #44444442;
}


/* ページタイトル */
.c-pageTitle {
  border-bottom: none !important;
}


/* ヘッダー */
.l-fixHeader__inner {
  width: 100vw;
  max-width: 100vw;
}

.l-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) !important;
  z-index: 1000;
}
.l-header__logo{
	max-width:350px;
}
.c-gnav {
  transition: 0.3s ease-in-out;

  a {
    position: relative;
    margin-right: 1rem !important;
    &::before {
      content: "";
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: -0.2rem;
      width: 0.5rem;
      height: 1px;
      background-color: var(--color_main);
    }
  }
}

.c-gnav a:hover {
  color: var(--color_main);
}

.l-header__inner {
  margin: 0 auto;
  max-width: 100vw;
}

.c-header-cta a {
}

.l-header,
.l-fixHeader {
  font-family: "Chakra Petch", sans-serif;
  font-style: normal;
}

/* 見出し */
.wp-block-heading {
  &::after {
    display: none !important;
  }
  &::before {
    display: none !important;
  }
}

/* フッター */
.w-footer__box a:hover {
  color: rgb(255, 107, 107);
}

/* シャドウ */
.c-shadow {
  box-shadow: 11px 13px 27px 6px rgba(0, 0, 0, 0.08);
}

/* ボタン */

.c-button__primary a {
  background-color: transparent !important;
  color: #333;
  padding: 0;
  padding-bottom: 10px;
  min-width: 200px;
  text-align: left;
  font-weight: bold !important;
  position: relative;
  @media screen and (max-width: 767px) {
    min-width: 150px;
  }

  &:hover {
    opacity: 0.6;
  }

  .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #333;
  }
}

.c-button__primary.white a {
  color: #fff;

  .line {
    background-color: #fff !important;
    width: 100%;
  }
}

.c-button__secondary a {
  min-width: 270px;
  background-color: #161f2e;
  border: 1px solid #161f2e;
  transition: 0.3s ease-in-out;

  color: #fff;
  border-radius: 5px;
}
.c-button__secondary a:hover {
  background-color: #fff !important;
  color: #d20000 !important;
  border: 1px solid #d20000 !important;
}
/* ヘッダーCTA */
.c-header-cta a {
  color: #fff;
  background-color: transparent;
  border: 1px solid #fff;
  font-weight: normal;
}
.c-header-cta .wp-block-button__link {
  padding: 0.5rem 1rem !important;
}

.c-header-cta {
  transition: 0.3s ease-in-out;
}

.c-header-cta:hover {
  opacity: 0.6;
  scale: 0.99;
}

/* CTA */
.p-cta {
}

.p-cta > * {
  position: relative;
  z-index: 2;
}
.p-cta__content {
  padding: 50px !important;
}
/* ボックスシャドウ */
.box-shadow {
  box-shadow: 3px 3px 26px #e3e3e3;
  padding: 50px;
}

/* CTA ボタン */
.p-cta-btn a {
  padding: 80px;
  aspect-ratio: 1 / 1;
  border: solid 1px #fff;
  background: none;
  transition: 0.3s ease-in-out;
}

@media screen and (max-width: 767px) {
  .p-cta-btn a {
    padding: 20px;
  }
}

.p-cta-btn a:hover {
  opacity: 0.6;
  scale: 0.98;
}

/* その他要素 */
.c-catchphrase {
  width: 300px !important;
}
.text-mc {
  color: #140200;
}

.u-line {
  width: 200px;
  height: 1px;
  background-color: #fff;
}

.u-ata-entry .swell-block-button {
  max-width: 500px;
}
.font-mincho {
  font-family: "Hiragino Mincho ProN";
}

/* スクロール */
.scroll {
  position: absolute;
  right: 5px;
  bottom: 25%;
  transform: rotate(90deg);
  letter-spacing: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll span {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

.scroll span::before {
  content: "";
  width: var(--size);
  height: var(--size);
  border-radius: 30px;
  background-color: #ffffff;
  position: absolute;
  bottom: 50%;
  left: 110%;
  transform: translateY(50%) translateX(var(--xPos));
  opacity: var(--opacity);
}

.scroll span::after {
  content: "";
  width: 60px;
  height: 1px;
  background-color: #ffffff;
  position: absolute;
  bottom: 50%;
  left: 110%;
}

/* iframe */
iframe {
  width: 100%;
  min-height: 300px;
}

/* アニメーション */
.l-header {
  opacity: 0;
  animation: fade-down 1.5s forwards;
}

@keyframes fade-down {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ヘッダー */
.l-header__inner {
  position: relative;
}
.l-fixHeader {
  box-shadow: none !important;
}

/* 記事一覧のモアボタン */
.swell-block-button__link {
  width: 50%;
}

/* フッターメニュー */
footer .c-listMenu a {
  padding: 0;
  line-height: 2;
  transition: 0.3s ease;
}

footer .c-listMenu a:hover {
  transform: none;
  padding: 0;
  opacity: 0.6;
  text-decoration: underline #fff;
}

footer .c-widget + .c-widget {
  margin-top: 0;
}

.wp-block-categories-dropdown select {
  border-radius: 10px;
}

.w-footer__box:nth-of-type(2) {
  display: flex;
}
.w-footer__box:nth-of-type(2) ul {
  margin-left: 50px;
}
.w-footer__box .c-listMenu a {
  border-bottom: 0;
}
.w-footer__box {
  flex: none;
}
.w-footer__box .c-listMenu a::before {
  display: none;
}
.w-footer__box .c-listMenu a {
  position: relative;
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -1.3rem;
    width: 0.5rem;
    height: 1px;
    background-color: var(--color_main);
  }
}
.w-beforeFooter .c-widget + .c-widget {
  margin-top: 0;
}

/* 投稿リスト-TOP */
.p-news .p-postList__body {
  display: flex;
  flex-direction: column;
}
.p-postList.-type-simple {
  border-top: none !important;
}
.p-postList__meta {
  flex-direction: row-reverse;
  justify-content: flex-end;
  padding-bottom: 15px;
}

.-type-simple .p-postList__link {
  border-bottom: none !important;
  border-bottom: 1px solid #191919 !important;
}
.p-postList__title {
}
.p-postList__cat {
  background-color: #b01212;
  color: #fff;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}
.post_content .p-postList__body {
  padding: 10px;
}

.-type-simple .p-postList__link {
  padding: 30px 0 !important;
  position: relative;
}

.w-beforeFooter {
  margin-top: 0;
}

/* 会社概要 */

.l-footer__nav {
  border-bottom: 1px solid #ccc !important;
  margin-bottom: 10px;
}

.p-profile iframe {
  height: 300px;
  width: 100% !important;
}

.l-topTitleArea {
  background-image: url("http://cfo.local/wp-content/uploads/2025/08/kv-news.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.company-box dl {
  display: flex;
  align-items: center;
  padding: 25px 0px;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    min-width: 200px;
    width: 20%;
    height: 1px;
    background-color: #d20000;
    z-index: 1;
  }
  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc;
  }
}

.company-box dt {
  min-width: 200px;
  width: 20%;
}

.company-box dd {
  width: 80%;
}

@media screen and (max-width: 767px) {
  .company-box dl {
    align-items: flex-start;
    flex-direction: column;
  }
  .company-box {
  }
}

.company-box dd {
  list-style: none;
}

.is-style-small .swell-block-step__number:after {
  display: none;
}

/* メインビジュアルタイトル */
.mmv-title {
  background: linear-gradient(
    to right,
    var(--color_main),
    var(--color_main_light)
  ) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 15px 20px !important;
}

.mmv-title::after,
.mmv-title::before {
  opacity: 0;
}

/* よくある質問 */
.faq-nav .wp-block-column a {
  background: #161f2e;
  border-radius: 5px;
  padding: 20px;
  display: block;
  color: #fff;
}

.p-faq .swell-block-accordion__item {
  margin-bottom: 2rem;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: solid #e2e2e2 1px;
}

.p-faq .swell-block-accordion__body {
  padding: 2.5rem;
  position: relative;
  padding-left: 5.5rem;
}

.p-faq .swell-block-accordion__body::after {
  content: "A";
  width: 40px;
  height: 40px;
  background: #161f2e;
  color: #fff;

  position: absolute;
  top: 53px;
  left: 2rem;
  transform: translatey(-50%);
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-faq__list {
  font-weight: 590 !important;
}
.p-faq .swell-block-accordion__title {
  padding: 1.5rem;
  font-weight: 590 !important;
  background: #fff;
  position: relative;
  padding-left: 5.5rem;
}

.p-faq .swell-block-accordion__title::after {
  content: "Q";
  width: 40px;
  height: 40px;
  background: #c6061c;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translatey(-50%);
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* お問い合わせ */
input::placeholder,
textarea::placeholder {
  font-size: 0.8rem;
  color: #999;
}

.c-contact_checbox {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-contactForm .wpforms-field-container {
  background-color: #fafafa;
  padding: 30px;
  margin-bottom: 50px;
  border: 1px solid #e2e2e2;
}

.any,
.required {
  color: #fff;
  font-size: 10px;
  padding: 5px;
  margin-left: 5px;
}

.inquiry tr {
  vertical-align: top;
}

.inquiry th {
  background-color: inherit !important;
  border: none;
  padding: 10px 0 !important;
  min-width: 200px;
  font-weight: bold !important;
}

.inquiry td {
  padding: 10px 0 !important;
  border: none;
}

.wpcf7-submit {
  width: 80%;
  display: block;
  margin: 0 auto;
  margin-top: 25px;
  background-color: #161f2e !important;
  color: #fff !important;
  max-width: 300px;
  transition: 0.3s all ease;
  padding: 10px;
  border: 0;
  border: 1px solid #161f2e !important;
}
.wpcf7-submit:hover {
  background-color: #fff !important;
  color: #161f2e !important;
  border: 1px solid #161f2e !important;
}
/* スワイパー */
.p-interview .swell-block-fullWide__inner {
  max-width: none !important;
  overflow: visible !important;
}

.swiper-button-custom {
  background: var(--color_main);
  width: fit-content;
  padding: 20px;
  border-radius: 50px;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  border: solid 1px transparent;
  transition: 0.1s ease-in-out;
}

.swiper-button-custom:hover {
  color: var(--color_main);
  background: #fff;
  border: solid 1px var(--color_main);
}

.p-voice-slider .buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  gap: 10px;
  z-index: 100;
}

.p-voice-slider .voiceSwiper {
  position: relative;
}

.wpcf7-submit:hover {
  background-color: #fff;
  color: var(--color_main) !important;
  border: 1px solid var(--color_main) !important;
}

.required {
  background-color: #bd364e;
  margin-left: 10px;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 13px;
}
.any {
  background-color: #cacaca;
  margin-left: 10px;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 13px;
}

.wpcf7-form-control-wrap input,
select,
textarea {
  width: 100%;
  background-color: #f9ffff;
  border-radius: 3px;
}

.p-form__privacy label {
  display: flex;
  align-items: center;
}

.privacy-agree {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.privacy-agree label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-wrap: nowrap;
  padding-top: 20px;
  gap: 10px;
}

input[type="checkbox"] {
  width: 30px !important;
}

.u-agree {
  width: fit-content !important;
  margin-right: 10px;
}

@media screen and (max-width: 960px) {
  .w-footer__box:nth-of-type(2) {
    flex-direction: column;
  }
  .w-footer__box:nth-of-type(2) ul {
    margin-left: 0;
    margin-top: 30px;
  }

  /* お問い合わせページ */
  .inquiry tr {
    display: flex;
    flex-direction: column;
  }
}
.wpcf7-form-control-wrap input,
select,
textarea {
  background-color: #f4f4f4;
  padding: 10px;
}

/* FAQ リンク */
.p-faq-link .c-bannerLink__text {
  flex-direction: row;
  justify-content: flex-start;
  gap: 30px;
  padding: 5rem;
}

.p-faq-link .c-bannerLink__title {
  width: fit-content !important;
  font-size: 3rem;
}

.p-faq-link .c-bannerLink__description {
  width: fit-content !important;
}

.p-faq-link::after {
  content: "";
  width: 60px;
  height: 60px;
  border: solid 1px #fff;
  border-radius: 50px;
  position: absolute;
  top: 50%;
  right: 75px;
  transform: translatey(-50%);
  transition: 0.3s ease-in-out;
}

.p-faq-link::before {
  content: "";
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  right: 100px;
  transform: translatey(-50%) rotate(-45deg);
  z-index: 10;
  transition: 0.3s ease-in-out;
}

.p-faq-link:hover::after {
  right: 65px;
}
.p-faq-link:hover::before {
  right: 88px;
}

@media screen and (max-width: 767px) {
  .p-faq-link::before {
    right: 50px !important;
  }
  .p-faq-link::after {
    right: 25px !important;
  }
}

/* 記事詳細 */
.single-post .c-postTitle__ttl {
  margin-top: 35px;
}
@media screen and (max-width: 600px) {
  .w-footer__box:nth-of-type(2) li {
    border-bottom: 1px solid #fff;
    padding: 10px 0;
  }
  .u-follow-banner {
    display: none;
  }
}

.p-about {
  position: relative;
  margin-top: 50px !important;
  @media screen and (max-width: 767px) {
    margin-top: 00px !important;
  }

  h2 {
    font-size: 24px !important;
  }
}
.p-about-text {
  position: relative;
  z-index: 0;
  padding: 50px !important;
  &::before {
    content: "";
    position: absolute;
    background-color: #161f2e;
    top: 0;
    left: 0;
    border-radius: 10px;
    width: 160%;
    height: 100%;
    z-index: -1;
  }

  @media screen and (max-width: 900px) {
    padding: 50px 20px !important;
  }
}
.p-about-img {
  transform: translateY(-50px);
  @media screen and (max-width: 900px) {
    transform: translateY(0px);
  }
  figure {
    height: 100%;
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    @media screen and (max-width: 900px) {
      border-radius: 0px;
    }
  }
}

.p-links__item {
  position: relative;
}
.p-links__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;

  img {
    height: 100%;
    object-fit: cover;
    object-position: left;
  }
}

.p-links__item:nth-of-type(2) {
  position: relative;
}

.p-page-service__item {
  position: relative;
  z-index: 0;
  margin-bottom: 70px;
  @media screen and (max-width: 767px) {
    margin-bottom: 40px;
  }
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-left: calc(50% - 50vw);
    background-color: #efeff2;
    z-index: -1;
    @media screen and (max-width: 767px) {
      margin-left: 0;
    }
  }
}
.p-page-service__img {
  transform: translateY(-50px);
  @media screen and (max-width: 767px) {
    transform: translateY(0px);
    padding: 20px;
    padding-top: 0;
  }
}

.p-ceo {
  position: relative;
  z-index: 0;

  img {
    width: 100%;
    height: 100%;
    aspect-ratio: 2.5 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
  }
}

.p-ceo__name {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 10px 20px;
  font-weight: bold;
  background-color: #fff;
  font-size: 24px;
  border-radius: 5px;
  @media screen and (max-width: 767px) {
    position: initial;
    font-size: 16px;
  }
}

.p-breadcrumb,
#breadcrumb {
  background: #f5f5f5 !important;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25) !important;
}
.icon-home:before {
  display: none !important;
}

.l-sidebar {
  background-color: #efeff2 !important;
  padding: 20px !important;
  border-radius: 5px;

  .c-widget__title.-side {
    margin-bottom: 10px;

    &::before {
      display: none !important;
    }
    &::after {
      display: none !important;
    }
  }
}

.c-pagination {
}
.c-pagination {
  border-radius: 50px !important;
}
.page-numbers.current {
  background-color: #b01212;
  color: #fff;
}
.page-numbers {
  background-color: #f7f7f7;
  color: #161f2e;
  border-radius: 50px;
  box-shadow: none;
}
