/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* 全ページ共通 */

/* カラースキーム */
:root {
  --primary: #A7B79C;
  --background: #FAF0E6;
  --light: #FAF9F6;
  --dark: #806F5C;
  --accent: #B8A898;
  --text:#393939;
  --subtext:#636363;
}

/* 全体のスタイル */

body {
  line-height: 1.6;
  color:var(--text);
}

a {
  text-decoration: none;
  color: var(--text);
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;}

.CTAbutton a.swell-block-button__link {
  background-color: var(--light);
  color: var(--primary);
  font-size: 1.2em;
}
/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */

/* ヘッダー */
.l-header__customBtn {
  width: fit-content;
}

/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* TOPページ */
.top-subcopy {
  color: var(--accent);
}
.top-copy-subtext {
  color: var(--subtext);
}
.top-button-estimate > a {
  background-color: var(--primary);
  color: var(--light);
}
.top-button-contact > a {
  background-color: var(--light);
  color: #393939;
}
.top-strength-number {
  font-size: 82px;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  position: absolute;
  top: -30px;
  left: 10px;
  opacity: 0.4;
  z-index: 10;
}
.top-strength-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  z-index: 50;
}
.top-strength-title-sub {
  color: var(--subtext);
  font-size: 14px;
  z-index: 50;
}
.top-strength-title-group > div {
  align-items: center;
  z-index: 50;
}

.top-strength-item {
  position: relative;
  background-color: var(--light);
  border-radius: 10px;
  padding: 24px !important;
}

.top-strength-text {
  z-index: 50;
}
.top-strength-spacer {
  margin: 8px auto !important;
  max-width: 100% !important;
}




/* SWELLの「もっと見る」ボタンをSWELLボタン風に */
.is-style-more_btn .btn_text {
  background: #b8a898;
  border-radius: 80px;
  display: inline-block;
  line-height: 1.5;
  margin: 0;
  padding: .75em 1.5em;
  position: relative;
  text-decoration: none;
  width: auto;
  border-radius: 50px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .1), 0 4px 8px -4px rgba(0, 0, 0, .2);;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  letter-spacing:1px;
}
.is-style-more_btn a:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.1),0 12px 24px -12px rgba(0,0,0,.2);
  opacity: 1
}
.is-style-more_btn .btn_text::after {
display: none !important;
content: none !important;
}

/* お客様の声セクション */
.top-voice a {
  justify-content: flex-start;
}
.top-voice .p-postList__thumb{
  width: 300px;
  margin-right: 30px;
}
.top-voice .p-postList__body {
  flex: 1;
}

.top-voice .p-postList__item {
  display: flex;
}
.top-voice .p-postList__title {
  font-size: large;
  margin-bottom: .5em;
}
.top-voice .custom-post-tags {
  margin-bottom: 1em;
  font-size: small;
}
.voice-comment-text {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 行数制限、80文字想定（PC） */
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* font-size: 14px;
  line-height: 1.6; */
  margin-bottom: 0.5em;
  color: var(--subtext);
}
.top-voice .p-postList__meta {
  justify-content: flex-end;
}
.top-voice .meta-area {
  font-size: medium;
  font-weight: 600;
  margin-right: 1em;
  color: var(--subtext);
}
.top-voice .meta-name {
  font-size: medium;
  font-weight: 600;
  color: var(--subtext);
}

/* サービスセクション */
.top-service-item {
  background-color: var(--light);
  border-radius: 10px;
}
.top-service-item h3 {
margin-top: 0;
margin-bottom: .5em !important;
}
.top-service-item figure {
  margin-bottom: 0;
}
.top-service-img {
  aspect-ratio: 3 / 2;
}
.top-service-img > img{
  object-fit: cover;
  height: 100%;
  border-radius: 10px 10px 0 0;
}
.top-service-text {
  padding: 24px;
}

/* SNSセクション */
.top-sns{
  background-color: var(--light);
  border: none !important;
  border-radius: 10px;
  margin: 0 20px !important;
  width: 200px !important;
}


    /* 事業者概要  */
.company_table th{
  background-color: transparent;
  border: none;

}
.company_table td {
  border: none;
}
.company_table_title {
  padding-left: .75em;
}
/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* 下層ページ共通 */
.c-pageTitle {
  text-align: center;
  font-size: 2em;
}
.c-pageTitle__subTitle {
  font-style: normal;
  opacity:initial;
  display: block;
  font-size: 14px;
  margin: auto;
}
.l-topTitleArea {
  background-color: var(--primary);
  color: var(--light);
}
.l-topTitleArea__img {
  display: none;
}
.p-postList__thumb {
  border-radius: 10px;
}

/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* サービスページ */

.service-anchor-button > a {
  padding: 10px 20px;
  border-radius: 0;
  font-size: 14px;
  border: none;
  border-bottom:1px solid var(--accent);
  height: 50px;
  align-content: center;
}
.service-anchor-button span {
  color: #393939;
}
.service-anchor-button:hover > a {
  background-color:transparent;
  border-bottom: 5px solid var(--accent);
}

.service-anchor-button:hover svg {
  color: var(--subtext);
}
.service-item {
  background-color: var(--light);
  border-radius: 10px;
}
.service-item figure {
  aspect-ratio: 3 / 2;
}
.service-item img {
  border-radius: 10px 10px 0 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.service-item > div {
  padding: 24px;
}

.service-faq {
  border-radius: 18px;
    background-color: #FAF9F6;
    padding: 30px;
}

.service-area {
  background-color: var(--light);
  border-radius: 50px;
  border: 1px solid #ddd;
  padding: 10px 20px;
  height: 50px;
  align-content: center;
  text-align: center;
}

/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* シングルページ共通 */

  /* セクション共通 */
  section {
    padding: 30px 0;
    max-width: 900px;
    margin: 0 auto;
  }

  .section-title {
    text-align: left;
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
  }


/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* 施工事例シングルページ */
.page-title {
  font-size: larger;
  font-weight: 700;
  background-color: var(--primary);
  padding: 20px;
  color: var(--light);
}


  /* 施工事例概要 */
  .work-overview {
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
  }

  .work-main-image {
    width: 100%;
    height: 250px;
    position: relative;
  }

  .work-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .work-content {
    padding: 20px;
  }

  .work-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
  }

  .work-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
  }

  .work-meta {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
    padding-top: 15px;
  }

  .work-meta-item {
    width: 50%;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .work-meta-label {
    font-weight: bold;
    color: var(--dark);
    margin-right: 10px;
  }

  /* ビフォーアフター */
  .before-after {
    margin-bottom: 30px;
  }

  .before-after-item {
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
  }

  .before-after-images {
    display: flex;
    flex-direction: column;
  }

  .before-image, .after-image {
    position: relative;
    height: 200px;
  }

  .before-image img, .after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.6);
    color: var(--light);
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
  }

  .before-after-text {
    padding: 15px;
  }

  .before-after-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark);
  }

  .before-after-description {
    font-size: 14px;
    color: #666;
  }

  /* 施工のポイント */
  .work-points-content {
    background-color:var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    padding: 20px;
  }

  .point-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: center;
  }

  .point-list {
    list-style-position: inside;
    /* margin-bottom: 20px; */
  }

  .point-item {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    position: relative;
    padding-left: 20px;
  }
  .point-item:last-child {
    margin-bottom: 0;
  }

  .point-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
  }

  /* お客様の声 */

  .voice-content {
    display: flex;
    flex-direction: column;
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    margin-bottom: 30px;
    row-gap: 20px;
    }

  .voice-content > img {
      height: 400px;
  }


  .voice-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: center;
  }

  .voice-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 15px;
  }

  .voice-customer {
    text-align: right;
    font-size: 14px;
    font-weight: bold;
    color: var(--dark);
  }
.voice-costomer-info {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly
}

  /* ギャラリー */
.gallery {
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* お客様の声シングルページ */
.p-entry__thumb {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}
.p-entry__title {
  font-size: larger;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.4;
}

.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

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

.meta-icon {
  width: 20px;
  height: 20px;
  background-color: var(--light);
  border-radius: 50%;
  margin-right: 8px;
}

.meta-text {
  font-size: 16px;
  color: #666;
}

.testimonial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.voice-tag {
  background-color: #f0f5f0;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 14px;
  color: var(--dark);
}

.testimonial-rating {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}


/* お客様の声本文 */
.testimonial-content {
  background-color: var(--light);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.testimonial-quote {
  line-height: 1.8;
  color: var(--text);
  position: relative;
  padding: 0 30px;
  margin-bottom: 30px;
}

.testimonial-quote:before,
.testimonial-quote:after {
  font-size: 60px;
  color: #a3ae9e;
  opacity: 0.3;
  font-family: serif;
  position: absolute;
  line-height: 1;
}

.testimonial-quote:before {
  content: '"';
  left: 0;
  top: 0;
}

.testimonial-quote:after {
  content: '"';
  right: 0;
  bottom: -20px;
}

.testimonial-customer {
  text-align: right;
  font-size: 16px;
  font-weight: bold;
  color: #4a3f35;
}

/* LINEメッセージ */

.line-container {
  /* background-color: #f0f5f0; */
  border-radius: 10px;
  padding: 20px;
  max-width: 600px;
  /* margin: 0 auto; */
}

.line-image {
  max-width: 200px;
  border-radius: 8px;
  margin-top: 5px;
}

/* 関連施工事例 */
.related-works-section {
  margin-bottom: 50px;
}

.section-header {
  margin-bottom: 25px;
}

.section-title {
  font-size: 22px;
  color: #4a3f35;
  margin-bottom: 10px;
  border-left: 4px solid #a3ae9e;
  padding-left: 10px;
}

.section-description {
  font-size: 16px;
  color: #666;
}

.related-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}


/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* 東お家工房についてページ */
.about-greeting, .section-about {
  background-color: var(--light);
  border-radius: 8px;
  padding: 24px;
}
.about-greeting img {
  border-radius: 8px;
}

h2.wp-block-heading{
  border-bottom: var(--dark) 2px solid;
  line-height: 2em;
}
.about-feature .wp-block-media-text__content {
  background-color: var(--light);
  padding: 24px;
  border-radius: 8px;
}
.about-feature .wp-block-media-text__media > img{
  border-radius: 8px;
}
.about-us img {
  border-radius: 8px;
}
.about-us > div > div:nth-child(2) {
  flex: 1;
}
.bg-white {
  background-color: var(--light);
  padding: 24px;
  border-radius: 8px;
}
p {
  letter-spacing: .1em;
}

/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* 問い合わせページ */
.contact-columns > div{
  justify-content: space-between;
}
.contact_column {
  background-color: #FAF9F6;
  border-radius: 18px;
  padding: 1em 2em !important;
}
.contact-icon {
  width: 100px;
  height: 100px;
  background-color: #f0f5f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.contact_svg {
  color: #A7B79C;
  width: 50px;
}

.contact_column_index {
  margin-top: 1.5em !important;
}
.contact_column_text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact_column_text > div {
  width: 85%;
}

.form-header {
  background-color: var(--primary);
  color: var(--light);
  padding: 20px 30px;
  margin-bottom: 0;
  border-radius: 18px 18px 0 0;
}
.contact-faq-header {
  background-color: var(--primary);
  color: var(--light);
  padding: 20px 30px;
  margin-bottom: 0;
  border-radius: 18px 18px 0 0;
}
.contact-faq-content {
  background-color: var(--light);
  padding: 30px;
  border-radius: 0 0 18px 18px;
}
.contact-faq-content .swell-block-accordion__title,
.service-faq .swell-block-accordion__title {
  font-weight: bold;
  font-size: large;
}
.wpcf7 {
  background-color: var(--light);
  padding: 48px 10%;
  border-radius: 0 0 18px 18px;
}
.wpcf7-form {
  margin: 0 auto; /* 中央揃え */
}
.wpcf7 .form-required {
  color: var(--light);
  background-color: #E94C3C;
  border-radius: 8px;
  padding: 2px 8px;
  margin-left: 12px;
}
.form-input {
  width:100%;
  height: 50px;
  margin-bottom: 24px;
}
.form-textarea {
  width: 100%;
  height: 140px;
}
.wpcf7-list-item {
  margin-bottom: 3em;
}
.wpcf7-list-item input{
  width: initial;
}
.wpcf7-form > p:last-of-type {
  position: relative;
}
.form-button {
  background-color: var(--accent);
  color: var(--light);
  border-radius: 24px;
  height: 50px;
  width: 80%;
  transform: translateX(-50%);
  position: absolute;
  left: 50%;
}
.contact-link,
.contact-line-link strong{
  color: var(--primary);
  border-bottom: 1px solid #8c9a87;
  padding: 2px 4px;
}
.contact-line-link {
  width: fit-content;
  margin: auto;
	margin-bottom: 1em;
}

.contact-link:hover,
.contact-line-link strong:hover {
  color: var(--light);
  background-color: var(--primary);
}

.form-input,.form-textarea {
  margin-top: 4px;
}

