.main-visual {
  width: 100%;
  position: relative;
}
header {
  background: #000;
  color: #fff;
  /* padding-bottom: 20px; */
  /* background: url('../html/images/top_mv.png') center/cover no-repeat;
  min-height: 900px;
  position: relative; */
  }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.main-copy {
  position: absolute;
  left: 10%;
  transform: translateY(15%);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: left;
  padding: 70px 0;
  border-radius: 10px;
  width: 60%;
  max-width: 600px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}
.main-copy h1 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-weight: 500;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.8s;
}
.main-copy p {
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  margin: 0;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.1s;
}
.main-copy p span {
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: calc(1.1s + var(--delay));
}
.br-sp {
  display: none;
}
.br-pc {
  display: block;
}

@media (max-width: 768px) {
  /* .main-copy {
    padding: 0;
  } */
  .main-copy h1 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 10px;
    font-weight: 600;
  }
 .br-sp {
  display: block;
 }
 .br-pc {
  display: none;
 }  
}
@media (max-width: 700px) {
  .main-copy {
    padding: 0;
  }
}
@media (max-width: 500px) {
  .main-copy p {
    font-size: 14px;
    line-height: 24px;
    max-width: 270px;
  }
}
@media (max-width: 375px) {
  .main-copy h1 {
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 8px;
  }
}


.section-intro {
  text-align: center; 
  font-size: 1.4rem;
  /* color: #f6b009; */
  margin: 80px 0 0 0;
  font-weight: 500;
  position: relative;
  /* padding: 0 40px; */
}
/* .section-intro:before {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  background-image: url('../html/images/quote.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}
.section-intro:after {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  background-image: url(../html/images/quote.svg);
  background-size: contain;
  background-repeat: no-repeat;

} */

.section-intro-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  color: #f6b009;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}
.section-intro-quote:first-child {
  margin-right: 10px;
}
.section-intro-quote:last-child {
  margin-left: 10px;
}
.section-intro-quote i {
  display: block;
  line-height: 1;
}
.fa-quote-left:before {
  content: "\f10d";
  font-size: 40px;
  padding-bottom: 40px;
  display: inline-block;
}
.fa-quote-right:before {
  content: "\f10e";
  font-size: 40px;
  padding-bottom: 40px;
  display: inline-block;
}
.section-intro-text {
  padding-right: 100px;
  padding-left: 100px;
  font-size: 18px;
  line-height: 36px;
} 
@media (max-width: 860px) {
  .section-intro {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 34px;
  }

  .fa-quote-left:before {
    content: "\f10d";
    font-size: 24px;
    padding-bottom: 0;
    position: absolute;
    top: -24px;
  }
  .fa-quote-right:before {
    content: "\f10e";
    font-size: 24px;
    padding-bottom: 0;
    position: absolute;
    top: -60%;
    right: 5%;
  }
}
.br-sp-intro {
  display: none;
}
@media (max-width: 810px) {
  .br-sp-intro {
    display: block;
  }
  .fa-quote-right:before {
    position: absolute;
    top: -35%;
    right: 23%;
  }
}
@media (max-width: 700px) {
  .section-intro {
    padding-right: 40px;
    padding-left: 40px ;
  }
  .section-intro h2 {
    font-size: 18px;
  }
  .section-intro-text {
    padding-right: 60px;
    padding-left: 60px;
    font-size: 16px;
  }
  .fa-quote-right:before {
    position: absolute;
    top: -35%;
    right: 13%;
}
}
@media (max-width: 500px) {
  .section-intro {
    font-size: 16px;
  }
  .section-intro-text {
    font-size: 14px;
    line-height: 28px;
    padding-right: 40px;
    padding-left: 40px ;
   }
}

@media (max-width: 375px) {
  .section-intro {
    padding-right: 20px;
    padding-left: 20px ;
  }
  .section-intro h2 {
    font-size: 16px;
  }
  .section-intro-text {
    padding-right: 20px;
    padding-left: 20px ;
  }
  .fa-quote-right:before {
    position: absolute;
    top: -35%;
    right: 9%;
}
}
.service-content, .works-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 55px;
}
.service-text, .works-text {
  flex: 1;
  min-width: 220px;
}
.service-text .english {
  font-size: 7rem;
  font-weight: 600;
  color: #f6b009;
  display: block;
  padding-left: 20px;
}
.service-text-head {
  display: flex;
    align-items: baseline;
    gap: 10px;
}

h4 {
  font-weight: 400;
  font-size: 22px;
  position: relative;
  right: 66px;
  margin: 0;
}
.service-text-p {
  line-height: 32px;
  padding-left: 20px;
  padding-top: 10px;
}
.service-img {
  width: 100%;
  max-width: 500PX;
  border-radius: 10px;
  margin: 20px 0;
  margin-right: 20px;
}
@media (max-width: 900px) {
  .service-text .english {
    padding-left: 100px;
  }
  .service-text-p {
    padding-left: 100px;
    padding-right: 100px;
  }
  .service-img {
    margin: 0;
    max-width: 80%;
  }
  .service-content, .works-content {
    gap: 30px;
  }
  .section-title {
    margin-left: 60px;
  }
  h3 {
    margin-left: 60px;
  }
}

@media (max-width: 700px) {
  .service-text .english {
    font-size: 6rem;
    padding-left: 60px;
  }
  .service-text-p {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (max-width: 500px) {
  .service-text .english {
    font-size: 4rem;
    padding-left: 40px;
  }
  h4 {
    font-size: 16px;
    right: 25px;
  }
  .service-text-p {
    font-size: 14px;
    line-height: 28px;
    padding-left: 40px;
    padding-right: 40px;
  }
   .section-title {
    margin-left: 40px;
  }
}
@media (max-width: 375px) {
  .service-text .english {
    font-size: 3rem;
    padding-left: 20px;
  }
  h4 {
    font-size: 16px;
    right: 25px;
  }
  .service-text-p {
    font-size: 14px;
    line-height: 28px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .section-title {
    margin-left: 20px;
  }
  footer {
    padding-top: 0;
  }
}

.works-text-p {
  line-height: 32px;
  padding-bottom: 40px;
}
.service-text-link {
  text-decoration: none;
  color: #f6b009;
}
.service-text-link:hover {
  color: #222;
}
.fa-arrow-up-right-from-square {
  font-size: 10px;
  margin-left: 0.2em;
  margin-right: 0.2em;
}

.works-img {
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
}
@media (max-width: 900px) { 
  .works-img {
    margin-top: 20px;
  }
}
.news-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.news-table td {
  border-bottom: 1px solid #eee;
  padding: 10px;
  text-align: left;
}
.news-table td a {
  text-decoration: none;
  color: #222;
}
.news-table td a:hover {
  color: #f6b009;
}

.news-label {
  background: #f6b009;
  color: #fff;
  padding: 2px 30px;
  /* border-radius: 20px; */
  font-size: 0.9rem;
}
@media (max-width: 900px) { 
  .news-table {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 674px) { 
 tr {
   display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 40px;
  }
  .news-table td {
    border-bottom: 0;
    padding: 0;
  }
}
.contact-section {
  background: #222;
  color: #fff;
  text-align: center;
  padding-top:160px;
  padding-bottom:160px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  .section-title-contact {
    margin: 0;
  }
  .section-h3-contact {
    margin: 0 0 80px 0;
  }
}
@media (max-width: 500px) {
  .section-title-contact {
    margin: 0;
  }
  .section-h3-contact {
    margin: 0 0 40px 0;
  }
}
.contact-section::before,
.contact-section::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #f6b009 40%, #f6b009 60%, transparent 100%);
  background-size: 200% 100%;
  z-index: 2;
  animation: lineMove 3s linear infinite;
}
.contact-section::before {
  top: 0;
}
.contact-section::after {
  bottom: 0;
  animation-delay: 1.5s;
}
@keyframes lineMove {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.contact-section .contact-btn,
.contact-section .line-btn {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #23241f;
  border: none;
  box-shadow: 0 4px 16px rgba(246,176,9,0.2);
  transition: background 0.3s, box-shadow 0.3s, color 0.3s;
  display: inline-block;
  margin: 10px 10px 0 10px;
  padding: 12px 32px;
  border-radius: 25px;
  font-size: 1rem;
  font-family: 'Zen Kaku Gothic New', 'Montserrat', sans-serif;
  cursor: pointer;
}
@media (max-width: 900px) { 
a.contact-btn.btnb {
  display: block;
  width: 80px;
  margin: 0 auto;
  }
}

.contact-section .contact-btn:hover,
.contact-section .line-btn:hover {
  background: #fff;
  color: #f6b009;
  box-shadow: 0 0 24px #f6b009, 0 4px 16px rgba(246,176,9,0.2);
}
.contact-section .number {
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.1em;
  margin: 20px 0;
}
.reception-time {
  font-size: 0.9rem;
  margin: 10px 0;
}
.btn-container {
  display: block;
  text-align: center;
  margin-top: 80px;
}
@media (max-width: 700px) {
  .btn-container {
    margin-top: 40px;

  }
}

.contact-btn, .line-btn {
  padding: 12px 32px;
  border-radius: 25px;
  border: solid 1px;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Zen Kaku Gothic New', 'Montserrat', sans-serif;
  cursor: pointer;
  background: #fff;
  color: #23241f;
  transition: background 0.2s;
  /* margin-top: 40px; */
  display: inline-block;
}
.line-btn {
  background: #23241f;
  color: #fff;
  border: 1px solid #fff;
}

.service-image-stack {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 500px;
}

.service-img-base {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.service-img-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 120px;
  border-radius: 75px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* Swiper用スタイル */
.service-swiper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  position: relative;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-pagination,
.swiper-button-prev,
.swiper-button-next {
  display: none !important;
}
.swiper-pagination {
  bottom: 0 !important;
}
.swiper-button-prev,
.swiper-button-next {
  color: #f6b009;
}
p.works-text {
  margin-bottom: 40px;
  line-height: 32px;
}

@media (max-width: 900px) { 
  p.works-text {
    padding: 0 100px 0 100px;
    margin-bottom: 80px;
  }
}
@media (max-width: 700px) { 
  p.works-text {
    padding: 0 60px 0 60px;
    margin-bottom: 80px;
  }
}
@media (max-width: 500px) { 
  p.works-text {
    padding: 0 40px 0 40px;
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 28px;  
  }
}

.contact-card {
  background: rgba(34,34,34,0.35);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 32px 40px 32px;
  border: 1.5px solid rgba(255,255,255,0.25);
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-section p,
.contact-section .reception-time {
  color: #eee;
  font-size: 1rem;
  margin-bottom: 18px;
}

.contact-section .number {
  font-size: 2.1rem;
  color: #f6b009;
  font-family: 'Montserrat', sans-serif;
  margin: 24px 0 10px 0;
  letter-spacing: 0.1em;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.contact-method-card {
  background: rgba(34,34,34,0.35);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border: 1.5px solid rgba(255,255,255,0.18);
  padding: 36px 28px 32px 28px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, background 0.3s, color 0.3s;
  cursor: pointer;
}

.contact-method-card:hover {
  box-shadow: 0 0 14px #fff, 0 4px 24px rgba(0, 0, 0, 0.18);
  background: #fff;
  color: #23241f;
  border: 1.5px solid #fff;
}
.contact-method-card:hover .contact-method-title,
.contact-method-card:hover .contact-method-desc,
.contact-method-card:hover .contact-method-number,
.contact-method-card:hover .contact-method-icon {
  color: #23241f;
}
.contact-method-card a {
 text-decoration: none;
}
.contact-method-icon {
  font-size: 3.6rem;
  color: #f6b009;
  margin-bottom: 18px;
}
.contact-method-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.contact-method-desc {
  color: #eee;
  font-size: 1rem;
  margin-bottom: 18px;
  min-height: 48px;
}
.contact-method-number {
  font-size: 1.5rem;
  color: #f6b009;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 18px;
  letter-spacing: 0.1em;
}
.contact-method-btn {
  background: #fff;
  color: #23241f;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 1rem;
  font-family: 'Zen Kaku Gothic New', 'Montserrat', sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(246,176,9,0.10);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  margin-top: auto;
  display: inline-block;
  text-decoration: none;
}
.contact-method-btn:hover {
  background: #f6b009;
  color: #fff;
  box-shadow: none;
  transform: translateY(-6px);
  transition: background 0.3s, color 0.3s, transform 0.45s cubic-bezier(0.22,1,0.36,1);
}

@media (max-width: 900px) {
  .contact-methods {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .contact-method-card {
    max-width: 60%;
    min-width: 0;
    width: 100%;
    flex: 1 1 220px;
  }
  .contact-method-btn {
    margin-top: 0;
  }
}
@media (max-width: 500px) {
  contact-method-desc {
    font-size: 14px;
  }
  .contact-method-btn {
    font-size: 13px;
  }
}


.contact-methods-title {
  color: #f6b009;
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.08em;
}

.contact-method-card:hover .contact-method-icon {
  color: #f6b009;
}
.contact-method-card:hover .contact-method-btn {
  background: #f6b009;
  color: #fff;
}

/* body.index-page .main-visual {
  position: relative;
  overflow: hidden;
} */

/* 擬似要素で背景画像を表示し、グレースケールをかける */
/* body.index-page .main-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/top_mv.png') center/cover no-repeat;
  filter: grayscale(100%);
  transition: filter 0.4s;
  z-index: 0;
} */

/* マウスオーバー時にカラーに戻す */
/* body.index-page .main-visual:hover::before {
  filter: none;
} */

/* 本体の背景は外す（残っている場合） */
/* .main-visual { background: url('../html/images/top_mv.png') center/cover no-repeat; } */

/* 擬似要素で背景＋グレースケール */
body.index-page .main-visual {
  position: relative;
  overflow: hidden;
  min-height: 900px;
}

body.index-page .main-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/top_mv.png') center/cover no-repeat;
  filter: grayscale(100%);
  transition: filter 0.4s;
  z-index: 0;
}

body.index-page .main-visual:hover::before {
  filter: none;
}

/* テキストを前面に */
body.index-page .main-visual .main-copy {
  position: relative;
  z-index: 1;
}
