/* ==========================================================================
   1. 基本スタイル & リセット
   ========================================================================== */
/* Box-sizingの統一 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --- ログインエリア --- */
.header-login-area .button {
  margin-left: 10px;
  padding: 8px 16px; /* ヘッダーのボタンは少し小さめに */
}

/* */
:root {
  --white: #fff;
  --black: #262626;
  --Light-Gray: #f4f4f4;
  --Gray: #c4c4c4;
  --Dark-Gray: #5e5e5e;
  --Light-Grayish-Blue: #eff6fa;
  --Grayish-Blue: #c2dae6;
  --Pail-Blue: #e6f7ff;
  --Light-Blue: #ceefff;
  --Bright-Blue: #0073a8;
  --Blue: #2774e8;
  --corporate-Blue: #008ccf;
  --orange: #f37d00;
  --orange2: #ffd2a2;
  --lightgreen: #6cd100;
  --lightgreen2: #e1edc6;
  --green: #009744;
  --green2: #a0dfbf;
  --purple: #bf31d5;
  --purple2: #f8e0fc;
  --red: #ff5558;
  --red2: #ffcbcc;
  --width: 100svw;
  --scrollTopPc: calc(10px + 60px + 24px);
  --scrollBarLine: #fff;
  --scrollBarThumb: #fff;
}

.cAnkerLinkList {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.cAnkerLinkList__item {
  width: calc(50% - 2px);
}
.cAnkerLinkList__item:nth-of-type(1) .cAnkerLink,
.cAnkerLinkList__item:nth-of-type(2) .cAnkerLink {
  border-top: solid 1px var(--Grayish-Blue);
}
.cAnkerLinkList-noflex {
  display: block;
}
.cAnkerLinkList-noflex .cAnkerLinkList__item:nth-of-type(2) .cAnkerLink {
  border-top: initial;
}
.cAnkerLink {
  align-items: center;
  border-bottom: solid 1px var(--Grayish-Blue);
  box-sizing: border-box;
  display: flex;
  gap: 10px;
  height: 100%;
  padding: 14px 0px 14px 20px;
  width: 100%;
}
.cAnkerLink .cAnkerLink__text {
  transition: 0.1s ease color;
}
.cAnkerLink__icon {
  -webkit-user-select: none;
  -moz-user-select: none;
  pointer-events: none;
  user-select: none;
}
.cAnkerLink__text {
  -webkit-user-select: none;
  -moz-user-select: none;
  font-feature-settings: "pwid" on, "palt" on;
  font-family: var(--ja-d);
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 1.2;
  pointer-events: none;
  user-select: none;
}
.cTitlePage {
  display: block;
  height: -moz-max-content;
  height: max-content;
  overflow: hidden;
  padding-bottom: 5px;
  position: relative;
  width: -moz-max-content;
  width: max-content;
  z-index: 0;
}
.cTitlePage__text {
  font-family: var(--ja-d);
  font-size: 16px;
  letter-spacing: 1.6px;
  line-height: 160%;
}
.cTitlePage__underline {
  bottom: 0;
  height: 5px;
  left: 50%;
  position: absolute;
  transform: translate(-50%, 0);
  width: -moz-max-content;
  width: max-content;
  z-index: 0;
}
.cTitlePage__underline img {
  -o-object-fit: contain;
  height: 100%;
  object-fit: contain;
  width: auto;
}
.cTitlePageEn {
  align-items: center;
  display: flex;
  gap: 0;
  min-height: 88.8px;
  width: -moz-max-content;
  width: max-content;
}
.cTitlePageEn .t {
  display: block;
  height: -moz-max-content;
  height: max-content;
  transform: translate(-50%, 0);
  width: -moz-max-content;
  width: max-content;
}
.cTitlePageEn .t:nth-of-type(1) {
  transition-delay: 0s !important;
}
.cTitlePageEn .t:nth-of-type(1) .t__inner {
  transition-delay: 0s !important;
}
.cTitlePageEn .t:nth-of-type(2) {
  transition-delay: 0.075s !important;
}
.cTitlePageEn .t:nth-of-type(2) .t__inner {
  transition-delay: 0.075s !important;
}
.cTitlePageEn .t:nth-of-type(3) {
  transition-delay: 0.15s !important;
}
.cTitlePageEn .t:nth-of-type(3) .t__inner {
  transition-delay: 0.15s !important;
}
.cTitlePageEn .t:nth-of-type(4) {
  transition-delay: 0.225s !important;
}
.cTitlePageEn .t:nth-of-type(4) .t__inner {
  transition-delay: 0.225s !important;
}
.cTitlePageEn .t:nth-of-type(5) {
  transition-delay: 0.3s !important;
}
.cTitlePageEn .t:nth-of-type(5) .t__inner {
  transition-delay: 0.3s !important;
}
.cTitlePageEn .t:nth-of-type(6) {
  transition-delay: 0.375s !important;
}
.cTitlePageEn .t:nth-of-type(6) .t__inner {
  transition-delay: 0.375s !important;
}
.cTitlePageEn .t:nth-of-type(7) {
  transition-delay: 0.45s !important;
}
.cTitlePageEn .t:nth-of-type(7) .t__inner {
  transition-delay: 0.45s !important;
}
.cTitlePageEn .t:nth-of-type(8) {
  transition-delay: 0.525s !important;
}
.cTitlePageEn .t:nth-of-type(8) .t__inner {
  transition-delay: 0.525s !important;
}
.cTitlePageEn .t:nth-of-type(9) {
  transition-delay: 0.6s !important;
}
.cTitlePageEn .t:nth-of-type(9) .t__inner {
  transition-delay: 0.6s !important;
}
.cTitlePageEn .t:nth-of-type(10) {
  transition-delay: 0.675s !important;
}
.cTitlePageEn .t:nth-of-type(10) .t__inner {
  transition-delay: 0.675s !important;
}
.cTitlePageEn .t:nth-of-type(11) {
  transition-delay: 0.75s !important;
}
.cTitlePageEn .t:nth-of-type(11) .t__inner {
  transition-delay: 0.75s !important;
}
.cTitlePageEn .t:nth-of-type(12) {
  transition-delay: 0.825s !important;
}
.cTitlePageEn .t:nth-of-type(12) .t__inner {
  transition-delay: 0.825s !important;
}
.cTitlePageEn .t:nth-of-type(13) {
  transition-delay: 0.9s !important;
}
.cTitlePageEn .t:nth-of-type(13) .t__inner {
  transition-delay: 0.9s !important;
}
.cTitlePageEn .t:nth-of-type(14) {
  transition-delay: 0.975s !important;
}
.cTitlePageEn .t:nth-of-type(14) .t__inner {
  transition-delay: 0.975s !important;
}
.cTitlePageEn .t:nth-of-type(15) {
  transition-delay: 1.05s !important;
}
.cTitlePageEn .t:nth-of-type(15) .t__inner {
  transition-delay: 1.05s !important;
}
.cTitlePageEn .t:nth-of-type(16) {
  transition-delay: 1.125s !important;
}
.cTitlePageEn .t:nth-of-type(16) .t__inner {
  transition-delay: 1.125s !important;
}
.cTitlePageEn .t:nth-of-type(17) {
  transition-delay: 1.2s !important;
}
.cTitlePageEn .t:nth-of-type(17) .t__inner {
  transition-delay: 1.2s !important;
}
.cTitlePageEn .t:nth-of-type(18) {
  transition-delay: 1.275s !important;
}
.cTitlePageEn .t:nth-of-type(18) .t__inner {
  transition-delay: 1.275s !important;
}
.cTitlePageEn .t:nth-of-type(19) {
  transition-delay: 1.35s !important;
}
.cTitlePageEn .t:nth-of-type(19) .t__inner {
  transition-delay: 1.35s !important;
}
.cTitlePageEn .t:nth-of-type(20) {
  transition-delay: 1.425s !important;
}
.cTitlePageEn .t:nth-of-type(20) .t__inner {
  transition-delay: 1.425s !important;
}
.cTitlePageEn .t:nth-of-type(21) {
  transition-delay: 1.5s !important;
}
.cTitlePageEn .t:nth-of-type(21) .t__inner {
  transition-delay: 1.5s !important;
}
.cTitlePageEn .t:nth-of-type(22) {
  transition-delay: 1.575s !important;
}
.cTitlePageEn .t:nth-of-type(22) .t__inner {
  transition-delay: 1.575s !important;
}
.cTitlePageEn .t:nth-of-type(23) {
  transition-delay: 1.65s !important;
}
.cTitlePageEn .t:nth-of-type(23) .t__inner {
  transition-delay: 1.65s !important;
}
.cTitlePageEn .t:nth-of-type(24) {
  transition-delay: 1.725s !important;
}
.cTitlePageEn .t:nth-of-type(24) .t__inner {
  transition-delay: 1.725s !important;
}
.cTitlePageEn .t:nth-of-type(25) {
  transition-delay: 1.8s !important;
}
.cTitlePageEn .t:nth-of-type(25) .t__inner {
  transition-delay: 1.8s !important;
}
.cTitlePageEn .t:nth-of-type(26) {
  transition-delay: 1.875s !important;
}
.cTitlePageEn .t:nth-of-type(26) .t__inner {
  transition-delay: 1.875s !important;
}
.cTitlePageEn .t:nth-of-type(27) {
  transition-delay: 1.95s !important;
}
.cTitlePageEn .t:nth-of-type(27) .t__inner {
  transition-delay: 1.95s !important;
}
.cTitlePageEn .t:nth-of-type(28) {
  transition-delay: 2.025s !important;
}
.cTitlePageEn .t:nth-of-type(28) .t__inner {
  transition-delay: 2.025s !important;
}
.cTitlePageEn .t:nth-of-type(29) {
  transition-delay: 2.1s !important;
}
.cTitlePageEn .t:nth-of-type(29) .t__inner {
  transition-delay: 2.1s !important;
}
.cTitlePageEn .t:nth-of-type(30) {
  transition-delay: 2.175s !important;
}
.cTitlePageEn .t:nth-of-type(30) .t__inner {
  transition-delay: 2.175s !important;
}
.cTitlePageEn .t__inner {
  color: var(--Bright-Blue);
  display: block;
  font-family: var(--en);
  font-size: 74px;
  font-weight: 500;
  height: -moz-max-content;
  height: max-content;
  line-height: 1.2;
  perspective: 1000px;
  transform: rotateY(-90deg);
  transform-style: preserve-3d;
  width: -moz-max-content;
  width: max-content;
}
.cTitlePageEn.isCue .t {
  transform: translate(0, 0);
  transition: 0.6s cubic-bezier(0.33, 1, 0.68, 1) transform;
}
.cTitlePageEn.isCue .t__inner {
  transform: rotateY(0deg);
  transition: 0.6s cubic-bezier(0.33, 1, 0.68, 1) transform;
}
.cTitlePageEn-s {
  min-height: 48px;
}
.cTitlePageEn-s .t__inner {
  font-family: var(--ja-d);
  font-size: 40px;
  line-height: 1.2;
}
.cFvChild {
  background: var(--white);
  position: relative;
  width: 100%;
  z-index: 0;
}
.cFvChild__inner {
  margin: auto;
  max-width: 1170px;
  position: relative;
  width: calc(100% - 40px);
  z-index: 0;
}
.cFvChild__text {
  width: 460px;
}
.cFvChild__titleEn {
  min-height: 88.8px;
}
.cFvChild__detail {
  margin-top: 31px;
}
.cFvChild__content {
  margin-top: 14px;
  width: 460px;
}
.cFvChild__content__head {
  color: var(--Bright-Blue);
  font-family: var(--en);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}
.cFvChild__content__content {
  margin-top: 7px;
}
.cFvChild__middle {
  height: auto;
}
.cFvChild__img {
  -webkit-aspect-ratio: 595/333;
  aspect-ratio: 595/333;
  height: 100%;
  overflow: hidden;
  width: 100%;
}
.cFvChild__img .img {
  height: 100%;
  width: 100%;
}
.cFvChild__img img {
  -o-object-fit: cover;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.cFvChild__breadcrumbs {
  display: flex;
  justify-content: flex-end;
  margin-top: 9px;
}
.cBreadcrumbs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
}
div.cBreadcrumb,
p.cBreadcrumb {
  color: var(--Blue);
  font-family: var(--ja-d);
  font-size: 12px;
  letter-spacing: 0.6px;
  line-height: 1.2;
}
a.cBreadcrumb {
  font-family: var(--ja-d);
  font-size: 12px;
  letter-spacing: 0.6px;
  line-height: 1.2;
  transition: 0.1s ease color;
}
.cBreadcrumb__arrowTip {
  -webkit-user-select: none;
  -moz-user-select: none;
  height: 7px;
  pointer-events: none;
  position: relative;
  user-select: none;
  width: 3px;
  z-index: 0;
}
.cBreadcrumb__arrowTip::before,
.cBreadcrumb__arrowTip::after {
  background: var(--Blue);
  bottom: 0;
  content: "";
  height: 1px;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: right;
  width: 6px;
  z-index: 0;
}
.cBreadcrumb__arrowTip::before {
  transform: rotateZ(-50deg);
}
.cBreadcrumb__arrowTip::after {
  transform: rotateZ(50deg);
}
.cFvChild-noThum .cFvChild__middle {
  display: flex;
  justify-content: flex-end;
  padding-top: 40px;
  position: relative;
  right: 0;
  top: 0;
  width: 100%;
}
.cTitleSectionEn {
  color: var(--Dark-Gray);
  color: #25b7c0;
  display: flex;
  font-family: var(--en);
  font-size: 16px;
  font-weight: 500;
  gap: 0 6px;
  letter-spacing: 1.6px;
  line-height: 150%;
  position: relative;
  z-index: 0;
  font-family: "Montserrat", "M PLUS 1", sans-serif;
}
/*
.cTitleSectionEn::before {
  border: solid 2px var(--Bright-Blue);
  border-radius: 50%;
  box-sizing: border-box;
  content: "";
  display: block;
  height: 8px;
  min-width: 8px;
  position: relative;
  top: 8px;
  width: 8px;
  z-index: 0;
}
  */
.cTitleSection {
  align-items: center;
  display: flex;
  gap: 0;
  min-height: 51.2px;
  width: -moz-max-content;
  width: max-content;
  font-size: 3.3rem;
}
.cTitleSection .t {
  display: block;
  height: -moz-max-content;
  height: max-content;
  transform: translate(-50%, 0);
  width: -moz-max-content;
  width: max-content;
}
.cTitleSection .t:nth-of-type(1) {
  transition-delay: 0s !important;
}
.cTitleSection .t:nth-of-type(1) .t__inner {
  transition-delay: 0s !important;
}
.cTitleSection .t:nth-of-type(2) {
  transition-delay: 0.075s !important;
}
.cTitleSection .t:nth-of-type(2) .t__inner {
  transition-delay: 0.075s !important;
}
.cTitleSection .t:nth-of-type(3) {
  transition-delay: 0.15s !important;
}
.cTitleSection .t:nth-of-type(3) .t__inner {
  transition-delay: 0.15s !important;
}
.cTitleSection .t:nth-of-type(4) {
  transition-delay: 0.225s !important;
}
.cTitleSection .t:nth-of-type(4) .t__inner {
  transition-delay: 0.225s !important;
}
.cTitleSection .t:nth-of-type(5) {
  transition-delay: 0.3s !important;
}
.cTitleSection .t:nth-of-type(5) .t__inner {
  transition-delay: 0.3s !important;
}
.cTitleSection .t:nth-of-type(6) {
  transition-delay: 0.375s !important;
}
.cTitleSection .t:nth-of-type(6) .t__inner {
  transition-delay: 0.375s !important;
}
.cTitleSection .t:nth-of-type(7) {
  transition-delay: 0.45s !important;
}
.cTitleSection .t:nth-of-type(7) .t__inner {
  transition-delay: 0.45s !important;
}
.cTitleSection .t:nth-of-type(8) {
  transition-delay: 0.525s !important;
}
.cTitleSection .t:nth-of-type(8) .t__inner {
  transition-delay: 0.525s !important;
}
.cTitleSection .t:nth-of-type(9) {
  transition-delay: 0.6s !important;
}
.cTitleSection .t:nth-of-type(9) .t__inner {
  transition-delay: 0.6s !important;
}
.cTitleSection .t:nth-of-type(10) {
  transition-delay: 0.675s !important;
}
.cTitleSection .t:nth-of-type(10) .t__inner {
  transition-delay: 0.675s !important;
}
.cTitleSection .t:nth-of-type(11) {
  transition-delay: 0.75s !important;
}
.cTitleSection .t:nth-of-type(11) .t__inner {
  transition-delay: 0.75s !important;
}
.cTitleSection .t:nth-of-type(12) {
  transition-delay: 0.825s !important;
}
.cTitleSection .t:nth-of-type(12) .t__inner {
  transition-delay: 0.825s !important;
}
.cTitleSection .t:nth-of-type(13) {
  transition-delay: 0.9s !important;
}
.cTitleSection .t:nth-of-type(13) .t__inner {
  transition-delay: 0.9s !important;
}
.cTitleSection .t:nth-of-type(14) {
  transition-delay: 0.975s !important;
}
.cTitleSection .t:nth-of-type(14) .t__inner {
  transition-delay: 0.975s !important;
}
.cTitleSection .t:nth-of-type(15) {
  transition-delay: 1.05s !important;
}
.cTitleSection .t:nth-of-type(15) .t__inner {
  transition-delay: 1.05s !important;
}
.cTitleSection .t:nth-of-type(16) {
  transition-delay: 1.125s !important;
}
.cTitleSection .t:nth-of-type(16) .t__inner {
  transition-delay: 1.125s !important;
}
.cTitleSection .t:nth-of-type(17) {
  transition-delay: 1.2s !important;
}
.cTitleSection .t:nth-of-type(17) .t__inner {
  transition-delay: 1.2s !important;
}
.cTitleSection .t:nth-of-type(18) {
  transition-delay: 1.275s !important;
}
.cTitleSection .t:nth-of-type(18) .t__inner {
  transition-delay: 1.275s !important;
}
.cTitleSection .t:nth-of-type(19) {
  transition-delay: 1.35s !important;
}
.cTitleSection .t:nth-of-type(19) .t__inner {
  transition-delay: 1.35s !important;
}
.cTitleSection .t:nth-of-type(20) {
  transition-delay: 1.425s !important;
}
.cTitleSection .t:nth-of-type(20) .t__inner {
  transition-delay: 1.425s !important;
}
.cTitleSection .t:nth-of-type(21) {
  transition-delay: 1.5s !important;
}
.cTitleSection .t:nth-of-type(21) .t__inner {
  transition-delay: 1.5s !important;
}
.cTitleSection .t:nth-of-type(22) {
  transition-delay: 1.575s !important;
}
.cTitleSection .t:nth-of-type(22) .t__inner {
  transition-delay: 1.575s !important;
}
.cTitleSection .t:nth-of-type(23) {
  transition-delay: 1.65s !important;
}
.cTitleSection .t:nth-of-type(23) .t__inner {
  transition-delay: 1.65s !important;
}
.cTitleSection .t:nth-of-type(24) {
  transition-delay: 1.725s !important;
}
.cTitleSection .t:nth-of-type(24) .t__inner {
  transition-delay: 1.725s !important;
}
.cTitleSection .t:nth-of-type(25) {
  transition-delay: 1.8s !important;
}
.cTitleSection .t:nth-of-type(25) .t__inner {
  transition-delay: 1.8s !important;
}
.cTitleSection .t:nth-of-type(26) {
  transition-delay: 1.875s !important;
}
.cTitleSection .t:nth-of-type(26) .t__inner {
  transition-delay: 1.875s !important;
}
.cTitleSection .t:nth-of-type(27) {
  transition-delay: 1.95s !important;
}
.cTitleSection .t:nth-of-type(27) .t__inner {
  transition-delay: 1.95s !important;
}
.cTitleSection .t:nth-of-type(28) {
  transition-delay: 2.025s !important;
}
.cTitleSection .t:nth-of-type(28) .t__inner {
  transition-delay: 2.025s !important;
}
.cTitleSection .t:nth-of-type(29) {
  transition-delay: 2.1s !important;
}
.cTitleSection .t:nth-of-type(29) .t__inner {
  transition-delay: 2.1s !important;
}
.cTitleSection .t:nth-of-type(30) {
  transition-delay: 2.175s !important;
}
.cTitleSection .t:nth-of-type(30) .t__inner {
  transition-delay: 2.175s !important;
}
.cTitleSection .t__inner {
  color: var(--corporate-Blue);
  display: block;
  font-family: var(--ja-d);
  font-size: 32px;
  height: -moz-max-content;
  height: max-content;
  letter-spacing: 1.6px;
  line-height: 160%;
  perspective: 1000px;
  transform: rotateY(-90deg);
  transform-style: preserve-3d;
  width: -moz-max-content;
  width: max-content;
}
.cTitleSection.isCue .t {
  transform: translate(0, 0);
  transition: 0.6s cubic-bezier(0.33, 1, 0.68, 1) transform;
}
.cTitleSection.isCue .t__inner {
  transform: rotateY(0deg);
  transition: 0.6s cubic-bezier(0.33, 1, 0.68, 1) transform;
}
.cPickUpSection {
  border-top: solid 1px #c2dae6;
  margin: auto;
  max-width: 1170px;
  padding: 60px 0 80px;
  width: calc(100% - 40px);
}
body[data-page-id="environment"] .cPickUpSection {
  border-top: initial;
}
body[data-page-id="business-single"] .cPickUpSection {
  border-top: initial;
  padding: 100px 0 114px;
}
.cPickUpSection__title {
  display: flex;
  justify-content: center;
}
.cPickUpSection__titleEn {
  display: flex;
  justify-content: center;
  margin-top: 3px;
}
.cPickUpSection__list {
  margin-top: 30px;
}
.cPickUpSection__list__item {
  width: calc(33.3333333333% - min(17px, 17rem) * 2 / 3);
}
.pInfo {
  overflow-x: clip;
  position: relative;
  width: 100%;
  width: var(--width);
  z-index: 0;
}
.pInfoPersonality {
  background: var(--Light-Grayish-Blue);
  padding: 84px 0 0;
  width: 100%;
}
.pInfoPersonality__inner {
  margin: auto;
  max-width: 1170px;
  position: relative;
  width: calc(100% - 40px);
  z-index: 0;
}
.pInfoPersonality__head {
  height: -moz-max-content;
  height: max-content;
  z-index: 0;
}
.pInfoPersonality__detail {
  margin-top: 10px;
}
.pInfoPersonality__content {
  width: calc(100% - 345px - 20px);
}
.pInfoPersonality__content__msg {
  margin-top: 55px;
}
.cPersonality {
  background: var(--white);
  border-radius: 10px;
  box-sizing: border-box;
  padding: 24px min(27px, 27rem) 30px;
  width: calc(33.3333333333% - min(10px, 10rem) * 2 / 3);
}
.cPersonality__num {
  align-items: center;
  background: var(--Bright-Blue);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  font-family: var(--ja-b);
  font-size: 12px;
  height: 27px;
  justify-content: center;
  line-height: 1;
  margin: auto;
  text-align: center;
  width: 27px;
}
.cPersonality__title {
  align-items: center;
  color: var(--Bright-Blue);
  display: flex;
  font-family: var(--ja-d);
  font-size: 20px;
  justify-content: center;
  letter-spacing: 1px;
  line-height: 140%;
  margin-top: 16px;
  text-align: center;
}
.cPersonality__underLine {
  height: 7px;
  margin-top: 12px;
  overflow: hidden;
  width: 100%;
}
.cPersonality__underLine img {
  -o-object-fit: cover;
  height: 7px;
  left: 50%;
  object-fit: cover;
  position: relative;
  transform: translate(-50%, 0);
  width: 210px;
  z-index: 0;
}
.cPersonality__detail {
  font-family: var(--ja-d);
  font-size: 14px;
  line-height: 160%;
  margin-top: 12px;
}
.cPersonality__img {
  display: flex;
  height: 160px;
  width: 160px;
}
.cPersonality__img img {
  -o-object-fit: cover;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.pInfoPersonalityMsg {
  margin-top: 55px;
}
.pInfoPersonalityMsg__title {
  font-family: var(--ja-b);
  font-size: 24px;
  letter-spacing: 1.2px;
  line-height: 170%;
  text-align: center;
}
.pInfoPersonalityMsg__underLine {
  height: 9px;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 0;
}
.pInfoPersonalityMsg__underLine img {
  height: 9px;
  left: 50%;
  position: relative;
  transform: translate(-50%, 0);
  width: 805px;
  z-index: 0;
}
.pInfoPersonalityMsg__lead {
  color: var(--Bright-Blue);
  font-family: var(--ja-d);
  font-size: 18px;
  letter-spacing: 0.9px;
  line-height: 160%;
  margin-top: 30px;
}
.pInfoPersonalityMsg__detail {
  font-family: var(--ja-d);
  font-size: 16px;
  letter-spacing: 0.8px;
  line-height: 180%;
  margin-top: 10px;
  text-align: justify;
}
.pInfoPersonalityMsg__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 5px min(16px, 16rem);
  margin-top: 20px;
}
.pInfoMsgCard {
  background: var(--white);
  border-radius: 10px;
  box-sizing: border-box;
  padding: 30px 24px;
}
.pInfoMsgCard__title {
  color: var(--Bright-Blue);
  font-family: var(--ja-d);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 140%;
  text-align: center;
}
.pInfoMsgCard__txt {
  color: var(--black);
  font-family: var(--ja-d);
  font-size: 14px;
  line-height: 160%;
  margin-top: 10px;
  text-align: center;
}
.pInfoFlow {
  background: var(--Light-Grayish-Blue);
  padding-bottom: 94px;
  padding-top: 68px;
  width: 100%;
}
.pInfoFlow__inner {
  margin: auto;
  max-width: 1170px;
  position: relative;
  width: calc(100% - 40px);
  z-index: 0;
}
.cFlow {
  background: var(--white);
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  width: 100%;
}
.cFlow:nth-of-type(1) {
  margin-top: 0;
}
.cFlow__step {
  background: var(--Bright-Blue);
  border-radius: 50%;
  height: 70px;
  width: 70px;
}
.cFlow__step .text {
  color: var(--white);
  font-family: var(--en);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  padding-top: 12px;
  text-align: center;
}
.cFlow__step .num {
  color: var(--white);
  font-family: var(--en);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1.2px;
  line-height: 1;
  text-align: center;
}
.cFlow__content {
  width: calc(100% - 70px - min(32px, 32rem));
}
.cFlow__content .note {
  align-items: center;
  display: flex;
  gap: 0 1px;
  height: -moz-max-content;
  height: max-content;
  margin-top: 10px;
  margin-top: 10px;
  position: relative;
  width: -moz-max-content;
  width: max-content;
  z-index: 0;
}
.cFlow__content .note::before {
  background: var(--Gray);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 100%;
}
.cFlow__content .note__img {
  height: 23px;
  width: 65px;
}
.cFlow__content .note__img img {
  -o-object-fit: contain;
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.cFlow__content .note__icon {
  display: flex;
  height: 15px;
  width: 15px;
}
.cFlow__content .note__icon img {
  height: 100%;
  width: 100%;
}
.cFlow__title {
  color: var(--Bright-Blue);
  font-family: var(--ja-b);
  font-size: 18px;
  letter-spacing: 0.9px;
  line-height: 150%;
}
.cFlow__detail {
  font-family: var(--ja-d);
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 160%;
}
.cFlow__detail a {
  text-decoration: underline;
  transition: 0.1s ease color;
}
.realSearch {
  padding: 104px 0 120px;
  padding: 52px 0 120px;
  width: 100%;
}
.realSearch__inner {
  margin: auto;
  max-width: 1170px;
  width: calc(100% - 40px);
}
.realSearch__form {
  margin-top: 32px;
}
.realSearch__result {
  border-top: solid 1px var(--Grayish-Blue);
  margin-top: 60px;
  padding-top: 50px;
  width: 100%;
}
.realSearch__result__none {
  color: var(--Dark-Gray);
  font-family: var(--ja-b);
  font-size: 18px;
  letter-spacing: 0.9px;
  line-height: 160%;
  text-align: center;
}
.crealEForm {
  margin: auto;
  max-width: 938px;
  max-width: 100%;
  width: 100%;
}
.realEForm__inputs {
  background: #d6ffd6;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 50px min(60px, 60rem);
  width: 100%;
}
.rForm__row {
  border-bottom: solid 1px var(--Grayish-Blue);
  padding: 19px 0;
}
.rForm__row:nth-of-type(1) {
  padding-top: 0;
}
.rForm__row:nth-last-of-type(1) {
  border-bottom: initial;
  padding-bottom: 0;
}
.rForm__label {
  font-family: var(--ja-b);
  font-size: 14px;
  font-size: 1.55rem;
  letter-spacing: 0.7px;
  line-height: 160%;
  width: 110px;
  width: 180px;
  font-weight: bold;
}
.rForm__field {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: calc(100% - 110px);
  width: calc(100% - 180px);
  font-size: 1.55rem;
}
.cTag {
  height: -moz-max-content;
  height: max-content;
  width: -moz-max-content;
  width: max-content;
}
.cTag input {
  display: none;
}
.cTag label {
  background: var(--white);
  border-radius: 20px;
  cursor: pointer;
  display: block;
  font-family: var(--ja-d);
  font-size: 14px;
  font-size: 1.65rem;
  height: -moz-max-content;
  height: max-content;
  line-height: 160%;
  padding: 2px 20px;
  transition: 0.1s ease color, 0.1s ease background, 0.1s ease opacity;
  width: -moz-max-content;
  width: max-content;
}
.cTag input:checked + label {
  background: var(--Blue);
  color: var(--white);
}
.cBtnSearch {
  align-items: center;
  background: var(--Blue);
  border-radius: 15px;
  display: flex;
  height: 50px;
  justify-content: space-between;
  opacity: 1;
  transition: 0.1s ease opacity;
  width: 240px;
}
.cBtnSearch[data-disable="1"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.cBtnSearch__text {
  -webkit-user-select: none;
  -moz-user-select: none;
  align-items: center;
  color: var(--white);
  display: flex;
  font-family: var(--ja-b);
  font-size: 16px;
  gap: 0 5px;
  letter-spacing: 1.6px;
  margin-left: 30px;
  pointer-events: none;
  user-select: none;
  font-family: "Montserrat", "M PLUS 1", sans-serif;
}
.cBtnSearch__text span {
  color: var(--white);
  font-family: var(--en);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1.4px;
}
.cBtnSearch__icon {
  -webkit-user-select: none;
  -moz-user-select: none;
  align-items: center;
  background: var(--white);
  border-radius: 40px;
  display: flex;
  height: 20px;
  justify-content: center;
  margin-right: 15px;
  pointer-events: none;
  user-select: none;
  width: 28px;
}
.cBtnSearch__icon img {
  -o-object-fit: contain;
  height: 14px;
  object-fit: contain;
  width: 14px;
}
.cBtnSearch {
  transition: 0.2s ease background;
}
.cBtnSearch .cBtnSearch__icon {
  transition: 0.2s ease transform;
}
.cBtnClear {
  align-items: center;
  background: var(--white);
  border: solid 1px var(--Blue);
  border-radius: 15px;
  box-sizing: border-box;
  display: flex;
  height: 50px;
  justify-content: space-between;
  width: 240px;
}
.cBtnClear__text {
  color: var(--Blue);
  font-family: var(--ja-b);
  font-size: 16px;
  letter-spacing: 1.6px;
  padding-left: 30px;
}
.cBtnClear__icon {
  -webkit-user-select: none;
  -moz-user-select: none;
  align-items: center;
  background: var(--Blue);
  border-radius: 40px;
  display: flex;
  height: 20px;
  justify-content: center;
  margin-right: 15px;
  pointer-events: none;
  position: relative;
  user-select: none;
  width: 28px;
  z-index: 0;
}
.cBtnClear__icon::before,
.cBtnClear__icon::after {
  background: var(--white);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 8px;
  z-index: 0;
}
.cBtnClear__icon::before {
  transform: rotateZ(45deg);
}
.cBtnClear__icon::after {
  transform: rotateZ(-45deg);
}
.cBtnClear {
  transition: 0.2s ease background, 0.2s ease border;
}
.cBtnClear .cBtnClear__text {
  transition: 0.2s ease color;
}
.cBtnClear .cBtnClear__icon {
  transition: 0.2s ease transform;
}
.realSearchResult__head {
  align-items: flex-end;
  color: var(--red);
  display: flex;
  font-family: var(--ja-b);
  font-size: 24px;
  height: -moz-max-content;
  height: max-content;
  letter-spacing: 2.4px;
  line-height: 1.4;
  position: relative;
  width: 150px;
  z-index: 0;
}
.realSearchResult__head span {
  color: var(--red);
  font-family: var(--en);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 4.8px;
  line-height: 1;
}
.realSearchResult__content {
  width: calc(100% - 150px);
}
.cInfoCards__item {
  animation: FadeIn 0.8s ease forwards;
  margin-top: 10px;
  width: 100%;
}
.cInfoCards__item:nth-of-type(1) {
  margin-top: 0;
}
.cInfoCard {
  background: var(--Light-Gray);
  border-radius: 10px;
  box-sizing: border-box;
  display: block;
  padding: 19px min(34px, 34rem);
  position: relative;
  width: 100%;
  width: 100%;
  z-index: 0;
}
.cInfoCard__title {
  align-items: center;
  color: var(--Bright-Blue);
  display: flex;
  font-family: var(--ja-b);
  font-size: 20px;
  gap: 0 10px;
  letter-spacing: 1px;
  line-height: 150%;
}
/*
.cInfoCard__title::before {
  border: solid 2px var(--Bright-Blue);
  border-radius: 50%;
  box-sizing: border-box;
  content: "";
  display: block;
  height: 7px;
  min-width: 8px;
  width: 8px;
}
  */
.cInfoCard__title::before {
  content: "";
  display: block;
  width: 9px; /* 幅 */
  height: 11px; /* 高さ */
  background-color: var(--Bright-Blue);

  /* 三角形に切り抜く */
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.cInfoCard__company-name {
  font-size: 1.85rem;
}
.cInfoCard__lower {
  margin-top: 12px;
}
.cInfoCard__group {
  display: flex;
  gap: 5px;
  gap: 10px;
}
.cInfoCard__group.isTowMore {
  width: 100%;
}
.cInfoCard__label {
  font-family: var(--ja-d);
  font-size: 12px;
  letter-spacing: 0.6px;
  line-height: 150%;
}
.cInfoCard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.cInfoCard__tag {
  align-items: center;
  background: var(--white);
  /*
  border: 1px solid var(--Gray);
  */
  border-radius: 5px;
  box-sizing: border-box;
  display: flex;
  font-family: var(--ja-d);
  font-size: 12px;
  height: -moz-max-content;
  height: max-content;
  justify-content: center;
  letter-spacing: 0.6px;
  line-height: 150%;
  padding: 2px 20px;
  text-align: center;
  width: -moz-max-content;
  width: max-content;
}
.cInfoCard__icon {
  bottom: 0;
  height: -moz-max-content;
  height: max-content;
  margin: auto;
  position: absolute;
  right: 20px;
  top: 0;
  width: -moz-max-content;
  width: max-content;
  z-index: 0;
}
.cInfoCard__text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  /* 文字が長すぎる場合に「...」で省略するスタイル */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 2行で省略 */
  overflow: hidden;
}
.jsAcHarf__content {
  overflow: hidden;
}
.cAcHarf__content {
  position: relative;
  z-index: 0;
}
.cAcHarf__content::before {
  background: linear-gradient(0deg, #eff6fa 0%, rgba(239, 246, 250, 0) 100%);
  bottom: 0;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  opacity: 1;
  position: absolute;
  right: 0;
  transition: 0.3s ease opacity;
  width: 100%;
  z-index: 1;
}
.cAcHarf__summary {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.cAcHarf[data-open="1"] .cBtn-toggle .cBtn-toggle__icon::before {
  transform: rotateZ(0deg);
}
.cAcHarf[data-open="1"] .cBtn-toggle .cBtn-toggle__icon::after {
  transform: rotateZ(180deg);
}
.cAcHarf[data-open="1"] .cAcHarf__content::before {
  opacity: 0;
}
.cBtn-toggle .cBtn__text {
  text-align: left;
}
.cBtn-toggle .cBtn-toggle__icon {
  background: var(--white);
  border-radius: 28px;
  height: 20px;
  position: relative;
  right: -15px;
  width: 28px;
  z-index: 0;
}
.cBtn-toggle .cBtn-toggle__icon::before,
.cBtn-toggle .cBtn-toggle__icon::after {
  background: var(--Blue);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.3s ease transform;
  width: 8px;
  z-index: 0;
}
.cBtn-toggle .cBtn-toggle__icon::before {
  transform: rotateZ(0deg);
}
.cBtn-toggle .cBtn-toggle__icon::after {
  transform: rotateZ(90deg);
}
@media (max-width: 1084px) and (max-width: 768px) {
  .pInfoMsgCard {
    padding: 15px min(24px, 24rem);
  }
}
@media (max-width: 1084px) {
  .cPersonality {
    margin-top: 10px;
    width: 100%;
  }
  .cPersonality:nth-of-type(1) {
    margin-top: 0;
  }
  .pInfoPersonalityMsg__cards .pInfoMsgCard {
    width: calc(100% - min(16px, 16rem) * 0 / 1);
  }
  .pInfoMsgCard {
    padding: 15px 24px;
  }
  .pInfoMsgCard__txt {
    margin-top: 5px;
  }
}
@media (max-width: 960px) {
  .cFvChild__text {
    width: 100%;
  }
  .cFvChild__content {
    margin-top: 3px;
    width: 100%;
  }
  .cFvChild__middle {
    margin-top: 29px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .cAnkerLink {
    padding: 12px 0px 12px 10px;
  }
  .cAnkerLink__text {
    line-height: 1.4;
  }
  .cTitlePageEn {
    min-height: 67.2px;
  }
  .cTitlePageEn .t__inner {
    font-size: 56px;
  }
  .cTitlePageEn-s {
    min-height: 31.2px;
  }
  .cTitlePageEn-s .t__inner {
    font-size: 26px;
  }
  .cFvChild__inner {
    padding: 100px 0 49px;
  }
  .cFvChild__titleEn {
    min-height: 67.2px;
  }
  .cFvChild__detail {
    margin-top: 10px;
    text-align: justify;
  }
  .cFvChild__detail .cText {
    line-height: 1.6;
  }
  .cFvChild__content__content {
    margin-top: 2px;
  }
  .cFvChild-noThum .cFvChild__inner {
    padding-bottom: 50px;
  }
  .cFvChild-noThum .cFvChild__middle {
    margin-top: 25px;
    padding-top: 0;
  }
  .cTitleSectionEn {
    font-size: 14px;
    letter-spacing: 1.4px;
  }
  .cTitleSectionEn::before {
    top: 7px;
  }
  .cTitleSection {
    min-height: 35.2px;
  }
  .cTitleSection .t__inner {
    font-size: 22px;
    letter-spacing: 1.1px;
  }
  .cPickUpSection {
    padding: 35px 0 60px;
  }
  body[data-page-id="business-single"] .cPickUpSection {
    padding: 55px 0 60px;
  }
  .cPickUpSection__titleEn {
    margin-top: 10px;
  }
  .cPickUpSection__list__item {
    margin-top: 10px;
    width: 100%;
  }
  .cPickUpSection__list__item:nth-of-type(1) {
    margin-top: 0;
  }
  .pInfoPersonality {
    padding: 68px 0 61px;
  }
  .pInfoPersonality__head {
    width: 100%;
  }
  .pInfoPersonality__title {
    margin-top: 4px;
  }
  .pInfoPersonality__detail {
    margin-top: 16px;
  }
  .pInfoPersonality__content {
    margin-top: 32px;
    width: 100%;
  }
  .pInfoPersonality__content__msg {
    margin-top: 44px;
  }
  .cPersonality {
    align-items: center;
    display: flex;
    gap: 0 19px;
    justify-content: center;
    margin-top: 8px;
    padding: 16px min(35px, 35rem);
  }
  .cPersonality:nth-of-type(1) {
    margin-top: 0;
  }
  .cPersonality__txts {
    max-width: 142px;
    width: calc(100% - 120px - 19px);
  }
  .cPersonality__title {
    font-size: 20px;
    height: -moz-max-content;
    height: max-content;
    letter-spacing: 1px;
    line-height: 140%;
    margin-top: 10px;
  }
  .cPersonality__underLine {
    margin-top: 10px;
  }
  .cPersonality__detail {
    margin-top: 10px;
  }
  .cPersonality__img {
    height: 120px;
    min-width: 120px;
    width: 120px;
  }
  .pInfoPersonalityMsg {
    margin-top: 44px;
  }
  .pInfoPersonalityMsg__title {
    font-size: 18px;
    letter-spacing: 0.9px;
  }
  .pInfoPersonalityMsg__underLine {
    margin-top: 5px;
  }
  .pInfoPersonalityMsg__lead {
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 150%;
    margin-top: 18px;
  }
  .pInfoPersonalityMsg__detail {
    font-size: 14px;
    letter-spacing: 0.7px;
    line-height: 160%;
    margin-top: 0;
    padding-top: 10px;
  }
  .pInfoFlow {
    padding-bottom: 50px;
    padding-top: 0px;
  }
  .pInfoFlow__head {
    width: 100%;
  }
  .pInfoFlow__content {
    margin-top: 28px;
    width: 100%;
  }
  .cFlow {
    gap: 0 11px;
    margin-top: 5px;
    padding: 20px 10px;
  }
  .cFlow:nth-last-of-type(1) {
    align-items: center;
  }
  .cFlow:nth-last-of-type(1) .cFlow__title {
    margin-top: 0;
  }
  .cFlow__step {
    height: 60px;
    width: 60px;
  }
  .cFlow__step .text {
    font-size: 10px;
    line-height: 1.25;
  }
  .cFlow__step .num {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .cFlow__content {
    width: calc(100% - 60px - 11px);
  }
  .cFlow__title {
    font-size: 18px;
    letter-spacing: 0.9px;
    line-height: 160%;
    margin-top: 10px;
  }
  .cFlow__detail {
    font-size: 14px;
    letter-spacing: 0.7px;
    line-height: 160%;
  }
  .realSearch {
    padding: 50px 0 80px;
  }
  .realSearch__form {
    margin-top: 20px;
  }
  .realSearch__result {
    margin-top: 50px;
    padding-top: 30px;
  }
  .realSearch__result__none {
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 170%;
    text-align: center;
  }
  .crealEForm {
    width: 100%;
  }
  .realEForm__inputs {
    padding: 20px min(20px, 20rem) 30px;
  }
  .rForm__row {
    padding: 20px 0;
  }
  .rForm__label {
    width: 100%;
  }
  .rForm__field {
    gap: 10px;
    margin-top: 10px;
    width: 100%;
  }
  .rForm__btn {
    margin: auto;
    margin-top: 60px;
    width: -moz-max-content;
    width: max-content;
  }
  .rForm__btn .cBtnClear {
    margin-top: 10px;
  }
  .realSearchResult__head {
    font-size: 18px;
    letter-spacing: 1.8px;
    width: 100%;
  }
  .realSearchResult__head span {
    font-size: 36px;
    letter-spacing: 3.6px;
  }
  .realSearchResult__content {
    margin-top: 12px;
    width: 100%;
  }
  .cInfoCards__item {
    margin-top: 5px;
  }
  .cInfoCard {
    padding: 20px calc(min(20px, 20rem) + 33.6px) 20px min(20px, 20rem);
  }
  .cInfoCard__title {
    font-size: 18px;
    gap: 0 8px;
    letter-spacing: 0.9px;
    line-height: 160%;
  }
  .cInfoCard__title::before {
    height: 8px;
    min-width: 8px;
    width: 8px;
  }
  .cInfoCard__lower {
    margin-top: 4px;
  }
  .cInfoCard__group {
    margin-top: 4px;
  }
  .cInfoCard__group:nth-of-type(1) {
    margin-top: 0;
  }
  .cInfoCard__label {
    min-width: -moz-max-content;
    min-width: max-content;
    position: relative;
    top: 3px;
    width: -moz-max-content;
    width: max-content;
    z-index: 0;
  }
  .cInfoCard__icon {
    right: min(20px, 20rem);
  }
}
@media (min-width: 769px) {
  .cFvChild__inner {
    min-height: 389px;
    padding: 155px 0 74px;
  }
  .cFvChild__img {
    min-height: 333px;
  }
  .cFvChild-noDetail .cFvChild__middle {
    top: 190px;
  }
  .cFvChild-noDetail .cFvChild__text {
    padding-top: 49px;
  }
  .cFvChild-noDetail .cFvChild__content {
    margin-top: 37px;
  }
  .cFvChild-noThum .cFvChild__inner {
    min-height: -moz-max-content;
    min-height: max-content;
    padding-bottom: 54px;
  }
  .cPickUpSection__list {
    display: flex;
    gap: min(17px, 17rem);
  }
  .pInfoPersonality__inner {
    display: flex;
    gap: 20px;
  }
  .pInfoPersonality__head {
    position: sticky;
    top: var(--scrollTopPc);
    width: 345px;
  }
  .pInfoPersonality__content {
    padding-top: 95px;
  }
  .cPersonality__title {
    height: 56px;
  }
  .cPersonality__detail {
    text-align: center;
    white-space: nowrap;
  }
  .cPersonality__img {
    margin: auto;
    margin-top: 10px;
  }
  .pInfoFlow__inner {
    display: flex;
    gap: 20px;
  }
  .pInfoFlow__head {
    height: -moz-max-content;
    height: max-content;
    position: sticky;
    top: var(--scrollTopPc);
    width: 345px;
  }
  .pInfoFlow__content {
    padding-top: 24px;
    width: calc(100% - 345px - 20px);
  }
  .cFlow {
    align-items: center;
    gap: 0 min(32px, 32rem);
    margin-top: 10px;
    padding: 18px 30px;
  }
  .rForm__row {
    display: flex;
    gap: 0;
  }
  .rForm__btn {
    align-items: center;
    display: flex;
    gap: 0 20px;
    justify-content: center;
    margin-top: 40px;
  }
  .realSearchResult {
    display: flex;
  }
  .realSearchResult__head {
    top: -6px;
  }
  .cInfoCard__lower {
    /*
    align-items: center;
    */
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
  }
  .cInfoCard__group {
    align-items: center;
    flex-wrap: wrap;
  }
}
@media (min-width: 961px) {
  .cFvChild__middle {
    position: absolute;
    right: 0;
    top: 220px;
    width: calc(100% - 460px - min(114px, 114rem));
    z-index: 0;
  }
}
@media (min-width: 1085px) {
  .cPersonalityList {
    align-items: stretch;
    display: flex;
    gap: min(10px, 10rem);
  }
}
@media (hover: hover) {
  .cAnkerLink:hover .cAnkerLink__text {
    color: var(--Bright-Blue);
  }
  a.cBreadcrumb:hover {
    color: var(--Bright-Blue);
  }
  .cFlow__detail a:hover {
    color: var(--Bright-Blue);
  }
  .cTag label:hover {
    opacity: 0.5;
  }
  .cBtnSearch:hover {
    background: var(--Bright-Blue);
  }
  .cBtnSearch:hover .cBtnSearch__icon {
    transform: scale(1.2);
  }
  .cBtnClear:hover {
    background: var(--Bright-Blue);
    border: solid 1px var(--Bright-Blue);
  }
  .cBtnClear:hover .cBtnClear__text {
    color: var(--white);
  }
  .cBtnClear:hover .cBtnClear__icon {
    transform: scale(1.2);
  }
}

/* ==================================================
   検索フォーム：日付検索エリアのレイアウト
   ================================================== */

/* Flexboxの親コンテナ */
.date-search-field {
  display: flex;
  flex-wrap: wrap; /* スマホ表示などで折り返すように */
  gap: 20px 30px; /* 縦横の隙間 */
  align-items: flex-start; /* 上揃え */
  width: calc(100% - 110px); /* 親の幅に合わせて調整 */
}

/* 左側のカレンダーのコンテナ */
.calendar-wrapper {
  flex: 1 1 300px; /* 基本幅300px、スペースがあれば伸びる、狭ければ縮む */
  min-width: 280px; /* 最小幅 */
}

/* 右側の期間指定フォームのコンテナ */
.date-range-wrapper {
  flex: 1 1 250px;
  padding-top: 10px; /* カレンダーとの高さを微調整 */
}

.date-range-label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.date-range-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}
.date-range-inputs input[type="date"] {
  padding: 8px;
  border: 1px solid var(--Gray, #ccc);
  border-radius: 4px;
  flex-grow: 1; /* 入力欄がスペースに合わせて伸びる */
}

/* 既に定義済みのカレンダーのスタイルに、幅の調整を追加 */
#wp-calendar {
  width: 100%; /* 親要素(calendar-wrapper)の幅に追従させる */
  max-width: 400px; /* カレンダーが広がりすぎないように最大幅を指定 */
}

/* ==================================================
 レスポンシブ対応 (スマホ表示)
 ================================================== */
@media (max-width: 768px) {
  .rForm__row {
    /* スマホではFlexboxを解除して縦積みに */
    display: block;
  }

  .date-search-field {
    /* 親の幅いっぱいに広がるように */
    width: 100%;
  }

  /* カレンダーと期間指定を縦に並べる */
  .date-search-field {
    flex-direction: column;
    align-items: stretch; /* 幅を揃える */
    gap: 20px;
  }

  #wp-calendar {
    max-width: none; /* スマホでは最大幅の制限を解除 */
  }
}

/* ==================================================
   ログインページ / マイページ共通フォーム
   ================================================== */
.login-section,
.mypage-section {
  padding: 80px 0;
}
.login-container,
.mypage-container {
  max-width: 500px;
  max-width: 50%;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
@media (max-width: 767px) {
  .login-container,
  .mypage-container {
    max-width: 500px;
  }
}
.login-title,
.mypage-title {
  text-align: center;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 30px;
}
.login-error-message {
  background: #fff2f2;
  color: #d9534f;
  padding: 15px;
  border: 1px solid #d9534f;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 1.25rem;
}
.login-form .form-row {
  margin-bottom: 20px;
}
.login-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.form-input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.login-button {
  width: 100%;
  padding: 15px;
  font-size: 18px;
}

.login-form .form-row input[type="submit"] {
  font-size: 1.85rem;
}

.login-form .form-row input[type="text"] {
  font-size: 1.55rem;
}

/* ==================================================
   マイページ（会員ページ）
   ================================================== */

.mypage-container p {
  font-size: 1.55rem;
}

.mypage-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.mypage-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  text-align: center;
  transition: all 0.2s;
}
.mypage-menu-item:hover {
  background-color: #f8f9fa;
  border-color: #ddd;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.mypage-menu-item i {
  font-size: 32px;
  margin-bottom: 15px;
  color: #1a73e8;
}

.mypage-menu-item span {
  font-size: 1.55rem;
  font-weight: normal;
}

@media (max-width: 767px) {
  .mypage-menu-item span {
    font-size: 1.05rem;
  }
}
.mypage-list-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.mypage-list-table th,
.mypage-list-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}
.mypage-list-table thead th {
  background-color: #f8f9fa;
  font-weight: bold;
}
.mypage-list-table tbody tr:nth-child(even) {
  background-color: #fdfdfd;
}

.mypage-form .form-section-title {
  font-size: 1.65rem;
  margin-bottom: 15px;
}

.mypage-form .form-row {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.mypage-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1.55rem;
  margin-top: 5px;
}
.form-input,
.mypage-form textarea,
.mypage-form select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}
.mypage-form textarea {
  min-height: 150px;
}

.mypage-form input[type="text"] {
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.mypage-form input[type="submit"] {
  font-size: 1.85rem;
}

.mypage-list-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
}
.mypage-list-table th,
.mypage-list-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
  font-size: 1.33rem;
}
.mypage-list-table thead th {
  background-color: #f8f9fa;
  font-size: 1.38rem;
  font-weight: normal;
}

/* ... (既存の .mypage-section, .mypage-container, .mypage-form などのスタイルはそのまま) ... */

h2.mypage-subtitle {
  font-size: 22px;
  margin-top: 60px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}
hr.form-divider {
  border: none;
  border-top: 2px solid #f0f0f0;
  margin: 60px 0;
}

/* テーブルをレスポンシブ対応させるラッパー */
.table-wrapper {
  overflow-x: auto; /* 横幅が足りない時だけ横スクロールバーを表示 */
}

.mypage-list-table .button-small {
  padding: 4px 10px;
  font-size: 13px;
}
.mypage-list-table .button-delete {
  background-color: #dc3545;
  border-color: #dc3545;
}
.mypage-list-table .button-delete:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

/* 投稿数制限の通知 */
.mypage-notice {
  padding: 15px;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  border-radius: 4px;
  text-align: center;
}

/* 物件詳細ページ */
/* ==================================================
   詳細ページ共通スタイル (single-*.php)
   ================================================== */
.entry-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}
.entry-title {
  font-size: 32px;
  margin: 0;
}
.entry-content section {
  /* 各セクションの余白 */
  margin-bottom: 50px;
}
.entry-content h3 {
  /* セクション内の小見出し */
  font-size: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}
.entry-header .property-meta-header span {
  font-size: 1.55rem;
}
/* ==================================================
   物件詳細ページ・ギャラリーレイアウト (修正版)
   ================================================== */

/* 親コンテナをFlexboxに設定 */
.property-gallery-section {
  display: flex;
  gap: 20px; /* 左右の画像間の隙間 */
  margin-bottom: 40px;
}

/* 左側：メイン画像 */
.gallery-main-image {
  flex: 2; /* 比率を2に設定（サブ画像より広く） */
  min-width: 0; /* flexアイテムの縮小問題を回避 */
}
.gallery-main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover; /* 画像の比率を保ったままコンテナにフィット */
  aspect-ratio: 4 / 3; /* 画像のアスペクト比を4:3に固定（任意） */
}

/* 右側：フォトギャラリー */
.gallery-sub-images {
  flex: 1; /* 比率を1に設定 */
  display: grid;
  /* 2列のグリッドレイアウト */
  grid-template-columns: repeat(2, 1fr);
  gap: 10px; /* 画像間の隙間 */
  align-content: start; /* 上から詰めて配置 */
  max-height: 500px; /* 高さを制限（任意） */
  overflow-y: auto; /* 高さを超えたらスクロール（任意） */
}
.gallery-sub-images a {
  display: block;
}
.gallery-sub-images img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 16 / 10; /* アスペクト比を16:10に（任意） */
  cursor: pointer;
}

/* --- スマホ用のレスポンシブ対応 --- */
@media (max-width: 768px) {
  /* 画面が狭くなったら縦積みに変更 */
  .property-gallery-section {
    flex-direction: column;
  }

  /* サブ画像の列数を増やす（見た目のバランス調整） */
  .gallery-sub-images {
    grid-template-columns: repeat(3, 1fr);
    max-height: none; /* 高さ制限を解除 */
    overflow-y: visible;
  }
}

/* (古いスタイルは不要になるので削除) */
/* .property-main-visual { ... } */
/* .property-photo-gallery { ... } */

/* 価格・サマリーセクションのスタイル */
.property-summary-section {
  background-color: #f8f9fa;
  background-color: #f0f6da;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}
.property-price {
  font-size: 36px;
  font-size: 5rem;
  font-weight: bold;
  font-weight: 300;
  color: #d9534f;
  color: #000;
  margin: 0 0 20px 0;
}
.property-price span {
  font-size: 20px;
  font-weight: normal;
  color: #333;
  margin-left: 5px;
}
.summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.summary-list li {
  font-size: 16px;
  font-size: 1.85rem;
}

/* ==================================================
   会社情報カード（共通コンポーネント）
   ================================================== */
.company-card {
  display: flex;
  gap: 20px;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.company-card .company-logo {
  flex-shrink: 0;
  width: 120px;
}
.company-card .company-logo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.company-card .company-details h4 {
  margin-top: 0;
}

/* カレンダーの選択された日付のスタイル */
#wp-calendar tbody td a.selected,
#wp-calendar tbody td a:active {
  /* クリックした瞬間のスタイル */
  background-color: #005a80; /* 例: 濃い青色 */
  color: #fff;
  font-weight: bold;
}

/* カレンダーのクリック可能な日付 */
#wp-calendar .reservable-day {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  color: #1a73e8;
  transition: background-color 0.2s, color 0.2s;
}
#wp-calendar .reservable-day:hover {
  background-color: #e9ecef;
}

/* 選択中の日付 */
#wp-calendar .reservable-day.selected {
  background-color: #1a73e8;
  color: #fff;
}

/* Flexboxの親コンテナ */
.date-search-field {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  align-items: flex-start;
  width: calc(100% - 110px);
}

/* 左側のカレンダーのコンテナ */
.calendar-wrapper {
  flex: 1 1 300px;
}
.calendar-wrapper caption {
  font-size: 2rem;
  padding-bottom: 1rem;
}
/* 右側の期間指定フォームのコンテナ */
.date-range-wrapper {
  flex: 1 1 250px;
  padding-top: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .date-search-field {
    flex-direction: column; /* スマホでは縦積みに */
    align-items: stretch;
  }
}

.entry-content-wrapper {
  display: flex;
  gap: 40px;
}
.main-content {
  flex: 1;
}
.sidebar-content {
  flex: 0 0 300px;
}
.sidebar-widget {
  margin-bottom: 30px;
}
.responsive-video-container,
.google-map-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.responsive-video-container iframe,
.google-map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
}
.details-table th,
.details-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
}
.details-table th {
  background-color: #f8f9fa;
  text-align: left;
  width: 30%;
}

/* srec-style.css に追記 */

/* --- イベント詳細ページ --- */
.entry-content-wrapper {
  display: flex;
  flex-wrap: wrap; /* スマホで折り返すように */
  gap: 40px;
}
.main-content {
  flex: 1;
  min-width: 0; /* flexアイテムの幅が縮小できるように */
}
.sidebar-content {
  flex: 0 0 320px; /* サイドバーの幅を固定 */
  width: 320px;
}

/* スマホ表示の調整 */
@media (max-width: 960px) {
  .sidebar-content {
    flex-basis: 100%; /* スマホでは幅を100%にして改行させる */
    width: 100%;
  }
}

.event-main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.sidebar-widget {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}
.sidebar-widget h4 {
  margin-top: 0;
  font-size: 18px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

/* サイドバー内の会社カード */
.company-card-widget .company-logo {
  float: left;
  margin-right: 15px;
  width: 80px;
}
.company-card-widget .company-details {
  overflow: hidden; /* floatの回り込み解除 */
}
.company-card-widget .company-details h5 {
  margin: 0 0 5px 0;
}
.company-card-widget .company-details p {
  font-size: 14px;
  margin: 0 0 15px 0;
}

/* ==================================================
   詳細ページ共通スタイル
   ================================================== */
.entry-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
  margin-top: 50px;
}
.entry-title {
  font-size: 2.5em; /* 36px-40px相当 */
  font-size: 3em;
  margin: 0;
  padding-bottom: 1rem;
}
@media (max-width: 767px) {
  .entry-title {
    font-size: 2.5em;
  }
}
.entry-content section {
  margin-bottom: 60px;
}
.entry-content h3 {
  font-size: 1.5em; /* 24px相当 */
  font-size: 1.88em;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  border-bottom: 3px solid #b0c4de;
  margin-bottom: 25px;
}

.property-description p {
  font-size: 1.85rem;
  line-height: 1.75;
}
/* ==================================================
   物件詳細ページ (single-property.php)
   ================================================== */

/* --- メインギャラリー --- */
.property-gallery .main-image {
  margin-bottom: 15px;
}
.property-gallery .main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.property-gallery .sub-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}
.property-gallery .sub-images img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ddd;
}

/* --- 物件サマリー --- */
.property-summary {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}
.property-price {
  font-size: 2.8em;
  font-weight: 700;
  font-size: 5rem;
  font-weight: 300;
  color: #c92a2a; /* 少し落ち着いた赤 */
  color: #000;
  margin: 0 0 15px 0;
}
.property-price span {
  font-size: 0.5em;
  font-weight: normal;
  color: #343a40;
  margin-left: 5px;
}
.property-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 1.1em;
}

/* --- 物件概要テーブル --- */
.details-table {
  width: 100%;
  border: 1px solid #dee2e6;
  border-collapse: collapse;
}
.details-table th,
.details-table td {
  padding: 15px;
  border: 1px solid #dee2e6;
}
.details-table th {
  width: 25%;
  font-weight: bold;
  font-weight: normal;
  background-color: #f8f9fa;
  text-align: left;
  vertical-align: top;
  font-size: 1.65rem;
}
.details-table td {
  width: 75%;
  font-size: 1.55rem;
}

/* --- 取扱会社情報 --- */
.company-info-section .company-card {
  display: flex;
  align-items: center;
  gap: 25px;
  background-color: #fff;
  padding: 25px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
}
.company-info-section .company-logo {
  flex: 0 0 150px;
}
.company-info-section .company-logo img {
  width: 100%;
  height: auto;
  border-radius: 50%; /* ロゴを円形に */
}
.company-info-section .company-details {
  flex: 1;
}
.company-info-section .company-details h4 {
  margin-top: 0;
  font-size: 1.3em;
  font-size: 1.75rem;
}
.company-info-section .company-details p {
  margin: 5px 0 15px;
  color: #495057;
  font-size: 1.55rem;
  padding-top: 10px;
}
@media (max-width: 767px) {
  .company-info-section .company-details p {
    font-size: 1.2rem;
  }
}

/* ==================================================
   建築実例詳細ページ (single-works.php)
   ================================================== */

/* --- ヘッダーエリア --- */
.works-detail-article .entry-header {
  text-align: left; /* 左揃えに */
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}
.works-detail-article .entry-title {
  font-size: 2.2em;
}
.works-detail-article .work-meta {
  margin-top: 10px;
  font-size: 1.1em;
  color: #555;
}
.works-detail-article .work-meta a {
  color: #555;
  text-decoration: underline;
}
.works-detail-article .work-meta a:hover {
  color: #1a73e8;
}

/* --- フォトギャラリーセクション --- */
.works-gallery-full {
  display: grid; /* グリッドレイアウトを有効化 */
  grid-template-columns: repeat(3, 1fr); /* 3つの均等なカラムを作成 */
  gap: 20px; /* アイテム間の隙間 (20px) */
  margin-bottom: 50px;
}
.works-gallery-full .main-image {
  margin-bottom: 15px;
}
.works-gallery-full .main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.works-gallery-full .sub-images {
  display: grid;
  /* サムネイルをいい感じのサイズで自動的に折り返し表示 */
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}
.works-gallery-full .sub-images a {
  display: block;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden; /* 角丸を適用するため */
  transition: border-color 0.2s;
}
.works-gallery-full .sub-images a:hover {
  border-color: #1a73e8; /* ホバー時にアクセントカラーの枠線 */
}
.works-gallery-full .sub-images img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

/* --- 紹介文セクション --- */
.work-description {
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 8px;
}
.work-description h3 {
  margin-top: 0;
  font-size: 1.6em;
  border-bottom: none; /* 下線を削除 */
}
.work-description p {
  line-height: 1.8;
}

/* --- 会社情報セクション --- */
.company-info-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}
/* 会社情報カードのスタイルは、single-propertyで定義した共通の .company-card スタイルが適用されます */

/* ==================================================
   土地詳細ページ (single-land.php) の独自スタイル
   ================================================== */

/* --- 土地サマリー --- */
.land-summary {
  background-color: #e7f5ff; /* 物件とは違う、少し青みがかった背景色に */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

/* 価格の文字色を変更 */
.land-price {
  font-size: 2.8em;
  font-weight: 700;
  color: #1971c2; /* 落ち着いた青色 */
  margin: 0 0 15px 0;
}
.land-price span {
  font-size: 0.5em;
  font-weight: normal;
  color: #343a40;
  margin-left: 5px;
}

/* ==================================================
   会社詳細ページ (single-company.php)
   ================================================== */

.company-profile-page .entry-content {
  padding-top: 0; /* ヘッダーとの余白を調整 */
}

/* --- ページ内ナビゲーション --- */
.page-local-nav {
  position: sticky; /* スクロールに追従 */
  top: 0; /* 上端に固定 */
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  z-index: 100;
  padding: 0 20px;
}
.page-local-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}
.page-local-nav a {
  display: block;
  padding: 15px 10px;
  font-weight: bold;
  color: #555;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.page-local-nav a:hover {
  color: #1a73e8;
  border-bottom-color: #1a73e8;
}

/* --- 会社トップセクション --- */
.company-top-section .entry-header {
  position: relative; /* テキストを画像の上に重ねるため */
  text-align: center;
  padding: 0;
  border: none;
  margin: 0;
}
.company-top-section .company-main-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.company-top-section .company-header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px 50px;
  border-radius: 8px;
  width: 80%;
  max-width: 800px;
}
.company-top-section .entry-title {
  color: #fff;
  font-size: 3em;
  margin: 0 0 10px 0;
}
.company-top-section .company-strength {
  font-size: 1.2em;
  font-weight: normal;
  opacity: 0.9;
}

/* --- 各コンテンツセクションの共通スタイル --- */
.company-section {
  padding: 80px 0;
  border-bottom: 1px solid #f0f0f0;
}
.company-section:last-of-type {
  border-bottom: none;
}
.section-title {
  text-align: center;
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 50px;
}

/* --- 建築実例セクション --- */
.works-gallery-container .work-item {
  margin-bottom: 80px;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 50px;
}
.works-gallery-container .work-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.work-item .work-title {
  font-size: 1.6em;
  margin-bottom: 20px;
}
.work-item .work-gallery img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

/* --- イベントセクション --- */
.event-list-container .event-item {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #fff;
}
.event-list-container .event-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.event-item .event-title {
  margin-top: 0;
}
.event-item .event-title a {
  text-decoration: none;
  color: #333;
}

/* --- 物件一覧セクション --- */
/* トップページや一覧ページで使った .post-list-container のスタイルが適用されます */
/* 必要であれば、このページ専用のスタイルを上書き */
.company-properties-list .post-list-container {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* --- 会社概要セクション --- */
/* .details-table の共通スタイルが適用されます */
#company-details .company-details-table {
  max-width: 800px;
  margin: 0 auto;
}

.company-info-section .company-details a {
  font-size: 1.65rem;
}
@media (max-width: 767px) {
  .company-info-section .company-details a {
    font-size: 1.35rem;
  }
}
/* */
/* ==================================================
   お知らせ一覧ページ (archive-news.php)
   ================================================== */
/*
.news-list-container {
  max-width: 900px; 
  margin: 0 auto 50px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}
*/
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list-item {
  border-bottom: 1px solid #f0f0f0;
}
.news-list-item:last-child {
  border-bottom: none;
}

.news-list-item a {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

.news-list-item a:hover {
  background-color: #f8f9fa;
}

.news-date {
  flex: 0 0 120px; /* 日付の幅を固定 */
  font-size: 15px;
  color: #6c757d;
}

.news-title {
  flex: 1; /* 残りの幅を全て使う */
  font-weight: bold;
}

.news-arrow {
  margin-left: 20px;
  color: #ced4da;
}

/* ==================================================
   お知らせ詳細ページ (single-news.php)
   ================================================== */
/*
.news-detail-article {
  max-width: 800px; 
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
*/
.news-detail-article .entry-header {
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}
.news-detail-article .entry-title {
  font-size: 2em;
  margin-bottom: 15px;
}
.news-detail-article .entry-meta {
  font-size: 0.9em;
  color: #6c757d;
}

.news-detail-article .post-thumbnail {
  margin-bottom: 30px;
}
.news-detail-article .post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.news-detail-article .entry-content {
  font-size: 1.1em;
  line-height: 1.9;
}
.news-detail-article .entry-content h2 {
  font-size: 1.6em;
  margin-top: 2em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #f0f0f0;
}
.news-detail-article .entry-content p {
  margin-bottom: 1.5em;
}

.news-detail-article .entry-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}
.post-navigation-wrapper {
  display: flex;
  justify-content: space-between;
}
.post-navigation-wrapper .nav-previous,
.post-navigation-wrapper .nav-next {
  max-width: 48%;
}
.post-navigation-wrapper .nav-previous {
  text-align: left;
}
.post-navigation-wrapper .nav-next {
  text-align: right;
}

.mypage-section .current-terms {
  font-size: 1.55rem;
}

/* ==================================================
   監視会員・管理者 ログインページ
   (page-supervisor-login.php)
   ================================================== */

/* 背景を少し暗くして、特別なページであることを示す */
body.page-template-page-supervisor-login {
  background-color: #f0f2f5;
}

/* フォームを中央に配置するセクション */
.login-section {
  padding: 10vh 0; /* 画面の縦方向の中央あたりに配置 */
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ログインフォームのコンテナ（白いカード） */
.login-container {
  width: 100%;
  max-width: 400px; /* フォームの最大幅 */
  padding: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #0073aa; /* アクセントカラーのライン */
}

/* フォームのタイトル */
.login-title {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #3c434a;
  margin-top: 0;
  margin-bottom: 30px;
}

/* ログインフォーム本体 (WordPressが生成) */
#loginform {
  margin: 0;
}

/* ラベル (ユーザー名、パスワード) */
#loginform label {
  display: block;
  font-weight: bold;
  color: #50575e;
  margin-bottom: 8px;
  font-size: 1.35rem;
}

#loginform .login-submit {
  font-size: 1.55rem;
}

/* 入力欄 */
#loginform .input,
#loginform input[type="text"],
#loginform input[type="password"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fdfdfd;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
}
#loginform .input:focus,
#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus {
  border-color: #0073aa;
  box-shadow: 0 0 0 1px #0073aa;
  outline: none;
}

/* 「ログイン状態を保存する」のチェックボックス */
.forgetmenot {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.forgetmenot label {
  font-weight: normal;
  margin: 0 0 0 5px;
}

/* ログインボタン */
#loginform .submit .button {
  width: 100%;
  height: auto;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  text-shadow: none;
  background: #2271b1;
  border: 1px solid #2271b1;
  box-shadow: none;
  transition: background-color 0.2s;
}
#loginform .submit .button:hover {
  background: #1e629a;
}

/* パスワードをお忘れですか？ リンク */
#nav {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

/* ログイン失敗時のエラーメッセージ */
.login-error-message {
  background: #fff2f2;
  color: #d9534f;
  padding: 15px;
  border: 1px solid #d9534f;
  border-radius: 4px;
  margin-bottom: 20px;
}

.mypage-success-message {
  font-size: 1.75rem;
  color: #ed6d35;
  font-weight: bold;
  margin-bottom: 10px;
}

.image-preview-wrapper {
  margin-bottom: 15px;
  border: 1px dashed #ccc;
  padding: 10px;
  min-height: 160px; /* 画像がない時でも高さを確保 */
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-preview-wrapper img {
  max-width: 100%;
  max-height: 200px; /* プレビューが大きくなりすぎないように */
  height: auto;
}

/* ==================================================
   会社一覧カードのデザイン (ご提示のデザイン)
   ================================================== */

.company-list-item {
  list-style: none;
  margin-bottom: 20px;
}

.company-card-link {
  display: flex; /* ★ 子要素を横並びにする Flexboxの起点 */
  align-items: center; /* 上下中央揃え */
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}
.company-card-link:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* --- 左側の画像 --- */
.company-card-thumbnail {
  flex: 0 0 200px; /* ★ 幅を200pxで固定（伸び縮みしない） */
  width: 200px;
  height: 130px;
  margin-right: 25px;
}
.company-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* --- 中央の情報エリア --- */
.company-card-content {
  flex: 1 1 auto; /* ★ 残りのスペースを全て使う */
}
.company-card-title {
  font-size: 1.5rem; /* 24px相当 */
  font-weight: bold;
  color: #007bff; /* リンク色 */
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
}
.company-card-title .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #007bff;
  border-radius: 50%;
  margin-right: 10px;
}
.company-card-tags,
.company-card-counts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 15px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.company-card-tags .tag-label,
.company-card-counts .count-item {
  color: var(--color-text-light);
}
.company-card-tags .tag {
  background-color: #fff;
  border: 1px solid #dee2e6;
  padding: 3px 12px;
  border-radius: 20px;
}
.company-card-counts .count-number {
  background-color: #fff;
  border: 1px solid #dee2e6;
  padding: 3px 12px;
  border-radius: 20px;
  margin-left: 5px;
  font-weight: bold;
}

/* --- 右端の矢印 --- */
.company-card-arrow {
  font-size: 1.5rem;
  color: #adb5bd;
  margin-left: 20px;
}

/* --- レスポンシブ対応 (スマホ) --- */
@media (max-width: 768px) {
  .company-card-link {
    flex-direction: column; /* 縦積みに変更 */
    align-items: flex-start; /* 左揃えに */
    padding: 15px;
  }
  .company-card-thumbnail {
    width: 100%;
    height: 180px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .company-card-arrow {
    display: none; /* スマホでは矢印を非表示に */
  }
}

/* ==================================================
   共通カードのデザイン (cInfoCard)
   ================================================== */

/* --- カードの親要素（li）--- */
.cInfoCards__item {
  list-style: none;
  margin-bottom: 20px; /* カード間の縦の隙間 */
}

/* --- カード全体を囲むリンク（aタグ）--- */
.cInfoCard {
  display: flex; /* ★ PCではFlexboxで子要素を横並びに */
  align-items: center; /* 上下中央揃え */
  gap: 25px; /* 画像とテキストの間の隙間 */
  background-color: var(--Light-Gray, #f4f4f4);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: var(--black, #262626);
  transition: box-shadow 0.3s, transform 0.3s;
  overflow: hidden; /* 角丸を適用するため */
}
.cInfoCard.isHover:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

/* --- 1. 左側のサムネイル画像 --- */
.cInfoCard__thumbnail {
  flex: 0 0 180px; /* ★ 幅を180pxで固定（伸び縮みしない） */
  width: 180px;
  height: 120px; /* 高さを指定 */
  flex: 0 0 250px;
  width: 250px;
  height: 165px;
}
.cInfoCard__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像の比率を保ったままトリミング */
  border-radius: 6px;
}

/* --- 2. 中央のテキスト情報エリア --- */
.cInfoCard__content {
  flex: 1 1 auto; /* ★ 残りの幅を全て使う */
  min-width: 0;
}
.cInfoCard__upper {
  margin-bottom: 12px;
}
.cInfoCard__title {
  /*
  font-size: 1.3rem; 
  */
  font-weight: bold;
  color: var(--Bright-Blue, #00a4f3);
  line-height: 1.4;
}
.cInfoCard__lower {
  display: flex;
  flex-direction: column; /* 各グループを縦に並べる */
  gap: 8px; /* 各情報グループの間の隙間 */
}
.cInfoCard__group {
  display: flex;
  align-items: baseline; /* ラベルとタグのベースラインを揃える */
  font-size: 0.9rem; /* 14px相当 */
}
.cInfoCard__label {
  flex-shrink: 0; /* ラベルが縮まないように */
  margin-right: 10px;
  color: var(--Dark-Gray, #5e5e5e);
  font-weight: bold;
  font-size: 1.7rem;
}
.cInfoCard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.cInfoCard__tag {
  background-color: var(--white, #fff);
  /*
  border: 1px solid var(--Gray, #c4c4c4);
  */
  padding: 2px 10px;
  border-radius: 5px;
  font-size: 0.85rem; /* 13px-14px相当 */
  font-size: 1.6rem;
}

/* --- 3. 右端の矢印アイコン --- */
.cInfoCard__icon {
  font-size: 1.8rem;
  color: var(--Grayish-Blue, #c2dae6);
  margin-left: auto; /* 右端に寄せる */
  padding-left: 20px;
}

/* ==================================================
 ★★★ レスポンシブ対応 (スマホ表示) ★★★
 ================================================== */
@media (max-width: 768px) {
  .cInfoCard {
    flex-direction: column; /* ★ Flexboxの並びを縦積みに変更 */
    align-items: stretch; /* 子要素を親の幅いっぱいに広げる */
    gap: 15px; /* 各要素の間の隙間を調整 */
    padding: 15px;
  }

  .cInfoCard__thumbnail {
    width: 100%; /* 幅を100%に */
    height: 180px; /* 高さを少し大きく */
    flex-basis: auto; /* flexの基本サイズを自動に */
    margin-right: 0; /* 右の余白をリセット */
  }

  .cInfoCard__content {
    /* 幅は親要素に追従するので特別な指定は不要 */
  }

  .cInfoCard__icon {
    display: none; /* スマホでは矢印アイコンを非表示にする */
  }

  .cInfoCard__title {
    font-size: 1.1rem; /* スマホ用に少し小さく */
    font-size: 2.3rem;
  }

  .cInfoCard__group {
    /* スマホではラベルとタグが縦に並んでも良い */
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ==================================================
   カスタムセレクトボックスのデザイン
   ================================================== */

/* --- 1. ラッパーのスタイル --- */
.cSelectWrapper {
  position: relative; /* 矢印アイコンを絶対配置するための基準点 */
  display: inline-block; /* 中身に合わせて幅を調整 */
  width: 200px; /* 必要に応じて幅を指定 */
}

/* --- 2. 矢印アイコンのスタイル (疑似要素で作成) --- */
.cSelectWrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);

  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 5px 0 5px; /* 上6px, 左右5pxの三角形 */
  border-color: var(--black, #262626) transparent transparent transparent; /* 上だけ黒、他は透明 */

  pointer-events: none; /* アイコンがクリックを邪魔しないように */
  z-index: 2;
}

/* --- 3. selectタグ本体のスタイル --- */
.cForm__select {
  /* デフォルトの矢印を消すための設定 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* 見た目の調整 */
  width: 100%;
  padding: 10px 40px 10px 15px; /* 右側にアイコン用の余白を確保 */
  font-size: 16px;
  border: 1px solid var(--Gray, #c4c4c4);
  border-radius: 4px;
  background-color: var(--white, #fff);
  cursor: pointer;
}

/* IE11用の矢印非表示（念のため） */
.cForm__select::-ms-expand {
  display: none;
}

/* ==================================================
   詳細ページ共通スタイル
   ================================================== */
.entry-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.main-content {
  flex: 1;
  min-width: 0;
}
.sidebar-content {
  flex: 0 0 320px;
  width: 320px;
}
@media (max-width: 960px) {
  .sidebar-content {
    flex-basis: 100%;
    width: 100%;
  }
}

.details-table {
  width: 100%;
}
.company-card-widget {
}
.google-map-container iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

/* ==================================================
      会社詳細ページ (single-company.php)
      ================================================== */
.company-hero {
  position: relative;
}
.company-hero-image img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
}
.company-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.company-tabs-section {
  margin-top: 50px;
}
.tab-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 -1px 0;
  border-bottom: 1px solid #ccc;
}
.tab-item {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
}
.tab-item.is-active {
  border-color: #ccc;
  background: #fff;
  border-radius: 6px 6px 0 0;
  font-size: 2rem;
}
.tab-content .tab-panel {
  display: none;
  padding: 30px;
  border: 1px solid #ccc;
  border-top: none;
}
.tab-content .tab-panel.is-active {
  display: block;
}

/* single-property.php 用の追加スタイル */
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-tag {
  background-color: #e9ecef;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}
.company-info-section-bottom {
  border-top: 1px solid #000;
  padding-top: 40px;
  margin-top: 60px;
}

/* ==================================================
   建築実例詳細ページ (single-works.php)
   ================================================== */

/* 各ギャラリーアイテム (div.gallery-item) */
.works-gallery-full .gallery-item {
  border-radius: 8px; /* アイテムの角を丸める */
  overflow: hidden; /* 角丸やアニメーションのため */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 影をつけて立体感を出す */
}
/* ギャラリーアイテム内のリンク要素 */
.works-gallery-full .gallery-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease-in-out;
}
.works-gallery-full .gallery-item a:hover {
  transform: scale(1.03); /* ホバー時に少し拡大 */
}
/* ギャラリーの画像 */
.works-gallery-full .gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* 画像の高さを揃えるためにアスペクト比を固定（推奨） */
  object-fit: cover; /* 画像をトリミングしてフィットさせる */
  display: block; /* 画像下の余分なスペースをなくす */
}
/* キャプションのスタイル */
.works-gallery-full .gallery-item .gallery-caption {
  padding: 10px 15px;
  background-color: #fff;
  font-size: 14px;
  text-align: center;
  color: #333;
}
.gallery-caption {
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
  margin-top: 10px;
}

/* ヒーロー画像の代替表示用のスタイル */
.hero-image-placeholder {
  width: 100%;
  height: 50vh; /* aiv-imageと同じ高さを確保 */
  background-color: #343a40; /* 例: ダークグレーの背景 */
  display: flex;
  align-items: center;
  justify-content: center;
}
/* もし代替画像を入れるなら */
.hero-image-placeholder::before {
  content: "Image Coming Soon";
  color: #fff;
  font-size: 1.5rem;
  opacity: 0.5;
}

/* タブレットサイズ (例: 992px以下) */
@media (max-width: 992px) {
  .works-gallery-full {
    grid-template-columns: repeat(2, 1fr); /* 2カラムに変更 */
    gap: 15px;
  }
}

/* スマートフォンサイズ (例: 576px以下) */
@media (max-width: 576px) {
  .works-gallery-full {
    grid-template-columns: 1fr; /* 1カラムに変更 */
    gap: 20px;
  }
}

/* ==================================================
   詳細ページ共通スタイル (再利用・確認)
   ================================================== */
/* このあたりは、single-propertyで既に定義済みのはずです */
.detail-page-article {
  max-width: 1200px;
  margin: 0 auto;
}
.detail-page-header {
  padding: 20px 0;
  border-bottom: 1px solid #000;
  margin-bottom: 40px;
}
.header-tags .header-tag {
  display: inline-block;
  background: #00a1e9;
  color: #fff;
  padding: 3px 10px;
  padding: 5px 15px;
  font-size: 0.8rem;
  font-size: 1.15em;
  margin-right: 5px;
}
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 15px;
}
.header-title-group .entry-title {
  font-size: 2.5rem;
  margin: 0;
  padding-bottom: 1rem;
  font-weight: bold;
}
.header-title-group .entry-subtitle {
  font-size: 2rem;
}
.header-info-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 30px;
  font-size: 1rem;
  text-align: right;
}
.header-info-grid strong {
  display: block;
  font-size: 0.8rem;
  font-size: 1.85rem;
  color: #6c757d;
  padding-bottom: 0.5rem;
}
.header-info-grid p {
  margin: 0;
  font-weight: bold;
  font-size: 1.75rem;
  color: #ed6d35;
}

.detail-grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.detail-grid-main {
  flex: 1;
  min-width: 0;
}
.detail-grid-side {
  flex: 0 0 350px;
  width: 350px;
}
@media (max-width: 960px) {
  .detail-grid-side {
    flex-basis: 100%;
    width: 100%;
  }
}

.detail-section {
  margin-bottom: 40px;
}

@media (max-width: 960px) {
  .detail-section {
    max-width: 100%;
    width: 95%;
    margin: auto;
    margin-bottom: 40px;
  }
}
.detail-section-title {
  font-size: 1.4rem;
  font-size: 2.3rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 20px;
  margin-top: 1rem;
}

.detail-section .entry-content-body p {
  font-size: 1.85rem;
}

/* =======================================
   詳細ページヘッダーのレスポンシブ対応
   ======================================= */
@media (max-width: 960px) {
  /* --- 基本設定 --- */
  .detail-page-header {
    /* スマホでは左右の余白を少し設ける */
    padding: 20px 15px;
    margin-bottom: 30px;
  }

  .header-title-group .entry-title {
    /* スマホ用に少しフォントサイズを調整 */
    font-size: 2rem;
  }
  .header-title-group .entry-subtitle {
    font-size: 1.5rem;
  }

  .header-info-grid {
    /* スマホ用に少しフォントサイズを調整 */
    font-size: 0.9rem;
  }
  .header-info-grid strong {
    font-size: 1.5rem;
  }
  .header-info-grid p {
    font-size: 1.5rem;
  }

  /* --- レイアウトの変更 (ここが核心) --- */

  .header-main {
    /* 横並び (row) から縦積み (column) に変更 */
    flex-direction: column;

    /* アイテム間の隙間を設ける */
    gap: 20px;

    /* 縦積みにしたので、アイテムは左揃えにする */
    align-items: flex-start;
  }

  .header-info-grid {
    /* Gridレイアウトを解除し、通常のブロック要素に戻す */
    display: block;

    /* 右寄せを解除し、テキストを左揃えにする */
    text-align: left;
  }

  .header-info-grid > div {
    /* 開催日と開催場所のブロック間にマージンを追加 */
    margin-bottom: 15px;
  }

  /* 最後のブロックの下マージンは不要なので削除 */
  .header-info-grid > div:last-child {
    margin-bottom: 0;
  }
}
/* ==================================================
   イベント詳細ページ専用スタイル (single-event.php)
   ================================================== */

/* --- サイドバーウィジェット --- */
.sidebar-widget {
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
}
.sidebar-widget h4.detail-section-title {
  font-size: 1.2rem;
  font-size: 1.55rem;
  margin-top: 0;
  padding-bottom: 15px;
  margin-bottom: 25px;
  text-align: center;
  border-bottom-style: solid;
}

/* --- 予約ウィジェット --- */
.reservation-widget .reservation-step {
  margin-bottom: 25px;
}
.reservation-widget label {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1rem;
  font-size: 1.5rem;
}

/* カレンダーのラッパー */
#reservation-calendar {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 4px;
}
#reservation-calendar p {
  font-size: 1.35rem;
}
/* 予約フォーム */
.reservation-widget .mypage-form .form-row {
  margin-bottom: 15px;
}
.reservation-widget .mypage-form .form-input,
.reservation-widget .mypage-form input[type="text"],
.reservation-widget .mypage-form input[type="email"],
.reservation-widget .mypage-form input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.reservation-widget .mypage-form .button {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  font-size: 1.65rem;
}

/* 予約完了メッセージ */
#reservation-complete-message {
  padding: 20px;
  background-color: #e7f5ff;
  border: 1px solid #b3d7ff;
  color: #004085;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
}

#reservation-complete-message p {
  font-size: 1.55rem;
}
/* ==================================================
   会社詳細ページ (single-company.php)
   ================================================== */

/* --- 1. ページヘッダー --- */
.company-detail-article .detail-page-header {
  padding: 30px 0;
  border-bottom: 1px solid #000;
}
.company-detail-article .header-main {
  align-items: center; /* ロゴとタイトルを中央揃えに */
}
.company-detail-article .header-title-group {
  display: flex;
  align-items: center;
  gap: 20px;
}
.company-header-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.company-detail-article .entry-title {
  margin: 0;
}
.company-detail-article .entry-subtitle {
  margin: 5px 0 0;
  color: var(--color-text-light);
}
/* ヘッダー右側の情報は非表示にするか、必要ならスタイルを当てる */
.company-detail-article .header-info-grid {
  display: none;
}

/* --- 2. ヒーロー画像 --- */
.company-hero {
  position: relative;
  background-color: #f0f0f0; /* 画像がない場合の背景色 */
}
.company-hero-image img {
  display: block;
  width: 100%;
  height: 55vh; /* 画面の高さの55% */
  max-height: 600px;
  object-fit: cover;
}

/* --- 3. ページ全体のコンテンツエリア --- */
.company-page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* --- 4. 2カラムグリッドと詳細セクション --- */
/* 共通の .detail-grid-container スタイルが適用されます */

.company-tabs-section {
  margin-top: 0; /* detail-sectionにマージンがあるので0に */
}

/* --- ★★★ タブ切り替えのスタイル ★★★ --- */
.tab-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 -1px 0; /* ボーダーを重ねるためのネガティブマージン */
  border-bottom: 1px solid var(--color-border, #ccc);
}
.tab-item {
  padding: 12px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--color-text-light, #6c757d);
  border: 1px solid transparent;
  border-bottom: none;
  position: relative;
  bottom: -1px; /* ボーダーを重ねるため */
}
.tab-item.is-active {
  color: var(--color-primary, #007bff);
  background-color: var(--color-white, #fff);
  border-color: var(--color-border, #ccc);
  border-radius: 6px 6px 0 0;
}
.tab-content {
  border: 1px solid var(--color-border, #ccc);
  padding: 30px;
  background: var(--color-white, #fff);
}
.tab-content .tab-panel {
  display: none; /* 基本は非表示 */
}
.tab-content .tab-panel.is-active {
  display: block; /* is-activeクラスが付いたものだけ表示 */
}
/* タブ内のカードリストのスタイル */
.tab-content .cInfoCards {
  display: grid;
  grid-template-columns: 1fr; /* タブ内では1列表示 */
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- 取扱物件・土地セクション --- */
.company-properties-section {
  margin-top: 60px;
  padding-top: 40px;
  /*
  border-top: 2px solid #f0f0f0;
  */
}
.company-properties-section .post-list-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.company-properties-section .post-list-container .cInfoCards {
  list-style: none;
  padding: 0;
  margin: 0;
  /* gridの子要素になるので、中のul/liのスタイルをリセット */
}

/* --- 取扱物件・土地セクション --- */
.company-properties-section {
  margin-top: 60px;
  padding-top: 40px;
  /* border-top: 2px solid #f0f0f0; */
}

/* post-list-container を1カラムのグリッドコンテナに修正 */
.company-properties-section .post-list-container {
  display: grid;
  grid-template-columns: 1fr; /* ★★★ 1カラムに設定 ★★★ */
  gap: 30px; /* カード間の縦の隙間 */
}

.company-properties-section .post-list-container .cInfoCards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: contents; /* ★重要: ul要素のコンテナとしての役割をなくし、子要素(li)を直接gridの子にする */
}

/* cInfoCards内のli要素をgridアイテムとして扱う */
.company-properties-section .cInfoCards .post-item {
  /* ここにスタイルは不要 (liの中のarticleにスタイルが当たるため) */
}

/* ==================================================
   会社詳細ページ・ヒーローヘッダー
   ================================================== */
.company-hero-header {
  position: relative; /* 子要素を絶対配置するための基準点 */
  height: 60vh; /* 画面の高さの60% */
  min-height: 400px;
  max-height: 700px;
  background-size: cover; /* 背景画像を常に要素いっぱいに表示 */
  background-position: center center; /* 画像の中央を基準に表示 */
  color: #fff; /* 文字色を白に */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 画像の上に重ねる半透明の黒い膜 */
.company-hero-header .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 40%の黒 */
  z-index: 1;
}

/* タイトルやキャッチコピー */
.company-hero-header .hero-content {
  position: relative; /* オーバーレイの上に表示するため */
  z-index: 2;
  padding: 20px;
}
.company-hero-header .entry-title {
  font-size: 3.5rem;
  margin: 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* 文字に影をつけて読みやすく */
  font-weight: 800;
}
.company-hero-header .company-strength {
  font-size: 1.85rem;
  margin-top: 10px;
  opacity: 0.9;
}

/* ページ内ナビゲーションは削除したので、CSSも不要なら削除 */
/* .page-local-nav { ... } */

/* --- タブ切り替えのスタイル --- */
.tab-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 -1px 0;
  border-bottom: 1px solid #ccc;
}
.tab-item {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  background-color: #f8f9fa;
}
.tab-item.is-active {
  background-color: #fff;
  border-color: #ccc;
  border-bottom-color: #fff; /* 下線を消す */
  position: relative;
  bottom: -1px;
}

.tab-content .tab-panel {
  display: none; /* ★ 基本は非表示 */
  padding: 30px;
  border: 1px solid #ccc;
  border-top: none;
}
.tab-content .tab-panel.is-active {
  display: block; /* ★ is-active が付いたものだけ表示 */
}

/* --- タブ切り替えのスタイル --- */
.tab-content .tab-panel {
  display: none; /* ★ 基本は非表示 */
}
.tab-content .tab-panel.is-active {
  display: block; /* ★ is-active が付いたものだけ表示 */
}

/* 選択中のタブの見た目を整えるスタイル */
.tab-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 -1px 0;
  border-bottom: 1px solid #ccc;
}
.tab-item {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  background-color: #f8f9fa;
  font-weight: bold;
  color: #6c757d;
  font-size: 1.7rem;
}
.tab-item.is-active {
  background-color: #fff;
  border-color: #ccc;
  color: #007bff;
  position: relative;
  bottom: -1px; /* 下線を隠すテクニック */
}

.tab-panel p {
  font-size: 1.5rem;
}
/* タブパネルの初期状態：非表示 */
.tab-content .tab-panel {
  display: none;
}

/* アクティブなパネルだけ表示 */
.tab-content .tab-panel.is-active {
  display: block;
  /* フェードイン用の設定（JSでfadeInを使うなら不要だが、念のため） */
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ==================================================
   詳細情報リストのデザイン (dl.detail-list)
   ================================================== */

.detail-list {
  display: grid; /* ★ Grid Layout を使って、ラベルと内容を綺麗に揃える */
  grid-template-columns: 180px 1fr; /* 左列(ラベル)を180pxで固定、右列(内容)は残りの幅を使う */
  gap: 15px 20px; /* 行と列の間の隙間 */
  border-top: 1px solid var(--color-border, #eee);
  padding-top: 20px;
}

/* dt (ラベル側) のスタイル */
.detail-list dt {
  font-weight: bold;
  font-size: 1.75rem;
  color: var(--color-text-light, #6c757d);
  padding: 10px 0;
  /* 縦の罫線で区切る場合 */
  /* border-right: 1px solid var(--color-border, #eee); */
  /* text-align: right; */
  /* padding-right: 20px; */
}

/* dd (内容側) のスタイル */
.detail-list dd {
  margin: 0;
  padding: 10px 0;
  display: flex; /* 縦方向の中央揃えのため */
  align-items: center;
  border-bottom: 1px solid var(--color-border, #eee);
  font-size: 1.8rem;
}

/* 最後の項目の下線を消す */
.detail-list dt:last-of-type,
.detail-list dd:last-of-type {
  border-bottom: none;
}

/* --- レスポンシブ対応 (スマホ表示) --- */
@media (max-width: 768px) {
  .detail-list {
    /* ★ スマホではGridを解除し、1列表示に */
    display: block;
    border-top: none;
    padding-top: 0;
  }

  .detail-list dt {
    padding: 15px 0 5px 0;
    border-bottom: none; /* 下線をリセット */
    font-size: 0.9rem; /* ラベルを少し小さく */
    font-size: 1.55rem;
  }

  .detail-list dd {
    padding: 0 0 15px 0;
    border-bottom: 1px solid var(--color-border, #eee); /* 内容の下に罫線を入れる */
    font-size: 1.1rem; /* 内容を少し大きくして見やすく */
    font-size: 1.85rem;
  }
}

/* ==================================================
   会社詳細ページ：取扱物件・土地セクション
   (single-company.php 内の .company-properties-section)
   ================================================== */

.company-properties-section {
  padding: 60px 0;
  margin-top: 60px;
  /*
  border-top: 2px solid #f0f0f0; /* 上のタブセクションとの区切り線 */
  /*
  background-color: var(--color-light, #f8f9fa); /* 背景色を付けてセクションを明確に */
}

/* セクションタイトルは共通の .section-title スタイルが適用される */
.company-properties-section .section-title {
  /* 必要であれば、このセクション専用のスタイルを上書き */
  /*例: text-align: left; */
}

/* --- 投稿リストのコンテナ --- */
.company-properties-section .post-list-container {
  /* カードリストのラッパー */
}

.company-properties-section .cInfoCards {
  /* 
     * ここに、archiveページなどで使っているカードリストのスタイルが適用されます。
     * このセクション内だけでレイアウトを変えたい場合は、
     * ここにスタイルを上書きします。
     */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 画面幅に応じて列数を自動調整 */
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- カード自体のスタイル --- */
/* .cInfoCard や .company-card-link などのスタイルは、 */
/* 以前定義した共通のものがそのまま適用されます。 */
/* もし、このセクションのカードだけ見た目を変えたい場合は、以下のように指定します。 */

/*
.company-properties-section .cInfoCard {
    box-shadow: none;
    border: 1px solid var(--color-border, #ccc);
}
*/

.title-cutout-wrapper {
  background-color: #0073a8; /* 暗い背景色 */
  padding: 2em;
  position: relative; /* ::beforeの基準 */
  overflow: hidden; /* はみ出したシェイプを隠す */
  text-align: center;
}

/* ::beforeで背景のシェイプを作成 */
.title-cutout-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%; /* 大きなシェイプ */
  height: 200%;
  background: linear-gradient(45deg, #79c06e, #9cbb1c);
  transform: translate(-50%, -50%) rotate(-20deg); /* 回転させて鋭角な印象に */
}

.title-cutout {
  font-size: 5.5rem;
  font-weight: 700;
  color: #fff; /* 文字色を白に */
  position: relative;
  z-index: 1; /* シェイプの上に配置 */

  /* このプロパティで文字が背景を切り抜いたように見える */
  mix-blend-mode: hard-light;
}
.title-grid-wrapper {
  position: relative;
  display: inline-block;
  background-color: #111; /* 背景色 */
  padding: 2em 3em;
  overflow: hidden; /* はみ出したグリッドを隠す */
  margin-bottom: 1rem;
}

.title-grid {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 2; /* グリッドより手前に */
}

/* ::beforeでグリッドを作成 */
.title-grid-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  z-index: 1;
  background-color: #0068b7;

  /* repeating-linear-gradientでグリッド線を描画 */
  background-image: linear-gradient(rgba(0, 255, 255, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 50px 50px;

  /* animationで背景を動かす */
  animation: grid-scroll 3s linear infinite;
}

@keyframes grid-scroll {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-50px, -50px);
  }
}

.post-list-container P {
  font-size: 1.5rem;
}

/* ==========================================================
   イベント詳細ページ：予約カレンダーのスタイル
   ========================================================== */

/* カレンダーテーブルの基本スタイル調整 */
.reservation-calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  font-size: 14px;
}
.reservation-calendar-table th,
.reservation-calendar-table td {
  text-align: center;
  padding: 8px 4px;
  border: 1px solid #eee;
}
.reservation-calendar-table th {
  background-color: #f7f7f7;
  font-weight: normal;
}
.reservation-calendar-table caption {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.5em;
  text-align: center;
}

/* --- 予約「不可」の日のスタイル --- */
.reservation-calendar-table .disabled-day {
  color: #ccc; /* 文字を薄いグレーに */
  background-color: #fcfcfc;
}

/* --- ★★★ 予約「可能」な日のスタイル ★★★ --- */
.reservation-calendar-table .reservable-day {
  color: #0073aa; /* WordPressの標準的な青色 */
  background-color: #f0f8ff; /* 薄い水色でハイライト */
  font-weight: bold;
  cursor: pointer; /* クリックできることを示すカーソル */
  transition: all 0.2s ease-in-out;
  position: relative; /* アイコンを配置するための基準点 */
}

/* 予約可能な日にマウスを乗せた時のスタイル */
.reservation-calendar-table .reservable-day:hover {
  background-color: #d9edf7;
  transform: scale(1.1);
}

/* --- ★★★ ユーザーに「選択された」日のスタイル ★★★ --- */
.reservation-calendar-table .reservable-day.selected {
  background-color: #005a87; /* 濃い青色 */
  color: #fff;
  border-radius: 50%; /* セルを円形にする */
  transform: scale(1.1);
}

/* --- ★★★ アイコン表示 (CSSの疑似要素を使用) ★★★ --- */
/* 予約可能な日に小さな「予約可」アイコンを追加する */
.reservation-calendar-table .reservable-day::after {
  content: "〇"; /* ここをお好きなアイコンや文字に変更できます 例: '可' */
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 10px;
  line-height: 1;
  color: #0073aa;
  opacity: 0.8;
}

/* 選択された日は、アイコンの色も白にする */
.reservation-calendar-table .reservable-day.selected::after {
  color: #fff;
}

/* 月の最初/最後の空白セル */
.reservation-calendar-table .pad {
  background-color: transparent;
  border-color: transparent;
}

/* =======================================
   カードのサムネイル関連のスタイル
   ======================================= */

/* 画像とタグの親要素。位置の基準点にする */
.card-thumbnail-wrapper {
  position: relative; /* 子要素を絶対配置するための基準 */
  display: block;
}

/* イベント種類タグを囲むコンテナ */
.card-event-type {
  /* 画像の左上に配置 */
  position: absolute;
  top: 10px; /* 上からの距離 */
  left: 10px; /* 左からの距離 */
  z-index: 2; /* 画像より手前に表示 */

  /* 複数のタグが横に並ぶように */
  display: flex;
  gap: 5px;
}

/* イベント種類タグ自体のスタイル */
.card-event-type-tag {
  display: inline-block;
  background-color: #3cb371;
  color: #ffff00; /* 白抜きの文字 */
  font-size: 12px; /* フォントサイズ */
  font-size: 14px;
  font-weight: bold;
  font-weight: normal;
  padding: 4px 12px; /* 内側の余白 (上下左右) */
  border-radius: 4px; /* 角を少し丸める */
  line-height: 1.2;
}

/* ==================================================
   Google Map 埋め込みのレスポンシブ対応
   ================================================== */
.google-map-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 45%; /* アスペクト比 4:3 の場合。16:9なら 56.25% */
  overflow: hidden;
}

.google-map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* -------------------------------------------------------------- */
.event-finished-message p {
  font-size: 1.25rem;
}
.srec-message-error {
  font-size: 1.35rem;
}

.srec-form input[type="text"],
.srec-form input[type="email"],
.srec-form input[type="tel"],
.srec-form input[type="password"] {
  font-size: 1.55rem;
}

/* ---------------------------------------------------------- */
/* 既存のセレクタに、新しいクラス名をカンマ区切りで追加 */
.mypage-section,
.company-dashboard {
  /* ← 新しいクラス名を追加 */
  padding: 80px 0;
}

.mypage-container,
.dashboard-container {
  /* ← 新しいクラス名を追加 */
  max-width: 95%; /* 既存より少し広めに設定 */
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mypage-title,
.dashboard-title {
  /* ← 新しいクラス名を追加 */
  text-align: center;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 30px;
}

/* テーブルのラッパー */
.table-wrapper {
  overflow-x: auto;
}

/* テーブル本体 */
.mypage-list-table,
.dashboard-list-table {
  /* ← 新しいクラス名を追加 */
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
}

.mypage-list-table th,
.mypage-list-table td,
.dashboard-list-table th, /* ← 新しいクラス名を追加 */
.dashboard-list-table td {
  /* ← 新しいクラス名を追加 */
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
  font-size: 1.33rem;
}

.mypage-list-table thead th,
.dashboard-list-table thead th {
  /* ← 新しいクラス名を追加 */
  background-color: #f8f9fa;
  font-size: 1.38rem;
  font-weight: normal;
}

/* フォーム全体 */
.mypage-form,
#model-house-form {
  /* ← 新しいIDセレクタを追加 */
  /* ここにフォーム全体のスタイルがあれば記述 */
}

/* フォームの各行 */
.form-row,
#model-house-form .form-row {
  /* ← フォームIDからの子孫セレクタを追加 */
  margin-bottom: 20px;
}

/* ラベル */
.mypage-form label,
#model-house-form label {
  /* ← 新しいセレクタを追加 */
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1.55rem;
}

/* 入力欄 */
.form-input,
#model-house-form input[type="text"],
#model-house-form input[type="file"],
#model-house-form .wp-editor-area {
  /* ← 新しいセレクタを追加 */
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* ボタンの共通スタイルが既にあれば、そちらが適用されることが多い */
/* もし専用スタイルがあれば、同様に追加 */
.button-primary,
.header-button,
.button-edit,
.button-delete,
.button-cancel {
  /* 既存のボタンスタイルを確認し、必要に応じて適用 */
}

/* 完了メッセージ */
.mypage-success-message,
.notice-success {
  /* ← 新しいクラス名を追加 */
  font-size: 1.75rem;
  color: #ed6d35;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 15px;
  background-color: #e7f5ff;
  border: 1px solid #b3d7ff;
}

/* エラーメッセージ */
.notice-error {
  /* 既存のエラースタイルがあれば同様に追加 */
  padding: 15px;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

/* ==================================================
   モデルハウス管理ページ用 フォントサイズ調整
   ================================================== */

/* --- ページ全体の基準フォントサイズ --- */
/* .company-dashboard や .dashboard-container に基準サイズを設定 */
.company-dashboard {
  /* 例えば、サイト全体の基本フォントサイズが16pxなら */
  font-size: 16px;
  /* もしくは、他のマイページに合わせて rem を使う */
  font-size: 1.6rem; /* 10pxが基準なら16pxになる */
}

/* --- 各パーツのフォントサイズを直接指定（より確実） --- */

/* タイトル */
.dashboard-title {
  font-size: 24px; /* 他のマイページタイトルと合わせる */
}

/* 一覧テーブル */
.dashboard-list-table {
  font-size: 14px; /* テーブル内の基本文字サイズ */
}
.dashboard-list-table th {
  font-size: 15px; /* 見出しを少し大きく */
}

/* フォームのラベル */
#model-house-form label {
  font-size: 15px; /* ラベルのサイズ */
}

/* フォームの入力欄 */
#model-house-form .form-input,
#model-house-form input[type="text"],
#model-house-form .wp-editor-area {
  font-size: 16px; /* 入力文字のサイズ */
}

/* --- ★★★ 問題のボタンとリンク ★★★ --- */
/* 新規登録ボタン */
.dashboard-header .button-primary,
.mypage-new-entry .button-primary {
  font-size: 16px; /* ボタンの文字サイズを明示的に指定 */
  padding: 10px 20px; /* パディングも調整 */
}

/* 編集・削除ボタン */
.dashboard-list-table .button {
  font-size: 13px; /* 一覧内のボタンは少し小さめ */
}

/* 「戻る」リンク */
.mypage-back-link a {
  font-size: 15px; /* 戻るリンクの文字サイズ */
  text-decoration: underline;
}

/* フォームの送信・キャンセルボタン */
#model-house-form .submit-row .button {
  font-size: 16px;
}

.realSearch__result__none {
  text-align: center;
  padding: 80px 20px;
  background: #f9f9f9;
  border-radius: 5px;
  margin-top: 30px;
}

.no-results-found {
  text-align: center;
  padding: 60px 20px;
  margin-top: 30px;
  border: 1px dashed #ccc;
  border-radius: 5px;
}
.no-results-found p {
  margin-bottom: 20px;
  line-height: 1.8;
}
.no-results-found .button {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 10px 30px;
  text-decoration: none;
  border-radius: 5px;
}
.scene-search-row {
  display: none !important;
}

/* ========================================
   汎用ボタンスタイル 
======================================== */

.button {
  display: inline-block;
  padding: 18px 35px; /* ★上下の余白を調整 */

  font-family: "Montserrat", "M PLUS 1", sans-serif;
  font-size: 1.5rem; /* ★★★ ご指定のサイズに設定 ★★★ */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;

  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;
  box-sizing: border-box;

  /* 基本のボタン（白） */
  color: #444;
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* プライマリボタン（キーカラー） */
.button.button-primary,
.sidebar-widget .reservation-widget button[type="submit"] {
  color: #fff;
  background-color: #333;
  border: none;
  padding: 19px 35px; /* 枠線がない分、paddingを1px増やす */
  background-image: linear-gradient(to top, #282828, #404040);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 3px 5px rgba(0, 0, 0, 0.2);
}

/* ホバー時のエフェクト */
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  border-color: #ccc;
}

.button.button-primary:hover,
.sidebar-widget .reservation-widget button[type="submit"]:hover {
  background-image: linear-gradient(to top, #333, #505050);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* アクセントカラー付きのボタン */
.button.button-accent {
  color: #fff;
  background-color: #c9b071;
  border: none;
  padding: 19px 35px;
  background-image: linear-gradient(to top, #bfa56b, #d3bb81);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 5px rgba(0, 0, 0, 0.2);
}
.button.button-accent:hover {
  background-image: linear-gradient(to top, #c9b071, #d9c595);
}

/* ウィジェット内のボタンの余白調整 */
.sidebar-widget .button {
  margin-top: 20px;
}

/* SP表示での文字サイズ調整 */
@media (max-width: 768px) {
  .button {
    font-size: 1.2rem; /* SPでは少し抑える */
    padding: 14px 25px;
  }
  .button.button-primary,
  .button.button-accent {
    padding: 15px 25px;
  }
}

/* ========================================
   アーカイブページ 共通カードデザイン - 【最終確定・統合版】
======================================== */

/* --- [共通] グリッドレイアウト 
.results-grid,
.cInfoCards,
.property_list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0; 
}
*/
/* ========================================
   PC / タブレット表示 (769px以上)
   - 縦長カードデザイン
======================================== */
@media (min-width: 769px) {
  /* --- [共通] カード本体 --- */
  .list-card-item {
    background: #fff;
    border: 1px solid #e9e7e1;
    border-radius: 8px;
    transition: all 0.3s;
  }
  .list-card-item:hover {
    border-color: #c9b071;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  }
  .list-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: #333;
  }

  /* --- [共通] サムネイル画像 --- */
  .list-card-thumbnail {
    aspect-ratio: 16 / 10;
    position: relative;
  }
  .list-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }

  /* --- [共通] コンテンツエリア --- */
  .list-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  .list-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }
  .card-tag {
    font-size: 1.35rem !important;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 15px;
    color: #555;
  }
  .card-tag.is-cost {
    background: #f7f6f2;
    color: #bfa56b;
    font-weight: bold;
  }
  .list-card-title {
    font-family: "Shippori Mincho", serif;
    font-size: 1.75rem !important;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
  }
  .list-card-meta {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 1.45rem !important;
    color: #666;
  }
  .list-card-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .list-card-meta .meta-item:not(:last-child) {
    margin-bottom: 10px;
  }

  /* --- [物件カード専用] スペック & 価格 --- */
  .list-card-specs {
    display: flex;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
  }
  .spec-col {
    flex: 1;
    text-align: center;
    border-right: 1px solid #f0f0f0;
  }
  .spec-col:last-child {
    border-right: none;
  }
  .spec-col .spec-label {
    display: block;
    font-size: 1.35rem !important;
    color: #888;
    margin-bottom: 5px;
  }
  .spec-col .spec-value {
    font-size: 1.45rem !important;
    font-weight: bold;
  }
  .list-card-price {
    margin-top: auto;
    text-align: right;
  }
  .list-card-price .price-value {
    font-family: "Montserrat", "M PLUS 1", sans-serif;
    font-size: 2rem !important;
    font-weight: 700;
    color: #e91e63;
  }
  .list-card-price .price-unit {
    font-size: 1rem !important;
    margin-left: 3px;
  }
}

/* ========================================
   スマートフォン表示 (768px以下)
   - コンパクトな横長カードデザイン
======================================== */
@media (max-width: 768px) {
  .results-grid,
  .cInfoCards,
  .property_list ul {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .list-card-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
  }
  .list-card-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: #333;
  }
  .list-card-thumbnail {
    flex: 0 0 120px;
    height: 90px;
    position: relative;
  }
  .list-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
  }
  .list-card-content {
    padding: 15px;
    flex-grow: 1;
  }
  .list-card-tags {
    display: none;
  }
  .list-card-title {
    font-size: 1.1rem !important;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .list-card-meta {
    padding-top: 8px;
    border-top: 1px solid #f5f5f5;
    font-size: 0.8rem !important;
    color: #777;
  }
  .list-card-meta .meta-item {
    gap: 5px;
  }
  .list-card-meta .meta-item:not(:last-child) {
    margin-bottom: 5px;
  }

  /* [物件カード専用] スマホではスペックもメタ情報として表示 */
  .list-card-specs {
    display: none; /* スマホでは複雑なテーブルは非表示 */
  }
  .list-card-price {
    text-align: right;
    margin-top: 10px;
  }
  .list-card-price .price-value {
    font-size: 1.5rem !important;
  }
}

/* ========================================
   共通バッジスタイル
======================================== */
.card-status-overlay,
.card-price-overlay {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-weight: bold;
}
@media (min-width: 769px) {
  .card-status-overlay {
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 0.9rem !important;
    border-radius: 5px;
  }
  .card-price-overlay {
    bottom: 0;
    right: 0;
    padding: 8px 15px;
    border-top-left-radius: 8px;
  }
}
@media (max-width: 768px) {
  .card-status-overlay {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 0.75rem !important;
    border-radius: 4px;
  }
  .card-price-overlay {
    display: none; /* スマホでは価格はコンテンツ内に */
  }
}

/* ------------------------------------------------------------ */

/* ========================================
   モデルハウス一覧 カード新デザイン (Flexbox版 - 幅固定対応)
======================================== */

/* --- カードのコンテナ設定 --- */
.realSearchResult__content ul.cInfoCards {
  display: flex; /* ★GridからFlexboxに変更 */
  flex-wrap: wrap; /* ★折り返しを許可 */
  gap: 30px;
  /* grid-template-columns は削除 */
}

/* --- カードのラッパー --- */
.mh-card-new-wrapper {
  list-style: none;
  /* ★★★ ここが最重要ポイント ★★★ */
  /* 3カラムレイアウト時のカード幅を計算して指定 */
  /* (コンテナ幅100% - 隙間2つ分) / 3カラム */
  width: calc((100% - 60px) / 3);
}

/* --- カード本体 --- */
.mh-card-new {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s, box-shadow 0.3s;
}
.mh-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* --- サムネイル画像 --- */
.mh-card__thumbnail {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.mh-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mh-card-new:hover .mh-card__thumbnail img {
  transform: scale(1.05);
}

/* --- コンテンツエリア --- */
.mh-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
}

/* --- ヘッダー（タイトルと会社名） --- */
.mh-card__header {
  margin-bottom: 15px;
}
.mh-card__title {
  font-family: "Shippori Mincho", serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 5px;
}
.mh-card__company {
  font-size: 1.2rem;
  color: #777;
}

/* --- 主要情報エリア --- */
.mh-card__key-info {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.key-info__item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.key-info__icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: #c9b071;
  width: 20px;
  text-align: center;
}
.key-info__text {
  display: flex;
  flex-direction: column;
}
.key-info__label {
  font-size: 1.1rem;
  color: #888;
}
.key-info__value {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
}

/* --- 特徴タグエリア --- */
.mh-card__features {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  font-size: 1.1rem;
  background-color: #f7f6f2;
  color: #555;
  padding: 4px 12px;
  border-radius: 20px;
}

/* --- レスポンシブ対応 --- */

/* タブレット画面 (900px以下) では2カラムにする */
@media (max-width: 900px) {
  .mh-card-new-wrapper {
    /* (コンテナ幅100% - 隙間1つ分) / 2カラム */
    width: calc((100% - 30px) / 2);
  }
}

/* スマートフォン画面 (600px以下) では1カラムにする */
@media (max-width: 600px) {
  .mh-card-new-wrapper {
    width: 100%;
  }
}
/* ========================================
   アーカイブページ 共通カードデザイン (モデルハウス・建築実例・物件)
======================================== */

/* --- カードのコンテナ設定 --- */
.realSearchResult__content ul.cInfoCards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- カードのラッパー (幅を固定) --- */
.mh-card-new-wrapper {
  list-style: none;
  width: calc((100% - 60px) / 3);
}

/* --- カード本体 --- */
.mh-card-new {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s, box-shadow 0.3s;
}
.mh-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* --- サムネイル画像 --- */
.mh-card__thumbnail {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.mh-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mh-card-new:hover .mh-card__thumbnail img {
  transform: scale(1.05);
}

/* --- コンテンツエリア --- */
.mh-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
}

/* --- ヘッダー（タイトルと会社名/住所） --- */
.mh-card__header {
  margin-bottom: 15px;
}
.mh-card__title {
  font-family: "Shippori Mincho", serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 5px;
}
.mh-card__company {
  font-size: 1.2rem;
  color: #777;
}

/* --- [モデルハウス/建築実例用] 主要情報エリア --- */
.mh-card__key-info {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.key-info__item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.key-info__icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: #c9b071;
  width: 20px;
  text-align: center;
}
.key-info__text {
  display: flex;
  flex-direction: column;
}
.key-info__label {
  font-size: 1.1rem;
  color: #888;
}
.key-info__value {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
}

/* --- [共通] 特徴タグエリア --- */
.mh-card__features {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-tag {
  font-size: 1.1rem;
  background-color: #f7f6f2;
  color: #555;
  padding: 4px 12px;
  border-radius: 20px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
  .mh-card-new-wrapper {
    width: calc((100% - 30px) / 2);
  }
}
@media (max-width: 600px) {
  .mh-card-new-wrapper {
    width: 100%;
  }
}

/* ========================================
   物件一覧カード 専用デザイン
======================================== */
.post-type-archive-property .mh-card__content {
  padding-bottom: 15px;
}
.card-status-overlay {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-weight: bold;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  font-size: 1.2rem !important;
  border-radius: 5px;
}
.card-status-overlay.is-property-type {
  background-color: #007bff;
}
.property-specs-grid {
  display: flex;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  margin: 15px 0;
  padding: 10px 0;
}
.property-specs-grid .spec-item {
  flex: 1;
  border-right: 1px solid #f0f0f0;
}
.property-specs-grid .spec-item:last-child {
  border-right: none;
}
.spec-item .spec-label {
  display: block;
  font-size: 1.1rem;
  color: #888;
}
.spec-item .spec-value {
  font-size: 1.4rem;
  font-weight: bold;
}
.property-price-area {
  text-align: right;
  margin-top: auto;
  margin-bottom: 15px;
}
.property-price-area .price-value {
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #e91e63;
}
.property-price-area .price-unit {
  font-size: 1.4rem;
  margin-left: 3px;
  font-weight: 500;
}
.post-type-archive-property .mh-card__features {
  padding-top: 10px;
  border-top: 1px dotted #ddd;
}
/* ========================================
   archive-property.php カードデザイン上書き (最終確定版)
   - post_class()が出力する .property クラスへの対策 -
======================================== */

/* --- 親コンテナのレイアウトを Flexbox に設定 --- */
.realSearchResult__content ul.results-grid,
.realSearchResult__content ul.cInfoCards {
  /* 念のため両方のクラス名を指定 */
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ★★★ ここが最重要ポイント ★★★ */
/* archive-property.php内の、post_class()が出力する li.property のスタイルを上書き */
.realSearch li.property {
  /* 1. top_.css で当たっている不要なスタイルをリセット */
  position: static;
  margin: 0;

  /* 2. 正しいカラム計算式で幅を再設定 */
  width: calc((100% - 60px) / 3);
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
  .realSearch li.property {
    width: calc((100% - 30px) / 2);
  }
}
@media (max-width: 600px) {
  .realSearch li.property {
    width: 100%;
  }
}
/* ========================================
   アーカイブページ カード幅指定の強制上書き (最終版)
======================================== */

/* --- [イベント一覧ページ専用] カード幅の指定 --- */
.realSearch li.event {
  width: calc((100% - 60px) / 3) !important;
  margin: 0 !important;
}

/* --- [建築実例一覧ページ専用] カード幅の指定 --- */
.realSearch li.works {
  width: calc((100% - 60px) / 3) !important;
  margin: 0 !important;
}

/* --- [物件一覧ページ専用] カード幅の指定 --- */
.realSearch li.property {
  width: calc((100% - 60px) / 3) !important;
  margin: 0 !important;
}

.realSearch li.company {
  width: calc((100% - 60px) / 3) !important;
  margin: 0 !important;
}
/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
  .realSearch li.event,
  .realSearch li.works,
  .realSearch li.property,
  .realSearch li.company {
    width: calc((100% - 30px) / 2) !important;
  }
}

@media (max-width: 600px) {
  .realSearch li.event,
  .realSearch li.works,
  .realSearch li.property,
  .realSearch li.company {
    width: 100% !important;
  }
}

/* ========================================
   会社一覧カード 専用デザイン
======================================== */

/* --- [会社カード専用] 紹介文 --- */
.company-card__excerpt {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #666;
  margin: 0 0 15px;

  /* 2行で省略するスタイル */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* --- [会社カード専用] イベント数・実例数 --- */
.company-card__counts {
  display: flex;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin: auto 0 15px; /* 上下に自動でマージンを取り、中央に配置 */
  padding: 10px 0;
}
.company-card__counts .count-item {
  flex: 1;
  border-right: 1px solid #f0f0f0;
}
.company-card__counts .count-item:last-child {
  border-right: none;
}
.count-item .count-label {
  display: block;
  font-size: 1.1rem;
  color: #888;
}
.count-item .count-value {
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
}
.count-item .count-unit {
  font-size: 1.1rem;
  margin-left: 2px;
}

/* --- [会社カード専用] 特徴タグエリア --- */
/* 共通の .mh-card__features スタイルが適用されるが、配置を調整 */
.post-type-archive-company .mh-card__features {
  margin-top: 0;
  padding-top: 0;
}
.card-list-item {
  position: static;
  margin: 0;
  width: calc((100% - 60px) / 3);
}
@media (max-width: 900px) {
  .card-list-item {
    width: calc((100% - 30px) / 2);
  }
}

/* ========================================
   アーカイブページ スマホ用カードデザイン (横長レイアウト)
   - 画面幅 768px 以下で適用 -
======================================== */

@media (max-width: 768px) {
  /* --- [スマホ用] カードのコンテナ設定 --- */
  .realSearchResult__content ul.cInfoCards,
  .realSearchResult__content ul.results-grid {
    gap: 15px; /* カード間の隙間を少し狭く */
  }

  /* --- [スマホ用] カード本体の幅を100%に --- */
  /* post_class()に依存しない共通クラスをターゲットにする */
  .card-list-item {
    width: 100% !important; /* !importantは既存の指定を確実に上書きするため */
  }

  /* --- [スマホ用] カード全体のレイアウトを横並びに変更 --- */
  .mh-card-new {
    flex-direction: row; /* ★★★ 縦積みから横並びに変更 ★★★ */
    align-items: center; /* 上下中央揃え */
  }

  /* --- [スマホ用] サムネイル画像のサイズ調整 --- */
  .mh-card__thumbnail {
    flex: 0 0 120px; /* 幅を120pxで固定 */
    height: 90px; /* 高さを90pxで固定 */
    aspect-ratio: auto; /* アスペクト比の固定を解除 */
  }
  .mh-card__thumbnail img {
    border-radius: 8px 0 0 8px; /* 角丸を左側だけに残す */
  }
  .card-status-overlay {
    /* バッジを少し小さく */
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 1rem !important;
  }

  /* --- [スマホ用] コンテンツエリアの調整 --- */
  .mh-card__content {
    padding: 10px 15px;
    flex-grow: 1;
    min-width: 0; /* flexアイテムの縮小問題を回避 */
  }

  .mh-card__header {
    margin-bottom: 8px;
  }
  .mh-card__title {
    font-size: 1.5rem; /* タイトルサイズを調整 */
    line-height: 1.4;
    /* 長い場合に2行で省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .mh-card__company {
    font-size: 1.1rem;
    white-space: nowrap; /* 会社名が折り返さないように */
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* --- [スマホ用] 主要情報エリアは非表示に (シンプル化のため) --- */
  .mh-card__key-info {
    display: none;
  }
  /* 物件カードのスペックも非表示に */
  .property-specs-grid {
    display: none;
  }

  /* --- [スマホ用] 特徴タグは表示するが、スタイルを調整 --- */
  .mh-card__features {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dotted #ddd;
  }
  .feature-tag {
    font-size: 1rem;
    padding: 2px 8px;
  }

  /* --- [スマホ用] 物件価格と会社実績数の表示 --- */
  .property-price-area,
  .company-card__counts {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dotted #ddd;
  }
  .property-price-area {
    text-align: right;
  }
  .property-price-area .price-value {
    font-size: 2rem;
  }
  .property-price-area .price-unit {
    font-size: 1.2rem;
  }

  .company-card__counts {
    text-align: left;
    border: none;
    padding: 0;
    margin-bottom: 0;
  }
  .company-card__excerpt {
    display: none; /* スマホでは紹介文は非表示 */
  }
}

/* ========================================
   会社詳細ページ タブ内コンテンツのレイアウト
======================================== */

/* --- [共通] タブ内のカードコンテナをFlexboxに設定 --- */
.tab-panel ul.cInfoCards-compact,
.tab-panel ul.cInfoCards {
  /* 念のため両方のクラス名を指定 */
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* カード間の隙間を少し狭めに設定 */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- [共通] タブ内のカードの幅を指定 --- */
/* li要素に適用されるクラスをすべて列挙して指定 */
.tab-panel li.card-list-item,
.tab-panel li.mh-card-new-wrapper {
  /* 2カラムレイアウト時のカード幅を計算して指定 */
  width: calc((100% - 50px) / 3);
  margin: 0;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  /* スマホでは1カラムにする */
  .tab-panel li.card-list-item,
  .tab-panel li.mh-card-new-wrapper {
    width: 100%;
  }
}

/* ========================================
   会社詳細ページ：取扱物件・土地セクション専用スタイル
======================================== */

/* --- [専用] コンテナのレイアウト --- */
.company-properties-section .post-list-container {
  /* 念のため最大幅を設定し、中央揃えに */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.company-properties-section .cInfoCards {
  /* ulタグのスタイルをリセット */
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px; /* カード間の隙間 */
}

/* --- [専用] 横長カードのデザイン --- */
/* liタグに適用されるクラスをすべて列挙 */
.company-properties-section li.card-list-item {
  width: 100% !important; /* ★ 幅を100%に固定し、他の指定を上書き */
}

/* aタグのレイアウトを横並びに変更 */
.company-properties-section .mh-card-new {
  flex-direction: row;
  align-items: center;
  transition: background-color 0.2s;
}
.company-properties-section .mh-card-new:hover {
  background-color: #f9f9f9;
}

/* サムネイル画像のサイズを固定 */
.company-properties-section .mh-card__thumbnail {
  flex: 0 0 160px; /* 幅を160pxで固定 */
  height: 120px; /* 高さを120pxで固定 */
  aspect-ratio: auto;
}
.company-properties-section .mh-card__thumbnail img {
  border-radius: 8px 0 0 8px;
}

/* コンテンツエリアの調整 */
.company-properties-section .mh-card__content {
  padding: 15px 20px;
}

/* 物件価格と会社実績数の表示は非表示に（横長カードではレイアウトが複雑になるため） */
.company-properties-section .property-price-area,
.company-properties-section .company-card__counts {
  display: none;
}

/* タイトルと住所/会社名の調整 */
.company-properties-section .mh-card__title {
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
.company-properties-section .mh-card__company {
  /* 住所や会社名 */
  font-size: 1.2rem;
  color: #777;
}

/* スペック情報グリッドのスタイル */
.company-properties-section .property-specs-grid {
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-bottom: none; /* 下線を削除 */
}
.company-properties-section .spec-item .spec-label {
  font-size: 1.1rem;
}
.company-properties-section .spec-item .spec-value {
  font-size: 1.3rem;
}

/* 特徴タグは非表示に（シンプル化のため） */
.company-properties-section .mh-card__features {
  display: none;
}

/* ========================================
   会社詳細ページ：取扱物件・土地セクション専用スタイル (バランス最終調整版)
======================================== */

/* --- [専用] コンテナのレイアウト --- */
.company-properties-section .post-list-container {
  max-width: 900px; /* ★ コンテナの最大幅を900pxに設定 */
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.company-properties-section .cInfoCards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* --- [専用] liタグ（カードラッパー）の幅を100%に固定 --- */
.company-properties-section li.card-list-item {
  width: 100% !important; /* ★ 親要素（.post-list-container）の幅いっぱいに広げることを保証 */
  margin: 0 !important;
}

/* --- [専用] 横長カード（aタグ）の内部レイアウト調整 --- */
.company-properties-section .mh-card-new {
  display: flex; /* ★ 子要素を横並びにする */
  flex-direction: row;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
}
.company-properties-section .mh-card-new:hover {
  border-color: #ddd;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

/* ★ サムネイル画像の比率を調整 */
.company-properties-section .mh-card__thumbnail {
  /* 全体の約35%の幅を確保 */
  flex: 0 0 35%;
  max-width: 220px; /* 最大でも220pxまで */
  max-width: 290px;
  height: 100%;
  aspect-ratio: 4 / 3;
}
.company-properties-section .mh-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ★ コンテンツエリアの比率とパディングを調整 */
.company-properties-section .mh-card__content {
  /* 残りのスペースを全て使う */
  flex: 1 1 auto;
  padding: 20px 25px; /* 余白を広げる */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 上下中央揃え */
}

/* --- コンテンツ内の各パーツのスタイル調整 --- */
.company-properties-section .mh-card__title {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 5px;
}
.company-properties-section .mh-card__company {
  font-size: 1.3rem;
  color: #777;
  margin-bottom: 15px;
}
.company-properties-section .property-specs-grid {
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.company-properties-section .spec-item .spec-label {
  font-size: 1.2rem;
}
.company-properties-section .spec-item .spec-value {
  font-size: 1.5rem;
}

.company-properties-section .property-price-area {
  margin-top: 15px;
  text-align: right;
}
.company-properties-section .property-price-area .price-value {
  font-size: 2.4rem;
}
.company-properties-section .property-price-area .price-unit {
  font-size: 1.3rem;
}

/* 特徴タグは引き続き非表示 */
.company-properties-section .mh-card__features {
  display: none;
}

/* ========================================
   会社詳細ページ：取扱物件 li.property への対策
======================================== */

/* ★ 会社詳細ページの物件リスト内の li.property のスタイルを上書き */
.company-properties-section li.property {
  /* 1. top_.css で当たっている不要なスタイルをリセット */
  position: static !important;
  margin: 0 !important;

  /* 2. 正しい幅を再設定 */
  width: 100% !important;
}

/* 念のため、li.land にも同様の指定を追加 */
.company-properties-section li.land {
  position: static !important;
  margin: 0 !important;
  width: 100% !important;
}

/* =========================================
   【新デザイン】イベント詳細ページ (カタログ風レイアウト)
   ※ single-event.php のHTML構造変更に対応
   ========================================= */

/* 全体のコンテナ幅調整 */
.event-detail-page .event-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* -----------------------------------------
   1. ヒーローセクション (画像と情報の横並び)
----------------------------------------- */
.event-hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 1:1 で分割 */
  gap: 50px;
  margin-bottom: 80px;
  align-items: center; /* 上下中央揃え */
}

/* 左側：画像エリア */
.event-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 20px 20px 0px #f0f4f8; /* デザインアクセント（ずらした背景） */
}

/* 右側：情報エリア */
.event-hero-info {
  padding-right: 20px;
}

/* タグ */
.event-tags {
  margin-bottom: 15px;
}
.tag-area {
  font-size: 1.4rem; /* 既存CSSに合わせて調整 */
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  letter-spacing: 0.05em;
  border: 1px solid #333;
  padding: 4px 12px;
  display: inline-block;
  background: #fff;
  color: #333;
}

/* タイトル */
.event-title {
  font-size: 2.3rem !important; /* 大きくしてインパクトを */
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 30px 0;
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
  font-family: "Shippori Mincho", serif; /* 明朝体で上品に */
}

/* メタ情報リスト (表組み風) */
.event-meta-list {
  margin-bottom: 30px;
}
.meta-row {
  display: flex;
  margin-bottom: 7px;
  font-size: 1.6rem; /* 読みやすいサイズ */
  line-height: 1.6;
  border-bottom: 1px dotted #eee;
  padding-bottom: 10px;
}
.meta-row dt {
  width: 100px;
  color: #888;
  font-weight: normal;
  flex-shrink: 0;
}
.meta-row dd {
  flex: 1;
  margin: 0;
  font-weight: 500;
  color: #333;
}

/* スマホ用予約ボタン (PCでは非表示推奨だが、デザインとして配置) */
.jump-to-reserve {
  display: none; /* PCでは右カラムにフォームがあるので隠す */
}

/* -----------------------------------------
   2. コンテンツエリア (2カラム構成)
----------------------------------------- */
.event-body-grid {
  display: grid;
  grid-template-columns: 1fr 360px; /* 右サイドバー固定幅 */
  gap: 60px;
  align-items: start;
}

/* 左カラム：詳細・地図 */
.section-heading {
  font-size: 2.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-left: 15px;
  border-left: 5px solid #2c7a7b; /* アクセントカラー */
  line-height: 1.2;
}

.event-detail-page .entry-content {
  line-height: 2;
  color: #555;
  font-size: 1.6rem;
  margin-bottom: 60px;
}

/* アクセスマップ */
.access-map-frame iframe {
  width: 100%;
  height: 350px;
  border: 0;
  filter: grayscale(100%); /* 地図をモノクロにしてシックに */
  border-radius: 8px;
  transition: filter 0.3s;
}
.access-map-frame:hover iframe {
  filter: none; /* ホバーでカラーに戻す */
}
.access-address-text {
  margin-top: 15px;
  font-size: 1.5rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* -----------------------------------------
   3. 右カラム：予約ウィジェット (Sticky)
----------------------------------------- */
.reservation-widget-sticky {
  position: sticky;
  top: 30px; /* スクロール時に上端から30pxの位置で固定 */
  z-index: 10;
}

.reservation-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.res-title {
  font-size: 2rem;
  text-align: center;
  margin: 0 0 20px 0;
  color: #333;
  font-weight: bold;
  border-bottom: 2px solid #2c7a7b;
  padding-bottom: 10px;
  display: inline-block;
  width: 100%;
}

/* カレンダー調整 */
#reservation-calendar table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
#reservation-calendar th {
  background: #f7f7f7;
  padding: 10px 0;
  font-weight: normal;
}
#reservation-calendar td {
  padding: 10px 0;
  text-align: center;
  border: 1px solid #eee;
}
.reservable-day {
  background-color: #e6f7ff;
  color: #0073aa;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.reservable-day:hover,
.reservable-day.selected {
  background-color: #2c7a7b;
  color: #fff;
}

/* 予約フォーム (ウィジェット内) */
.srec-form-compact input,
.srec-form-compact textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.5rem;
  background: #fafafa;
}
.srec-form-compact button {
  width: 100%;
  padding: 15px;
  font-size: 1.6rem;
  font-weight: bold;
  background: #2c7a7b;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.srec-form-compact button:hover {
  opacity: 0.9;
}
.selected-date-display {
  background: #f0f0f0;
  padding: 10px;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 1.5rem;
}

/* -----------------------------------------
   レスポンシブ対応 (スマホ: 960px以下)
----------------------------------------- */
@media (max-width: 960px) {
  /* ヒーローセクションを縦積みに */
  .event-hero-section {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  .event-hero-image img {
    box-shadow: none; /* スマホでは影を消して幅いっぱいに */
  }

  .event-title {
    font-size: 2rem !important;
  }

  /* コンテンツエリアを1カラムに */
  .event-body-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* 予約ボタンを表示 */
  .jump-to-reserve {
    display: block;
    text-align: center;
    background: #2c7a7b;
    color: #fff;
    text-decoration: none;
    padding: 15px;
    font-weight: bold;
    font-size: 1.6rem;
    border-radius: 4px;
    margin-top: 20px;
  }

  /* サイドバー（予約フォーム）の調整 */
  .reservation-widget-sticky {
    position: static; /* Sticky解除 */
  }

  /* アクセスマップの高さを調整 */
  .access-map-frame iframe {
    height: 250px;
  }
}

/* =========================================
   【新デザイン】物件詳細ページ (パンフレット風)
   ========================================= */

/* コンテナ */
.property-detail-page .property-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

/* -----------------------------------------
   1. ヘッダーエリア (バランス調整版)
----------------------------------------- */
.property-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
  margin-bottom: 40px;
}

/* タグ */
.property-tags {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-type {
  background: #333;
  color: #fff;
  font-size: 1.1rem;
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.tag-plan {
  border: 1px solid #333;
  color: #333;
  font-size: 1.1rem;
  padding: 3px 12px;
  border-radius: 2px;
}

/* タイトル (サイズダウン) */
.property-title {
  font-size: 2.2rem; /* ★ 2.8remから縮小 */
  font-family: "Shippori Mincho", serif;
  margin: 0 0 20px 0;
  line-height: 1.5;
  font-weight: 700;
  color: #222;
}

/* 価格表示エリア (装飾追加) */
.property-main-price {
  display: flex;
  align-items: baseline;
  color: #b91c1c;
  line-height: 1;

  /* ★ 装飾追加: 上に線を引き、背景を少し変えて目立たせる */
  border-top: 1px dotted #ccc;
  padding-top: 15px;
  margin-top: 15px;
  width: 100%;
}

/* 「販売価格」というラベルを追加する場合の疑似要素 */
.property-main-price::before {
  content: "販売価格";
  font-size: 1.2rem;
  color: #555;
  font-weight: normal;
  margin-right: 15px;
  align-self: center; /* 上下中央 */
}

.property-main-price .price-val {
  font-size: 4.5rem; /* 大きさは維持 */
  font-weight: 700;
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  letter-spacing: -0.02em;
  margin-right: 5px;
}

.property-main-price .price-unit {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

.property-main-price .tax-note {
  font-size: 1.2rem;
  color: #888;
  margin-left: 5px;
  font-weight: normal;
}

/* -----------------------------------------
   2. レイアウト (2カラム)
----------------------------------------- */
.property-body-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: start;
}

/* -----------------------------------------
   3. ギャラリー (モダンレイアウト)
----------------------------------------- */
.property-gallery-modern {
  margin-bottom: 50px;
}
.gallery-main img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.thumb-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.thumb-item img:hover {
  opacity: 1;
}

/* -----------------------------------------
   4. 各セクション (見出し・本文)
----------------------------------------- */
.property-section {
  margin-bottom: 60px;
}

.section-heading-modern {
  font-size: 2rem;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
  letter-spacing: 0.05em;
}

.entry-content-styled {
  font-size: 1.6rem;
  line-height: 2;
  color: #444;
}

/* スペックグリッド */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}
.spec-box {
  background: #fff;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 4px;
}
.spec-box.full-width {
  grid-column: span 2;
}
.spec-box .label {
  display: block;
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 5px;
}
.spec-box .value {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

/* 地図 */
.map-frame-modern iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
}

/* 会社情報 */
.company-info-box {
  border-top: 1px solid #eee;
  padding-top: 40px;
}
.company-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}
.company-img img {
  width: 100px;
  height: auto;
  border-radius: 50%;
  border: 1px solid #eee;
}
.button-outline {
  display: inline-block;
  border: 1px solid #333;
  color: #333;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 1.4rem;
  margin-top: 10px;
  transition: all 0.3s;
}
.button-outline:hover {
  background: #333;
  color: #fff;
}

/* -----------------------------------------
   5. サイドバー (問い合わせフォーム)
----------------------------------------- */
.inquiry-widget-sticky {
  position: sticky;
  top: 30px;
}

.inquiry-box {
  background: #fff;
  border: 5px solid #f0f0f0; /* 太めの枠で囲う */
  padding: 30px;
  border-radius: 4px;
}

.inq-title {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 15px 0;
  color: #2c7a7b; /* テーマカラー */
}
.inq-desc {
  text-align: center;
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 20px;
}

/* 電話エリア */
.tel-area {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #ccc;
}
.tel-number {
  font-size: 2.8rem;
  font-weight: bold;
  color: #333;
  margin: 5px 0;
  font-family: "Montserrat", "M PLUS 1", sans-serif;
}

/* お気に入りボタン */
.fav-btn-area {
  margin-top: 20px;
}
.srec-favorite-button {
  width: 100%;
  padding: 15px;
  font-size: 1.6rem;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.srec-favorite-button:hover {
  background: #ffe4e4;
  border-color: #ffb3b3;
  color: #e53e3e;
}
.srec-favorite-button.is-favorited {
  background: #e53e3e;
  color: #fff;
  border-color: #e53e3e;
}

/* -----------------------------------------
   レスポンシブ対応 (スマホ)
----------------------------------------- */
@media (max-width: 960px) {
  .property-header {
    flex-direction: column; /* 縦並び */
    gap: 15px;
  }

  .header-right {
    text-align: left; /* スマホでは左寄せにする */
    padding-top: 0;
    margin-top: 10px;
    border-top: 1px dotted #eee; /* 区切り線を入れる */
    padding-top: 15px;
    width: 100%;
  }

  .price-val {
    font-size: 3.2rem; /* スマホでは少し小さく */
  }
  .property-body-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .specs-grid {
    grid-template-columns: 1fr; /* 1列に */
  }
  .spec-box.full-width {
    grid-column: span 1;
  }
  .property-title {
    font-size: 1.8rem; /* スマホではさらに小さく */
  }
  .property-main-price {
    flex-wrap: wrap; /* スマホでは折り返し許可 */
  }
  .property-main-price .price-val {
    font-size: 3.2rem;
  }
  .property-main-price::before {
    width: 100%; /* ラベルを改行させる */
    margin-bottom: 5px;
  }
}

/* =========================================
   【新デザイン】建築実例詳細 (パンフレット風)
   ========================================= */

/* コンテナ設定 */
.works-detail-pamphlet .works-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -----------------------------------------
   1. ヒーローヘッダー (タイトル + 画像)
----------------------------------------- */
.works-pamphlet-header {
  margin-bottom: 80px;
  padding-top: 40px;
}

.header-inner {
  /* タイトルと画像を縦積み（または横並び） */
}

.header-text {
  text-align: center;
  margin-bottom: 40px;
}

.works-tags {
  margin-bottom: 15px;
}
.tag-style {
  display: inline-block;
  border: 1px solid #333;
  padding: 4px 15px;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin: 0 5px;
}

.works-title {
  font-size: 2.8rem;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 15px 0;
}

.works-company {
  color: #666;
  font-size: 1.1rem;
}

.header-image img {
  width: 100%;
  height: auto;
  display: block;
  /* わずかに角丸 */
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* -----------------------------------------
   2. コンセプト & ストーリー
----------------------------------------- */
.works-story-section {
  margin-bottom: 100px;
}

/* コンセプト */
.works-concept-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.section-title-en {
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}
/* 日本語サブタイトル */
.section-title-en .ja {
  display: block;
  font-size: 1rem;
  font-family: sans-serif;
  font-weight: normal;
  color: #888;
  margin-top: 5px;
  letter-spacing: normal;
}

/* コンセプト本文 */
.concept-body {
  font-size: 1.2rem;
  line-height: 2.2;
  color: #444;
  font-family: "Shippori Mincho", serif;
  /* ★修正: 左揃えに変更 */
  text-align: left;
  /* 読みやすくするために最大幅を設定して中央配置 */
  max-width: 800px;
  margin: 0 auto;
}

/* 声グリッド */
.works-voices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.voice-box {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  position: relative;
}
/* 吹き出しのしっぽ */
.voice-box::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 30px;
  border: 10px solid transparent;
  border-top-color: #f9f9f9;
}
.voice-box.staff-side {
  background: #f0f4f8; /* スタッフ側は色を変える */
}
.voice-box.staff-side::after {
  border-top-color: #f0f4f8;
}

.voice-heading {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 10px;
}
.voice-content {
  font-size: 1rem;
  line-height: 1.8;
}

/* -----------------------------------------
   3. ルームツアー (動画)
----------------------------------------- */
.works-roomtour-section {
  margin-bottom: 100px;
  text-align: center;
}

.roomtour-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  text-align: left;
}

.video-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* チャプターリスト */
.chapter-list-box {
  background: #222;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-height: 350px; /* 動画の高さに合わせる */
  overflow-y: auto;
}
.chapter-head {
  font-size: 1.1rem;
  border-bottom: 1px solid #555;
  padding-bottom: 10px;
  margin-top: 0;
}
.chapter-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.chapter-nav li {
  margin-bottom: 10px;
}
.chapter-btn {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 5px 0;
  transition: color 0.2s;
  display: flex;
  gap: 10px;
}
.chapter-btn:hover {
  color: #fff;
}
.chapter-btn .time {
  color: #c9b071; /* ゴールド */
  font-family: monospace;
}

/* -----------------------------------------
   4. フォトギャラリー (グリッド)
----------------------------------------- */
.works-gallery-section {
  margin-bottom: 100px;
  text-align: center;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  grid-auto-rows: 250px; /* 基本の高さ */
  gap: 15px;
}

/* 最初の2枚は大きく表示してリズムを作る */
.large-item {
  grid-column: span 2;
  grid-row: span 2;
}
.normal-item {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
/* ホバー時の虫眼鏡 */
.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .overlay {
  opacity: 1;
}
.overlay i {
  color: #fff;
  font-size: 2rem;
}

/* -----------------------------------------
   5. 会社情報フッター
----------------------------------------- */
.works-company-footer {
  border-top: 1px solid #eee;
  padding-top: 50px;
  text-align: center;
}
.comp-link-box {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 30px 50px;
  border-radius: 50px; /* 丸みのあるカード */
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}
.comp-link-box:hover {
  border-color: #333;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.comp-logo img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}
.comp-info {
  text-align: left;
}
.comp-info .sub {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}
.comp-info .name {
  font-size: 1.6rem;
  margin: 5px 0;
}
.btn-arrow {
  font-size: 1.35rem;
  color: #2c7a7b;
  font-weight: bold;
}

/* -----------------------------------------
   レスポンシブ (スマホ)
----------------------------------------- */
@media (max-width: 768px) {
  .works-voices-grid {
    grid-template-columns: 1fr;
  }
  .roomtour-grid {
    grid-template-columns: 1fr;
  }
  .chapter-list-box {
    max-height: none; /* スマホでは全表示 */
  }
  .gallery-masonry {
    grid-template-columns: 1fr; /* スマホでは1列 */
    grid-auto-rows: auto;
  }
  .large-item {
    grid-column: span 1;
    grid-row: span 1;
  }
  .comp-link-box {
    flex-direction: column;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .comp-info {
    text-align: center;
  }
}

/* =========================================
   【一時的】サンプル表示用スタイル
   ========================================= */

/* 1. 一覧ページのサムネイルに「SAMPLE」を表示 */
.list-card-thumbnail::after,
.mh-card__thumbnail::after,
.gallery-main::after {
  content: "SAMPLE";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg); /* 斜めに配置 */

  font-size: 3rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8); /* 白文字 (半透明) */
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* 影をつけて見やすく */
  border: 3px solid rgba(255, 255, 255, 0.8);
  padding: 5px 20px;
  z-index: 10;
  pointer-events: none; /* クリックを邪魔しない */
}

/* 2. 詳細ページのメイン画像にも表示 */
.property-gallery-modern .gallery-main {
  position: relative; /* 基準点 */
}

/* (オプション) 画面右下に固定表示で「これはデモサイトです」と出す場合 */
body::after {
  content: "現在開発中のデモサイトです（掲載情報はすべてデモであり、現在、販売・イベント等は行っておりません。）";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffcc00;
  color: #000;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  z-index: 9999;
  font-size: 14px;
}

/* イベント詳細下部CTA */
.event-bottom-cta {
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #f0f8ff; /* 薄い青背景で目立たせる */
  text-align: center;
  border-radius: 8px;
  border: 1px solid #b8daff;
}

.jump-to-reserve-bottom {
  display: inline-block;
  background-color: #e67e22; /* 目立つオレンジ色 */
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 18px 60px;
  border-radius: 50px; /* 丸みのあるボタン */
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.jump-to-reserve-bottom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.6);
  color: #fff;
}

.jump-to-reserve-bottom i {
  margin-right: 10px;
}

.cta-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .jump-to-reserve-bottom {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    box-sizing: border-box;
  }
}

/* イベントのポイント */
.event-points-box {
  background-color: #f0f8ff; /* 薄い青 */
  border: 2px solid #b8daff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.points-title {
  font-size: 1.2rem;
  color: #004085;
  margin: 0 0 10px 0;
  font-weight: bold;
}

.points-content {
  font-size: 1.65rem;
  color: #333;
  line-height: 1.6;
}
/* イベントキャッチコピー */
.event-catch-copy {
  font-size: 1.8rem; /* 大きく */
  font-size: 2rem !important;
  font-weight: 700;
  color: #2c7a7b; /* テーマカラー */
  margin: 0 0 20px 0;
  line-height: 1.4;
  border-bottom: 2px dotted #ccc; /* 下線で区切る */
  padding-bottom: 15px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .event-catch-copy {
    font-size: 1.5rem;
  }
}

/* 地図のモノクロ化を解除 */
.access-map-frame iframe,
.map-frame-modern iframe {
  filter: none !important; /* 白黒フィルターを解除 */
}

/* アイコンとテキストの位置合わせ */
.access-address-text,
.access-parking-text,
.meta-date,
.meta-company,
.property-address {
  display: flex !important;
  align-items: center !important; /* 上下中央揃え */
  gap: 5px !important; /* アイコンと文字の間隔 */
}

/* アイコン自体の位置調整 */
.access-address-text i,
.access-parking-text i,
.meta-date i,
.meta-company i,
.property-address i {
  margin-top: -2px; /* 微調整: 少し上に上げる */
  margin-top: auto;
  flex-shrink: 0; /* アイコンが潰れないように */
}
/* イベントブログ */
.event-blog-area {
  margin-top: 60px;
  border-top: 1px dashed #ccc;
  padding-top: 40px;
}

.event-blog-item {
  margin-bottom: 40px;
  background: #fff;
  /* 枠線や背景色はお好みで */
}

.event-blog-item .blog-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.event-blog-item h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  border-left: 4px solid #e67e22; /* アクセント */
  padding-left: 10px;
}

.event-blog-item p {
  line-height: 1.8;
  color: #444;
}

/* IDを持つ要素に対して、上部に透明な余白を作り、ネガティブマージンで相殺する */
#event-reservation-system {
  padding-top: 120px; /* ヘッダーの高さ分 */
  margin-top: -120px; /* 同じ分だけ戻す */

  /* レイアウト崩れ防止 */
  display: block;
  position: relative;
  z-index: 1;
}

/* スマホの場合はヘッダーが低いかもしれないので調整 */
@media (max-width: 768px) {
  #event-reservation-system {
    scroll-margin-top: 80px; /* スマホ用ヘッダーの高さに合わせて調整 */
  }
}
/* イベント詳細のカテゴリタグ */
.tag-category {
  display: inline-block;
  background-color: #2c7a7b; /* テーマカラー */
  color: #fff;
  font-size: 1.15rem;
  padding: 3px 12px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: middle;
}

/* =========================================
   【新デザイン】モデルハウス詳細 (パンフレット風)
   ========================================= */

/* コンテナ設定 */
.mh-detail-page-modern .mh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   モデルハウス詳細ヘッダー (マガジン風・余白重視)
   ========================================= */

.mh-hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

/* 会社名ラベル */
.mh-company-label {
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #888;
  margin-bottom: 20px;
  text-transform: uppercase;
  display: inline-block;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

/* タイトル (大きく、繊細に) */
.mh-title {
  font-family: "Shippori Mincho", serif;
  font-size: 3.2rem; /* 大きく */
  font-weight: 500; /* 細めに */
  line-height: 1.4;
  margin: 0 auto 30px;
  color: #222;
  max-width: 900px; /* 横幅を制限して改行を美しく */
}

/* タグ (シンプルに) */
.mh-tags {
  margin-bottom: 50px;
}
.mh-tag {
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  font-size: 0.85rem;
  color: #555;
  border: 1px solid #ccc;
  background: #fff;
  padding: 5px 15px;
  border-radius: 50px; /* 丸く */
  margin: 0 5px;
  letter-spacing: 0.05em;
}

/* メイン画像 (シャドウで浮き上がらせる) */
.mh-main-image {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.mh-main-image img {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: cover;
  border-radius: 2px; /* 角丸は控えめに */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); /* ふんわりとした影 */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .mh-hero-section {
    padding: 40px 0;
  }
  .mh-title {
    font-size: 2rem;
  }
}

/* -----------------------------------------
   2. レイアウト (2カラム)
----------------------------------------- */
.mh-body-grid {
  display: grid;
  grid-template-columns: 1fr 360px; /* 右サイドバー固定 */
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

/* -----------------------------------------
   3. メインコンテンツ (左カラム)
----------------------------------------- */
.mh-section {
  margin-bottom: 80px;
}

/* 見出しデザイン */
.mh-heading {
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.mh-heading .ja {
  font-family: "Shippori Mincho", serif;
  font-size: 1.2rem;
  color: #555;
  font-weight: normal;
}

/* 本文 */
.mh-entry-content {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
  text-align: justify;
}

/* ギャラリー (グリッド) */
.mh-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.mh-gallery-item-large {
  grid-column: span 3; /* 最初の1枚は大きく */
  height: 400px;
}
.mh-gallery-item {
  height: 200px;
}
.mh-gallery-grid a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.mh-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.mh-gallery-grid a:hover img {
  transform: scale(1.05);
}
/* 虫眼鏡アイコン */
.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.mh-gallery-grid a:hover .zoom-icon {
  opacity: 1;
}

/* 詳細・アクセス */
.mh-detail-box {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}
.mh-detail-list {
  margin-bottom: 30px;
}
.detail-row {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-row dt {
  width: 120px;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-row dt i {
  color: #2c7a7b;
}
.detail-row dd {
  flex: 1;
  margin: 0;
}
.mh-map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 4px;
}

/* 会社情報 */
.mh-company-info {
  border-top: 1px solid #eee;
  padding-top: 40px;
}
.comp-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}
.comp-logo img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #eee;
}
.comp-txt h4 {
  margin: 0 0 5px;
  font-size: 1.4rem;
}
.comp-link {
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #333;
  font-size: 0.9rem;
}

/* -----------------------------------------
   4. サイドバー (Sticky)
----------------------------------------- */
.mh-widget-sticky {
  position: sticky;
  top: 30px;
}

.mh-widget {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}
.widget-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
  border-bottom: 2px solid #2c7a7b;
  padding-bottom: 10px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}
.widget-title i {
  color: #2c7a7b;
}
.widget-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

/* 資料請求ボタン */
.btn-group-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-request-document {
  width: 100%;
  padding: 12px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}
.btn-mail {
  background-color: #e67e22;
  border-color: #e67e22;
  color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .mh-body-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mh-gallery-item-large {
    height: 250px;
  }
  .mh-gallery-item {
    height: 150px;
  }
}
/* =========================================
   【修正】建築実例レイアウト (統一感重視)
   ========================================= */

/* コンテナ幅を少し狭くして「読む」ことに集中させる */
.works-story-section {
  max-width: 800px;
  margin: 0 auto 100px;
}

/* 共通の見出しスタイル */
.story-title {
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}
.story-title .ja {
  display: block;
  font-size: 1.3rem;
  font-family: "Shippori Mincho", serif;
  color: #888;
  font-weight: normal;
  margin-top: 5px;
}

/* テキストスタイル (左揃え・明朝体) */
.story-text,
.voice-text {
  font-family: "Shippori Mincho", serif;
  font-size: 1.1rem;
  line-height: 2;
  color: #444;
  text-align: justify;
}

/* コンセプトブロック */
.concept-block {
  margin-bottom: 80px;
}

/* 声ブロック (2カラム) */
.voice-block-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid #eee;
  padding-top: 60px;
}

/* 声の見出しデザイン */
.voice-head {
  display: flex;
  align-items: center;
  gap: 10px; /* アイコンと文字の間隔 */
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
  font-family: "Montserrat", "M PLUS 1", sans-serif;
}

/* アイコンのスタイル */
.voice-head i {
  font-size: 1.8rem; /* アイコンを大きく */
  color: #2c7a7b; /* テーマカラー */
}

/* スタッフ側は色を変える場合 */
.voice-item.staff .voice-head i {
  color: #e67e22; /* オレンジなど */
}

/* 日本語サブタイトル */
.voice-head .ja {
  font-size: 1.25rem;
  color: #888;
  font-weight: normal;
  margin-left: auto; /* 右端に寄せる場合 */
  /* margin-left: 10px; // 横に並べる場合 */
}

/* -----------------------------------------
   ギャラリー (整列グリッド)
----------------------------------------- */
.gallery-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 20px;
}

.gallery-grid-item {
  aspect-ratio: 1 / 1; /* 正方形に統一 */
  overflow: hidden;
  position: relative;
}
.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-grid-item:hover img {
  transform: scale(1.05);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .voice-block-wrapper {
    grid-template-columns: 1fr; /* 縦積み */
    gap: 60px;
  }
  .gallery-grid-simple {
    grid-template-columns: repeat(2, 1fr); /* 2列 */
  }
}

/* =========================================
   企業詳細 (マガジン風)
   ========================================= */

/* コンテナ */
.company-detail-page-modern .comp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヒーロー */
.comp-hero-section {
  padding: 60px 0;
  text-align: center;
}
.comp-strength {
  font-size: 1.1rem;
  color: #2c7a7b;
  font-weight: bold;
  margin-bottom: 10px;
}
.comp-title {
  font-size: 2.8rem;
  font-family: "Shippori Mincho", serif;
  margin-bottom: 40px;
}
.comp-main-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* レイアウト */
.comp-body-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

/* セクション */
.comp-section {
  margin-bottom: 80px;
}
.comp-heading {
  font-family: "Montserrat", "M PLUS 1", sans-serif;
  font-size: 2rem;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.comp-heading .ja {
  font-family: "Shippori Mincho", serif;
  font-size: 1.2rem;
  color: #555;
  margin-left: 10px;
}

/* 会社概要リスト */
.comp-detail-box {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}
.comp-detail-list .detail-row {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}
.comp-detail-list dt {
  width: 120px;
  font-weight: bold;
}
.comp-detail-list dd {
  flex: 1;
}

/* グリッドカード (イベント・実例・物件共通) */
.comp-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.comp-card {
  text-decoration: none;
  color: #333;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s;
}
.comp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.comp-card .card-thumb {
  height: 180px;
  position: relative;
}
.comp-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comp-card .card-body {
  padding: 15px;
}
.comp-card h4 {
  font-size: 1rem;
  margin: 0 0 5px;
  font-weight: 600;
}
.comp-card .price {
  color: #c92a2a;
  font-weight: bold;
  font-family: "Montserrat", "M PLUS 1", sans-serif;
}

/* サイドバー */
.comp-widget-sticky {
  position: sticky;
  top: 30px;
}
.comp-widget {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* スマホ対応 */
@media (max-width: 900px) {
  .comp-body-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .comp-grid-3col {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .comp-grid-3col {
    grid-template-columns: 1fr;
  }
}

/* 魅力的なCTAボックス */
.event-cta-box {
  background: #fcfcfc;
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-bottom: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* マイクロコピー (リード文) */
.cta-lead {
  font-size: 1.1rem;
  color: #e67e22;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

/* メインボタン */
.cta-button-main {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9f43, #e67e22); /* グラデーション */
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 20px 40px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.cta-button-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.6);
  background: linear-gradient(135deg, #ffaf5f, #f38e32);
}

.cta-button-main .icon {
  font-size: 1.6rem;
  margin-right: 15px;
}

.cta-button-main .arrow {
  margin-left: 15px;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.cta-button-main:hover .arrow {
  transform: translateX(5px); /* 矢印が動く */
}

/* 補足テキスト */
.cta-sub {
  font-size: 0.85rem;
  color: #888;
  margin-top: 15px;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .cta-button-main {
    font-size: 1.2rem;
    padding: 15px 20px;
    width: 100%;
  }
}
/* 会社の強みタグ */
.comp-tags {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 中央揃え */
  gap: 10px;
}

.comp-tag {
  display: inline-block;
  font-size: 0.9rem;
  color: #2c7a7b; /* テーマカラー */
  border: 1px solid #2c7a7b;
  background-color: #fff;
  padding: 4px 15px;
  border-radius: 50px; /* 丸く */
  font-weight: 500;
}
/* 会社アクセスマップ */
.comp-map-frame iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
}

/* =========================================
   【修正】イベント一覧ページ (4カラム崩れ解消)
   ========================================= */

/* 1. グリッドコンテナの定義 */
.realSearchResult__content ul.event-grid-4col {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important; /* 強制的に4列 */
  gap: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;

  /* 不要なスタイルのリセット */
  float: none !important;
}

/* 2. リストアイテムのリセット */
.realSearchResult__content ul.event-grid-4col > li {
  width: 100% !important; /* 親グリッドのセル幅に合わせる */
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  float: none !important;
  max-width: none !important; /* 幅制限を解除 */
}

/* 3. カード本体のデザイン調整 */
.mag-event-card {
  display: block !important; /* 縦並びブロック */
  width: 100% !important;
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

/* 4. サムネイル画像のサイズ確保 */
.card-thumb-square {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important; /* 4:3比率で高さを確保 */
  height: auto !important;
  position: relative !important;
  overflow: hidden !important;
}
.card-thumb-square img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* 5. コンテンツエリアの整理 */
.card-body-minimal {
  padding: 15px !important;
  text-align: left !important; /* 左寄せに戻して読みやすく */
}

.card-title-minimal {
  font-size: 1rem !important;
  line-height: 1.4 !important;
  margin-bottom: 10px !important;
  white-space: normal !important; /* 改行を許可 */
}

/* 6. スマホ対応 (レスポンシブ) */
@media (max-width: 900px) {
  .realSearchResult__content ul.event-grid-4col {
    grid-template-columns: repeat(2, 1fr) !important; /* 2列 */
  }
}
@media (max-width: 600px) {
  .realSearchResult__content ul.event-grid-4col {
    grid-template-columns: 1fr !important; /* 1列 */
  }
  .card-thumb-square {
    aspect-ratio: 16 / 9 !important; /* スマホでは少し横長に */
  }
}

/* =========================================
   【修正】イベント一覧カード (デザイン強化)
   ========================================= */

/* 1. メタ情報のアイコン化 */
.card-meta-minimal p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.15rem !important;
  color: #666;
  margin: 4px 0 !important;
}

/* 元のテキストラベル(DATE, PLACE)を非表示 */
.card-meta-minimal .label {
  display: none !important;
}

/* アイコンの追加 (FontAwesome) */
.meta-date::before {
  content: "\f133"; /* fa-calendar-alt */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ccc;
  width: 16px;
  text-align: center;
}
.meta-place::before {
  content: "\f3c5"; /* fa-map-marker-alt */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ccc;
  width: 16px;
  text-align: center;
}

/* 2. ホバー時の背景色 (薄いオレンジ) */
.mag-event-card {
  transition: background-color 0.3s, transform 0.3s, border-color 0.3s !important;
}
.mag-event-card:hover {
  background-color: #fff9f0 !important; /* 薄いオレンジ */
  border-color: #ffe0b2 !important;
  transform: translateY(-3px);
}

/* 3. タイトル文字サイズ拡大 */
.card-title-minimal {
  font-size: 1.35rem !important; /* サイズアップ */
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 12px !important;
  color: #333;
}

/* 4. カテゴリラベルの間隔調整 */
.card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px !important; /* 隙間を空ける */
  margin-bottom: 10px !important;
}
.mini-cat {
  font-size: 0.75rem !important;
  font-size: 0.95rem !important;
  font-weight: bold;
  color: #2c7a7b !important;
  border: 1px solid #2c7a7b !important;
  padding: 2px 8px !important;
  border-radius: 20px !important;
  background-color: #fff;
  white-space: nowrap;
}

/* エリアアイコン (マップピン) */
.meta-area::before {
  content: "\f3c5"; /* map-marker-alt */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ccc;
  width: 16px;
  text-align: center;
}

/* 会社アイコン (ビル) */
.meta-company::before {
  content: "\f1ad"; /* building */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ccc;
  width: 16px;
  text-align: center;
}

/* 既存の場所アイコンを変更する場合 (エリアと被るので、場所は「家」アイコンなどに変更も可) */
.meta-place::before {
  content: "\f015";
}

/* meta-date の疑似要素アイコンを削除 */
.meta-date::before {
  content: none !important;
  display: none !important;
}

/* アイコン (iタグ) のスタイル調整 */
.meta-date i {
  margin-right: 5px;
  color: #6f42c1; /* 紫系 */
}

/* --- アイコン重複の解消 --- */

/* 1. meta-date の疑似要素を削除 */
.meta-date::before {
  content: none !important;
  display: none !important;
}

/* 2. meta-company の疑似要素を削除 */
.meta-company::before {
  content: none !important;
  display: none !important;
}

/* 3. アイコン (iタグ) のスタイル統一 */
.meta-date i,
.meta-company i {
  display: inline-block;
  width: 16px; /* 幅を揃える */
  text-align: center;
  margin-right: 6px;
  color: #6f42c1; /* アイコン色 (紫系) */
  opacity: 0.8;
}

/* =========================================
   完了画面 (Registration Pending / Complete)
   ========================================= */

.srec-completion-container {
  max-width: 600px;
  margin: 80px auto;
  padding: 60px 40px;
  background: #fff;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border-top: 5px solid #2c7a7b; /* アクセントカラー */
}

.completion-icon {
  font-size: 4rem;
  color: #2c7a7b;
  margin-bottom: 30px;
}

.completion-title {
  font-family: "Shippori Mincho", serif;
  font-size: 2rem !important;
  margin-bottom: 30px;
  font-weight: 500;
}

.completion-message p {
  font-size: 1rem;
  line-height: 2;
  color: #444;
  margin-bottom: 15px;
}

.completion-note {
  margin-top: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #666;
  text-align: left;
}

.completion-actions {
  margin-top: 50px;
}

.button-outline {
  display: inline-block;
  padding: 12px 40px;
  border: 1px solid #333;
  color: #333;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s;
}
.button-outline:hover {
  background: #333;
  color: #fff;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .srec-completion-container {
    margin: 40px 20px;
    padding: 40px 20px;
  }
  .completion-title {
    font-size: 1.6rem;
  }
}

/* =========================================
   【修正】物件問い合わせフォーム (詳細度UP版)
   ========================================= */

/* フォームラッパー */
.property-detail-page .srec-inquiry-form-wrapper {
  background-color: #fff !important;
  padding: 30px !important;
  border: 1px solid #eee !important;
  border-radius: 8px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03) !important;
}

/* 見出し */
.property-detail-page .srec-inquiry-form-wrapper h3 {
  font-size: 1.4rem !important;
  font-family: "Shippori Mincho", serif !important;
  text-align: center !important;
  margin: 0 0 30px 0 !important;
  padding-bottom: 15px !important;
  border-bottom: 2px solid #2c7a7b !important;
  color: #333 !important;
}

/* ラベル */
.property-detail-page .srec-form label {
  display: block !important;
  font-size: 1.1rem !important; /* 少し大きく */
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  color: #444 !important;
}

/* 入力欄 (テキスト・メール・電話) */
.property-detail-page .srec-form input[type="text"],
.property-detail-page .srec-form input[type="email"],
.property-detail-page .srec-form input[type="tel"],
.property-detail-page .srec-form textarea {
  width: 100% !important;
  padding: 12px 15px !important;
  font-size: 1.2rem !important; /* 文字サイズUP */
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  background-color: #fdfdfd !important;
  margin-bottom: 20px !important;
  box-sizing: border-box !important;
  height: auto !important; /* 高さ固定を解除 */
}

/* テキストエリア */
.property-detail-page .srec-form textarea {
  min-height: 180px !important;
  line-height: 1.6 !important;
}

/* 送信ボタン */
.property-detail-page .srec-form input[type="submit"] {
  width: 100% !important;
  padding: 18px !important;
  font-size: 1.3rem !important;
  font-weight: bold !important;
  color: #fff !important;
  background-color: #333 !important;
  border: none !important;
  border-radius: 50px !important; /* 丸みをつけてモダンに */
  margin-top: 15px !important;
  cursor: pointer !important;
}
.property-detail-page .srec-form input[type="submit"]:hover {
  background-color: #555 !important;
  transform: translateY(-2px);
}

/* グリッドレイアウト解除 (1カラム化) */
.property-detail-page .form-grid {
  display: block !important; /* Flexboxを解除 */
  gap: 0 !important;
}

.property-detail-page .grid-col-1-2 {
  width: 100% !important; /* 幅100%に */
  margin-bottom: 0 !important; /* 個別のマージンはinput側で制御 */
}

/* =========================================
   【修正】予約フォームデザイン (single-model_house.php)
   ========================================= */

/* フォームエリア全体の余白 */
#reservation-form-area {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed #ddd;
}

/* ラベル */
#reservation-form-area label {
  display: block;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #333;
  text-align: center;
}

/* 入力欄 (サイズアップ & 見やすく) */
#reservation-form-area .form-input {
  width: 100%;
  padding: 14px 15px;
  font-size: 1.35rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  box-sizing: border-box;
  margin-bottom: 0; /* form-rowで余白を取るので0 */
  transition: all 0.3s;
}

#reservation-form-area .form-input:focus {
  background-color: #fff;
  border-color: #2c7a7b;
  box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.1);
  outline: none;
}

/* 各行の余白 */
#reservation-form-area .form-row {
  margin-bottom: 15px;
}

/* --- ★修正: 送信ボタンのデザイン --- */
#reservation-form-area .button-primary {
  display: block;
  width: 100%;
  padding: 16px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background-color: #333; /* またはテーマカラー #2c7a7b */
  border: none;
  border-radius: 4px; /* 角丸控えめ or 50pxで丸く */
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

#reservation-form-area .button-primary:hover {
  background-color: #555; /* ホバー時 */
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* 選択日の表示エリア */
.selected-date-display {
  background-color: #e7f5ff;
  color: #004085;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

/* =========================================
   物件詳細テーブル（モダンデザイン）
   ========================================= */

/* テーブル全体のラッパー */
.details-table-wrapper {
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  /* 軽いシャドウをつける場合 */
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
}

/* テーブル本体 */
.details-table-simple {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.1rem; /* 1.1rem 〜 1.2rem あたりが読みやすいです */
  line-height: 1.8; /* 行間も少し広げてゆったりさせます */
}

/* 行ごとのスタイル */
.details-table-simple tr {
  border-bottom: 1px solid #eee; /* 薄い区切り線 */
}

.details-table-simple tr:last-child {
  border-bottom: none; /* 最後の行は線なし */
}

/* 見出しセル (th) */
.details-table-simple th {
  width: 25%;
  padding: 20px 18px; /* 余白も少し広げます */
  text-align: left;
  vertical-align: top;
  background-color: #f9fbfd;
  color: #333; /* 文字色を少し濃くして視認性アップ */
  font-weight: bold;
  border-left: 5px solid #2c93d8; /* 左の線も少し太く */

  /* フォントサイズを個別に指定する場合 */
  font-size: 1.1rem;
}

/* データセル (td) */
.details-table-simple td {
  padding: 20px 18px;
  vertical-align: top;
  color: #222; /* 文字色を濃く */

  /* フォントサイズを個別に指定する場合 */
  font-size: 1.1rem;
}

/* ホバー時の効果（任意） */
.details-table-simple tr:hover th,
.details-table-simple tr:hover td {
  background-color: #fcfcfc;
}

/* =========================================
   レスポンシブ対応（スマホ表示）
   ========================================= */
@media screen and (max-width: 768px) {
  .details-table-simple th,
  .details-table-simple td {
    display: block; /* ブロック要素にして縦積みに */
    width: 100%;
    padding: 10px 15px;
    border: none; /* 枠線をリセット */
  }

  /* スマホでの見出し */
  .details-table-simple th {
    font-size: 0.95rem;
    background: transparent; /* 背景なし */
    padding-bottom: 2px; /* 下の余白を詰める */
    color: #666; /* 文字色を少し淡く */
    font-size: 0.85rem; /* 文字サイズを少し小さく */
    border-left: none; /* 左の線を消す */

    /* 代わりのアクセント：下線やアイコンなど */
    /* border-bottom: 2px solid #2c93d8; display: inline-block; width: auto; margin-left: 15px; */
  }

  /* スマホでのデータ */
  .details-table-simple td {
    font-size: 1.1rem;
    padding-top: 2px; /* 上の余白を詰める */
    padding-bottom: 20px; /* 次の項目のために余白 */
    border-bottom: 1px dashed #eee; /* 点線で区切る */
    font-weight: bold;
  }

  .details-table-simple tr:last-child td {
    border-bottom: none;
  }
}

/* =========================================
   同じ会社の他の実例 (single-works.php) - デザイン全面修正版
   ========================================= */

/* --- セクション全体 --- */
.related-works-section {
  margin-top: 120px;
  padding: 100px 0;
  border-top: 1px solid #f0f0f0;
  background-color: #fff; /* 背景を白に統一 */
}

/* ★重要: セクション全体の幅を制限し、画像が大きくなりすぎるのを防ぐ */
.related-works-section .works-container {
  max-width: 900px; /* 本文コンテンツと同じくらいの幅に */
  margin-left: auto;
  margin-right: auto;
}

/* --- 見出し (ページ内のスタイルに完全統一) --- */
.related-works-title {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  padding-top: 35px; /* 上の英字分のスペース */
}

/* 英語部分 (OTHER WORKS) */
.related-works-title .en {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #b3b3b3;
  text-transform: uppercase;
}

/* 日本語部分 */
.related-works-title .jp {
  display: block;
  font-family: "M PLUS 1", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #333;
}

/* 見出しの上下の区切り線 */
.related-works-title::before,
.related-works-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background-color: #e0e0e0;
}
.related-works-title::before {
  top: 20px;
} /* 英字の上に配置 */
.related-works-title::after {
  bottom: -20px;
} /* 日本語の下に配置 */

/* --- グリッドレイアウト --- */
.related-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; /* カード間の余白 */
  margin-bottom: 60px;
}

@media (max-width: 767px) {
  .related-works-grid {
    grid-template-columns: 1fr; /* スマホでは1列 */
    gap: 40px;
  }
}

/* --- カードデザイン (ミニマル化) --- */
.related-work-card {
  text-decoration: none;
  color: #333;
  display: block;
  background: transparent;
  box-shadow: none;
}

/* --- サムネイル画像 --- */
.related-work-thumb {
  width: 100%;
  padding-top: 100%; /* 正方形の比率 */
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  margin-bottom: 15px; /* 画像とテキストの間の余白 */
}

.related-work-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-work-card:hover .related-work-thumb img {
  transform: scale(1.05);
}

/* --- テキストエリア --- */
.related-work-body {
  padding: 0;
  text-align: left; /* 左寄せに戻して落ち着かせる */
}

.related-work-title {
  font-family: "M PLUS 1", sans-serif;
  font-size: 14px; /* 少し小さく */
  font-size: 1.65rem !important;
  font-weight: normal; /* 太字にしない */
  line-height: 1.7;
  margin: 0 0 5px 0;
  letter-spacing: 0.05em;
  color: #333;
}

.related-work-cat {
  display: inline-block;
  font-size: 10px; /* さらに小さく */
  color: #aaa;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.05em;
}

/* --- ボタンエリア --- */
.related-works-btn-area {
  text-align: center;
  margin-top: 80px;
}

/* ★重要: ボタンデザインをページ内のスタイルに完全統一 */
.related-works-btn-area .button-secondary {
  display: block; /* ブロック要素にして幅100%に */
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0; /* 細いグレーの枠線 */
  background: #fff;
  box-shadow: none; /* 影はなし */
  color: #333;
  text-decoration: none;
  font-size: 12px;
  font-family: "M PLUS 1", sans-serif;
  transition: background-color 0.3s ease;
  letter-spacing: 0.1em;
  box-sizing: border-box;
}

.related-works-btn-area .button-secondary:hover {
  background-color: #f8f8f8; /* ホバー時にわずかに色が変わる */
  color: #333;
  border-color: #e0e0e0;
}

/* 見学予約カレンダーの休日スタイル */
.reservation-calendar-table .calendar-day.is-holiday {
  background-color: #f7f7f7;
  color: #bbb;
  pointer-events: none; /* クリックイベントを無効化 */
}

.reservation-calendar-table .calendar-day.is-holiday .day-number {
  text-decoration: line-through; /* 日付に打ち消し線 */
}

.reservation-calendar-table .status-text.is-holiday-text {
  font-size: 11px;
  color: #ccc;
  display: block;
  margin-top: 5px;
}
