@charset "UTF-8";

/*!
Theme Name: Palroof Theme (based on Cocoon Child)
Description: Cocoon専用の子テーマ
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

:root {
  /* CSS変数 */
  --palroof-deep-green-color: #218d44;
  --palroof-light-green-color: #87bf1f;
  --palroof-yellow-green-color: #d5d751;
  --palroof-red-color: #e60033;
  --palroof-black-color: #333;
  /* スムーススクロール用 */
  scroll-behavior: smooth;
}

/* Cocoonのスタイルを修正 */
.body {
  background-color: #fff;
}
.container .content {
  margin-top: 0;
}
.container .content .content-in.wrap {
  width: 100%;
  margin: 0;
}
.container .content .main {
  padding: 0;
}
.container .footer.footer-container {
  margin: 0;
  padding: 0;
}

/* 記事スタイル */
/* palroof-section-title */
.article h2 {
  background-color: inherit;
  font-size: 28px;
  font-weight: bold;
  border-bottom: 2px solid var(--palroof-yellow-green-color);
  color: var(--palroof-deep-green-color);
  display: inline-block;
  margin: 0 0 36px;
  padding: 0 16px;
}
.article h2.has-text-align-center {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.article h2.has-text-align-right {
  position: relative;
  left: 100%;
  transform: translateX(-100%);
}

/* ヘッダー */
#header-container-in {
  max-width: 900px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header-in {
  height: 80px;
}

.palroof-menu-header {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 834px) {
  #header-container .palroof-menu-header {
    display: none;
  }
}
.palroof-menu-header > .palroof-menu-header-item {
  height: auto;
}
.palroof-menu-header > .palroof-menu-header-item a:hover {
  background-color: #fff;
  opacity: 0.4;
  transition: ease-in-out;
}
.palroof-menu-header-item-mail-icon {
  height: 16px;
  margin-right: 6px;
}
.palroof-menu-header-item-calculator-icon {
  height: 18px;
  margin-right: 6px;
}
.palroof-menu-header .phone-number {
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  width: 200px;
  padding-right: 12px;
  margin-top: -4px;
}
.palroof-menu-header .phone-number::after {
  position: absolute;
  bottom: 12px;
  right: 10px;
  font-size: 10px;
  line-height: 1;
  content: "年中無休(9:00〜18:00)";
}
.palroof-menu-header .phone-number .item-label {
  display: flex;
  align-items: center;
  color: var(--palroof-deep-green-color);
  font-size: 18px;
  height: 50px;
}
.palroof-menu-header .contact {
  margin-left: 8px;
}
.palroof-menu-header .contact .item-label {
  height: 40px;
  background-color: var(--palroof-light-green-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}
.palroof-menu-header .estimate {
  margin-left: 8px;
}
.palroof-menu-header .estimate .item-label {
  height: 40px;
  background-color: var(--palroof-deep-green-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}
.palroof-menu-header-divider {
  width: 100%;
  border-top: 4px solid var(--palroof-deep-green-color);
}

.palroof-menu-header-bottom {
  list-style: none;
  max-width: 900px;
  margin: 8px auto;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  justify-content: center;
}
.palroof-menu-header-bottom-item {
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 0;
  border-left: 2px solid var(--palroof-light-green-color);
}
.palroof-menu-header-bottom-item:last-child {
  border-right: 2px solid var(--palroof-light-green-color);
}
.palroof-menu-header-bottom-item a {
  text-decoration: none;
  color: var(--palroof-black-color);
}
.palroof-menu-header-bottom-item a:hover {
  opacity: 0.4;
  transition: ease-in-out;
}

/* フッター */
.footer-in {
  width: 100%;
}
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-top: 4px solid var(--palroof-deep-green-color);
  padding: 24px 16px;
  margin-top: 0;
  border-bottom: 2px solid var(--palroof-yellow-green-color);
  margin-bottom: 80px;
}
@media screen and (max-width: 834px) {
  .footer-bottom {
    flex-direction: column;
    margin-bottom: 120px;
    padding: 0;
    margin-top: 0;
  }
}

.palroof-go-to-top {
  position: absolute;
  top: -30px;
  right: 18%;
}
@media screen and (max-width: 834px) {
  .palroof-go-to-top {
    right: 10%;
  }
}
.palroof-go-to-top .go-to-top-button {
  width: 60px;
  height: 60px;
}
.palroof-go-to-top .go-to-top-button:hover {
  opacity: 0.4;
  transition: ease-in-out;
  color: #fff;
}
.palroof-go-to-top button.go-to-top-button {
  display: block;
}
.footer-bottom-logo {
  position: initial;
  float: initial;
  bottom: initial;
  min-height: 68px;
  min-width: 184px;
}
.footer-bottom-logo img {
  height: 80px;
  width: auto;
}
.footer-bottom-content {
  float: initial;
  text-align: initial;
}
.palroof-navi-footer {
  display: flex;
  flex-wrap: wrap;
  font-weight: bold;
  padding-left: 40px;
}
@media screen and (max-width: 834px) {
  .palroof-navi-footer {
    flex-direction: column;
    padding-left: 0px;
  }
}
.palroof-navi-footer-item {
  padding-left: 80px;
}
@media screen and (max-width: 834px) {
  .palroof-navi-footer-item {
    padding-left: 0px;
  }
}
.palroof-navi-footer-item > li {
  list-style: none;
}
.palroof-navi-footer-item > ul {
  padding-left: 10px;
}
.palroof-navi-footer-item > ul > li {
  list-style: " - ";
}
.source-org.copyright {
  position: absolute;
  font-weight: bold;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
@media screen and (max-width: 480px) {
  .source-org.copyright {
    font-size: 12px;
  }
}

.navi-footer-in > ul.palroof-mobile-navi-footer-menu {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.palroof-mobile-navi-footer-menu li {
  color: var(--palroof-deep-green-color);
  font-weight: bold;
  background-color: #fff;
  overflow: hidden;

  height: 40px;
  margin: 0;
  padding: 0;
  border-bottom: 2px solid #dedede;
  transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.palroof-mobile-navi-footer-menu a {
  color: var(--palroof-deep-green-color);
  text-decoration: none;
}
.palroof-mobile-navi-footer-menu a:hover {
  opacity: 0.4;
}

.palroof-mobile-navi-footer-menu li span {
  position: relative;
  display: block;
  padding: 8px 8px 8px 32px;
  width: 100vw;
}
.palroof-mobile-navi-footer-menu li label span::after {
  position: absolute;
  right: 24px;
  content: "ー";
  color: #dedede;
}
.palroof-mobile-navi-footer-menu li:last-child {
  border-bottom: none;
}

.palroof-mobile-navi-footer-menu li.palroof-mobile-navi-footer-menu-about-item {
  height: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}
.palroof-mobile-navi-footer-menu
  #palroof-mobile-navi-footer-menu-about-toggle:checked
  ~ li.palroof-mobile-navi-footer-menu-about-item {
  height: 40px;
  border-bottom: 2px solid #dedede;
}

.palroof-mobile-navi-footer-menu
  li.palroof-mobile-navi-footer-menu-business-item {
  height: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}
.palroof-mobile-navi-footer-menu
  #palroof-mobile-navi-footer-menu-business-toggle:checked
  ~ li.palroof-mobile-navi-footer-menu-business-item {
  height: 40px;
  border-bottom: 2px solid #dedede;
}

/* 共通の記事見出し */
.palroof-contents-heading-container {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: bottom;
}
.palroof-contents-heading {
  position: relative;
  max-width: 924px;
  height: 100%;
  margin: 0 auto;
}
.palroof-contents-heading-title {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--palroof-deep-green-color);
  font-weight: bold;
  margin: auto;
  padding-left: 24px;
}
/* パンくずリスト */
.breadcrumb {
  margin: 0;
  padding: 8px 24px;
}
@media screen and (max-width: 560px) {
  .palroof-contents-heading-container {
    height: 140px;
  }
  .palroof-contents-heading-title {
    font-size: 20px;
    top: 45%;
  }
}
.breadcrumb,
.breadcrumb a {
  color: var(--palroof-black-color);
}
.breadcrumb-home > .fa,
.breadcrumb-item > .fa {
  display: none;
}
.breadcrumb-home > .breadcrumb-caption,
.breadcrumb-item > .breadcrumb-caption {
  margin: 0;
}
.breadcrumb .fa.fa-angle-right {
  font-size: 16px;
  color: var(--palroof-black-color);
}
.breadcrumb-home .breadcrumb-caption {
  font-size: 0;
}
.breadcrumb-home .breadcrumb-caption:before {
  font-size: 14px;
  content: "TOP";
}

/* 共通の記事フッター */
.palroof-contents-footer {
  background-color: #f6f3e4;
  padding: 40px 8px;
  margin: 40px auto 0;
}
@media screen and (max-width: 480px) {
  .palroof-contents-footer {
    background-color: #fff;
  }
}

.palroof-contents-footer-text {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}
.palroof-contents-footer-text p {
  margin: 0;
}
@media screen and (max-width: 480px) {
  .palroof-contents-footer-sp .palroof-contents-footer-text {
    font-size: 13px;
  }
  .palroof-contents-footer-text p {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 368px) {
  .palroof-contents-footer-sp .palroof-contents-footer-text-next-line {
    display: block;
  }
}

.palroof-contents-footer-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 260px));
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 24px;
}
.palroof-contents-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  color: #f6f3e4;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  height: 100%;
}

.palroof-contents-footer-link:hover {
  opacity: 0.4;
  transition: ease-in-out;
  color: #f6f3e4;
}
.palroof-contents-footer-link.compare {
  background-color: var(--palroof-deep-green-color);
  border: 2px solid var(--palroof-deep-green-color);
}
.palroof-contents-footer-link.estimate {
  background-color: var(--palroof-light-green-color);
  border: 2px solid var(--palroof-light-green-color);
}
.palroof-contents-footer-link-mail-icon {
  height: 24px;
  margin-right: 14px;
}
.palroof-contents-footer-link-calculator-icon {
  height: 36px;
  margin-right: 14px;
}

.palroof-contents-footer-tel-content {
  font-size: 32px;
  background-color: #f6f3e4;
  margin: 0 auto;
  width: 288px;
}
.palroof-contents-footer-tel-content-number {
  margin: 0;
  font-weight: bold;
  display: flex;
  align-items: center;
  color: var(--palroof-deep-green-color);
  line-height: 1;
}
.palroof-contents-footer-tel-content-time {
  font-size: 14px;
  color: var(--palroof-black-color);
  text-align: right;
}

/* グローバルスタイル */
.palroof-deep-green-color {
  color: var(--palroof-deep-green-color);
}
.palroof-light-green-color {
  color: var(--palroof-light-green-color);
}
.palroof-red-color {
  color: var(--palroof-red-color);
}
.palroof-black-color {
  color: var(--palroof-black-color);
}

.palroof-section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  border-bottom: 3px solid var(--palroof-yellow-green-color);
  color: var(--palroof-deep-green-color);
  display: inline-block;
  margin: 0 auto 36px;
  padding: 0 16px;
}
@media screen and (max-width: 834px) {
  .palroof-section-title {
    font-size: 20px;
    border-bottom: none;
    color: #fff;
    background-color: var(--palroof-deep-green-color);
    width: 100%;
    height: 70px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
  }
  .palroof-section-title-sp-normal {
    border-bottom: 3px solid var(--palroof-yellow-green-color);
    color: var(--palroof-deep-green-color);
    background-color: #fff;
    width: auto;
    height: auto;
    line-height: normal;
    display: inline-block;
  }
}

.palroof-section-title-crown {
  width: 44px;
  margin: 0 3px -4px;
}
@media screen and (max-width: 834px) {
  .palroof-section-title-crown {
    width: 32px;
    margin: 0 12px -2px;
  }
}

.palroof-page-link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  border: 1px solid #008d3c;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #008d3c;
  padding: 8px;
  text-align: center;
  text-decoration: none;
}
.palroof-page-link-button-before-arrow-icon {
  height: 16px;
  margin-top: -2px;
  padding-right: 8px;
}
.palroof-page-link-button:hover {
  color: #008d3c;
  opacity: 0.4;
  transition: ease-in-out;
}

/* コンポーネント */
/* news-section */
.news-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}
.news-section-title {
  color: var(--palroof-deep-green-color);
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.news-section-notice {
  height: 20px;
  margin-right: 8px;
  margin-top: -2px;
}
.news-section-item {
  display: flex;
  font-size: 16px;
}
.news-section-item dt {
  letter-spacing: -0.01em;
  font-weight: bold;
  min-width: 140px;
  margin-right: 12px;
}
.news-section-item dd {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*834px以下*/
@media screen and (max-width: 834px) {
  .news-section-item {
    flex-direction: column;
  }
}
.news-section-list-link-wrapper {
  position: absolute;
  top: 0;
  right: 16px;
}
.news-section-list-link {
  color: var(--palroof-deep-green-color);
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}
.news-section-list-link:hover {
  opacity: 0.4;
  transition: ease-in-out;
  color: var(--palroof-deep-green-color);
}
.news-section-list-link-arrow {
  height: 14px;
  margin-left: 8px;
}

/* posts-section */
.posts-section {
  max-width: 900px;
  margin: 24px auto;
  text-align: center;
  position: relative;
}
.posts-section-content {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 260px));
  justify-content: center;
  gap: 44px;
  margin: 0 auto;
  padding: 0 16px;
}
.posts-section-content > a {
  text-decoration: none;
}
.posts-section-content > a:hover {
  opacity: 0.4;
  transition: ease-in-out;
}
.posts-section-item {
  position: relative;
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
}
.posts-section-item-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border: 2px solid var(--palroof-light-green-color);
}
.posts-section-item-title {
  color: var(--palroof-black-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.posts-section-category-link {
  margin-top: 24px;
}
.posts-section-list-link-wrapper {
  position: absolute;
  top: 12px;
  right: 0;
}
/*834px以下*/
@media screen and (max-width: 834px) {
  .posts-section-list-link-wrapper {
    position: relative;
    top: 0;
    right: 0;
    text-align: right;
    margin-right: 40px;
    padding: 8px;
  }
}

.posts-section-list-link {
  color: var(--palroof-deep-green-color);
  font-weight: bold;
  text-decoration: none;
}
.posts-section-list-link:hover {
  opacity: 0.4;
  transition: ease-in-out;
  color: var(--palroof-deep-green-color);
}
.posts-section-list-link-arrow {
  height: 14px;
  margin-left: 8px;
}

/* estimate-section */
.estimate-section {
  background-color: #f6f3e4;
  margin: 0 auto;
}
.estimate-section-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 360px));
  gap: 16px;
  justify-content: center;
  padding: 32px 8px;
}
.estimate-section-link-text {
  display: table;
  font-size: 14px;
  font-weight: bold;
  margin: 0 auto 8px;
}
.estimate-section-link-text > a {
  text-decoration: none;
}
.estimate-section-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  color: #f6f3e4;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  height: 100%;
}
.estimate-section-link:hover {
  opacity: 0.4;
  transition: ease-in-out;
  color: #f6f3e4;
}
.estimate-section-link.compare {
  background-color: var(--palroof-deep-green-color);
  border: 2px solid var(--palroof-deep-green-color);
}
.estimate-section-link.estimate {
  background-color: var(--palroof-light-green-color);
  border: 2px solid var(--palroof-light-green-color);
}
.estimate-section-link-mail-icon {
  height: 24px;
  margin-right: 14px;
}
.estimate-section-link-calculator-icon {
  height: 36px;
  margin-right: 14px;
}
.estimate-section-link-arrow-icon {
  height: 14px;
  margin-left: 24px;
}

/* category-link-section */
.category-link-section {
  margin: 80px auto;
  max-width: 900px;
}
@media screen and (max-width: 480px) {
  .category-link-section {
    margin: 24px 24px 0;
  }
}
.category-link-section__head-row {
  width: 100%;
  background-color: var(--palroof-deep-green-color);
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
@media screen and (max-width: 480px) {
  .category-link-section__head-row {
    font-size: 14px;
    padding: 0 8px;
  }
}
.category-link-section__head-row a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.category-link-section__head-row-more {
  font-size: 16px;
}
@media screen and (max-width: 480px) {
  .category-link-section__head-row-more {
    font-size: 12px;
  }
}
.category-link-section__head-row-link-arrow {
  height: 20px;
  margin-left: 8px;
}
@media screen and (max-width: 480px) {
  .category-link-section__head-row-link-arrow {
    height: 12px;
    margin-left: 4px;
  }
}
.category-link-section__body-row {
  width: 100%;
  padding: 8px 0;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  font-size: 16px;
}
@media screen and (max-width: 480px) {
  .category-link-section__body-row {
    font-size: 12px;
  }
}
.category-link-section__body-row a {
  color: var(--palroof-black-color);
  text-decoration: none;
  display: flex;
  align-items: start;
}
.category-link-section__body-row-link-arrow {
  height: 20px;
  margin-top: 5px;
  margin-right: 8px;
  margin-left: 16px;
}
@media screen and (max-width: 480px) {
  .category-link-section__body-row-link-arrow {
    height: 10px;
    margin-left: 8px;
  }
}

/* 固定ページ・投稿ページ */
.palroof-single-contents .article,
.palroof-page-contents .article,
.palroof-single-contents .palroof-entry-content,
.palroof-page-contents .palroof-entry-content {
  margin: 0 auto;
}

.palroof-single-contents .palroof-entry-content,
.palroof-page-contents .palroof-entry-content {
  margin-bottom: 48px;
}

/* 投稿ページ */
.post-template-single_contents_template .container .content .content-in.wrap {
  margin: 0 auto;
  justify-content: center;
}
.post-template-single_contents_template
  .container
  .content
  .content-in.wrap
  main {
  margin: 0;
  width: 100%;
}
@media screen and (min-width: 1024px) {
  .post-template-single_contents_template
    .container
    .content
    .content-in.wrap
    main
    .palroof-entry-content {
    display: flex;
    justify-content: center;
    max-width: 1600px;
  }
  .post-template-single_contents_template
    .container
    .content
    .content-in.wrap
    main
    .palroof-single-template {
    margin: 0 0 0 auto;
    padding-right: 24px;
  }
  @media screen and (max-width: 1600px) {
    .post-template-single_contents_template
      .container
      .content
      .content-in.wrap
      main
      .palroof-single-template {
      max-width: 60%;
    }
  }
  .post-template-single_contents_template
    .container
    .content
    .content-in.wrap
    .sidebar {
    min-width: 376px;
  }
  .sidebar .sidebar-scroll .cta-box {
    background-color: #fff;
    padding: 0;
    position: relative;
  }
  .sidebar .sidebar-scroll .cta-box:hover {
    opacity: 0.6;
  }
  .sidebar .sidebar-scroll .cta-box .cta-button {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
  }
  .sidebar .sidebar-scroll .cta-box .cta-button a {
    background-color: transparent;
    width: 336px;
    height: 212px;
    opacity: 0;
  }
}

/* 404ページ */
.error404 .container .content .content-in.wrap {
  margin: 0 auto;
  justify-content: center;
}

/* 固定ページテンプレート */
.palroof-page-template {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* 投稿ページテンプレート */
.palroof-single-template {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* トップページ */
.top-page-template {
  width: 100%;
}
.top-page-template__eyecatch {
  margin-bottom: 16px;
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: bottom;
}
.top-page-template__eyecatch img {
  position: absolute;
  height: 250px;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
}
/*834px以下*/
@media screen and (max-width: 834px) {
  .top-page-template__eyecatch {
    height: 300px;
  }
  .top-page-template__eyecatch img {
    height: 200px;
    top: 32px;
    padding: 0 16px;
  }
}

.top-page-template__appeal-section {
  margin: 40px auto;
  text-align: center;
}
.top-page-template__appeal-section-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.top-page-template__appeal-section-image {
  width: 100%;
  height: 100%;
  max-width: 900px;
}
@media screen and (max-width: 480px) {
  .top-page-template__appeal-section-image {
    max-width: 450px;
  }
}

.top-page-template__appeal-section-text {
  font-weight: bold;
}
.top-page-template__appeal-section-text h3 {
  margin-bottom: 24px;
}
.top-page-template__appeal-section-text p {
  display: table;
  text-align: left;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  font-size: 16px;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 834px) {
  .top-page-template__appeal-section-text h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .top-page-template__appeal-section-text p {
    font-size: 14px;
  }
}

.top-page-template__feature-section {
  margin: 40px auto;
  text-align: center;
}
.top-page-template__feature-section-list {
  max-width: 960px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto 24px;
}
@media screen and (max-width: 834px) {
  .top-page-template__feature-section-list {
    flex-direction: column;
  }
}
.top-page-template__feature-section-item {
  position: relative;
  width: 270px;
  height: 300px;
  margin: 12px;
  border: 1px solid #a5c179;
  display: flex;
}
@media screen and (max-width: 834px) {
  .top-page-template__feature-section-item {
    width: 94%;
    height: 132px;
    justify-content: space-between;
  }
}

.top-page-template__feature-section-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
}
@media screen and (max-width: 834px) {
  .top-page-template__feature-section-icon {
    top: 12px;
    left: 14px;
    transform: none;
    width: 48px;
    height: 48px;
  }
}
@media screen and (max-width: 340px) {
  .top-page-template__feature-section-icon {
    display: none;
  }
}
.top-page-template__feature-section-image {
  position: absolute;
  width: 100%;
  height: 150px;
  object-fit: cover;
}
@media screen and (max-width: 834px) {
  .top-page-template__feature-section-image {
    position: static;
    width: 150px;
    height: 130px;
  }
}

.top-page-template__feature-section-text {
  align-self: flex-end;
  padding: 0 14px 18px;
}
.top-page-template__feature-section-text h3 {
  font-size: 18px;
}
.top-page-template__feature-section-text p {
  font-size: 14px;
}
@media screen and (max-width: 834px) {
  .top-page-template__feature-section-text {
    align-self: normal;
    text-align: left;
  }
  .top-page-template__feature-section-text h3 {
    line-height: 4;
    padding-left: 60px;
  }
  .top-page-template__feature-section-text p {
    font-weight: bold;
  }
}
@media screen and (max-width: 480px) {
  .top-page-template__feature-section-text h3 {
    font-size: 16px;
    line-height: 4.4;
  }
  .top-page-template__feature-section-text p {
    font-size: 11px;
    letter-spacing: -0.01em;
  }
}
@media screen and (max-width: 340px) {
  .top-page-template__feature-section-text h3 {
    padding-left: 0;
    line-height: 4;
  }
  .top-page-template__feature-section-text p {
    font-size: 10px;
    letter-spacing: -0.1em;
  }
}

.top-page-template__construction-menu-section {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
}
.top-page-template__construction-menu-section-staff {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 280px;
}
@media screen and (max-width: 834px) {
  .top-page-template__construction-menu-section-staff {
    position: static;
    margin-top: 40px;
    margin-bottom: -80px;
    height: 220px;
  }
}
.top-page-template__construction-menu-list {
  max-width: 960px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
}
.top-page-template__construction-menu-item {
  width: 200px;
  margin: 12px;
  padding-bottom: 12px;
  border: 1px solid #a5c179;
}
@media screen and (max-width: 480px) {
  .top-page-template__construction-menu-item {
    width: 160px;
  }
}

.top-page-template__construction-menu-item-title {
  font-weight: bold;
  font-size: 16px;
  padding: 16px 0;
}
.top-page-template__construction-menu-item-image-wrapper {
  height: 100px;
  margin-bottom: 14px;
}
@media screen and (max-width: 480px) {
  .top-page-template__construction-menu-item-image-wrapper {
    height: 100px;
  }
}
.top-page-template__construction-menu-item-image {
  height: 100%;
}
.top-page-template__construction-menu-item-price {
  font-weight: bold;
  font-size: 16px;
  color: var(--palroof-deep-green-color);
}
.top-page-template__construction-menu-item-size {
  font-weight: bold;
  font-size: 12px;
}
.top-page-template__construction-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 24px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  color: var(--palroof-deep-green-color);
  text-align: center;
  text-decoration: none;
}
.top-page-template__construction-menu-link img {
  height: 16px;
  margin-left: 20px;
}
.top-page-template__construction-menu-link:hover {
  color: var(--palroof-deep-green-color);
  opacity: 0.4;
  transition: ease-in-out;
}
.top-page-template__useful-title-mobile {
  text-align: center;
}

/* パルルーフについてページ */
.about-page-template {
  margin: 0 auto;
}
.about-page-template__appeal-section {
  margin: 40px auto;
  text-align: center;
}
.about-page-template__appeal-section-content {
  margin: 0 auto;
  padding: 0 16px;
}
.about-page-template__appeal-section-image {
  width: 100%;
  height: 100%;
  max-width: 900px;
  margin: 0 auto 24px;
}
@media screen and (max-width: 560px) {
  .about-page-template__appeal-section {
    margin: 20px auto;
  }
  .about-page-template__appeal-section-image {
    max-width: 450px;
  }
}
.about-page-template__appeal-section-text {
  font-weight: bold;
}
.about-page-template__appeal-section-text p {
  text-align: left;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  font-size: 16px;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 480px) {
  .about-page-template__appeal-section-text p {
    font-size: 14px;
    line-height: 1.4;
  }
}
.about-page-template__feature-section {
  margin: 40px auto;
  text-align: center;
}
.about-page-template__feature-section-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
}
.about-page-template__feature-section-item {
  position: relative;
  width: 270px;
  margin: 12px;
}
.about-page-template__feature-section-item-sp {
  width: 100%;
  max-width: 350px;
}
.about-page-template__feature-section-image {
  width: 100%;
}
.about-page-template__feature-section-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 24px;
  color: #fff;
}
.about-page-template__feature-section-icon-sp {
  height: 48px;
  margin-right: 8px;
}
.about-page-template__feature-section-item-sp
  .about-page-template__feature-section-title {
  padding-top: 6px;
  font-size: 18px;
  display: flex;
  align-items: center;
}
.about-page-template__feature-section-text {
  position: absolute;
  top: 0;
  padding: 112px 24px 0;
}
.about-page-template__feature-section-item-sp
  .about-page-template__feature-section-text {
  padding: 68px 24px 0;
}
.about-page-template__feature-section-text p {
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.about-page-template__feature-section-item-sp
  .about-page-template__feature-section-text
  p {
  font-size: 12px;
}
.about-page-template__company-info {
  margin: 40px auto;
  text-align: center;
}
.about-page-template__company-info-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 380px));
  gap: 28px;
  justify-content: center;
  padding: 0 8px 32px;
}
.about-page-template__company-info-link {
  display: flex;
  align-items: center;
  margin: 0 auto;
  font-size: 22px;
  font-weight: bold;
  border-radius: 2px;
  color: var(--palroof-black-color);
  padding: 40px 24px;
  text-align: center;
  text-decoration: none;
  height: 100%;
  width: 100%;
  border: 1px solid #a5c179;
}
.about-page-template__company-info-link:hover {
  opacity: 0.4;
  transition: ease-in-out;
  color: var(--palroof-black-color);
}
.about-page-template__company-info-link-icon {
  height: 68px;
  margin-left: 14px;
  margin-right: 24px;
}

/* 会社概要 */
.about-company-page-template {
  margin: 0 auto;
}
.about-company-page-template__summary-section {
  margin: 40px auto 80px;
  text-align: center;
}
.about-company-page-template__summary-section-content {
  margin: 0 auto;
  text-align: left;
  max-width: 900px;
}
.about-company-page-template__summary-section-content-wrap {
  padding: 0 24px;
}
table.about-company-page-template__summary-section-content {
  background-color: inherit;
}
table.about-company-page-template__summary-section-content tr {
  background-color: inherit;
}
table.about-company-page-template__summary-section-content tr:last-of-type {
  border-bottom: 1px solid var(--palroof-deep-green-color);
}
table.about-company-page-template__summary-section-content tr td {
  background-color: inherit;
  border: none;
  border-top: 1px solid var(--palroof-deep-green-color);
  flex-wrap: wrap;
}
table.about-company-page-template__summary-section-content tr td:first-of-type {
  color: var(--palroof-deep-green-color);
  font-weight: bold;
  width: 184px;
}
@media screen and (max-width: 834px) {
  table.about-company-page-template__summary-section-content th,
  table.about-company-page-template__summary-section-content td {
    padding: 0.5em;
    font-size: 16px;
  }
}
@media screen and (max-width: 480px) {
  table.about-company-page-template__summary-section-content
    tr
    td:first-of-type {
    width: 90px;
  }
  table.about-company-page-template__summary-section-content tr td span {
    display: block;
  }
}

.about-company-page-template__summary-section-content-warning {
  font-size: 14px;
  font-weight: bold;
  color: var(--palroof-red-color);
  margin: 2px 0;
}
.about-company-page-template__location-section {
  margin: 40px auto;
  text-align: center;
}
.about-company-page-template__location-section-content {
  position: relative;
  margin: 0 auto 100px;
  text-align: left;
  max-width: 900px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid var(--palroof-light-green-color);
}
@media screen and (max-width: 834px) {
  .about-company-page-template__location-section-content {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    align-items: normal;
  }
}
.about-company-page-template__location-section-content-image {
  max-width: 300px;
  max-height: 197.31px;
}
.about-company-page-template__location-section-content-item {
  position: relative;
  margin-left: 40px;
}
@media screen and (max-width: 834px) {
  .about-company-page-template__location-section-content-item {
    margin-top: 8px;
    margin-left: 24px;
    font-size: 14px;
  }
}
.about-company-page-template__location-section-content-item-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 8px;
}
@media screen and (max-width: 834px) {
  .about-company-page-template__location-section-content-item-title {
    font-size: 14px;
  }
}
.about-company-page-template__location-section-content-item-address {
  line-height: 1.4;
  margin-bottom: 20px;
}
@media screen and (max-width: 834px) {
  .about-company-page-template__location-section-content-item-address {
    margin-bottom: 40px;
  }
}
.about-company-page-template__location-section-content-item-tel {
  line-height: 1.4;
}
@media screen and (max-width: 834px) {
  .about-company-page-template__location-section-content-item-tel {
    margin-bottom: 20px;
  }
}
.about-company-page-template__location-section-content-item-map-link {
  margin: 0 auto;
}
@media screen and (max-width: 834px) {
  .about-company-page-template__location-section-content-item-map-link {
    position: absolute;
    left: 32px;
    bottom: 80px;
    font-size: 12px;
  }
}
.about-company-page-template__location-section-content-item-map-link a {
  color: var(--palroof-deep-green-color);
  text-decoration: none;
}
.about-company-page-template__location-section-content-item-map-link a:hover {
  opacity: 0.4;
  transition: ease-in-out;
  color: var(--palroof-deep-green-color);
}

/* 取引先メーカーセクション（見出しの中央寄せだけ） */
.about-company-page-template__partners-section {
  margin: 40px auto;
  text-align: center;
}

/* コンテンツ枠 */
.about-company-page-template__partners-section-content {
  margin: 0 auto 60px;
  max-width: 900px;
  text-align: left;
  padding: 12px 16px;                   /* ← ここだけで定義 */
  border: 1px solid var(--palroof-light-green-color);
  border-radius: 8px;
  background-color: #fff;
}

/* リスト：普通の箇条書き */
.about-company-partner-list{
  list-style: disc;
  list-style-position: outside;
  margin: 0;
  padding-left: 1.4em;
}
.about-company-partner-list li{
  margin: .4em 0;
  line-height: 1.8;
}

/* リンク（下線あり／色は緑） */
.about-company-partner-list a{
  color: var(--palroof-deep-green-color);
  text-decoration: underline;
}
.about-company-partner-list a:hover{
  opacity: .6;
  transition: .2s ease-in-out;
}

/* （敬称略）注釈：左下に控えめ表示 */
.honorific-note{
  margin: .4em 0 0 1.4em;               /* リストの字下げに合わせる */
  font-size: .9em;
  color: #666;
  text-align: left;
  font-style: normal;                   /* 斜体にしないなら normal */
}

/* スマホ対応 */
@media screen and (max-width: 834px){
  .about-company-page-template__partners-section-content{
    padding: 12px;                      /* 余白だけ少し詰める */
    max-width: 100%;
  }
  .about-company-partner-list li{ font-size: 14px; }
  .honorific-note{ font-size: 12px; }
}

/* サービス */
.service-page-template {
  margin: 0 auto;
}
.service-page-template__reform-section {
  position: relative;
  margin: 40px auto 80px;
  text-align: center;
}
.service-page-template__reform-section-icon {
  margin: 0 auto;
}
@media screen and (max-width: 480px) {
  .service-page-template__reform-section-icon {
    position: absolute;
    top: 150px;
    right: 10%;
  }
}
@media screen and (max-width: 380px) {
  .service-page-template__reform-section-icon {
    top: 130px;
  }
}
.service-page-template__roof-section
  .service-page-template__reform-section-icon {
  width: 100px;
}
.service-page-template__outer-wall-section
  .service-page-template__reform-section-icon {
  width: 120px;
}
.service-page-template__reform-section-content {
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
@media screen and (max-width: 834px) {
  .service-page-template__reform-section-content {
    padding: 0 24px;
  }
}
.service-page-template__reform-section-content-item {
  max-width: 550px;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
}
.service-page-template__reform-section-content-image {
  max-width: 300px;
  margin: 0 40px auto 0;
}
@media screen and (max-width: 940px) {
  .service-page-template__reform-section-content-image {
    margin: 0 auto;
  }
}
@media screen and (max-width: 480px) {
  .service-page-template__reform-section-content-image {
    max-width: 200px;
    margin-left: 0;
  }
}
@media screen and (max-width: 380px) {
  .service-page-template__reform-section-content-image {
    max-width: 150px;
  }
}
.service-page-template__reform-section-content-title {
  display: table;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 8px;
}
@media screen and (max-width: 480px) {
  .service-page-template__reform-section-content-title {
    font-size: 20px;
  }
}
.service-page-template__reform-section-content-title-border {
  position: relative;
}
.service-page-template__reform-section-content-title-border::before {
  position: absolute;
  bottom: -4px;
  content: "";
  display: inline-block;
  width: 100px;
  height: 10px;
  background-color: rgb(252, 237, 80);
  z-index: -1;
}
.service-page-template__roof-section
  .service-page-template__reform-section-content-title-border::before {
  width: 100px;
}
.service-page-template__outer-wall-section
  .service-page-template__reform-section-content-title-border::before {
  width: 150px;
}
.service-page-template__reform-section-content-text {
  letter-spacing: 0.01em;
  line-height: 1.4;
  font-size: 16px;
  margin-bottom: 20px;
}
@media screen and (max-width: 480px) {
  .service-page-template__reform-section-content-text {
    font-size: 14px;
  }
  .service-page-template__roof-section
    .service-page-template__reform-section-content-title-border::before {
    width: 80px;
  }
  .service-page-template__outer-wall-section
    .service-page-template__reform-section-content-title-border::before {
    width: 120px;
  }
}

/* 屋根リフォーム */
.service-roof-page-template {
  margin: 0 auto;
}
.service-roof-page-template__reform-section {
  position: relative;
  margin: 40px auto 80px;
  text-align: center;
}
@media screen and (max-width: 480px) {
  .service-roof-page-template__reform-section {
    margin-bottom: 0;
  }
}
.service-roof-page-template__reform-section-icon {
  margin: 0 auto;
  width: 100px;
}
@media screen and (max-width: 480px) {
  .service-roof-page-template__reform-section-icon {
    position: absolute;
    top: 150px;
    right: 10%;
  }
}
@media screen and (max-width: 380px) {
  .service-roof-page-template__reform-section-icon {
    top: 130px;
  }
}
.service-roof-page-template__reform-section-content {
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
@media screen and (max-width: 834px) {
  .service-roof-page-template__reform-section-content {
    padding: 0 24px;
  }
}
.service-roof-page-template__reform-section-content-item {
  max-width: 550px;
  margin-left: 40px;
  margin: 0 auto;
}
.service-roof-page-template__reform-section-content-image {
  max-width: 300px;
  margin: 0 40px auto 0;
}
@media screen and (max-width: 940px) {
  .service-roof-page-template__reform-section-content-image {
    margin: 0 auto;
  }
}
@media screen and (max-width: 480px) {
  .service-roof-page-template__reform-section-content-image {
    max-width: 200px;
    margin-left: 0;
  }
}
@media screen and (max-width: 380px) {
  .service-roof-page-template__reform-section-content-image {
    max-width: 150px;
  }
}
.service-roof-page-template__reform-section-content-title {
  display: table;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 8px;
}
@media screen and (max-width: 480px) {
  .service-roof-page-template__reform-section-content-title {
    font-size: 20px;
  }
}
.service-roof-page-template__reform-section-content-text {
  letter-spacing: 0.01em;
  line-height: 1.4;
  font-size: 16px;
  margin-bottom: 20px;
}
@media screen and (max-width: 480px) {
  .service-roof-page-template__reform-section-content-text {
    font-size: 14px;
    margin-bottom: 16px;
  }
}

.service-roof-page-template__flow-section {
  margin: 40px auto 80px;
  text-align: center;
}
.service-roof-page-template__flow-section-content {
  max-width: 890px;
  margin: 0 auto;
  padding: 0 24px;
}
@media screen and (max-width: 834px) {
  .service-roof-page-template__flow-section-content {
    max-width: 480px;
  }
}

.service-roof-page-template__price-section {
  margin: 80px auto;
  text-align: center;
}
.service-roof-page-template__price-section-content {
  margin: 0 auto 32px;
  max-width: 910px;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
.service-roof-page-template__price-section-content-image {
  max-width: 220px;
  width: 100%;
  margin: 0 auto;
  padding: 8px;
}
@media screen and (max-width: 480px) {
  .service-roof-page-template__price-section-content-image {
    max-width: 180px;
  }
}

/* 外壁リフォーム */
.service-outer-wall-page-template {
  margin: 0 auto;
}
.service-outer-wall-page-template__reform-section {
  position: relative;
  margin: 40px auto 80px;
  text-align: center;
}
@media screen and (max-width: 480px) {
  .service-outer-wall-page-template__reform-section {
    margin-bottom: 0;
  }
}
.service-outer-wall-page-template__reform-section-icon {
  margin: 0 auto;
  width: 100px;
}
@media screen and (max-width: 480px) {
  .service-outer-wall-page-template__reform-section-icon {
    position: absolute;
    top: 150px;
    right: 10%;
  }
}
@media screen and (max-width: 380px) {
  .service-outer-wall-page-template__reform-section-icon {
    top: 130px;
  }
}
.service-outer-wall-page-template__reform-section-content {
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
@media screen and (max-width: 834px) {
  .service-outer-wall-page-template__reform-section-content {
    padding: 0 24px;
  }
}
.service-outer-wall-page-template__reform-section-content-item {
  max-width: 550px;
  margin-left: 40px;
  margin: 0 auto;
}
.service-outer-wall-page-template__reform-section-content-image {
  max-width: 300px;
  margin: 0 40px auto 0;
}
@media screen and (max-width: 940px) {
  .service-outer-wall-page-template__reform-section-content-image {
    margin: 0 auto;
  }
}
@media screen and (max-width: 480px) {
  .service-outer-wall-page-template__reform-section-content-image {
    max-width: 200px;
    margin-left: 0;
  }
}
@media screen and (max-width: 380px) {
  .service-outer-wall-page-template__reform-section-content-image {
    max-width: 150px;
  }
}
.service-outer-wall-page-template__reform-section-content-title {
  display: table;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 8px;
}
@media screen and (max-width: 480px) {
  .service-outer-wall-page-template__reform-section-content-title {
    font-size: 20px;
  }
}
.service-outer-wall-page-template__reform-section-content-text {
  letter-spacing: 0.01em;
  line-height: 1.4;
  font-size: 16px;
  margin-bottom: 20px;
}
@media screen and (max-width: 480px) {
  .service-outer-wall-page-template__reform-section-content-text {
    font-size: 14px;
    margin-bottom: 16px;
  }
}

.service-outer-wall-page-template__flow-section {
  margin: 40px auto 80px;
  text-align: center;
}
.service-outer-wall-page-template__flow-section-content {
  max-width: 890px;
  margin: 0 auto;
  padding: 0 24px;
}
@media screen and (max-width: 834px) {
  .service-outer-wall-page-template__flow-section-content {
    max-width: 480px;
  }
}

.service-outer-wall-page-template__price-section {
  margin: 80px auto;
  text-align: center;
}
.service-outer-wall-page-template__price-section-content {
  margin: 0 auto 32px;
  max-width: 480px;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
.service-outer-wall-page-template__price-section-content-image {
  max-width: 220px;
  width: 100%;
  margin: 0 auto;
  padding: 8px;
}
@media screen and (max-width: 480px) {
  .service-outer-wall-page-template__price-section-content-image {
    max-width: 180px;
  }
}

/* 祖先カテゴリーページ */
.ancestor-category-page-template {
  margin: 0 auto;
}
.ancestor-category-page-template__posts-section {
  margin: 80px auto;
}
@media screen and (max-width: 480px) {
  .ancestor-category-page-template__posts-section {
    margin: 40px auto;
  }
}

/* カテゴリーページ */
.category-page-template {
  margin: 0 auto;
}
.category-page-template__posts-section {
  margin: 80px auto;
}
@media screen and (max-width: 480px) {
  .category-page-template__posts-section {
    margin: 40px auto;
  }
}

/* プライバシーポリシーページ */
.privacy-policy-page-template {
  max-width: 900px;
  margin: 0 auto;
}
@media screen and (max-width: 834px) {
  .privacy-policy-page-template {
    padding: 0 24px;
  }
}

.privacy-policy-page-template p {
  line-height: 1.4;
  font-size: 14px;
}
@media screen and (max-width: 834px) {
  .privacy-policy-page-template p {
    font-size: 12px;
  }
}

.privacy-policy-page-template h3 {
  margin-bottom: 8px;
}
.privacy-policy-page-template__beginning {
  margin: 48px 0;
}
@media screen and (max-width: 834px) {
  .privacy-policy-page-template__beginning {
    margin: 24px 0;
  }
}
.privacy-policy-page-template__paragraph {
  margin: 32px 0;
}
.privacy-policy-page-template__note-block {
  padding: 24px;
  margin: 24px 0;
  background-color: rgb(226, 226, 226);
}

/* 他社比較 お見積りページ */
.estimate-page-template {
  margin: 0 auto;
}
.estimate-page-template__about-section {
  margin: 40px auto 60px;
  text-align: center;
}
.estimate-page-template__about-section-icon {
  margin: 0 auto;
  max-width: 100px;
}
.estimate-page-template__about-section-content {
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
}
@media screen and (max-width: 834px) {
  .estimate-page-template__about-section-content {
    padding: 0 24px;
  }
}

.estimate-page-template__about-section-content-text {
  line-height: 1.4;
  font-size: 16px;
}
.estimate-page-template__about-section-content-image {
  margin: 32px auto;
}
@media screen and (max-width: 834px) {
  .estimate-page-template__about-section-content-image {
    max-width: 512px;
    margin-bottom: 0;
  }
}
.estimate-page-template__about-section-content-lead {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: var(--palroof-deep-green-color);
  margin-bottom: 8px;
}
@media screen and (max-width: 834px) {
  .estimate-page-template__about-section-content-lead {
    font-size: 20px;
    letter-spacing: -0.06em;
  }
}

.estimate-page-template__estimate-section {
  background-color: #f6f3e4;
  padding: 24px;
  margin: 0 auto;
  text-align: center;
}
.estimate-page-template__estimate-section-button {
  max-width: 280px;
  margin: 0 auto;
}
.estimate-page-template__estimate-section-link-text {
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto 16px;
}
.estimate-page-template__estimate-section-link-text > a {
  text-decoration: none;
}
.estimate-page-template__estimate-section-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  color: #f6f3e4;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  height: 100%;
}
.estimate-page-template__estimate-section-link:hover {
  opacity: 0.4;
  transition: ease-in-out;
  color: #f6f3e4;
}
.estimate-page-template__estimate-section-link.estimate {
  background-color: var(--palroof-deep-green-color);
  border: 2px solid var(--palroof-deep-green-color);
}
.estimate-page-template__estimate-section-link-calculator-icon {
  height: 36px;
  margin-right: 14px;
}
.estimate-page-template__flow-section {
  margin: 40px auto 20px;
  text-align: center;
}
.estimate-page-template__flow-section-content {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}
.estimate-page-template__flow-section-content-image {
  margin: 32px auto;
}
@media screen and (max-width: 834px) {
  .estimate-page-template__flow-section-content-image {
    max-width: 512px;
    margin-bottom: 0;
  }
}
.scroll-container #form-section {
  padding: 48px 0;
}
.estimate-page-template__form-section {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* お問い合わせページ */
.contact-page-template {
  max-width: 900px;
  margin: 24px auto 0;
}
.contact-page-template-tel {
  text-align: center;
  color: var(--palroof-deep-green-color);
  margin-bottom: 24px;
}
.contact-page-template-tel-title {
  font-size: 24px;
  font-weight: bold;
  margin: 24px 0;
  padding: 0;
}
.contact-page-template-tel-content {
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #f6f3e4;
}
.contact-page-template-tel-content-number {
  margin: 0;
  font-weight: bold;
}
.contact-page-template-tel-content-time {
  margin-left: 20px;
  font-size: 14px;
  color: var(--palroof-black-color);
}
.contact-page-template-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Contact Form 7カスタマイズ */
.wpcf7-form {
  font-size: 14px;
}
.wpcf7-form .wpcf7-form-control {
  font-size: 14px;
}
.wpcf7-form .inquiry tr {
  padding: 0 24px;
  background-color: #fff;
}
@media screen and (max-width: 834px) {
  .wpcf7-form .inquiry tr {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 368px) {
  .wpcf7-form .inquiry tr {
    padding: 0;
  }
}
/* 見出し欄 */
.wpcf7-form .inquiry th {
  font-size: 14px;
  color: var(--palroof-black-color);
  background-color: #fff;
  border: none;
  display: flex;
  align-items: start;
  width: 200px;
  padding: 14px 0;
}
@media screen and (max-width: 834px) {
  .wpcf7-form .inquiry th {
    padding-bottom: 0;
    padding-left: 4px;
  }
}
.wpcf7-form .inquiry th p {
  display: flex;
  align-items: center;
  margin: 0;
}
@media screen and (max-width: 834px) {
  .wpcf7-form .inquiry th p {
    flex-direction: row-reverse;
  }
  .wpcf7-form .inquiry th p span {
    margin-right: 8px;
  }
}

/* 通常欄 */
.wpcf7-form .inquiry td {
  background-color: #fff;
  border: none;
  width: 100%;
}
.wpcf7-form .inquiry td p {
  margin: 0;
}
/* 必須の調整 */
.wpcf7-form .required {
  margin-right: 8px;

  font-size: 8px;
  padding: 0 12px;
  background-color: #ff3939;
  color: #fff;
}
.wpcf7-form .optional {
  margin-right: 8px;

  width: 44px;
  background-color: inherit;
}
.wpcf7-form .wpcf7-list-item.first {
  margin: 0;
}
.wpcf7-form .wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  justify-content: space-between;
  padding-right: 40px;
  flex-wrap: wrap;
}
@media screen and (max-width: 834px) {
  .wpcf7-form .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
    width: auto;
  }
}
.wpcf7-form .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
  width: 140px;
}
@media screen and (max-width: 834px) {
  .wpcf7-form .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
    width: auto;
  }
}

.wpcf7-form .image-select .wpcf7-file {
  margin-bottom: 12px;
}
.wpcf7-form .image-select .image-select-note-text {
  margin: 0;
  line-height: 1.2;
}
.wpcf7-form .about-personal-information {
  background-color: #e2e2e2;
  width: 100%;
  height: 100%;
  font-size: 14px;
  padding: 16px 24px;
  margin-bottom: 40px;
}
@media screen and (max-width: 834px) {
  .wpcf7-form .about-personal-information {
    width: 92%;
    margin: 0 auto 40px;
  }
}
.wpcf7-form .about-personal-information-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}
@media screen and (max-width: 834px) {
  .wpcf7-form .about-personal-information-title {
    font-size: 14px;
  }
}
.wpcf7-form .about-personal-information-text {
  font-size: 14px;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
@media screen and (max-width: 834px) {
  .wpcf7-form .about-personal-information-text {
    font-size: 12px;
  }
}
/* 送信ボタンのデザイン変更 */
.wpcf7-form .formbtn {
  background-color: #fff;

  display: block;
  width: 300px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  border: 2px solid var(--palroof-deep-green-color);
  color: var(--palroof-deep-green-color);
  padding: 8px;
  text-align: center;
  text-decoration: none;
}
/* 送信ボタンマウスホバー時 */
.wpcf7-form .formbtn:hover {
  color: var(--palroof-deep-green-color);
  opacity: 0.4;
  transition: ease-in-out;
}
.wpcf7-form .notice-submit {
  margin: 0 auto;
  text-align: center;
  font-weight: bold;
}
.wpcf7-form .wpcf7-spinner {
  display: block;
  margin: 24px auto;
  text-align: center;
}

.mobile-header-menu-buttons {
  border-bottom: var(--palroof-deep-green-color) 4px solid;
}
.mobile-header-menu-buttons .logo-menu-button {
  width: auto;
  justify-content: space-between;
}

.palroof-mobile-header-logo {
  display: flex;
  margin-left: 8px;
}

.palroof-mobile-header-logo img:first-child {
  max-height: 54px;
  padding: 6px 0;
  padding-right: 12px;
  padding-left: 4px;
}
.palroof-mobile-header-logo img:nth-child(2) {
  max-height: 54px;
  padding: 14px 0;
}
@media screen and (max-width: 370px) {
  .palroof-mobile-header-logo img:nth-child(2) {
    display: none;
  }
}

.palroof-mobile-hamburger-menu-icon-label img {
  width: 100%;
  height: 70px;
  padding: 12px;
}

#palroof-mobile-hamburger-menu-toggle
  ~ .palroof-mobile-hamburger-menu-icon-label
  .open {
  display: block;
}
#palroof-mobile-hamburger-menu-toggle
  ~ .palroof-mobile-hamburger-menu-icon-label
  .close {
  display: none;
}

#palroof-mobile-hamburger-menu-toggle:checked
  ~ .palroof-mobile-hamburger-menu-icon-label
  .open {
  display: none;
}
#palroof-mobile-hamburger-menu-toggle:checked
  ~ .palroof-mobile-hamburger-menu-icon-label
  .close {
  display: block;
  max-width: 60px;
}

.palroof-mobile-hamburger-menu {
  position: absolute;
  top: 74px;
  right: 0;
  width: 100vw;

  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.palroof-mobile-hamburger-menu li {
  color: var(--palroof-deep-green-color);
  font-weight: bold;
  background-color: #fff;
  overflow: hidden;
}
.palroof-mobile-hamburger-menu a {
  color: var(--palroof-deep-green-color);
  text-decoration: none;
}
.palroof-mobile-hamburger-menu a:hover {
  opacity: 0.4;
}

#palroof-mobile-hamburger-menu-toggle ~ .palroof-mobile-hamburger-menu li {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
#palroof-mobile-hamburger-menu-toggle:checked
  ~ .palroof-mobile-hamburger-menu
  li {
  height: 40px;
  border-bottom: 2px solid #dedede;
}

.palroof-mobile-hamburger-menu li span {
  position: relative;
  display: block;
  padding: 8px 8px 8px 32px;
}
.palroof-mobile-hamburger-menu li label span::after {
  position: absolute;
  right: 24px;
  content: "ー";
  color: #dedede;
}

#palroof-mobile-hamburger-menu-toggle:checked
  ~ .palroof-mobile-hamburger-menu
  li:last-child {
  border-bottom: none;
}

#palroof-mobile-hamburger-menu-toggle:checked
  ~ .palroof-mobile-hamburger-menu
  .palroof-mobile-menu-button-list {
  height: 80px;
}

#palroof-mobile-hamburger-menu-toggle
  ~ .palroof-mobile-hamburger-menu
  li.palroof-mobile-hamburger-menu-about-item {
  height: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}
#palroof-mobile-hamburger-menu-toggle:checked
  ~ .palroof-mobile-hamburger-menu
  #palroof-mobile-hamburger-menu-about-toggle:checked
  ~ li.palroof-mobile-hamburger-menu-about-item {
  height: 40px;
  border-bottom: 2px solid #dedede;
}

#palroof-mobile-hamburger-menu-toggle
  ~ .palroof-mobile-hamburger-menu
  li.palroof-mobile-hamburger-menu-business-item {
  height: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}
#palroof-mobile-hamburger-menu-toggle:checked
  ~ .palroof-mobile-hamburger-menu
  #palroof-mobile-hamburger-menu-business-toggle:checked
  ~ li.palroof-mobile-hamburger-menu-business-item {
  height: 40px;
  border-bottom: 2px solid #dedede;
}

/* モバイルフッター */
.mobile-footer-menu-buttons {
  justify-content: space-around;
}

/* モバイルメニューボタンリスト */
.palroof-mobile-menu-button-list {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 2px 0;
}
.palroof-mobile-menu-button-list img {
  width: 156px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}
