@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500&family=Jost:wght@400&family=Playfair+Display+SC&display=swap");

:root {
  --theme-color-lightest: #fbe4eb;
  --theme-color-lighter: #ee8aa8;
  --theme-color-light: #e44877;
  --theme-color: #de1f57;
  --theme-color-dark: #ae1845;
  --theme-color-darker: #811233;
  --theme-color-darkest: #540c21;

  --theme-color-pair-lightest: #dcf5fe;
  --theme-color-pair-lighter: #46cafb;
  --theme-color-pair-light: #04b1ef;
  --theme-color-pair: #038abf;
  --theme-color-pair-dark: #02678b;
  --theme-color-pair-darker: #014259;
  --theme-color-pair-darkest: #013040;

  --theme-color-light-blue: #6882a1; /* rgba(104,130,161,1)*/
  --theme-color-blue: #091358;
  --theme-color-dark-blue: #0d0829;
  --theme-color-red: #b60002;
  --theme-color-dark-red: #690308;

  --theme-color-gray: #e5e4e6;
}

/* -------------------- 共通ルール ------------------------ */

#header-container:not(.fixed-header) .header-in,
.article-header,
.breadcrumb-item .fa-folder,
.breadcrumb-item .fa-file,
.breadcrumb-item .fa-file-o,
.footer-meta {
  display: none;
}
/* ▼▼▼ bootstrap hook */
.breadcrumb-item + .breadcrumb-item::before {
  display: none;
}
li label {
  display: initial;
}
/* ▲▲▲ bootstrap hook */
body.home #header-fixed {
  padding-top: 0 !important;
}
body:not(.home) #header-fixed + .content {
  margin-top: 100px; /* .content のマージントップ + nav メニューの高さ */
}
body.home .content {
  margin-top: 0;
}
.header-container-in {
  height: 100%;
}
.header {
  height: auto;
  font-family: Jost;
}
body {
  text-align: justify;
  text-justify: inter-ideograph;
}
body.public-page,
.main {
  background-color: #e5e4e6;
}
.color-techne {
  background: var(--theme-color-light-blue) !important;
}
.article p {
  margin: 0.5em 0;
}
.bg_black {
  background-color: black;
}
.bg_white {
  background-color: white;
}
.bg_fix {
  background-attachment: fixed; /*--背景画像の固定--*/
}
.blur {
  filter: blur(10px);
}
.w10 {
  width: 10%;
}
.w20 {
  width: 20%;
}
.w30 {
  width: 30%;
}
.w40 {
  width: 40%;
}
.w50 {
  width: 50%;
}
.w60 {
  width: 60%;
}
.w70 {
  width: 70%;
}
.w80 {
  width: 80%;
}
.w90 {
  width: 90%;
}
.w100 {
  width: 100%;
}
.max-w500 {
  max-width: 500px;
}
.max-w600 {
  max-width: 600px;
}
.max-w700 {
  max-width: 700px;
}
.max-w800 {
  max-width: 800px;
}
.max-w900 {
  max-width: 900px;
}
.max-w1000 {
  max-width: 1000px;
}
.max-w1100 {
  max-width: 1100px;
}
.max-w1200 {
  max-width: 1200px;
}
.max-w1300 {
  max-width: 1300px;
}
.max-w1400 {
  max-width: 1400px;
}
/* 見出し リセット */
.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6,
.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5,
.sidebar h6 {
  background: none;
  border: none;
  font-weight: normal;
  border-radius: 0;
  padding: 0;
  margin: 60px 0 20px;
}
.article h2:first-child {
  margin-top: 0;
}
.widget-sidebar h3 {
  font-size: 1.4rem;
}
/*記事ページのh1非表示*/
.single .article h1 {
  display: none;
}
.border-left {
  padding: 6px 10px !important;
  border-left: 4px solid var(--main-color) !important;
}
.border_top {
  border-top: 3px solid var(--theme-color-pair-light) !important;
  display: table;
  margin: 0 auto 60px !important;
  padding-top: 22px !important;
}
.border_top .en {
  display: block;
  color: var(--theme-color-light);
}
.d-none {
  display: none;
}
.sp_show {
  display: none;
}
.text-shadow {
  text-shadow: #333 1px 1px 1px;
}
.full-wide {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  padding: 0;
  margin: 0 -50vw;
  /* align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center center; */
}
a.phone {
  text-decoration: none !important;
}
a.button {
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  text-decoration: none;
  color: white;
  height: 66px;
  background: var(--theme-color-dark-blue);
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: -0.3px;
  padding: 18px 33px 20px;
  margin: 20px 0;
  vertical-align: middle;
}
a.button:hover {
  background: var(--theme-color-blue);
}
.opacity-0 {
  opacity: 0;
  cursor: none;
}
.desc {
  font-size: 0.92rem;
  font-weight: normal;
}
.rich_font {
  font-family: "リュウミン R-KL" !important;
}
.rich_font_bold {
  font-family: "リュウミン B-KL" !important;
}
.text_gray {
  color: gray;
}
/* top ページ */
.catch_en {
  font-size: 0.95rem;
  font-family: Jost;
  font-weight: 400;
  color: var(--theme-color-light-blue);
  text-transform: uppercase;
}
.center_line {
  display: flex;
  align-items: center;
  justify-content: center;
}
.center_line::before {
  margin-right: 0.8rem;
}
.center_line::after {
  margin-left: 0.8rem;
}
.center_line::before,
.center_line:after {
  border-top: 1px solid var(--theme-color);
  width: 5rem;
  content: "";
}
.align-center {
  margin-left: auto;
  margin-right: auto;
}
/* 正円トリミング */
.circle {
  border-radius: 50%;
}
.grid-box {
  display: grid;
}
.grid-box * {
  box-sizing: border-box;
  transition: all 0.35s ease;
}
.grid-box.item-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-box.item-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-box.item-5 {
  grid-template-columns: repeat(5, 1fr);
}
.grid-box .grid-item {
  position: relative;
  width: auto;
  height: auto;
  overflow: hidden;
  color: #000000;
  background-image: linear-gradient(to bottom, #ffffff 0%, #000000 70%);
}
.grid-box .square-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid-box figcaption {
  position: absolute;
  padding: 0;
  bottom: 0%;
  left: 0;
  width: 100%;
  z-index: 0;
  /* Y軸 要素の高100%下へ移動*/
  transform: translateY(100%);
}
.grid-box .grid-item h3.category,
.grid-box .grid-item p.bukken {
  margin: 0;
  width: 100%;
  padding: 10px 20px;
}
.grid-box .grid-item h3.category {
  color: white;
  position: absolute;
  bottom: 100%;
  display: inline-block;
  font-family: "Cinzel";
  font-size: 1.1rem;
}
.grid-box .grid-item p.bukken {
  background: rgba(255, 255, 255, 0.9);
  text-align: right;
  bottom: 0;
  font-size: 1rem;
}
.grid-box .grid-item:hover {
  cursor: pointer;
}
.grid-box .grid-item:hover img {
  opacity: 0.4;
  transform: scale(1.2);
}
.grid-box .grid-item:hover figcaption {
  transform: translateY(0);
}
/* 本文リスト／Font Awesome 5 で装飾 */
.article ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article ul li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  margin-right: 3px;
  color: var(--theme-color);
}
.article ul.check_circle li::before {
  padding-right: 6px;
  content: "\f058";
}
.article ul.check_circle li {
  padding-left: 1.5em;
  text-indent: -1.5em;
}
.filter-gray {
  filter: grayscale(1);
}
/* ▲ここまで共通 */

/* メニュー -------------------------------------*/
#navi {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  font-weight: 300;
  z-index: 1;
}
.home #navi {
  background-color: transparent !important;
}
.is-header-fixed .header-container {
  height: 60px;
}
.header-container-in .header {
  z-index: 6;
}
.header-container-in.hlt-top-menu.wrap {
  margin: 0;
}
.header-container-in.hlt-top-menu .logo-header img {
  position: relative;
  max-width: 40px;
  max-height: 40px;
}
.fixed-header #navi,
body:not(.home) #navi {
  transition: all 0.3s ease 0s, background-color 0.3s ease 0.2s;
}
#navi i {
  opacity: 0.7;
}
#header-container .navi.hide {
  transform: translateY(-100%);
}
#navi .navi-in a,
.navi-footer-in a {
  color: white;
  transition: 1s linear;
}
body:not(.home) .navi a,
.fixed-header .navi-in a {
  color: #333 !important;
}
#navi .navi-in a:hover,
#navi-footer .navi-footer-in a:hover {
  color: white !important;
  background-color: var(--theme-color-pair-dark) !important;
  transition: 0.5s ease-in-out;
}
#navi a:hover i,
.navi-footer-in a:hover i {
  color: white;
  opacity: 0.9;
}
/* サイトトップは HOME ボタン非表示 */
.home #navi ul li:first-child,
.home #navi-footer ul li:first-child {
  display: none;
}
/* 現在の URL からメニューをハイライト */
/* active クラスは js にて設定 */
body:not(.home) #navi .navi-in a.active {
  background-color: var(
    --theme-color-pair-lightest
  ); /*テーマカラーより若干濃く*/
}
.menu-content {
  max-width: 180px;
}

/* -------------------------- 固定ページ --------------------------- */

.page h1.title {
  font-family: "Cinzel";
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1.3;
}

/* .page h2.title {
  font-family: "Cinzel";
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1.3;
} */

/* CONCEPT ----------------------------------------- */
body.concept .concept_box {
  gap: 50px;
}
body.concept .concept_box .title {
  font-size: 1.3rem;
  font-weight: bold;
  font-family: "リュウミン B-KL";
  text-align: center;
  padding: 6px;
}
body.concept .concept_box .description {
  font-size: 0.94rem;
  text-align: justify;
  padding: 6px;
}
body.concept svg.line_anim {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
body.concept svg#condominium {
  width: 30vw;
  height: auto;
  fill: none;
  stroke: #ee8aa8;
  stroke-opacity: 0.3;
  stroke-width: 0.25;
  stroke-miterlimit: 10;
}

.page .header-box .map {
  /* width: 80%; */
  margin: 60px 0;
  overflow: hidden;
}
/* 地図（トップ・アクセスページ） */
.map {
  position: relative;
  height: 450px;
  width: 100%;
  overflow: hidden;
}
.main-contents .right-box .map {
  height: 250px;
  padding: 0 4px 4px;
  background-color: #f4f4f4;
}
.main-contents .right-box iframe {
  width: calc(100% - 12px);
  margin: 0 6px 6px;
}
.map iframe {
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: calc(100% + 150px + 150px);
  pointer-events: none;
}
.map--gray iframe {
  filter: grayscale(100%);
}
.map .balloon-pin {
  position: absolute;
  top: calc(50% - 125px);
  left: calc(50% - 55px);
  display: flex;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: var(--theme-color);
  font-family: Jost;
  font-size: 0.8rem;
  color: white;
  z-index: 99;
  filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.9));
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-name: balloon-pin-fadeInOut;
  animation-timing-function: cubic-bezier(0.28, 0.84, 0.42, 1);
}
.map .balloon-pin:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: calc(50% - 10px);
  bottom: -20px;
  border-style: solid;
  border-width: 30px 8px 0 8px;
  border-color: var(--theme-color) transparent transparent transparent;
}
@keyframes balloon-pin-fadeInOut {
  /* これを使うときは animation-duration を 2s で */
  0% {
    opacity: 0;
  } /* scale(横,縦) */
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* ARCHITECT --------- 固定ページ／横田所長 -------------------- */
body.architect .user_info {
  padding: 100px;
  background: #f4f4f4;
}
body.architect .name_area .position {
  font-size: 0.94rem;
}
body.architect .name_area .name {
  font-size: 1.8rem;
}
body.architect .name_area .furigana {
  font-size: 1rem;
  font-weight: 300;
}
body.architect .post_content {
  font-size: 0.95rem;
}
body.architect .post_content.book {
  margin-top: 100px;
}
body.architect dl.profile_lists {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  margin: 0;
  font-family: Arial;
  font-size: 0.9rem;
}
body.architect dl.profile_lists dt {
  padding: 5px 8px;
  width: 290px;
  text-align: right;
}
body.architect dl.profile_lists dd {
  padding: 5px 8px;
  margin: 0;
  width: calc(100% - 290px);
}
/* 固定ページ下部　画像３段組 */
body.page .grid-box {
  gap: 5%;
  /* margin: 10vw; */
}

/* 記事ページ ----------------------------------　*/
body.single.gallery .main-contents {
  font-size: 0.9rem;
  text-align: justify;
}
body.single.gallery .main-contents .left-box {
  width: 100%;
}
body.single.gallery .main-contents .left-box #image-box {
  position: relative;
  height: 500px;
}
body.single.gallery .main-contents .left-box #coverImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity 1.5s, visibility 1.5s;
  opacity: 0;
  visibility: hidden;
}
body.single.gallery .main-contents .left-box #mainImage {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
}
body.single.gallery .right-box .table-project th {
  width: 80px;
  /* text-align: right;
  font-weight: normal; */
}
.table-border-no,
.table-border-no th,
.table-border-no td {
  border: 0px none !important;
}
body.single.gallery .date-tags {
  display: none;
}
body.single.gallery .main-contents h3 {
  font-size: 1.05rem;
  font-weight: normal;
  font-family: "リュウミン R-KL";
  line-height: 1.5;
  letter-spacing: -0.1px;
  margin-top: 0;
  color: var(--theme-color-pair);
}
body.single.gallery .right-box {
  text-align: justify;
  min-width: 360px !important;
}
body.single.gallery .right-box .title {
  padding: 8px;
  color: white;
  text-align: center;
  background-color: var(--theme-color-pair-dark);
}
body.single.gallery .staff-circle {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  object-fit: cover;
  border-radius: 50%;
  align-items: center;
}
body.single.gallery .right-box .thumbnail-box {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* padding-top: 10px; */
  background-color: #f4f4f4;
}
body.single.gallery .right-box .thumbnail-box .image-box {
  overflow: hidden;
}
body.single.gallery .right-box .thumbnail-box .image-box .image::before {
  content: "";
  display: block;
  padding-top: 100%;
}
body.single.gallery .right-box .thumbnail-box .image-box .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.3);
  transition-property: transform;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}
body.single.gallery .right-box .thumbnail-box .image-box:hover .image {
  cursor: pointer;
  transform: scale(1);
}
body.single.gallery .right-box .description-box {
  padding: 40px;
  background-color: #f4f4f4;
}
body.single.gallery .right-box .desc-title {
  color: var(--theme-color-pair);
  padding-top: 20px;
}
body.single.gallery .right-box .table-project {
  font-size: 0.8rem;
}
body.single.gallery .right-box .table-project tr {
  background-color: transparent;
}

body.single.gallery .sub-contents {
  background-color: #f4f4f4;
  /* margin-top: 100px;
  margin-bottom: 100px; */
}
body.single.gallery .sub-contents .title {
  color: #333;
  margin-top: 20px;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  font-family: "リュウミン R-KL" !important;
}
body.single.gallery .sub-contents .text-box {
  display: grid;
  place-content: center;
  place-items: center;
  text-align: justify;
  font-size: 0.9rem;
  line-height: 2;
  padding: 0 8%;
}
body.single.gallery .description-text {
  font-size: 0.98rem;
}
.image-box img,
body.single.gallery .full-width {
  width: 100%;
  margin: 0;
}
body.single.gallery .right-box {
  min-width: initial;
}
body.single.gallery .fixed-image {
  display: grid;
  place-items: center;
  place-content: center;
  width: 100%;
  min-height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
body.single.gallery .fixed-image::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}
body.gallery.single .fixed-image img {
  z-index: 1;
}

/* フッター手前の情報ボックス -------------------------------------------------- */
#footer-info-box {
  font-size: 1rem;
}
#footer-info-box .free-dial {
  margin: 15px 0;
}
#footer-info-box .footer-title {
  font-size: 2.1rem;
}
#footer-info-box svg#a_techne_logo {
  width: 120px;
  height: auto;
  margin: 0 auto;
}

/* footer box ---------------------------------------------------------- */
#footer_box .child {
  text-shadow: #666 1px 1px 1px;
  width: 100%;
}
#footer_box .child:nth-child(1) {
  background-color: #ffb6b9;
}
#footer_box .child:nth-child(2) {
  background-color: #fae3d9;
}
#footer_box .child:nth-child(3) {
  background-color: #bbded6;
}
#footer_box .child:nth-child(4) {
  background-color: #8ac6d1;
}
#footer_box .child.image_wrap::before {
  content: "";
  display: block;
  padding-top: calc(100% / 4 * 3);
}
#footer_box .child.image_wrap {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
}
#footer_box .child .image {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  will-change: transform;
  transition: transform 1s ease;
  background-position: center;
  background-size: cover;
}
#footer_box .child .image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.8) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}
.child .image:hover {
  transform: scale(1.2);
  transition: 0.5s ease-in-out;
}
#footer_box .bg_concept {
  background-image: url(https://a-techne.co.jp/image/residence/matsu_y/4.webp);
}
#footer_box .bg_architect {
  background-image: url(https://a-techne.co.jp/image/residence/matsu_y/2.webp);
}
#footer_box .bg_recruit {
  background-image: url(https://a-techne.co.jp/image/residence/matsu_y/5.webp);
}
#footer_box .title_box {
  position: absolute;
  top: 20%;
  padding: 0 20px;
  color: white;
  pointer-events: none;
}
#footer_box .description {
  display: block;
  line-height: 1.7; /* default 1.5 */
}

/* footer -------------------------------------------------------- */
#footer {
  margin-top: 0;
  padding: 0;
  position: relative;
  display: flex;
  width: 100vw;
  left: 50%;
  right: 50%;
  padding: 0;
  margin: 0 -50vw;
  align-items: center;
  justify-content: center;
  background-color: var(--theme-color-dark-blue);
}
.footer-bottom {
  padding: 0;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin: 0 -50vw;
}
.navi-footer {
  background-color: #efefef;
}
.navi-footer li {
  border: none !important;
}
#footer .copyright {
  color: white;
  padding: 15px 0;
}
#footer li {
  border-left: none;
  overflow: hidden;
}
#footer a {
  display: block;
  padding: 18px;
  color: #555;
  transition: 0.5s linear;
}
#footer a:hover {
  transform: scale(1.1);
}
.go-to-top {
  right: 0;
  bottom: 0;
}
.go-to-top-button {
  width: 59px;
  height: 59px;
  color: var(--theme-color-pair-lightest);
  background-color: var(--theme-color-dark-blue);
  border-radius: 0;
}
.go-to-top-button:hover {
  color: white;
  background-color: var(--theme-color-blue);
}
/* カテゴリー一覧用（トップページ） */
.category_box {
  display: grid;
  place-items: center;
  min-height: 120vh;
  padding: 50px 50px 100px;
  margin-top: 100px;
  margin-bottom: 100px;
}
.category_box a {
  text-decoration: none;
  color: white;
}
.category_box a:hover {
  color: var(--theme-color-light-blue);
}
.category_box .bukken-box {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
  color: white;
  z-index: 1;
}
.category_box::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  filter: brightness(60%);
  z-index: 0;
}

.category_box h2 {
  z-index: 1;
  margin: 20px 0;
}

.category_box .bukken-box .image {
  display: block;
  width: 160px;
  height: auto;
  background-size: cover;
  background-position: center;
  transition: 1s linear;
}

.category_box .bukken-box .image::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.category_box .bukken-box .image_wrap {
  position: relative;
  overflow: hidden;
}

.category_box .bukken-box .text_wrap {
  padding: 15px;
  background-color: var(--theme-color-light-blue);
  transition: 1s linear;
}

.category_box .bukken-box .text_wrap .jp {
  font-family: Jost, "Noto Sans JP";
  font-size: 0.95rem;
}

.category_box .bukken-box .text_wrap p {
  font-size: 0.85rem;
  margin: 0;
}

.category_box .bukken-box .item-box {
  cursor: pointer;
}

.category_box .bukken-box .item-box:hover .text_wrap {
  background-color: black;
  transition: 0.2s ease-in-out;
}

.category_box .bukken-box .item-box:hover .image {
  transform: scale(1.2);
  transition: 0.5s ease-in-out;
}

.category_box .bukken-box .item-box:hover .text {
  color: var(--theme-color-pair-lighter);
  transition: 0.2s ease-in-out;
}

.category_box .bukken-box .image_wrap .en {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 10px;
  color: white;
  background-color: var(--theme-color-pair-light);
  z-index: 2;
}
/* 問い合わせフォーム ----------------- */
body.contact .article {
  max-width: 800px;
  margin: 0 auto;
}

.table-contact {
  font-size: 0.82rem;
}
.table-contact p,
div#consent p {
  margin: 0;
  padding: 0;
}
.table-contact th,
.table-contact td {
  border: 1px solid #bbb;
}
.table-contact th {
  padding: 20px 30px;
  align-items: center;
  width: 240px;
  font-weight: normal;
  background: white;
}
.table-contact td {
  padding: 10px 20px;
  font-weight: normal;
  background: #e5e4e6;
}
body.contact-confirm .table-contact td {
  background-color: #efefef;
}
.table-contact input,
.table-contact textarea {
  line-height: 2;
  font-size: 0.88rem;
  padding: 3px 6px;
  border-radius: 0 !important;
  background: white;
}
/* required クラスの背景色 */
.table-contact .wpcf7-validates-as-required {
  background: #ffdfdf;
}
/* js 入力されたら背景色をしろ */
.table-contact .input {
  background: white;
}
.table-contact .hissu {
  font-size: 0.7rem;
  padding: 0 6px;
  height: 22px;
  color: white;
  background: var(--theme-color-pair-dark);
  margin-left: auto;
}

body.contact .agreement {
  background: white;
  padding: 20px 10px;
}
body.contact .agreement .scr_box {
  background: #eee;
  padding: 8px 20px !important;
  width: 98%;
  height: 270px;
  font-size: 0.8rem;
  border-radius: 5px;
  margin: 0 auto 29px;
  box-sizing: border-box;
  overflow: auto;
}
body.contact div#consent {
  background: var(--theme-color-pair);
  padding: 20px;
  text-align: center;
  color: white;
}
body.contact .form-check p {
  vertical-align: baseline !important;
}
body.contact .form-check .form-check-input {
  float: initial;
  margin-top: 7px;
  margin-right: 5px;
}
section.btn-box {
  text-align: center;
  margin-top: 50px;
}
section.btn-box input.wpcf7-form-control {
  display: inline-block;
  font-size: 0.94rem;
  font-weight: bold;
  padding: 20px 30px;
  border: 2px solid var(--theme-color-light-blue);
  width: auto;
}
body.contact-confirm input.wpcf7-previous {
  margin-right: 3rem;
}
body.contact-confirm i.fas {
  color: var(--theme-color-light);
}
/* contactform と privacy policy */
.contactInfo td,
.table-techne-Info td {
  background-color: white;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/* 1400px以下 Bootstrap使用時必須 */
@media (max-width: 1400px) {
  #footer_box .description {
    font-size: 1vw;
  }
  /* for bootstrap */
  .content-in.wrap {
    width: auto;
  }
  /* for bootstrap */
}
@media (max-width: 1280px) {
  #footer_box .title_box {
    top: 15%;
  }
}
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /* ギャラリー ＞ 各物件 */
  body.gallery .gallery_box {
    margin-bottom: 20px;
  }
  body.gallery .main-contents {
    flex-direction: column !important;
  }
  body.gallery .main-contents .right-box {
    order: -1;
  }
  body.gallery .eye-catch-box .eye-catch-img {
    height: 300px;
  }
  /* ギャラリー＞カテゴリー一覧 */
  body.gallery .gallery_box .table-project {
    top: 40%;
  }
  #header-container {
    display: none;
  }
  /* architect */
  body.architect .user_info {
    padding: 10px;
  }
  body.architect dl.profile_lists dt {
    width: 120px;
    padding: 4px 4px 4px 0;
    font-size: 0.78rem;
  }
  body.architect dl.profile_lists dd {
    width: calc(100% - 120px);
    padding: 4px 0;
  }
  /* top ページ内 category_box */
  .category_box {
    padding: 2rem;
  }
  .category_box .bukken-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* 991px以下 */
@media screen and (max-width: 991px) {
  #container.container {
    max-width: 960px;
  }
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /* top ページ category_box */
  .category_box {
    padding: 2rem;
  }
  /* top ページ 物件一覧 */
  .category_box .bukken-box {
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
  /* ギャラリー */
  body.gallery .article h2.gallery_title {
    margin-top: 10px;
  }
  /* ギャラリー以外の固定ページ */
  .page .header-box .image-techne {
    height: 300px;
  }
  #footer_box .title_box {
    top: 20%;
  }
  #footer_box .description {
    font-size: 1rem;
  }
  #footer_box {
    flex-direction: column !important;
  }
  .slide-content {
    width: 90% !important;
  }
  .slide-content .title {
    font-size: 2rem !important;
  }
  .slide-content .caption {
    font-size: 1rem !important;
    font-family: Jost, "リュウミン R-KL" !important;
  }
  body.concept .concept_box {
    flex-direction: column;
  }
  /* 問い合わせフォーム */
  .table-contact th {
    width: 130px;
    padding: 20px;
  }
  .table-contact .th-box {
    flex-direction: column;
  }
  .table-contact .hissu {
    margin: 6px auto;
  }
}
/* 768px以下 */
@media screen and (max-width: 768px) {
  #container.container {
    margin: 0;
    max-width: 768px;
  }
  /* top ページ カテゴリー一覧 */
  #category-box {
    grid-template-columns: repeat(2, 1fr);
    margin: 10px !important;
  }
  /* top ページ 物件一覧 */
  .category_box .bukken-box {
    grid-template-columns: repeat(1, 1fr);
  }
}
/*480px以下*/
@media screen and (max-width: 480px) {
  /* ギャラリー内スマートフォン用 検索ボックス */
  #hp_snavi {
    display: block !important;
  }
  /* ギャラリー内パソコン用 検索ボックス */
  .snavi__wrap {
    display: none;
  }
  /*スマートフォン微調整用*/
  .container,
  .main {
    padding: 1px !important;
  }
  .content {
    margin-top: 0;
  }
  #body_top_box {
    margin-top: 10px !important;
  }
  /* 固定ページヘッダ画像 */
  .page .header-box .image-techne {
    height: 230px;
  }
  .page .header-box .text-box {
    top: 19% !important;
    left: 28px !important;
  }
  .entry-content h2:first-child {
    margin-top: 0;
  }
  .grid-box {
    margin: 20px !important;
    gap: 20px !important;
  }
  .bg_catch_box .bg_catch_text {
    padding: 8px;
    text-align: justify;
  }
  .category_box {
    padding: 10px;
    margin-bottom: 40px;
  }
  .category_box .bukken-box .text_wrap .jp {
    font-size: 0.85rem;
  }
  .category_box .bukken-box .text_wrap p {
    font-size: 0.75rem;
  }
  .bg_catch_box::before,
  .category_box::before {
    background-attachment: initial !important;
  }
  #footer_box .title_box {
    top: 10%;
  }
  #footer_box .child.image_wrap::before {
    padding-top: calc(100% / 4 * 3);
  }
  #footer_box .title {
    font-size: 2rem;
  }
  #footer_box .description {
    font-size: 0.88rem;
  }
  /* ギャラリー */
  body.gallery.single #head_box .swiper {
    height: 350px;
    margin: 0;
    padding: 0;
  }
  body.gallery.single #head_box .swiper-slide img {
    width: 90%;
    object-fit: cover;
    object-position: center center;
  }
  body.gallery.single #head_box .swiper-slide-active img {
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 99;
  }
  body.gallery .right-box {
    min-width: initial;
  }
  /* architect -------------------- */
  body.architect dl.profile_lists {
    font-size: 0.8rem;
  }
  body.architect .grid-box {
    gap: initial !important;
  }

  body.single .sub-contents {
    flex-direction: column !important;
  }
  body.single .sub-contents .image-box,
  body.single .sub-contents .text-box {
    width: 100%;
  }
  body.single .sp-full-wide {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin: 0;
  }
  /* お問い合わせ > 入力画面 */
  body.contact .table-contact th {
    width: 110px;
    padding: 10px;
  }
  body.contact .table-contact td {
    padding: 6px;
  }
  body.contact .form-check {
    font-size: 0.8rem;
  }
  body.contact span.wpcf7-spinner {
    display: none;
  }
  /* お問い合わせ > 確認画面 */
  body.contact-confirm .table-contact td {
    font-size: 1rem;
  }
  body.contact-confirm input.wpcf7-previous {
    margin-right: 1rem;
  }
  .no_br br {
    display: none;
  }
  .show_br .d-none {
    display: initial !important;
  }
  .sp_show {
    display: initial;
  }
  .sp_justify {
    text-align: justify !important;
  }
}
