@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700&display=swap');

body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-weight: 500;
  margin: 0;
  padding: 0;
  background: #e0e0e0;
  color: #222;
}

/* 全体コンテナ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  background: #ffffff;
}

h3 {
  font-size: 32px;
}

h2 {
  width: 80%;
  margin: 0 auto;
}

/* h2アニメーション */
h2.animated {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 2s cubic-bezier(0.22, 1, 0.36, 1), transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}
h2.animated.in-view {
  opacity: 1;
  transform: none;
}

/* ファーストビュー背景動画 */
.header {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.header-logo {
  position: absolute;
  top: 35px;
  left: 35px;
  width: 240px;
  height: auto;
  z-index: 3;
}
.header-bg {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
}





.header-buttons {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  z-index: 4;
  justify-content: center;
  align-items: center;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.8rem 1rem 0.8rem 1.5rem;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
  transition: all 0.2s;
  letter-spacing: 0.05em;
  gap: 10px;
}

/* ボタン内アイコンの高さ調整 */
.header-btn .btn-icon {
  height: 20px;
  width: auto;
}

.consultation-btn {
  background: #FF7B00;
  width: 330px;
}

.consultation-btn:hover {
  background: #e66a00;
}

.pricing-btn {
  background: #fff;
  color: #1262A4;
  border: 1px solid #1262A4;
}

.pricing-btn:hover {
  background: #f8f9fa;
}

.btn-icon {
  display: block;
}

.btn-arrow {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.btn-arrow svg {
  display: block;
  height: 20px;
  width: 20px;
}

.global-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  position: fixed;
  top: 0;
  right: calc((100vw - 1080px)/2 + 30px);
  z-index: 101;
}

.global-btn-tel {
  display: flex;
  align-items: center;
  width: 170px;
  height: 48px;
  background: #fff;
  color: #1262A4;
  text-decoration: none;
  border-radius: 0 0 0 20px;
  padding: 0 1rem;
  font-size: 0.92rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
  font-weight: 500;
  gap: 12px;
}

.tel-icon {
  display: block;
  margin-right: 0;
}

.tel-texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.1;
  text-align: center;
}

.tel-number {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1262A4;
}

.tel-hours {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1262A4;
  margin-top: 2px;
}

.fixed-consult-btn {
  position: static;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 20px;
  z-index: 100;
  height: 48px;
  align-items: center;
  display: flex;
  padding: 0 1rem;
  font-size: 0.92rem;
  width: 268px;
}

.header-headline {
  position: absolute;
  top: calc(50% - 20px);
  left: 0;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 70%;
}

.header-headline img {
  max-width: 100%;
  height: auto;
}


section.services,
section.results,
section.faq,
section.why-now {
  background: url("images/section-bg.png") center center/cover no-repeat;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

section.strengths, 
section.analysis,
section.pricing {
  background: #fff;
  padding-top: 40px;
  padding-bottom: 80px;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

section.why-now {
  background-color: rgba(255,255,255,0.5);
  background-blend-mode: lighten;
}

.strengths-inner, .analysis-inner, .areas-inner, .pricing-inner, .contact-inner, .footer-inner, .services-inner, .results-inner, .faq-inner, .why-now-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.strengths-inner h2,
.services-inner h2,
.analysis-inner h2,
.results-inner h2,
.areas-inner h2,
.pricing-inner h2,
.faq-inner h2,
.why-now-inner h2,
.contact-inner h2,
.footer-inner h2 {
  margin-bottom: 50px;
  padding-bottom: 0;
}
.areas-inner h2 {
    margin-top: 50px;
}
.strengths-inner h2 img,
.services-inner h2 img,
.analysis-inner h2 img,
.results-inner h2 img,
.areas-inner h2 img,
.pricing-inner h2 img,
.faq-inner h2 img,
.why-now-inner h2 img {
  width: 80%;
  max-width: unset;
  height: auto;
}

p {
  font-size: 20px;
}

.service-item img {
  max-width: 100%;
  height: auto;
}

section.cta {
  padding-top: 50px;
  padding-bottom: 50px;
  width: 91%;
  margin:0 auto;
}

section.cta a img {
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
  max-width: 100%;
  height: auto;
}

section.cta a img:hover {
  filter: brightness(1.2);
  opacity: 0.8;
  transform: scale(1.1);
}

.service-item {
  padding-bottom: 50px;
}

.analysis-item, 
.result-item, 
.area-item, 
.plan-item, 
.faq-item, 
.reason-item {
  padding-bottom: 50px;
}

.faq-item {
  border: 3px solid #1262A4;
  overflow: hidden;
  background: #fff;
  width: 85%;
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 0;
}

.faq-item:nth-child(odd) {
  left: 0;
  margin-left: 0;
  margin-right: auto;
}

.faq-item:nth-child(even) {
  right: 0;
  margin-left: auto;
  margin-right: 0;
}

.faq-item h3 {
  background: #1262A4;
  color: #fff;
  padding: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 24px;
  text-align: left;
}

.faq-item h3::before {
  content: "";
  background: url("images/q-icon.png") no-repeat center center;
  background-size: auto;
  width: 61px;
  height: 63px;
  flex-shrink: 0;
}

.faq-item p {
  padding: 20px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 20px;
  line-height: 1.6;
  background: #fff;
  text-align: left;
}

.faq-item p::before {
  content: "";
  background: url("images/a-icon.png") no-repeat center center;
  background-size: auto;
  width: 61px;
  height: 63px;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-content {
  max-width: 90%;
  margin: 0 auto;
}

.footer {
  background: #1262A4;
  color: #fff;
  padding: 60px 0;
  margin: 0;
}

.footer-content p {
    font-size: 16px;
}
.footer-content p img {
  height: 20px;
  width: auto;
  padding-right: 20px;
}

.ending {
  background: url("images/ending-bg.png") center center/cover no-repeat;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  min-height: 300px; /* 必要に応じて調整 */
  padding-top: 90px;
  padding-bottom: 90px;
}

.ending h3 {
  color: #fff;
  font-size: 40px;
  text-align: center;
}

.why-now-content {
  display: flex;
  gap: 20px;
  align-items: stretch;
  justify-content: center;
  height: 750px;
  max-width: 90%;
  margin: 0 auto;
}

.why-now-text {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-now-text img {
  max-width: 100%;
  height: auto;
  display: block;
}

.why-now-video1 {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.why-now-video2 {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.caption {
  width: 1140px;
  text-align: left;
  font-size: 1em;
  margin: 20px auto 80px auto;
}

.results-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  max-width: 90%;
  margin: 0 auto;
}

.result-item {
  border: 2px solid #1262A4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.result-item h3 {
  background: #1262A4;
  padding: 0;
  margin: 0;
  text-align: center;
}

.result-item h3 img {
  max-width: 100%;
  height: auto;
}

.result-item ul {
  background: #fff;
  padding: 15px;
  margin: 0;
  list-style: none;
  text-align: left;
}

.result-item li {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.4;
  text-indent: -1.4em;
  padding-left: 1em;
}

.result-item li::before {
  content: "・";
  margin-right: 3px;
}

.result-item li:last-child {
  margin-bottom: 0;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

#contact {
  padding-top: 130px;
  padding-bottom: 130px;
}

.contact-inner h2 {
  background: #1262A4;
  color: #fff;
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 8px;
}

.contact-form {
  text-align: left;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
  text-align: left;
}

.required {
  color: #ff0000;
  font-size: 18px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-size: 20px;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: #1262A4;
  color: #fff;
  font-size: 20px;
  padding: 15px 40px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

.submit-btn:hover {
  background: #0f5a8f;
}

.privacy-section {
  text-align: center;
  margin: 30px 0;
}

.privacy-checkbox {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.privacy-checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.privacy-checkbox label {
  font-size: 18px;
  margin: 0;
  text-align: center;
}

.privacy-link {
  margin-bottom: 20px;
}

.privacy-link a {
  color: #1262A4;
  text-decoration: underline;
  font-size: 16px;
}

.privacy-link a:hover {
  color: #0f5a8f;
}

.submit-section {
  text-align: center;
}

.strengths-content img[src="images/strengths-01.png"] {
  max-width: 90%;
  height: auto;
}

.services-content img[src="images/services-01.png"],
.services-content img[src="images/services-02.png"] {
  max-width: 90%;
  height: auto;
}

.analysis-content img[src="images/analysis-01.png"],
.analysis-content img[src="images/analysis-02.png"] {
  max-width: 90%;
  height: auto;
}

.areas-content img[src="images/areas-01.png"] {
  max-width: 90%;
  height: auto;
}

.pricing-content img[src="images/pricing-01.png"] {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.pricing-content p.caption {
  max-width: 90%;
  margin: 20px auto 80px auto;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.consultation-btn:hover,
.fixed-consult-btn:hover {
  background: #1262A4;
  color: #fff;
    transform: scale(1.1);

}

/* CTAバウンスアニメーション */
.cta-animated {
  opacity: 0;
  transform: scale(0.8);
  animation: ctaBounceIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ctaBounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}