/* 基本的に全ページ共通パーツをここに記載 */

/* 共通フォント */
:root {
  --font-main: "dnp-shuei-mincho-pr6n", "Hiragino Mincho ProN",  "Noto Serif JP", "Yu Mincho",  serif;
}

/* 建てる前も、建てた後も */
.p-te-main-about {
  position: relative;
  padding-bottom: 40px;
  z-index: 0;
  background: #FFF;
  margin-top: 100vh;
}

.p-te-main-about__back {
  position: absolute;
  height: 375px;
  width: 100vw;
  background-image: url('/wp-content/themes/HayashiGumi/images/top/backimage-istock.jpg');
  background-size: cover;
  background-position: center -200px;
  background-repeat: no-repeat;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  z-index: -2;
}


@media (max-width: 1408px) {
  .p-te-main-about__back {
    background-position: center center;
  }
}


@media (min-width: 1560px) {
  .p-te-main-about__back {
    background-position: center center;
  }
}

.p-te-main-about__back::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px; /* グラデーションの高さ（調整OK） */
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  pointer-events: none; /* クリックイベント邪魔しないように */
}

.p-te-main-about__back-white {
  position: absolute;
  height: 375px;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  z-index: -1;
  background-color: rgba(255,255,255,0.7);
}

.p-te-main-about__textContents {
  padding-top: 60px;
}

/* アニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

.p-te-main-about__gridItem {
  position: relative;
}


@media (max-width: 768px) {
  .fade-up {
    opacity: 1;
    transform: unset;
  }
  .animate {
    opacity: 1;
    transform: unset;
  }
  .delay-1 { transition-delay: unset; }
  .delay-2 { transition-delay: unset; }
  .delay-3 { transition-delay: unset; }
  .delay-4 { transition-delay: unset; }
}

.p-te-main-about__braunfix {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(120, 80, 40, 0.3);
  z-index: 1;
}

.grid-item__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);
  text-align: center;
  color: #FFF;
  font-size: 16px;
  white-space: nowrap;
  letter-spacing: 0.3em;
  font-family: var(--font-main);
  z-index: 2;
}

/* グリッド配置（上下2段、左右間を50px） */
.p-te-main-about__grid-section {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 30px 50px;  /* 上下30px、左右50px */
  justify-content: center;
  align-items: center;
  padding: 10px 10%;
}

.p-te-main-about__grid-section img {
  width: 320px;
  height: auto;
  justify-self: center;
}

@media (max-width: 768px) {
  .p-te-main-about__grid-section {
    display: column;
    grid-template-columns: unset;
    gap: 20px 0;
    justify-content: unset;
    align-items: unset;
    padding: unset;
  }
  .p-te-main-about__grid-section  a {
    display: inline-block;
  }
}


.p-te-main-about__tit {
  font-family: var(--font-main);
  font-style: normal;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-align: center;
}

@media (max-width: 768px) {
  .p-te-main-about__tit {
    font-size: 1.125rem;
  }
  .p-te-main-about {
    padding-left: 5px!important;
    padding-right: 5px!important;
  }
}

@media (max-width: 390px) {
  .p-te-main-about__tit {
    font-size: 1rem;
  }
}


@media (max-width: 320px) {
  .p-te-main-about__tit {
    font-size: 14px;
  }
}

.p-te-main-about__texts {
  font-family: var(--font-main);
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 40px;
  max-width: 417px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 768px)  {
  .p-te-main-about__texts {
    font-size: 11px;
  }
}

.p-te-main-about__img {
  margin-top: 50px;
  text-align: center;
}

.p-te-main-about__img img {
  aspect-ratio: 57 / 50;
  object-fit: cover;
  width: 57px;
}

.p-te-main-about__grid-section {
  margin-top: 50px;
}


@media (max-width: 768px) {
  .p-te-main-about__grid-section {
    margin-top: 30px;
    max-width: 259px;
    margin-right: auto;
    margin-left: auto;
  }
}

.p-te-main-about__tits {
  font-family: var(--font-main);
  font-style: normal;
  font-weight: 400;
  font-size: 12.5px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.p-te-main-about__bigtex {
  font-size: 19.83px;
    font-family: var(--font-main);
  font-style: normal;
  letter-spacing: 0.13em;
  font-weight: 600;
}

.p-te-main-about__minitex {
  font-size: 4.85px;
    font-family: var(--font-main);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.23em;
}









/* ーーーーーーーーーーーーーーーーーーーーーーーー */
/* 4つの強み */
.p-te-strength__container {
  margin: 0 auto;
  background-image: url('/wp-content/themes/HayashiGumi/images/top/strengths-back.jpg');
  background-repeat: repeat;
  background-size: 320px 320px;
  position: relative;
  z-index: 0;
}

/* 背景をかぶせるための疑似要素 */
.p-te-strength__containerBack {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.65);
  z-index: -1;
}



.p-te-strength__header-section {
  height: 219px;
  overflow: hidden;
}


.p-te-strength__header-section img {
  height: 219px;
  width: 100%;
  object-fit: cover;
  object-position: center -150px;
}

@media (max-width: 1297px)  {
  .p-te-strength__header-section img {
    object-position: center center;
  }
}

@media (max-width: 768px) {
  .p-te-strength__header-section {
    height: 106px;
  }
  .p-te-strength__header-section img {
    height: 106px;
    object-position: center center;
  }
}

.p-te-strength__section {
  position: relative;
  border: 2px dashed transparent;
  opacity: 0;
  transform: translateY(20px);
  max-width: 767px;
  margin-right: auto;
  margin-left: auto;
  /* animation-play-state: paused; */
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.5s;
}

@media (max-width: 768px) {
  .p-te-strength__section {
    opacity: 1;
    transform: unset;
  }
}


.p-te-strength__header-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

@media (max-width: 768px)  {
  .p-te-strength__header-image {
    opacity: 1;
    animation: unset;
    transform: unset;
  }
}


.p-te-strength__titleBox {
  background-image: url('/wp-content/themes/HayashiGumi/images/top/strengths-back.jpg');
  background-repeat: repeat;
  background-size: 320px 320px;
  padding: 5px 20px 0px 20px;
  min-width: 363px;
  position: absolute;
  top: -123.67px;
  left: -20px;
  max-height: 123.67;
  z-index: 0;
}

@media (max-width: 768px) {
  .p-te-strength__titleBox  {
    display: none;
  }
}

.p-te-strength-spOnlytit {
  display: none;
}
@media (max-width: 768px) {
  .p-te-strength-spOnlytit {
    display: block;
  }
}

.p-te-titleh2 {
  text-align: center;
  margin: 10px 0;
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
}

@media (max-width: 768px) {
  .p-te-titleh2{
    opacity: 1;
    animation: unset;
  }
}

.p-te-titleh2 h2 {
  color: #123979;
  font-size: 20px;
  margin-bottom: 0!important;
  letter-spacing: 0.3em;
  font-family: var(--font-main);
  font-style: normal;
  line-height: 1;
}


.p-te-titleh2 p {
  font-size: 16px;
  color: #123979;
  letter-spacing: 0.3em;
  font-family: var(--font-main);
  font-style: normal;
  margin-top: 12px;
  margin-bottom: 0!important;
  line-height: 1;
}


.p-te-titleh2__img img {
  max-width: 26px;
}

.p-te-strength__underline {
  width: 54px;
  height: 3.8px;
  background-color: #00469d;
  margin: 10px auto;
}


@media (max-width: 768px)  {
  .p-te-titleh2 h2 {
    font-size: 1rem;
    margin-top: 6px;
  }
  .p-te-titleh2 p {
    font-size: 12px;
    margin-top: 6px;
  }
  .p-te-titleh2__img img {
    max-width: 22px;
  }
  .p-te-strength__underline {
    width: 43px;
    height: 3.2px;
    margin: 6px auto 30px auto;
  }
}

.p-te-strength__content-box {
  display: flex;
  align-items: top;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

@media (max-width: 768px) {
  .p-te-strength__content-box {
    gap: 15px;
  }
}

.p-te-strength__text-content {
  flex: 1;
  /* width: 345px; */
  width: 44.98%;
}

.p-te-strength__image-content {
  flex: 1;
  /* width: 320px; */
  width: 41.72%;
}

.p-te-strength__image-content img {
  width: 100%;
  height: auto;
  max-height: 180px;
  max-width: 320px;
  object-fit: cover;
  /* aspect-ratio: 320 / 180; */
}

@media (max-width: 768px) {
  .p-te-strength__text-content {
    flex: 1;
    width: 100%;
  }

  .p-te-strength__image-content {
    flex: 1;
    width: 100%;
    order: -1;
  }
}

.p-te-strength__content-box h3 {
  font-size: 24px;
  margin-bottom: 0;
  letter-spacing: 4px;
  font-family: var(--font-main);
  font-style: normal;
  font-weight: 600;
  margin-top: 0;
}

@media (max-width: 768px)  {
  .p-te-strength__content-box h3 {
    font-size: 19px;
  }
}

.p-te-strength__blue-underline {
  width: 54px;
  height: 3.8px;
  background-color: #123979;
  margin: 10px 0 15px 0;
}

@media (max-width: 768px) {
  .p-te-strength__blue-underline {
    margin: 10px auto 15px auto;
  }
}

.p-te-strength__content-box p {
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.p-te-strength__pletter {
  max-width: 344px;
  letter-spacing: 0.1em;
}

.p-te-strength__highlight-text {
  text-align: center;
  margin: 60px 0 20px;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  opacity: 0;
}

.p-te-strength__highlight-full {
  position: relative;
  display: inline-block;
  z-index: 1;
  font-family: var(--font-main);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
}



.highlight-bar {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0%;
  height: 5px;
  background-color: #ffeb3b;
  z-index: -1;
  animation: highlightAnim 1s ease 3s forwards;
  animation-play-state: paused; /* ← 最初は止める */
}

.p-te-strength__contact-button {
  display: block;
  width: 195.5px;
  margin: 30px auto;
  padding: 10px 20px;
  background-color: #ff6f00;
  color: #FFF;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 14px;
}

.p-te-strength__contact-button:hover {
  background-color: #ff8f00;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  color: #FFF;
}


.p-te-strength__mail-icon {
  width: 23.94px;
  height: 15.66px;
  object-fit: cover;
  margin-right: 20px;
}


.p-te-strength__items {
  padding: 40px 0;
  position: relative;
  max-width: 767px;
  margin-right: auto;
  margin-left: auto;
}


@media (max-width: 768px) {
  .p-te-strength__items {
    max-width: 300px;
    padding: 40px 20px;
    
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes highlightAnim {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* セクションごとのアニメーション遅延 */
.p-te-strength__section-3 {
  /* animation: fadeIn 1s ease 2s forwards; */
}

.p-te-strength__section-4 {
  /* animation: fadeIn 1s ease 3s forwards; */
  margin-top: 60px;
  animation-delay: 1.5s;
}

.p-te-strength__section-5 {
  /* animation: fadeIn 1s ease 4s forwards; */
  margin-top: 60px;
  animation-delay: 2.5s;
}

.p-te-strength__section-6 {
  /* animation: fadeIn 1s ease 5s forwards; */
  margin-top: 60px;
  animation-delay: 3.5s;
}

.p-te-strength__highlight-text {
  animation: fadeIn 1s ease 1s forwards;
}





@media (max-width: 768px) {
  .p-te-strength__content-box {
    flex-direction: column;
  }

  .p-te-strength__section-3 {
    animation: unset;
  }

  .p-te-strength__section-4 {
    animation: unset;
    margin-top: 30px;
  }

  .p-te-strength__section-5 {
    animation: unset;
    margin-top: 30px;
  }

  .p-te-strength__section-6 {
    animation: unset;
    margin-top: 30px;
  }

  .p-te-strength__highlight-text {
    animation: unset;
  }

  .p-te-strength__highlight-text-spnone {
    display: none;
  }




}



/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
/* サービス */


.p-te-service {
  padding: 40px 0 44px 0;
  background: #FFF;
}


.p-te-service__itemsT {
  max-width: 933px;
  margin: 32px auto 0 auto;
  width: 100%;
}

.p-teservece__itemsT-spOnly {
  display: none;
}

@media (max-width: 920px) {
  .p-te-service__itemsT {
    display: none;
  }
  .p-teservece__itemsT-spOnly {
    padding: 30px 20px;
    display: block;
    /* max-width: 319px; */
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
  }

  .p-teservece__itemsT-spOnly-itemImg img {
    aspect-ratio: 320 / 200;
    object-fit: cover;
    width: 100%;
  }

  .p-teservece__itemsT-spOnly .p-te-service__column{
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .p-teservece__itemsT-spOnly {
    padding: 0 20px;
  }

}

@media (max-width: 768px) {
  .p-teservece__itemsT-spOnly {
    max-width: 320px;
  }
}


.p-te-service__service-section {
  position: relative;
  width: 100%;
  /* margin: 0 auto; */
  overflow: hidden;
  /* padding: 50px 20px; */
}

.p-te-service__service-image-container {
  position: relative;
  width: 100%;
  animation: fadeUpService 1.2s ease-out forwards;
  opacity: 0;
  overflow: hidden;
  animation-delay: 1.5s;
}

.p-te-service__service-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: scale(1.05);
}

/* テキストブロック */
.p-te-service__service-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  width: 38%;
  opacity: 0;
  animation: slideInLeft 0.8s ease-out 0.8s forwards;
}

/* 見出し：明朝体＋文字間 */
.p-te-service__service-heading {
  font-family: var(--font-main);
  font-style: normal;
  font-size: 36px;
  color: black;
  letter-spacing: 0.075em;
  margin-bottom: 0;
  line-height: 56.13px;
  font-weight: 600;
  position: relative;
  text-align: left;
}

.p-te-service__service-heading:after {
  position: absolute;
  content: "";
  top: 50%;
  left: -21px;
  background: #123979;
  width: 5.38px;
  height: 87.69px;
  transform: translateY(-50%);
}

/* サブ見出し */
.p-te-service__service-description {
  font-size: 14px;
  color: black;
  margin-bottom: 15px;
  margin-top: 0;
  line-height: 20px;
  text-align-last: left;
}

/* 本文 */
.p-te-service__service-text {
  font-size: 11px;
  margin-bottom: 0;
  margin-top: 0;
  color: black;
  line-height: 19px;
  text-align: left;
}

/* ボタン */
.p-te-service__scbtn {
  text-align: right;
  margin-top: 20px;
}

.p-te-service__scbtn2 {
  text-align: left;
}

.p-te-service__service-button {
  display: inline-block;
  background-color: #123979;
  color: #FFF;
  padding: 6.8px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 13px;
  display: inline-block;
  margin-left: auto;
}

.p-te-service__service-button:hover {
  background-color: #0d2c61;
  color: #FFF;
}

@media (max-width: 920px) {
  .p-teservece__itemsT-spOnly .p-te-service__service-button{
    width: 100%;
    text-align: center;
    max-width: 325px;
  }
}

@media (max-width: 768px) {
  .p-teservece__itemsT-spOnly .p-te-service__service-button{
    width: 100%;
    text-align: center;
    max-width: unset;
  }
}

/* アニメーション定義 */
@keyframes fadeUpService {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-30px) translateY(-50%);
    opacity: 0;
  }
  100% {
    transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
}


/* 2行目のサービスたち */
.p-te-service__reform-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* padding: 60px 20px; */
  gap: 20px;
  max-width: 933px;
  /* margin: 0 auto; */
  margin-top: 17px;
}

.p-te-service__column {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.p-te-service__column-left,
.p-te-service__column-right {
  max-width: 280px;
}

.p-te-service__column-center {
  max-width: 580px;
}

.p-te-service__reform-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0;
  flex-grow: 1;
}

.p-te-service__service-content2 {
  padding: 0 20px 20px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}


@media (max-width: 920px) {
  .p-teservece__itemsT-spOnly .p-te-service__service-content2 {
    padding: 0 20px 40px;
  }

}




.p-te-service__service-description2,
.p-te-service__service-text2 {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  text-align: left;
}

.p-te-service__service-button2 {
  display: inline-block;
  background-color: #123979;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  align-self: flex-start;
  margin-top: auto;
}

/* アニメーション初期状態 */
.p-te-service__animate-left,
.p-te-service__animate-right,
.p-te-service__animate-fade {
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.p-te-service__animate-left.in-view {
  transform: translateX(0);
  opacity: 1;
}

.p-te-service__animate-right.in-view {
  transform: translateX(0);
  opacity: 1;
}

.p-te-service__animate-fade.in-view {
  transform: translateY(0);
  opacity: 1;
}

/* 初期の位置 */
.p-te-service__animate-left {
  transform: translateX(-20px);
}

.p-te-service__animate-right {
  transform: translateX(20px);
}

.p-te-service__animate-fade {
  transform: translateY(20px);
}



/* 3行目 */
.p-te-service__reform-section3 {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* padding: 60px 20px; */
  gap: 20px;
  /* max-width: 933px; */
  margin: 17px auto 0 auto;
  flex-wrap: wrap;
}

.p-te-service__column3,
.p-te-service__column-group3 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.p-te-service__column-left3,
.p-te-service__column-right3 {
  max-width: 480px;
}

.p-te-service__reform-img3 {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  flex-grow: 1;
  display: block;
}

.p-te-service__image-wrapper3 {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.p-te-service__text-box3 {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #ffffff;
  padding: 12px 34px 12px 42px;
  max-width: 90%;
  margin: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.p-te-service__text-content3 {
  margin-top: 4px;
  padding: 0 20px;
}

.p-te-service__service-heading3:after {
  height: 46.21px;
}




.p-te-service__service-description3,
.p-te-service__service-text3 {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: -3px;
  text-align: left;
}

.p-te-service__text-content3 .p-te-service__service-text {
  padding-left: 22px;
}

.p-te-service__service-description3 strong {
  font-weight: bold;
}


.p-te-service__scbtn3 {
  margin-left: 16px;
}


.p-te-service__service-text33 {
  padding-right: 16px;
}

/* アニメーション初期状態 */
.p-te-service__animate-left3,
.p-te-service__animate-right3 {
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.p-te-service__animate-left3.in-view,
.p-te-service__animate-right3.in-view {
  transform: translateY(0);
  opacity: 1;
}


@media (max-width: 768px) {
  .p-te-service__reform-section3 {
    flex-direction: column;
    padding: 40px 16px;
  }

  .p-te-service__column3,
  .p-te-service__column-group3 {
    max-width: 100%;
  }

  .p-te-service__image-wrapper3 {
    margin-top: 16px;
  }

  .p-te-service__text-content3 {
    padding: 0 12px;
  }
}



@media (max-width: 920px) {
  .p-te-service__service-headingSpONlytag {
    margin-top: 40px;
  }
  .p-te-service__service-headingSpONlytag2 {
    margin-top: 30px;
  }
}


@media (max-width: 768px) {
  .p-te-service__animate-left,
  .p-te-service__animate-right,
  .p-te-service__animate-fade {
    opacity: 1;
    transition: unset;
    transform: unset;
  }

  .p-te-service__service-heading {
    font-size: 28.8px;
  }

  .p-te-service__service-description {
    text-align: left;
  }
  .p-te-service__service-button {
    padding: 6.8px 10px;
    font-size: 11px;
  }
  .p-teservece__itemsT-spOnly .p-te-service__service-content2 {
    padding: 0 20px 24px;
  }
}


@media (max-width: 400px) {
  .p-te-service__service-button {
    padding: 6.8px 10px;
    font-size: 11px;
  }
}



/* ーーーーーーーーーーーーーーーーー */
/* 施工実績 */

.p-te-works {
  padding: 60px 0 50px 0;
  background: #123979;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.p-te-works__rightabso {
  position: absolute;
  right: -18px;
  top: -24px;
  z-index: -1;
  overflow: hidden;
}


.p-te-works__rightabso img {
  aspect-ratio: 438 / 376;
  object-fit: cover;
  max-width: 438px;
}

.p-te-works__contents {
  color: #FFF;
  max-width: 784px;
  margin: 0 auto;
}

.p-te-works .p-te-titleh2 h2 {
  color: #FFF;
}

.p-te-works .p-te-titleh2 p {
  color: #FFF;
}


.p-te-works .p-te-strength__underline {
  background-color: #FFF;
}

.p-te-works__text {
  margin-top: 28px;
  text-align: center;
  line-height: 21px;
  font-size: 12px;
  max-width: 292px;
  margin-left: auto;
  margin-right: auto;
}


.p-te-works__items {
  margin-top: 30px;
  display: flex;
  gap: 25px;
}

.p-te-works__items .p-te-works__itemTitle {
  color: #FFF;
  font-size: 14px;
  margin-top: 8px;
}


.p-te-works__items .p-te-works__itemText {
  color: #FFF;
  font-size: 12px;
  margin-top: 10px;
}

.p-te-works__itemImg img {
  aspect-ratio: 242 / 166;
  object-fit: cover;
}


.p-te-works__item {
  width: 32%;
}

.p-te-works__item a:hover {
  opacity: 0.7;
}


.p-te-works__line {
  background: #FFF;
  width: 1px;
  height: 58px;
  margin: 27px auto 12px auto;
}


.p-te-works__btnArchive .p-te-strength__contact-button {
  display: block;
  width: 163px;
  margin: 30px auto;
  padding: 6px 20px;
  background-color: unset;
  color: #FFF;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 14px;
  border: 1px solid #FFF;
  font-family: var(--font-main);
  font-style: normal;
}

.p-te-works__btnArchive .p-te-strength__contact-button:hover {
  transform: translateY(-3px);
  box-shadow: unset;
  color: #FFF;
  background-color: unset;
}

.p-te-works__highlight-text  {
  animation: fadeIn 1s ease 2s forwards;
}


.p-te-works__highlight-text .highlight-bar {
  bottom: -2px;
  height: 4px;
  animation: highlightAnim 1s ease 3s forwards;
}


.p-te-strength__highlight-full br{
  display: none;
}

.p-te-strength__highlight-full-spOnlyy {
  display: none;
}

.sp-nonenone {
  font-family: var(--font-main);
  font-style: normal;
}


@media (max-width: 768px) {
  .p-te-works__items {
    display: block;
    max-width: 200px;
    margin-right: auto;
    margin-left: auto;
  }
  .p-te-works__rightabso img {
    max-width: 298px;
  }
  .p-te-works__rightabso {
    position: absolute;
    right: -68px;
    top: -24px;
    z-index: -1;
    overflow: hidden;
  }

  .p-te-works__item {
    width: 100%;
  }

  .p-te-strength__highlight-full br {
    display: block;
  }
  .p-te-strength__highlight-full {
    background: linear-gradient(transparent 85%, #ffe100 20%);
    display: inline-block!important;
  }
  .p-te-works__highlight-text  {
    animation: none;
  }
  .p-te-works__highlight-text .highlight-bar {
    bottom: -2px;
    height: 4px;
    animation: none;
  }
  .p-te-strength__highlight-text {
    opacity: 1;
  }
  .sp-nonenone {
    display: none;
  }
  .p-te-strength__highlight-full-spOnlyy {
    display: block;
  }
}


/* ーーーーーーーーーーーーーーーー */
/* お知らせ */

.p-te-news__header {
  background-image: url('/wp-content/themes/HayashiGumi/images/top/news-header.jpg');
  background-size: cover;
  background-position: center 0px;
  background-repeat: no-repeat;
  padding: 20px 20px 60px 20px;
  position: relative;
  z-index: 0;
}
@media (max-width: 768px) {
  .p-te-news__header {
    padding: 20px;
  }
}

.p-te-news__header:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: -1;
}


@media (max-width: 768px) {
  .p-te-news__header:after {
    background: rgba(255, 255, 255, 0.5);
  }
}

.p-te-news .p-te-titleh2 p {
  margin-top: 8px;
}

.p-te-news__content {
  padding-top: 30px;
  padding-bottom: 30px;
  background: #FFF;
}

.p-te-news__items {
  display: flex;
  gap: 17px;
  max-width: 1030px;
  margin: 0 auto;
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
}

.p-te-news__item {
  width: 23%;
}

@media (max-width: 768px)  {
  .p-te-news__items  {
    flex-wrap: wrap;
    max-width: 370px;
    margin-right: auto;
    margin-left: auto;
  }
  .p-te-news__item {
    width: 45%;
  }
  .p-te-news__itemTit {
    font-size: 12px!important;
  }
  .p-te-news__itemDate {
    font-size: 11px!important;
  }
}

.p-te-news__item a:hover {
  opacity: 0.7;
}

.p-te-news__itemTit {
  font-size: 14px;
  font-family: var(--font-main);
  font-style: normal;
  letter-spacing: 0.13em;
  color: #000;
  font-weight: 600;
  text-align: center;
  margin-top: 14px;
  line-height: 1.2;
}

.p-te-news__itemDate {
  font-size: 12px;
  font-family: var(--font-main);
  font-style: normal;
  letter-spacing: 0.13em;
  color: #000;
  text-align: center;
  margin-top: 4px;
  line-height: 1.2;
}

.p-te-news__itemImg img{
  aspect-ratio: 240 / 160;
  object-fit: cover;
}


/* ーーーーーーーーーーーーーーー */
/* 営業日カレンダー */

.p-te-calendar {
  background: #DEE6F0;
  padding-top: 40px;
  padding-bottom: 50px;

}


.p-te-calendar__contents {
  max-width: 979px;
  margin: 25px auto 0 auto;
  background: #FFF;
  box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
}


.p-te-calendar__items {
  display: flex;
  gap: 50px;
  padding: 13px 54px 27px 54px;
}


.xo-event-calendar table.xo-month button span.nav-next {
  border-right: 2px solid #7D7D7D;
  border-top: 2px solid #7D7D7D;
}

.xo-event-calendar table.xo-month button span.nav-prev {
  border-left: 2px solid #7D7D7D;
  border-bottom: 2px solid #7D7D7D;
}

.xo-event-calendar table.xo-month button {
  margin-left: 58px;
  margin-right: 58px;
}


.xo-event-calendar table.xo-month .month-header {
  margin: 4px 0 10px 0;
}

.holiday-titles .holiday-title:nth-of-type(3) span{
  display: none;
}


@media (max-width: 1005px)  {
  .p-te-calendar__items {
    display: block;
    padding: 27px ;
  }

  .p-te-calendar__contents  {
    max-width: 360px;
  }

  .xo-event-calendar table.xo-month button {
    margin-left: 10px;
    margin-right: 10px;
  }
  .p-te-calendar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .p-te-calendar__item:nth-child(n + 2) {
    margin-top: 30px;
  }
}



/* ーーーーーーーーーーーーーーー */
/* 会社概要 */
.p-te-aboutUs {
  padding-top: 40px;
  padding-bottom: 50px;
  padding-left: 20px;
  padding-right: 20px;
  background: #FFF;
}


.p-te-aboutUs__img {
  margin-top: 20px;
  max-width: 505px;
  margin-left: auto;
  margin-right: auto;
}

.p-te-aboutUs__img img {
  aspect-ratio: 505 / 184;
  object-fit: cover;
  width: 100%;
}



.p-te-aboutUs__contents {
  max-width: 448px;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

.p-te-aboutUs__row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #000;
  position: relative;
}

.p-te-aboutUs__row--first {
  border-top: 1px solid #000;
}


.p-te-aboutUs__row::after {
  content: "";
  position: absolute;
  bottom: -1.5px;
  left: 0;
  height: 2px;
  width: 106px;
  background-color: #123979;
}

.p-te-aboutUs__row--first::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  height: 2px;
  width: 106px;
  background-color: #123979;
}

.p-te-aboutUs__label {
  width: 106px;
  padding: 6px 6px;
  position: relative;
  letter-spacing: 0.2em;
  font-size: 12px;
}


.p-te-aboutUs__value {
  flex: 1;
  padding: 6px 2px;
  font-size: 12px;
}

.p-te-aboutUs__valueMap {
  margin-top: 16px;
}

.p-te-aboutUs__valueMap iframe {
  max-height: 210px;
}


.p-te-aboutUs__value .p-te-contact-orangeBtn .p-te-strength__contact-button{
  margin: 0;
  padding: 5px 10px;
  font-size: 10px;
}


.p-te-aboutUs__value .p-te-contact-orangeBtn .p-te-strength__mail-icon {
  width: 17.94px;
  height: 11.66px;
  margin-right: 15px;
}



.p-te-aboutUs__kyokaBox {
  margin-top: 20px;
  max-width: 297px;
  margin-left: auto;
}


.p-te-aboutUs__kyoka {
  display: flex;
  flex-direction: column;
}

.p-te-aboutUs__kyoka-item {
  display: flex;
}

.p-te-aboutUs__kyoka-label,
.p-te-aboutUs__kyoka-number {
  border: 1px solid #000;
  padding: 4px 12px;
  font-size: 12px;
  line-height: 1.5;
  background-color: #fff;
  text-align: center;
}

.p-te-aboutUs__kyoka-label {
  min-width: 122px; /* 必要に応じて調整 */
  border-right: none; /* ボーダーが2重に見えるのを防止 */
}

.p-te-aboutUs__kyoka-number {
  flex: 1;
}


.p-te-aboutUs__kyoka-item2 .p-te-aboutUs__kyoka-label,
.p-te-aboutUs__kyoka-item2 .p-te-aboutUs__kyoka-number {
  border-top: none;
}

.p-te-aboutUs__kyokaBox p {
  margin: 0;
}




/* ーーーーーーーーーーーーーーー */
/* お問合せ */

.p-te-contact {
  padding: 40px 20px 20px 20px;
  position: relative;
  z-index: 0;
  background-image: url('/wp-content/themes/HayashiGumi/images/top/strengths-back.jpg');
  background-repeat: repeat;
  background-size: 320px 320px;
}

.p-te-contact__containerBack {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.65);
  z-index: -1;
}

.p-te-contact__texts {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 2;
}

@media (max-width: 768px)  {
  .p-te-contact__texts {
    line-height: 1.5;
  }
}


.p-te-contact__absoluteImg {
  position: absolute;
  content: "";
  right: 4%;
  top: -80px;
  width: 29%;
  max-width: 331px;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.p-te-contact__absoluteImg img {
  aspect-ratio: 331 / 212;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px)  {
  .p-te-contact__absoluteImg {
    position: absolute;
    content: "";
    right: 4%;
    top: -20px;
    width: 35%;
    max-width: 331px;
    opacity: 1;
    animation: unset;
  }
}

/* .p-te-works__rightabso {
  position: absolute;
  right: -18px;
  top: -24px;
  z-index: -1;
  overflow: hidden;
}


.p-te-works__rightabso img {
  aspect-ratio: 438 / 376;
  object-fit: cover;
  max-width: 438px;
} */

.p-te-contactBtn__leftabso {
  right: unset;
  left: -18px;
}

.p-te-contactBtn__leftabso img {
  max-width: 333px;
}

@media (max-width: 768px) {
  .p-te-contactBtn__leftabso {
    right: unset;
    left: -22px;
  }
  
  .p-te-contactBtn__leftabso img {
    max-width: 164px;
  }
  
}


.p-te-contactBtn {
  position: relative;
  z-index: 0;
  padding: 40px 20px 70px 20px;
  background: linear-gradient(to right, #123979, #08A8C7);
}


.p-te-contactBtn__telBox {
  max-width: 449px;
  margin: 0 auto;
}


.p-te-contactBtn__telItems {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.p-te-contactBtn__telIcon a img {
  width: 46px;

}


.p-te-contactBtn__telNumber {
  font-size: 52px;
  color: #FFF!important;
}

@media (max-width: 768px)  {
  .p-te-contactBtn__telItems {
    display: flex;
    justify-content: center;
    gap: 18px;
  }
  .p-te-contactBtn__telIcon a img {
    width: 36px;
  }
  .p-te-contactBtn__telNumber {
    font-size: 40px;
  }
}

@media (max-width: 386px) {
  .p-te-contactBtn__telNumber {
    font-size: 30px;
  }
}

.p-te-contactBtn__telText {
  font-size: 13px;
  color: #FFF;
  text-align: center;
}

@media (max-width: 768px) {
  .p-te-contactBtn__telText {
    font-size: 10px;
  }
}



.p-te-contactBtn__btns {
  max-width: 1036px;
  margin: 40px auto 0 auto;
}

.p-te-contactBtn__contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 49px;
  width: 100%;
}

.p-te-contactBtn__contact-button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 93px;
  padding: 0;
  width: 30%; /* ボタンの幅を制限 */
  max-width: 304px;
}

.p-te-contactBtn__button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 10px;
}

.p-te-contactBtn__contact-button img {
  margin-right: 13px;
}

.p-te__line-img {
  height: 53.88px;
  width: 56.54px;
}

.p-te__maild-img {
  height: 28.69px;
  width: 43.84px;
}

.p-te__homes-img {
  height: 26.33px;
  width: 27.78px;
}


.p-te-contactBtn__text-container {
  display: flex;
  flex-direction: column;
}

/* 各ボタンの個別スタイル */
.p-te-contactBtn__line-button {
  background-color: #06C755;
  color: white;
}

.p-te-contactBtn__line-button .p-te-contactBtn__button-title {
  font-size: 19px;
  font-weight: normal;
  color: white;
  line-height: 1.3;
}

.p-te-contactBtn__line-button .p-te-contactBtn__button-highlight {
  color: #FFFF00;
  font-size: 19px;
  line-height: 1.3;
}

.p-te-contactBtn__form-button {
  background-color: #FF6B35;
  color: white;
}

.p-te-contactBtn__form-button .p-te-contactBtn__button-title-large {
  font-size: 17.5px;
  line-height: 1.7;
  color: white;
}

.p-te-contactBtn__form-button .p-te-contactBtn__button-subtitle {
  font-size: 11px;
  color: white;
  line-height: 1.3;
}

.p-te-contactBtn__property-inquiry-button {
  background-color: #FCF551;
  color: #333;
  border-radius: 40px; /* より丸みを持たせる */
  position: relative;
  overflow: hidden;
  height: 66px;
  box-shadow: 0 4px 0 #B4B040!important;
}

.p-te-contactBtn__property-inquiry-button .p-te-contactBtn__button-content {
  position: relative;
}

.p-te-contactBtn__property-inquiry-button .p-te-contactBtn__divider {
  width: 4px;
  height: 66px;
  background-color: #B4B040;
  margin: 0 20px 0 5px;
}

.p-te-contactBtn__property-inquiry-button .p-te-contactBtn__text-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.p-te-contactBtn__property-text {
  display: flex;
  flex-direction: column;
}

.p-te-contactBtn__property-inquiry-button .p-te-contactBtn__button-title-large {
  font-size: 16px;
  line-height: 1.3;
  color: #333;
}

.p-te-contactBtn__direction-text {
  margin-left: 8px;
  font-size: 14px;
  color: #333;
}

/* ホバーエフェクト（全ボタン共通） */
.p-te-contactBtn__contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 物件問い合わせボタンの特別エフェクト */
.p-te-contactBtn__property-inquiry-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ECB730;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.p-te-contactBtn__property-inquiry-button:hover::after {
  transform: scaleX(1);
}


/* .p-te__line-img {
  width: 56px;
} */

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .p-te-contactBtn__contact-buttons {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .p-te-contactBtn__contact-button {
    width: 90%;
    max-width: none;
  }

  .p-te-contactBtn__property-inquiry-button {
    order: -1; /* モバイル表示では優先ボタンを一番上に */
  }

  .p-te-contactBtn__property-inquiry-button .p-te-contactBtn__text-container {
    flex-direction: row;
    align-items: center;
  }

  .p-te-contactBtn__direction-text {
    margin-left: 0;
    margin-top: 4px;
  }
  .p-te-contactBtn__property-inquiry-button .p-te-contactBtn__text-container {
    flex-direction: row!important;
    align-items: center!important;
  }
}









/* ーーーーーーーーーーーーーーー */
/* フッター */

.p-te-contactBtn__btns {
  max-width: 1036px;
  margin: 40px auto 0 auto;
}

.p-te-contactBtn__contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 49px;
  width: 100%;
}

.p-te-contactBtn__contact-button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 93px;
  padding: 0;
  width: 30%; /* ボタンの幅を制限 */
  max-width: 304px;
}

.p-te-contactBtn__button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 10px;
}

.p-te-contactBtn__contact-button img {
  margin-right: 13px;
}

.p-te__line-img {
  height: 53.88px;
  width: 56.54px;
}

.p-te__maild-img {
  height: 28.69px;
  width: 43.84px;
}

.p-te__homes-img {
  height: 26.33px;
  width: 27.78px;
}


.p-te-contactBtn__text-container {
  display: flex;
  flex-direction: column;
}

/* 各ボタンの個別スタイル */
.p-te-contactBtn__line-button {
  background-color: #06C755;
  color: white;
}

.p-te-contactBtn__line-button .p-te-contactBtn__button-title {
  font-size: 19px;
  font-weight: normal;
  color: white;
  line-height: 1.3;
}

.p-te-contactBtn__line-button .p-te-contactBtn__button-highlight {
  color: #FFFF00;
  font-size: 19px;
  line-height: 1.3;
}

.p-te-contactBtn__form-button {
  background-color: #FF6B35;
  color: white;
}

.p-te-contactBtn__form-button .p-te-contactBtn__button-title-large {
  font-size: 17.5px;
  line-height: 1.7;
  color: white;
}

.p-te-contactBtn__form-button .p-te-contactBtn__button-subtitle {
  font-size: 11px;
  color: white;
  line-height: 1.3;
}

.p-te-contactBtn__property-inquiry-button {
  background-color: #FCF551;
  color: #333;
  border-radius: 40px; /* より丸みを持たせる */
  position: relative;
  overflow: hidden;
  height: 66px;
  box-shadow: 0 4px 0 #B4B040;
}

.p-te-contactBtn__property-inquiry-button .p-te-contactBtn__button-content {
  position: relative;
}

.p-te-contactBtn__property-inquiry-button .p-te-contactBtn__divider {
  width: 4px;
  height: 66px;
  background-color: #B4B040;
  margin: 0 20px 0 5px;
}

.p-te-contactBtn__property-inquiry-button .p-te-contactBtn__text-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.p-te-contactBtn__property-text {
  display: flex;
  flex-direction: column;
}

.p-te-contactBtn__property-inquiry-button .p-te-contactBtn__button-title-large {
  font-size: 16px;
  line-height: 1.3;
  color: #333;
}

.p-te-contactBtn__direction-text {
  margin-left: 8px;
  font-size: 14px;
  color: #333;
}

/* ホバーエフェクト（全ボタン共通） */
.p-te-contactBtn__contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 物件問い合わせボタンの特別エフェクト */
.p-te-contactBtn__property-inquiry-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ECB730;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.p-te-contactBtn__property-inquiry-button:hover::after {
  transform: scaleX(1);
}


/* .p-te__line-img {
  width: 56px;
} */

@media (max-width: 1005px) {
  .p-te-contactBtn__contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .p-te-contactBtn__contact-button {
    width: 100%;
    max-width: 274px;
  }

  /* モバイル表示では優先ボタンを一番上に */
  /* .p-te-contactBtn__property-inquiry-button {
    order: -1;
  } */
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .p-te-contactBtn__contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .p-te-contactBtn__contact-button {
    width: 100%;
    max-width: 274px;
  }

  /* モバイル表示では優先ボタンを一番上に */
  /* .p-te-contactBtn__property-inquiry-button {
    order: -1;
  } */

  .p-te-contactBtn__property-inquiry-button .p-te-contactBtn__text-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .p-te-contactBtn__direction-text {
    margin-left: 0;
    margin-top: 4px;
  }
}


.p-te-footer__btna {
  width: 100%;
  margin-top: 7px;
}


.p-te-footer__btna {
  height: 62px;
  max-width: 250px;
}


.p-te-footer__btna .p-te__line-img {
  height: 43.88px;
  width: 46.54px;
}

.p-te-footer__btna .p-te__maild-img {
  height: 24.69px;
  width: 39.84px;
}


.p-te-footer__btna .p-te-contactBtn__button-title {
  font-size: 16px;
}

.p-te-footer__btna  .p-te-contactBtn__button-highlight {
  font-size: 16px;
}

.p-te-footer__btna .p-te-contactBtn__button-title-large {
  font-size: 15px;
  line-height: 1.7;
  color: white;
}

.p-te-footer__btna .p-te-contactBtn__button-subtitle {
  font-size: 9px;
  color: white;
  line-height: 1.3;
}









/* フッターinsta&xアイコン */
.p-te-footer__icons {
  display: flex;
  gap: 26px;
  margin-top: 100px;
}


.p-te-footer__icon {
  width: 36.95px;
}

@media (max-width: 768px) {
  .p-te-footer__icons {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 48px;
  }
}



/* ーーーーーーーーーーーーーーーーーーーーーー
ヘッダー */

.p-te-header {
  height: 78px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  padding-top: 6px;
  padding-left: 1.5rem;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

.p-te-header .header-contact {
  background: unset;
  color: #FFF;
}

.p-te-header .header-contact .sydney-svg-icon svg{
  fill: #FFF!important;
}

.p-te-header .header-contact span:not(.icon-holder) {
  color: #FFF;
}


.p-te-header  .header-contact .header-contact-phone:after {
  color: #FFF;
}


.p-te-header__icons {
  margin-top: 0;
  margin-left: 2.5rem;
}

.p-te-header__list a {
  color: #FFF;
}

@media (min-width: 769px)  {
  .is-current-hlist {
    color: #819ad3!important;
    font-weight: bold;
  }
}


.p-te-header__leftLogo {
  width: 12.75rem;
}

.p-te-header a:hover {
  opacity: 0.7;
}


.p-te-header__container {
  display: flex;
  max-width: 2140px;
  margin-right: auto;
  margin-left: auto;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-right: 100px;
}



.p-te-header__lists {
  display: flex;
  margin-left: 2.25rem;
  gap: 2rem;
}

.p-te-header__list {
  position: relative;
  font-size: 14px;
}

.p-te-header__list:nth-child(n + 2)::after {
  position: absolute;
  content: "";
  top: 50%;
  left: -1rem;
  width: 1.4px;
  height: 1rem;
  background: #FFF;
  transform: translateY(-50%);
  border-radius: 2px;
}


.p-te-header__rightItems {
  display: flex;
  align-items: center;
}

.p-te-header__mailBtn {
  background: #123979;
  position: absolute;
  top: -6px;
  right: 0;
  padding: 10px 6px 6px 6px;
}

.p-te-header__mailBtn a {
  background: #123979;
  text-align: center;
}

.p-te-header__mailImg img{
  width: 23px;
}


.p-te-header__mailTit {
  color: #FFF;
  font-size: 14px;
}


.p-te-header.scrolled {
  background-color: #fff;
}



.p-te-header.scrolled .header-contact {
  background: unset;
  color: #000;
}

.p-te-header.scrolled .header-contact .sydney-svg-icon svg{
  fill: #000!important;
}

.p-te-header.scrolled .header-contact span:not(.icon-holder) {
  color: #000;
}


.p-te-header.scrolled  .header-contact .header-contact-phone:after {
  color: #000;
}

.p-te-header.scrolled .p-te-header__list a {
  color: #000;
}

.p-te-header.scrolled  .p-te-header__list:nth-child(n + 2)::after {
  position: absolute;
  content: "";
  top: 50%;
  left: -1rem;
  width: 1.4px;
  height: 1rem;
  background: #000;
  transform: translateY(-50%);
  border-radius: 2px;
}

.has-hero .header-contact {
  position: unset;
}

.p-te-header__drawer {
  display: none;
}

.p-te-header__hamburger {
  display: none;
}

.p-te-header__drawerSvg {
  display: none;
}


@media screen and (max-width: 1138px) {
  .p-te-header__rightItems {
    display: none;
  }

  .p-te-header__hamburger {
    position: relative;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-left: auto;
  }

  .p-te-header__drawerSvg {
    display: block;
  }


  .p-te-header__hamburger span {
    background: #FFF;
    height: 2px;
    width: 100%;
    border-radius: 3px;
    transition: all 0.3s;
    display: block;
  }

  .p-te-header.scrolled .p-te-header__hamburger span {
    background: #000;
  }

  .p-te-header__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .p-te-header__hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .p-te-header__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .p-te-header__mailBtn {
    position: static;
    margin-left: 1rem;
  }

  .p-te-header__drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 57, 121, 0.8);
    color: #FFF;
    padding: 2rem;
    z-index: 2;
    transition: transform 0.3s ease;
  }

  .p-te-header__drawer.active {
    display: block;
  }

  .p-te-header__drawerInner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .p-te-header__drawer a {
    color: #FFF;
    font-size: 16px;
  }
  .p-te-header__leftLogo {
    position: relative;
    z-index: 999;
  }

  .p-te-header__mailBtn {
    position: static;
    margin-left: 1rem;
    z-index: 999;
  }

  .no-scroll {
    overflow: hidden;
    height: 100vh;
  }

  .p-te-header__hamburger.active span {
    background: #FFF!important;
  }

  .p-te-header__drawer-p-te-header__lists {
    padding-top: 100px;
    text-align: center;
  }
  .p-te-header__drawer-p-te-header__list:nth-child(n + 2) {
    margin-top: 20px;
  }

  .p-te-header__drawer-p-te-header__snsIcons {
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
  }
  .p-te-header__drawer-p-te-header__snsIcons .p-te-header__icons {
    margin-left: 0;
  }


  .p-te-header__drawerClose {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
  }

  .p-te-header__drawerCloseIcon {
    font-size: 24px;

  }

  .p-te-header__drawerCloseText {
    padding-top: 4px;
  }

  .p-te-header__drawerSvg {
    background-color: none;
    margin-left: 20px;
    margin-top: 8px;
    position: relative;
    z-index: 999;
  }


  .p-te-header__drawerSvg svg {
    width: 32px;
    height: auto;
  }

  .p-te-header__drawerSvg svg .cls-1 {
    fill: #FFF;
  }
  .p-te-header__drawerSvg svg .cls-2 {
    stroke:#FFF;
  }


  .p-te-header.scrolled .p-te-header__drawerSvg svg .cls-1 {
    fill: #000;
  }
  .p-te-header.scrolled .p-te-header__drawerSvg svg .cls-2 {
    stroke: #000;
  }

  .p-te-header__drawerSvg.active  svg .cls-1 {
    fill: #FFF!important;
  }
  .p-te-header__drawerSvg.active   svg .cls-2 {
    stroke:#FFF!important;
  }

  .p-te-header__container {
    padding-right: 40px;
  }

}


@media screen and (max-width: 768px)  {
  .p-te-header {
    height: 58px;
    padding-left: 10px;
  }
  .p-te-header__container {
    padding-right: 10px;
  }
  .p-te-header__leftLogo {
    max-width: 178px;
  }
}


/* ヘッダー下のパンくず調整 */
.p-te-under-pan {
  padding-top: 78px;
}

@media screen and (max-width: 768px)  {
  .p-te-under-pan {
    padding-top: 58px;
  }
}



/* ーーーーーーーーーーーーーーーーーーーーーーーーー */
/* 不動産情報 */

.p-te-real-estate {
  padding: 40px 10px 40px 10px;
  position: relative;
  z-index: 0;
  background-image: url('/wp-content/themes/HayashiGumi/images/top/real-estate-back.jpg');
  background-repeat: repeat;
  background-size: 320px 320px;
}

@media (max-width: 768px) {
  .p-te-real-estate {
    padding: 40px 0 ;
  }

  .p-te-real-estate__spcontainer {
    overflow: hidden;
    padding-bottom: 10px;
  }
}

.p-te-real-estate .p-te-contact__containerBack {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: -1;
}

.p-te-real-estate .p-te-contact__absoluteImg {
  position: absolute;
  content: "";
  left: 4%;
  right: unset;
  top: -80px;
  width: 29%;
  max-width: 331px;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.p-te-real-estate .p-te-contact__absoluteImg img {
  aspect-ratio: 331 / 212;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px)  {
  .p-te-real-estate .p-te-contact__absoluteImg {
    top: -40px;
    opacity: 1;
    animation: unset;
  }
}

.p-te-real-estate__centertext {
  margin-top: 25px;
  text-align: center;
}

.p-te-real-estate__centertext br {
  display: none;
}

@media (max-width: 768px) {
  .p-te-real-estate__centertext{
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
  }
  .p-te-real-estate__centertext br {
    display: block;
  }
}


.p-te-real-estate__listsBox {
  max-width: 423px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 20px;
}

.p-te-real-estate__lists {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px 13px;
}

.p-te-real-estate__list {
  list-style: none;

}

.p-te-real-estate__list a {
  font-size: 14px;
  text-decoration: underline;
}


.p-te-real-estate__btn {
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  max-width: 320px;
}

@media (max-width: 768px) {
  .p-te-real-estate__btn {
    max-width: 279px;
  }
  .p-te-real-estate__lists {
    justify-content:center;
    gap: 10px 13px;
    padding-left: 31px;
    padding-right: 31px;
  }
}

.p-te-real-estate__btn a {
  width: 100%;
}


.p-te-real-estate__imgBox {
  width: 744px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  margin-top: 24px;
}

.p-te-real-estate__img {
  width: 100%;
}


.p-te-real-estate__img img {
  width: 100%;
}

.p-te-real-estate__img-spOnly {
  display: none;
}


@media (max-width: 768px) {
  .p-te-real-estate__img-pcOnly {
    display: none;
  }
  .p-te-real-estate__img-spOnly {
    display: block;
    position: relative;
  }

  .p-te-real-estate__imgBox {
    width: 100%;
    display: flex;
    justify-content: center; /* 子要素を中央に */
    overflow: hidden;
  }

  .p-te-real-estate__img {
    width: 571px;           /* 固定幅に */
    flex-shrink: 0;
  }

  .p-te-real-estate__img img {
    width: 100%;            /* 画像自体の幅も指定通り */
    height: auto;
    display: block;
  }
}


@media (max-width: 482px) {
  .p-te-real-estate__img {
    width: 571px;
    flex-shrink: 0;
    margin-left: -50px;
  }
}

@media (max-width: 374px)  {
  .p-te-real-estate__img {
    width: 521px;
    flex-shrink: 0;
    margin-left: -50px;
  }
}

.p-te-real-estate__imgLink a {
  color: #FFF;
  background: #005CAC;
  padding: 8px 15px;
  border-radius: 18.3px;
  font-family: var(--font-main);
  font-style: normal;
  line-height: 1;
  box-shadow: 3.3px 3.3px 5px rgba(0, 0, 0, 0.7);
  transition: background-color 0.3s ease;
  display: inline-block;
  min-width: 112.54px;
  text-align: center;
}



.p-te-real-estate__imgLink a:hover {
  background-color: #3AA6E0;
}


@media (max-width: 768px){
  .p-te-real-estate__imgLink a {
    color: #FFF;
    background: #005CAC;
    padding: 6px 6px;
    border-radius: 18.3px;
    font-family: var(--font-main);
    font-style: normal;
    line-height: 1;
    box-shadow: 3.3px 3.3px 5px rgba(0, 0, 0, 0.7);
    transition: background-color 0.3s ease;
    display: inline-block;
    min-width: 97.54px;
    text-align: center;
    font-size: 14px;
  }

  .p-te-real-estate__imgLink a:hover {
    background-color: unset;
  }
}

@media (max-width: 374px)  {
  .p-te-real-estate__imgLink a {
    min-width: 85px;
  }
}


.p-te-real-estate__imgLink1 {
  position: absolute;
  content: "";
  top: 38px;
  left: 180px;
}

.p-te-real-estate__imgLink2 {
  position: absolute;
  content: "";
  top: 84px;
  left: 180px;
}


.p-te-real-estate__imgLink3 {
  position: absolute;
  content: "";
  top: 136px;
  left: 180px;
}


.p-te-real-estate__imgLink4 {
  position: absolute;
  content: "";
  bottom: 162px;
  left: 90px;
}


.p-te-real-estate__imgLink5 {
  position: absolute;
  content: "";
  top: 38px;
  right: 130px;
}


.p-te-real-estate__imgLink6 {
  position: absolute;
  content: "";
  top: 87px;
  right: 130px;
}



.p-te-real-estate__imgLink7 {
  position: absolute;
  content: "";
  bottom: 208px;
  right: 175px;
}


.p-te-real-estate__imgLink8 {
  position: absolute;
  content: "";
  bottom: 160px;
  right: 175px;
}


.p-te-real-estate__imgLink9 {
  position: absolute;
  content: "";
  bottom: 110px;
  right: 175px;
}

.p-te-real-estate__imgLink10 {
  position: absolute;
  content: "";
  bottom: 52px;
  right: 165px;
}

.p-te-real-estate__imgLink10 a {
  min-width: 128px;
}





@media (max-width: 768px) {

  .p-te-real-estate__imgLink1 {
    position: absolute;
    content: "";
    top:31px;
    left:135px;
  }

  .p-te-real-estate__imgLink2 {
    position: absolute;
    content: "";
    top: 86px;
    left: 135px;
  }


  .p-te-real-estate__imgLink3 {
    position: absolute;
    content: "";
    top: 135px;
    left: 136px;
  }


  .p-te-real-estate__imgLink4 {
    position: absolute;
    content: "";
    bottom: 54px;
    left: 137px;
  }


  .p-te-real-estate__imgLink5 {
    position: absolute;
    content: "";
    top: 32px;
    right: 103px;
  }


  .p-te-real-estate__imgLink6 {
    position: absolute;
    content: "";
    top: 85px;
    right: 104px;
  }



  .p-te-real-estate__imgLink7 {
    position: absolute;
    content: "";
    bottom: 182px;
    right: 128px;
  }


  .p-te-real-estate__imgLink8 {
    position: absolute;
    content: "";
    bottom: 132px;
    right: 127px;
  }


  .p-te-real-estate__imgLink9 {
    position: absolute;
    content: "";
    bottom: 78px;
    right: 128px;
  }

  .p-te-real-estate__imgLink10 {
    position: absolute;
    content: "";
    bottom: 27px;
    right: 128px;
  }

  .p-te-real-estate__imgLink10 a {
    min-width: 97.54px;
  }

}


@media (max-width: 374px) {

  .p-te-real-estate__imgLink1 {
    position: absolute;
    content: "";
    top:27px;
    left:133px;
  }

  .p-te-real-estate__imgLink2 {
    position: absolute;
    content: "";
    top: 78px;
    left: 133px;
  }


  .p-te-real-estate__imgLink3 {
    position: absolute;
    content: "";
    top: 124px;
    left: 133px;
  }


  .p-te-real-estate__imgLink4 {
    position: absolute;
    content: "";
    bottom: 54px;
    left: 137px;
  }


  .p-te-real-estate__imgLink5 {
    position: absolute;
    content: "";
    top: 27px;
    right: 90px;
  }


  .p-te-real-estate__imgLink6 {
    position: absolute;
    content: "";
    top: 70px;
    right: 90px;
  }



  .p-te-real-estate__imgLink7 {
    position: absolute;
    content: "";
    bottom: 166px;
    right: 120px;
  }


  .p-te-real-estate__imgLink8 {
    position: absolute;
    content: "";
    bottom: 119px;
    right: 120px;
  }


  .p-te-real-estate__imgLink9 {
    position: absolute;
    content: "";
    bottom: 71px;
    right: 120px;
  }

  .p-te-real-estate__imgLink10 {
    position: absolute;
    content: "";
    bottom: 21px;
    right: 120px;
  }

  .p-te-real-estate__imgLink10 a {
    min-width: 85px;
  }

}



/* 営業カレンダー用でスムーススクロールなしに */
html {
  scroll-behavior: auto !important;
}

/* 問い合わせの郵便番号「ハイフンなし」のポップアップ削除 */
#autozip {
  display: none!important;
}


.p-te-header__drawerSvg .cls-2 {
  stroke-dasharray: 0 !important;
}


@media (min-width: 768px) {
	.p-te-aboutUs__kyokaBox{
	max-width: 373px;
	}

	.p-te-aboutUs__kyoka-number{
		text-align:left;
	}
}





.p-te-contact-buyJohoBtnTop .p-te-strength__contact-button {
  display: block;
  width: 195.5px;
  margin: 23px auto 0 auto;
  padding: 10px 20px;
  background-color: #fff833;
  color: #000;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.p-te-contact-buyJohoBtnTop .p-te-strength__contact-button:hover {
  background-color: #fff96a;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  color: #000;
}

@media screen and (min-width:769px)  {

  .p-te-contact-buyJohoBtnTop .p-te-strength__contact-button {
    display: block;
    width: 320.5px;
    margin: 30px auto 30px auto;
    padding: 12px 20px;
    background-color: #fff833;
    color: #000;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 18px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
}