html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

p, h1, h2, h3, h4, h5 {
  color: #413B32;
  margin: 0;
  padding: 0;
}

.content-titel {
  font-size: 32px;
}

.content-titel-english {
  font-size: 14px;
  color: #d58822;
  margin-bottom: 45px;
}

.hero {
  height: 100dvh;
  max-height: 950px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../images/pages/top/top-hero-gradina-exterior.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #F2EEE7;
  overflow: hidden;
}

.hero-title {
  text-align: center;
  color: #fff;
  font-size: 36px;
  letter-spacing: 0px;
  text-shadow: 0px 3px 16px #000000AC;
  opacity: 1;
}

.hero-title .sp-display {
  display: none;
}

@media (max-width: 768px) {
  .hero-title .sp-display {
    display: inline;
  }
}
@media (max-width: 1024px) {
  .hero {
    max-height: 850px;
  }
}
@media (max-width: 768px) {
  .hero {
    max-height: 750px;
  }
}
@media screen and (max-width: 767px) {
  .hero {
    padding: 56px 20px 0;
    min-height: auto;
  }
  .hero .hero-title {
    font-size: 26px;
    line-height: 1.6;
    text-align: center;
  }
}

.hero-separator {
  margin: 40px auto;
  max-width: 720px;
  border: none;
  border-top: 1px solid #e5e7eb;
}

.hero-mainvisual {
    width: 100%;
}

.hero .button,
.cta .button {
  background: #2B6CB0;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
}

.topics {
 background-color: #F2EEE7;
 height: 230px;
 overflow: visible;
 position: relative;
}

.topics-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
  top: -110%;
  box-sizing: border-box;
}

.topics-grid {
  display: flex;
  justify-content: space-between;
}

.topics-card {
  width: 30%;
  border-radius: 5%;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.1s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.topics-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.topics-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.topics-content {
  padding: 10px;
}

.topics-content img {
  height: 160px;
	width: 100%;
	vertical-align: bottom;
	object-fit: cover;
  border-radius: 5%;
}

.topics-text-area {
  padding: 0 5%;
}

.topics-text-area-main {
  display: flex;
  gap: 5%;
  align-items: center;
  margin-top: 5px;
}

.topics-text-area-main .arrow-box{
  border-radius: 50%;
  background-color: #D58822;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topics-text-area-main .arrow::before{
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translate(-2px) rotate(45deg);
}

.topics-text-area h4 {
  font-size: 20px;
  margin: 5px 0;
}

.topics-text-area p {
  font-size: 14px;
  margin: 5px 0;
  line-height: 22px;
}

/* Responsive (SP <= 767px) */
@media screen and (max-width: 767px) {
  .topics {
    height: auto;
    padding: 56px 20px;
  }
  .topics-container {
    padding: 0 20px;
    top: 0;
  }
  .topics-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .topics-card {
    width: 100%;
  }
  .topics-content {
    padding: 10px;
  }
  .topics-content img {
    height: auto;
  }
  .topics-text-area {
    padding: 0;
  }
}

/* ぐらでぃなの特徴 */
.feature {
  background-color: #F2EEE7;
  padding-bottom: 60px;
  padding-left: 160px;
  overflow: visible;
  position: relative;
  z-index: 3;
}

@media screen and (max-width: 1300px) {
  .feature {
    padding-bottom: 100px;
    padding-left: 80px;
  }
}

@media screen and (max-width: 767px) {
  .feature {
    padding-left: 40px;
  }
}

.feature-container {
  width: 100%;
  display: flex;
  justify-content: end;
  gap: 7%;
}
@media screen and (max-width: 767px) {
  .feature-container {
    display: block;
    padding-bottom: 56px;
  }
}

.feature-grid {
  display: flex;
}

.feature-content-area {
  width: 45%;
}

@media screen and (max-width: 767px) {
  .feature-content-area {
    width: 100%;
    margin-bottom: 50px;
  }
}

.featue-content-text-area h3 {
  font-size: 24px;
  margin-bottom: 25px;
}

.featue-content-text-area p {
  max-width: 430px;
  font-size: 14px;
  padding-right: 60px;
  line-height: 28px;
}

@media screen and (max-width: 767px) {
  .featue-content-text-area p {
    max-width: 100%;
  }
}

.featue-cta-button {
  position: relative;
  right: 0;
  width: 100%;
  text-align: right;
  margin-top: 35px;
}

@media screen and (max-width: 767px) {
  .featue-cta-button {
    padding-right: 40px;
  }
  .featue-cta-button a {
    display: inline-block;
    margin-right: 40px;
  }
}

.featue-cta-button a {
  cursor: pointer;
}

.feature-content-area button {
  background-color: #D58822;
    color: #fff;
    box-shadow: 0px 3px 6px #00000029;
    opacity: 1;
    border-radius: 30px;
    font-size: 18px;
    padding: 20px 25px;
    width: 320px;
    text-align: left;
    position: relative;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.feature-content-area button:hover,
.feature-content-area button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.feature-content-area button::after,
.testimonials-projects-cta-button button::after,
.staffs-lists-link-button button::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 22px;
  background-image: url("../images/pages/top/icon-arrow02.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.featue-image-area {
  width: 55%;
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 767px) {
  .featue-image-area {
    width: 100%;
  }
}

.featue-image-area img {
  width: 50vw;
  max-width: 100%;
  object-fit: cover;
  height: 80%;
  overflow: hidden;
  position: relative;
  border-radius: 10% 0 0 10%;
}

@media screen and (max-width: 767px) {
  .featue-image-area img {
    width: 100vw;
  }
}

.feature-under-image {
  position: absolute;
  z-index: 3;
}

.feature-under-image img{
  position: relative;
  top: -2vw;
  max-height: 120px;
}

@media screen and (max-width: 1300px) {
  .feature-under-image img {
    top: 3vw;
  }
}

/* 口コミ・施工実績 */
.testimonials-projects {
  background-color: #FAF9F7;
  padding: 140px 0;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.testimonials-projects-container {
  max-width: 1300px;
  margin: 0 0 0 160px;
  box-sizing: border-box;
}

@media screen and (max-width: 1300px) {
  .testimonials-projects-container {
    margin: 0 0 0 80px;
  }
}

@media screen and (max-width: 767px) {
  .testimonials-projects-container {
    margin: 0 0 0 40px;
  }
}

.testimonials-projects-cta-button {
  text-align: center;
  margin-top: 56px;
}

.testimonials-projects-cta-button a {
  cursor: pointer;
}

.testimonials-projects-cta-button button{
  background-color: #D58822;
  color: #fff;
  box-shadow: 0px 3px 6px #00000029;
  opacity: 1;
  border-radius: 30px;
  font-size: 18px;
  padding: 20px 25px;
  width: 320px;
  text-align: left;
  position: relative;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.testimonials-projects-cta-button button:hover,
.testimonials-projects-cta-button button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.testimonials-projects-under-image {
  position: absolute;
  z-index: 3;
}

.testimonials-projects-under-image img{
  position: relative;
  top: 80px;
  right: -70vw;
  max-height: 120px;
}

/* 口コミ・施工実績（横スクロールカード） */
.tp-list {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 767px) {
  .tp-list {
    display: grid;
    gap: 16px;
  }
}

.tp-item {
  flex: 0 0 auto;
  width: 280px;
}

.tp-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.tp-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.tp-body {
  padding: 12px;
}

.tp-title {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.tp-meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* 施工実績 操作エリア */
.project-ctrl {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  margin: 20px 0 0;
}

.project-ctrl .swiper-scrollbar {
  position: relative;
  width: 400px;
}

@media screen and (max-width: 767px) {
  .project-ctrl .swiper-scrollbar {
    flex: 1;
    width: auto;
  }
}

.project-ctrl .swiper-scrollbar-drag {
  background: #D58822;
}
.project-ctrl .swiper-button {
  display: flex;
  gap: 16px;
}
.project-ctrl .swiper-button-prev,
.project-ctrl .swiper-button-next {
  position: static;
  width: 45px;
  height: 45px;
  background: url("../images/pages/top/icon-arrow04.svg");
}
@media screen and (max-width: 767px) {
  .project-ctrl .swiper-button-prev,
  .project-ctrl .swiper-button-next {
    width: 40px;
    height: 40px;
  }
}

/* お知らせ */
.news {
  background-color: #FAF9F7;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.news a {
  text-decoration: none;
}

.news-container {
  background-color: #F2EEE7;
  width: 100%;
  padding: 70px 0;
  border-radius: 0 150px 0 0;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .news-container {
    padding: 56px 40px;
  }
  .news-content {
    display: block;
  }
  .news-items {
    display: grid;
    gap: 32px;
  }
}

.news-content {
  max-width: 1300px;
  margin: 0 0 0 160px;
  display: flex;
  justify-content: flex-start;
  gap: 7%;
  box-sizing: border-box;
}

@media screen and (max-width: 1300px) {
  .news-content {
    display: block;
    margin: 0 80px;
  }
  .news-right {
    width: 100%;
  }
  .news-left {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .news-content {
    margin: 0;
  }
}

.news-left {
  width: 15%;
}
@media screen and (max-width: 1300px) {
  .news-left {
    width: 100%;
  }
}

.news-right {
  width: 65%;
}
@media screen and (max-width: 1300px) {
  .news-right {
    width: 100%;
  }
}

.news-items {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 100px 110px 1fr;
  align-items: center;
  column-gap: 40px;
}

.news-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #D58822;
  border-radius: 14px;
  padding: 6px 12px;
  text-align: center;
  width: 100px;
}

.news-date {
  font-size: 16px;
  color: #413B32;
  text-align: center;
}

.news-title {
  font-size: 16px;
  color: #413B32;
  text-decoration: none;
}

.news-title:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .news-items {
    display: grid;
    gap: 40px;
  }
  .news-item {
    grid-template-columns: 100px 1fr;
    column-gap: 32px;
    align-items: start;
  }
  .news-category {
    grid-column: 1;
  }
  .news-date {
    grid-column: 2;
    text-align: left;
    white-space: nowrap;
  }
  .news-title {
    grid-column: 1 / -1;
    margin-top: 6px;
  }
}

.news-lists-link {
  font-size: 20px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #000;
  text-align: right;
  margin: 32px 0;
  display: flex;
  gap: 2%;
  align-items: center;
  justify-content: end;
}

.news-lists-link .arrow-box{
  border-radius: 50%;
  background-color: #D58822;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-lists-link .arrow::before{
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translate(-2px) rotate(45deg);
}

.news-under-image {
  position: absolute;
}

.news-under-image img{
  position: relative;
  top: -5vw;
  left: 11vw;
  max-height: 120px;
}

/* スタッフ紹介 */
.staffs {
  background-color: #FAF9F7;
  padding: 110px 0;
  overflow: visible;
  position: relative;
}

.staffs-container {
  background-color: #FAF9F7;
  width: 80%;
  margin: 0 auto;
  padding: 60px 0;
}

@media screen and (max-width: 767px) {
  .staffs-container {
    padding: 56px 40px;
  }

  .staffs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.staffs-grid {
  display: flex;
  gap: 5%;
}
@media screen and (max-width: 1000px) {
  .staffs-grid {
    display: block;
  }
  .staffs-content {
    margin: 60px 0;
  }
}

.staff-image {
  width: 250px;
  background-color: #D9D9D9;
  border-radius: 50%;
  height: 250px;
  margin: 0 auto;
}

.staff-name {
  text-align: center;
  font-size: 14px;
  color: #d58822;
  margin-top: 20px;
}

.staff-name-japanese {
  text-align: center;
  font-size: 24px;
  margin-top: 5px;
  font-weight: 700;
}

.staff-job-position {
  text-align: center;
  margin-top: 5px;
  font-size: 14px;
  line-height: 28px;
}

.staff-detail {
  font-size: 14px;
  line-height: 28px;
  margin-top: 10px;
  padding: 10px;
}

.staffs-lists-link-button {
  text-align: center;
}

.staffs-lists-link-button a {
  cursor: pointer;
}

.staffs-lists-link-button button {
  background-color: #D58822;
  color: #fff;
  box-shadow: 0px 3px 6px #00000029;
  opacity: 1;
  border-radius: 30px;
  font-size: 18px;
  padding: 20px 25px;
  width: 320px;
  text-align: left;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.staffs-lists-link-button button:hover,
.staffs-lists-link-button button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

/* スタッフ紹介ボタンの矢印（背景画像で確実に表示） */
.staffs-lists-link-button button {
  padding-right: 60px;
  background-image: url("../images/pages/top/icon-arrow02.svg");
  background-repeat: no-repeat;
  background-position: right 25px center;
  background-size: 12px 22px;
}
/* 擬似要素による矢印はスタッフボタンでは無効化（重複防止） */
.staffs-lists-link-button button::after {
  content: none;
}

.staffs-under-image {
  position: absolute;
  z-index: 3;
}

.staffs-under-image img{
  position: relative;
  top: 5vw;
  right: -70vw;
  max-height: 120px;
}


/* インスタグラム */
@media screen and (max-width: 1300px) {
  .staffs-container {
    width: auto;
    padding: 60px 80px;
  }
}
@media screen and (max-width: 767px) {
  .staffs-container {
    padding: 56px 40px;
  }
}

.instagram {
  background-color: #F2EEE7;
  padding: 160px 0;
  overflow: hidden;
  position: relative;
}

.instagram-container {
  background-color: #F2EEE7;
  width: 80%;
  margin: 0 auto;
  padding: 60px 0;
}
@media screen and (max-width: 767px) {
  .instagram-container {
    padding: 56px 20px;
  }
}

.instagram-button-area {
  text-align: center;
}

.instagram-link-button {
  text-align: center;
}

.instagram-link-button {
  background-color: #D35B97;
  color: #fff;
  box-shadow: 0px 3px 6px #00000029;
  opacity: 1;
  border-radius: 40px;
  font-size: 18px;
  padding: 20px 25px;
  width: 330px;
  text-align: left;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.instagram-link-button:hover,
.instagram-link-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.instagram-link-button-inner {
  display: flex;
  gap: 8%;
  justify-content: start;
  align-items: center;
}

.instagram-link-icon {
  width: 10%;
}

.instagram-link-text {
  width: 60%;
}

.instagram-link-text p {
  color: #fff;
}

.cta {
  padding: 60px 0; /* 整形 */
  background: #38B2AC; /* 整形 */
  color: #fff; /* 整形 */
  text-align: center; /* 整形 */
}

.latest-posts article {
  margin-bottom: 16px; /* 整形 */
}
.post-item-title {
  margin: 0 0 8px; /* 整形 */
}

.cta-title {
  margin-top: 0; /* 整形 */
}
.btn-row {
  margin-top: 16px; /* 整形 */
}
.note {
  font-size: 12px; /* 整形 */
  margin-top: 16px; /* 整形 */
  opacity: 0.9; /* 整形 */
}

.testimonials-projects-grid .tp-empty {
  padding: 60px 20px;
  text-align: center;
  width: 100vw;
  margin-left: -160px;
  position: relative;
  left: 0;
  box-sizing: border-box;
}
.instagram-empty {
  padding: 60px 20px;
  text-align: center;
}
.tp-empty p,
.instagram-empty p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}



br.sp-display {
  display: none;
}
@media screen and (max-width: 767px) {
  br.sp-display {
    display: inline;
  }
}

/* —— Front page: Contact Form layout —— */
.wpcf7-form p {
  display: grid;
  grid-template-columns: 190px 1fr;
  column-gap: 24px;
  align-items: center;
  margin: 0 0 35px;
}
.wpcf7-form p br {
  display: none;
}
.wpcf7-form p label {
  grid-column: 1;
  font-weight: 700;
  margin: 0;
}
.wpcf7-form p .wpcf7-form-control-wrap {
  grid-column: 2;
}
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea {
  width: 100%;
  background: #fff;
  padding: 16px;
  border: 1px solid #C4C4C4;
  border-radius: 10px;
}
.wpcf7-form .wpcf7-text::placeholder,
.wpcf7-form .wpcf7-email::placeholder,
.wpcf7-form .wpcf7-tel::placeholder,
.wpcf7-form .wpcf7-textarea::placeholder {
  color: #B1B1B1;
}
.wpcf7-form .wpcf7-textarea {
  height: 200px;
  resize: vertical;
}

/* Checkbox group */
.wpcf7-form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  gap: 10px;
}
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item label input[type="checkbox"] {
  flex: none;
  width: 23px;
  height: 23px;
  accent-color: #D58822;
  margin: 5px 0 0;
  appearance: auto;
}

/* Responsive (SP): stack label and input, two-column checkboxes */
@media screen and (max-width: 767px) {
  .wpcf7-form p {
    display: block;
  }
  .wpcf7-form p label {
    display: block;
    margin: 0 0 10px;
  }
  .wpcf7-form p .wpcf7-form-control-wrap {
    display: block;
  }
  .wpcf7-form .wpcf7-checkbox {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 10px 20px;
  }
}
