/*
Theme Name:businesspress-child
Theme URI:
Description:WordPressテーマ「businesspress」の子テーマです。
Template:businesspress
Author:
Author URI:
Version:1.0.0
*/

/*----------------------------------------------------------*/
/* 共通 */
/*----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6, p, span {
  font-feature-settings: "palt";
  letter-spacing: 1px;
}
p {
  margin: 0 0 1.5em;
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
}
li {
  font-size: 15px;
  font-weight: 700;
}
.page table {
  margin-bottom: 0;
}
.wp-block-table td, .wp-block-table th {
  border: none;
}
.wp-block-table td:first-child {
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .wp-block-table table {
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
  }
  .wp-block-table table,
  .wp-block-table tr,
  .wp-block-table td {
    border: none !important;
  }
  .wp-block-table td {
    padding: 0 1em 9px 0;
    vertical-align: top;
    background-image: linear-gradient(#C2C2C2, #C2C2C2);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: calc(100% - 0.5em) 1px;
  }
  .wp-block-table td:first-child {
    width: 12em;
    white-space: nowrap;
    background-size: 90% 1px;
  }
  .wp-block-columns {
    flex-wrap: nowrap !important;
  }
}
@media screen and (max-width: 767px) {
  .wp-block-table td, .wp-block-table th {
    padding: 0;
  }
  table tr {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: solid 1px #c3c3c3;
    gap: 5px;
  }
  .table--row-border table td:nth-of-type(1) {
    width: 100%;
    font-size: 1.5rem;
    margin: 0 0 5px;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: 100% !important;
  }
  .wp-block-column {
    flex-basis: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}
/* ボタン */
.wp-block-button a, .btn a {
  display: inline-block;
  box-sizing: border-box;
  height: 100%;
  align-content: center;
  text-align: center;
  /* padding: 9px 24px; */
  padding: 5px 40px;
  border: solid 2px #000;
  border-radius: 9999px;
  background-color: #FFF;
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
  cursor: pointer;
}
.wp-block-button a:hover, .btn a:hover {
  background-color: #000;
  color: #FFF;
}

/* アーカイブ */
.archive .pagination {
  text-align: center;
}
.archive .pagination .page-numbers {
  margin-right: 10px !important;
}
.archive .pagination .page-numbers:last-child {
  margin-right: 0 !important;
}
.pagination .prev, .pagination .next {
  display: inline-block !important;
}
@media screen and (max-width: 767px) {
  .pagination .page-numbers {
    display: none;
  }
}
/* 投稿 */
.entry-text {
  margin-bottom: 2rem;
}
.entry-title, .entry-meta {
  letter-spacing: 2px;
}
.post-thumbnail {
  margin-top: 0;
}

.top-bar-content, .main-header-content, 
.featured-entry-content, .home-header-content, 
.jumbotron-content, .site-content, 
.container-content, .footer-widget-content, 
.site-bottom-content {
  max-width: 1000px;
}
@media screen and (min-width: 768px) {
  .top-bar-content, .main-header-content, .home-header-content, 
  .jumbotron-content, .featured-entry-content, .site-content, 
  .footer-widget-content, .site-bottom-content {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media screen and (min-width: 1024px) {
  .content-area {
    margin-bottom: 10rem;
  }
}

/* ヘッダー */
.main-header-clone {
  display: none;
}
.site-logo {
  width: 100%;
  max-width: 250px;
}
.menu-item a {
  font-size: 15px;
  font-weight: 700;
}
.site-header {
  border-bottom: none;
  margin-bottom: 0;
}
body:not(.home) .site-header {
  margin-bottom: 6.7rem;
}
@media screen and (min-width: 768px) {
  .main-header {
    position: relative;
    padding: 30px 0;
  }
  .main-header-content {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }
  .main-header-content .main-navigation {
    display: block;
  }
  .drawer-open .drawer-navigation {
    transform: none !important;
  }
  .drawer-hamburger,
  .drawer-navigation,
  .drawer-overlay {
    display: none !important;
  }
  .main-navigation {
    font-size: 90%;
    line-height: 1.8;
  }
  .main-navigation a {
    color: inherit;
    display: block;
    padding-left: 12px;
    padding-right: 12px;
    text-decoration: none;
  }
  .main-navigation ul {
    list-style: none;
    margin: 0;
  }
  .main-navigation div.menu > ul > li,
  .main-navigation ul.menu > li {
    display: inline-block;
  }
  .main-navigation div.menu > ul > li:first-child > a, .main-navigation ul.menu > li:first-child > a {
    padding-left: 0;
  }
  .menu-item a {
    font-size: 14px;
  }
  .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a {
    color: #111;
    font-weight: 700;
  }
  .menu-item:last-child a {
    padding-right: 0;
  }
  .site-branding {
    padding-right: 0;
  }
}
@media screen and (min-width: 1024px) {
  .menu-item a {
    font-size: 15px;
  }
  .main-navigation a {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* メインビジュアル */
.jumbotron {
  position: relative;
  margin: 0 auto;
}
.jumbotron-content {
  padding-bottom: 100px;
  padding-top: 100px;
}
@media screen and (min-width: 768px) { 
  .jumbotron {
    max-width: 100vw;
  }
  .jumbotron-content {
    padding-bottom: 150px;
    padding-top: 150px;
  }
}
@media screen and (min-width: 1024px) {
  .jumbotron {
    max-width: 1000px;
    border-radius: 35px;
  }
  .jumbotron-content {
    padding-bottom: 200px;
    padding-top: 200px;
    border-radius: 35px;
  }
}
.jumbotron-title {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  width: 50vw;
  max-width: 300px;
  padding: 0.5em 1em;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 1px;
  background-color: #E9E4DB;
  color: #000;
  border-radius: 13px;
  text-shadow: none;
}

/* ページ見出し */
.page-heading {
  max-width: 900px;
  text-align: center;
  margin: 0 auto 40px;
}
.page-heading__lead {
  display: inline-block;
  text-align: left;
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .page-heading__lead br {
    display: none;
  }
}

/* セクション見出し */
.section-heading {
  margin-top: 5.8rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .section-heading {
    margin-top: 7.8rem;
    margin-bottom: 3rem;
  }
}
.section-heading__title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-right: 3em;
  font-size: 1.6rem;
}
.section-heading__title::after {
  content: "";
  position: absolute;
  height: 1px;
  bottom: -5px;
  left: 0;
  width: 100%;
  background-color: #C2C2C2;
}

/* 背景 */
.bg--brown {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background-color: #E9E4DB;
}
.bg--brown .wp-block-group__inner-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5.8rem 20px;
}
@media (min-width: 768px) {
  .bg--brown .wp-block-group__inner-container {
    padding: 7.8rem 40px;
  }
}
.bg--brown .wp-block-group__inner-container > .section-heading:nth-of-type(1) {
  margin-top: 0;
}

/* カード */
.card-list__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 4.3rem;
}
.card--full {
  text-decoration: none;
}
.card__image {
  aspect-ratio: 7 / 5;
  object-fit: cover;
  width: 100%;
  margin: 0 0 30px;
  border-radius: 10px;
}
.card--image .card__image,
.card--before .card__image,
.card--after .card__image {
  margin-bottom: 0;
}
.card__period {
  margin: 0;
  text-align: center;
}
.card__title {
  position: relative;
  margin: 0 0 25px;
  color: #AD9F92;
  text-align: center;
  letter-spacing: 0.5px;
}
.card__title::after {
  content: "";
  position: absolute;
  height: 1px;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  background-color: #AD9F92;
}
.card--button .card__title::after {
  content: none;
}
.card__text {
  margin-bottom: 0;
  font-size: 14px;
  text-align: center;
  color: #444444;
  letter-spacing: 1px;
}
@media (max-width: 767px) {
  .card__text br {
    display: none;
  }
}
.card--button .btn {
  text-align: center;
}

.label {
  display: inline-block;
  padding: 0 5px;
  border-radius: 2px;
  color: #FFF;
  background-color: #000;
  font-size: 13px;
  font-weight: 700;
}
.date {
  color: #818181;
  font-size: 12px;
  font-weight: 700;
}

/* フッター */
.site-footer {
  position: relative;
}
.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2rem;
  background: #000;
}
.site-bottom {
  padding-top: 4rem !important;
  padding-bottom: 4rem;
  background-color: #D2CCC0 !important;
}
@media (max-width: 767px) {
  .footer-menu {
    display: none;
  }
}
.footer-navigation, .site-info  {
  float: none;
}
.footer-navigation ul {
  margin: 0 0 15px;
}
.footer-navigation a {
  color: #FFF;
}
.footer-logo {
  width: 100%;
  max-width: 250px;
  margin-bottom: 30px;
}
.site-copyright {
  color: #FFF;
  text-align: center;
}

/*----------------------------------------------------------*/
/* トップ */
/*----------------------------------------------------------*/
.home .site-header {
  position: relative;
  z-index: 1;
}
.home-header {
  position: relative;
  width: 100vw;
}
.home-header-content {
  padding-bottom: 150px;
  padding-top: 150px;
}
@media screen and (min-width: 768px) {
  .home-header-content {
    padding-bottom: 220px;
    padding-top: 220px;
  }
  .home .card-list__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .home-header {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 35px;
  }
  .home-header-content {
    padding-bottom: 290px;
    padding-top: 290px;
  }
}
.home-header__text {
  display: none;
}
@media screen and (min-width: 1280px) {
  .home-header__text {
    display: block;
    position: absolute;
    height: 450px;
    writing-mode: vertical-rl;
    font-size: 15px;
    text-align: center;
    letter-spacing: 0.2em;
  }
  .home-header__text--left {
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
  }
  .home-header__text--right {
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
  }
}
.home .bg--brown {
  margin-top: -130px !important;
  padding-top: 130px;
}
.image--decoration {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
}
.image--decoration img {
  width: 100vw;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 0;
}
@media screen and (min-width: 768px) {
  .image--decoration {
    margin-left: 0;
    margin-right: 0;
   
  }
  .image--decoration img {
    width: 100%;
    border-radius: 40px;
  }
}
.image--decoration--middle {
  position: relative;
  z-index: 1;
}
/* ごあいさつ */
.home .entry-content > .bg--brown:nth-of-type(1) .page-heading__title {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .home .entry-content > .bg--brown:nth-of-type(1) .wp-block-group__inner-container {
    padding-bottom: 0;
  }
}
/* 私たちの仕事 */
.home .section-heading + p {
  max-inline-size: max-content;
  margin-inline: auto;
  margin-bottom: 40px;
}
.home .wp-block-lazyblock-card-full {
  margin-bottom: 5.8rem;
}
@media screen and (min-width: 768px) {
  .home .wp-block-lazyblock-card-full {
    margin-bottom: 7.8rem;
  }
}
/* お知らせ */
/* .home .entry-content > .wp-block-group.bg--brown:has(.top-news-columns) {
  margin-bottom: 5.8rem;
} */
@media screen and (min-width: 768px) {
  .home .entry-content > .wp-block-group.bg--brown:has(.top-news-columns) {
    margin-bottom: 7.8rem;
  }
}
.top-news-columns {
  flex-wrap: wrap !important;
  margin-bottom: 0;
}
@media screen and (min-width: 1024px) {
  .top-news-columns {
    flex-wrap: nowrap !important;
  }
}
.top-news-columns .wp-block-column:nth-of-type(1) {
  flex-basis: 20% !important;
}
.top-news-columns .wp-block-column:nth-of-type(2) {
  flex-basis: 80% !important;
}
.post-list {
  margin-bottom: 60px;
}
.post-list__link {
  display: grid;
  grid-template-columns: minmax(300px, 40%) 1fr;
  column-gap: 20px;
  padding-top: 40px;
  margin-bottom: 40px !important;
  border-top: solid 1px #C2C2C2;
  text-decoration: none;
}
.home .post-list__link:first-child {
  padding-top: 0;
  border-top: none;
}
.home .post-list__link:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .post-list__link {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
}
.post-list__thumb {
  display: block;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.post-list__meta {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
  gap: 8px;
}
.post-list__title {
  margin: 0 0 10px;
  font-size: 19px;
}
.post-list__excerpt {
  margin-bottom: 0;
  color: #818181;
  line-height: 1.7;
}
.home .post-list + .btn {
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .home .post-list {
    margin-top: 34px !important;
  }
  .home .post-list > .post-list__link:first-child {
    padding-top: 40px;
    border-top: solid 1px #C2C2C2;
  }
  .home .post-list + .btn {
    text-align: right;
  }
}
/* Instagram */
.top-instagram {
  position: relative;
  max-width: 880px;
  margin: -5em auto 0;
  border-radius: 30px;
  background-color: #FFF;
  z-index: 1;
}
.top-instagram .wp-block-group__inner-container {
  padding: 60px 40px;
}
.top-instagram .wp-block-heading {
  margin-top: 0;
}

/*----------------------------------------------------------*/
/* お知らせ */
/*----------------------------------------------------------*/

/* アーカイブ */
.hentry {
  margin-bottom: 0;
}
.post-full:after, .post-summary:after {
  content: none;
}
.post-type-archive-post .post-list {
  margin-bottom: 3.8rem;
}
.post-type-archive-post .post-list__link {
  grid-template-columns: minmax(300px, 30%) 1fr;
}

/* 投稿 */
.single-post .site-content {
  max-width: 700px;
  margin: 0 auto;
}
.single .hentry {
  margin-bottom: 3.8rem;
}
.entry-title, .entry-meta {
  text-align: left;
}
.no-sidebar .post-thumbnail {
  margin-left: 0;
  margin-right: 0;
}
.single-post .btn {
  text-align: center;
}

/*----------------------------------------------------------*/
/* 介護用品 */
/*----------------------------------------------------------*/
p.page-heading__lead br:nth-of-type(n+4) {
  display: block;
}
.flow__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.flow__image img {
  border-radius: 12px;
}
.flow__label {
  margin-bottom: 20px;
}
.flow__expl {
  margin-top: 0;
  margin-bottom: 10px;
}
.flow__remarks {
  margin-bottom: 0;
}
.flow__arrow {
  margin: 20px 0;
}
.flow__arrow img {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
  .flow__inner {
    flex-direction: row;
  }
  .flow__image {
    width: 300px;
  }
  .flow__arrow img {
    left: 150px;
    width: 50px; 
  }
}
.page-id-16 .access--furniture {
  margin-bottom: 3.8rem;
}

/*----------------------------------------------------------*/
/* 施工事例 */
/*----------------------------------------------------------*/

/* アーカイブ */
.post-type-archive-works .card-list {
  margin-bottom: 3.8rem;
}

/* 投稿 */
.before-after {
  margin-bottom: 3.8rem;
}
@media screen and (min-width: 768px) {
  .single-works .page-heading__lead {
    text-align: center;
  }
}
.single-works .btn {
  text-align: center;
}

/*----------------------------------------------------------*/
/* 会社概要 */
/*----------------------------------------------------------*/
.columns--company .page-heading {
  text-align: left;
}
.columns--company .page-heading .page-heading__title {
  font-size: 1.75rem;
}
.columns--company img {
  border-radius: 10px;
}

/*----------------------------------------------------------*/
/* 採用情報 */
/*----------------------------------------------------------*/
.page-id-22 table {
  margin-bottom: 3.8rem;
}

/*----------------------------------------------------------*/
/* お問い合わせ */
/*----------------------------------------------------------*/
.page-id-24 .content-area {
  margin-bottom: 0;
}
.page-id-24 .wp-block-table {
  max-width: 630px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .page-id-24 .wp-block-table tr td:first-of-type {
    width: 6em;
  }
}
.page-id-24 .wp-block-table,
.wpcf7 .wpcf7-form {
  max-width: 630px;
  margin: 0 auto;
}
.wpcf7 .wpcf7-form p {
  max-inline-size: max-content;
  margin-inline: auto;
  margin-bottom: 40px;
}
@media screen and (min-width: 768px) {
  .wpcf7 .wpcf7-form p {
    margin-bottom: 80px;
  }
}
.wpcf7 .form-item {
  margin-bottom: 20px;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], 
.wpcf7 input[type="password"], .wpcf7 input[type="search"], .wpcf7 textarea {
  width: 100%;
  margin-top: 0.6em;
  padding: 0.8em 1em;
  font-size: 16px;
  background-color: #FFF;
  border: solid 1px #C9C9C9;
  border-radius: 50px;
}
.wpcf7 textarea {
  padding: 1em;
  border-radius: 30px;
}
.wpcf7 select {
  padding: 1em;
}
.wpcf7 input, .wpcf7 .wpcf7-form-control {
  margin-top: 0.6em;
}
.wpcf7 .wpcf7-radio {
  display: flex;
  flex-direction: column;
}
.wpcf7 .required::after {
  content: "必須";
  margin-left: 7px;
  padding: 3px 10px;
  background-color: #95702D;
  color: #FFF;
  font-size: 1rem;
  border-radius: 5px;
}
.wpcf7 .privacy-area, 
.wpcf7 .submit-area {
  text-align: center;
}
.wpcf7 .privacy-area {
  margin-bottom: 40px;
}
.wpcf7 .wpcf7-checkbox .wpcf7-list-item {
  margin-left: 0;
}
.wpcf7 .privacy-link {
  margin: 15px 0 0;
}
.wpcf7 .privacy-link::before,
.wpcf7 .privacy-link::after {
  content: "｜";
}
.wpcf7 .privacy-link a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.wpcf7 input[type="submit"] {
  margin: 0;
  background-color: #FFF;
  color: #000;
  font-size: 1.5rem;
  font-weight: 500;
  border: solid 1px #0D83C7;
  border-radius: 0;
}
.wpcf7 input[type="submit"]:hover {
  background-color: #0D83C7;
  color: #FFF;
}

.wpcf7 .submit-btn__wrapper {
  position: relative;
  width: fit-content;
  margin: 0 auto 40px;
}
.wpcf7 input[type="submit"] {
  padding-left: 65px;
}
.wpcf7 .submit-btn__wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 30px; 
  transform: translateY(-50%); 
  width: 20px;
  height: 20px;
  background-image: url("images/icon-submit.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}
.wpcf7 .wpcf7-spinner {
  display: none;
}
/* .wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
  margin: 0 auto;
} */

/* --- モーダル --- */
.privacy-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.privacy-modal.is-open {
  display: block;
}
.privacy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}
.privacy-modal__content {
  position: relative;
  max-width: 700px;
  max-height: 80vh;
  margin: 5vh auto;
  padding: 30px;
  background-color: #fff;
  overflow-y: auto;
  border-radius: 8px;
}
.privacy-modal__body h1 {
  margin-top: 0;
}
.privacy-modal__body h2 {
  margin-bottom: 1em; 
  margin-top: 2em;
}
.privacy-modal__close {
  position: sticky;
  top: 0;
  left: 100%;
  padding: 0;
  font-size: 30px;
  color: #000;
  background-color: transparent;
}

/*----------------------------------------------------------*/
/* アクセス */
/*----------------------------------------------------------*/
.access {
  margin-bottom: 40px;
}
.access table tr:first-child td:last-child {
  display: none;
}
/* .access table tr:first-child {
  width: 120px;
} */
@media screen and (min-width: 768px) {
  .access table td:first-child {
    width: 7em;
  }
}