:root {
  --primary: #FF6B00;
  --primary-sub: #FF9A00;
  --secondary: #0671FF;
  --secondary-sub: #36A1FF;
  --gray-light: #F5F7FA;
  --gray: #E1E5EB;
  --text: #333333;
  --text-light: #666666;
  --bg-main: #C6F1F9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
}

body {
  color: var(--text);
  line-height: 1.6;
}

* {
  font-family: "Roboto", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: var(--bg-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-weight: bold;
  color: var(--primary);
}

.logo img {
  width: 166.25px;
  aspect-ratio: 133/28;
  -o-object-fit: cover;
     object-fit: cover;
  height: auto;
}

.logo p:nth-of-type(1) {
  font-size: 14px;
}

.logo h1,
.logo p:nth-of-type(2) {
  font-size: 20px;
}

.br-header-title {
  display: none;
}

.contact-header {
  display: flex;
  align-items: center;
}

.phone {
  margin-right: 20px;
  height: 54px;
  font-weight: bold;
  color: #ff1100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  pointer-events: none;
  background-color: #fefefe;
  border-radius: 10px;
  padding: 1px 4px;
}

.phone p:nth-child(2) {
  margin-left: 14px;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.contact-header > .btn {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background-color: var(--primary-sub);
}

section {
  padding: 80px 0;
}

section.fv {
  padding: 0 0 40px;
}

.fv {
  background-color: var(--bg-main);
  height: calc(100% - 126px);
  min-height: 680px;
}

.fv-inner {
  max-width: 1100px;
  margin: 126px auto 0;
  padding: 0 20px;
}

.fv-wrapper {
  display: flex;
  position: relative;
}

.fv-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  z-index: 1;
  margin-top: 20px;
}

.fv-headline {
  font-size: 32px;
  font-weight: bold;
  color: #ff5500;
  line-height: 1.6;
  margin-top: 8px;
}

.fv-headline-parts {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #fff;
  padding: 5px;
  -webkit-clip-path: inset(0 100% 0 0);
          clip-path: inset(0 100% 0 0);
  -webkit-animation: revealText 1s ease-out forwards;
          animation: revealText 1s ease-out forwards;
}

.fv-headline-parts:not(:first-child) {
  margin-top: 10px;
  -webkit-animation: revealText 1s 0.3s ease-out forwards;
          animation: revealText 1s 0.3s ease-out forwards;
}

.fv-headline-parts:nth-child(1) {
  font-size: 28px;
}

@-webkit-keyframes revealText {
  to {
    -webkit-clip-path: inset(0);
            clip-path: inset(0);
  }
}

@keyframes revealText {
  to {
    -webkit-clip-path: inset(0);
            clip-path: inset(0);
  }
}
.fv-badges {
  display: flex;
  gap: 16px;
  margin: 14px 0 20px;
}

.fv-badge {
  background: #fff;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  border: 3px solid var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.fv-badge-title {
  color: #ff5500;
  font-size: 20px;
  font-weight: bold;
}

.fv-badge-number {
  font-size: 36px;
  font-weight: bold;
  color: #ff5500;
  margin: 0;
}

.fv-badge-note {
  font-size: 20px;
  color: #ff5500;
  font-weight: bold;
}

.fv-description {
  color: #ec3F00;
  font-size: 20px;
  margin-bottom: 24px;
  background-color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.fv-buttons {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 20px;
}

.fv-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s;
}

.fv-btn-orange {
  background-color: var(--primary);
}

.fv-btn-orange:hover {
  background-color: var(--primary-sub);
}

.fv-btn-pink {
  background-color: var(--secondary);
}

.fv-btn-pink:hover {
  background-color: var(--secondary-sub);
}

.fv-image {
  position: absolute;
  right: 0;
  top: 20px;
  width: 70%;
  z-index: 0;
}

.fv-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.section-title p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.pain-points {
  background-color: var(--gray-light);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.problem-card {
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.problem-card img {
  width: 100%;
  max-width: 260px;
  height: auto;
  max-height: 260px;
  margin-bottom: 20px;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1/1;
}

.problem-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.problems-other {
  display: table;
  text-align: left;
  margin: 0 auto;
}

.problems-other p {
  margin: 0 auto 15px;
}

.problems-other p:first-child {
  margin: 30px auto 25px;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
}

.problems-other p:last-child {
  margin: 25px auto 15px;
  font-size: 18px;
}

.services {
  background-color: var(--bg-main);
}

.services-list {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 30px;
}

.service-item {
  text-align: center;
  border-radius: 10px;
  padding: 15px;
}

.service-item img {
  width: 70%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 4/3;
  border-radius: 10px;
}

.service-item h3 {
  margin: 10px 0 5px 0;
  font-size: 20px;
}

.offices {
  background-color: white;
}

.offices-list {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 30px;
}

.office-item {
  text-align: center;
  border-radius: 10px;
  padding: 15px;
}

.office-item img {
  width: 70%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 376/240;
  border-radius: 10px;
}

.office-item h3 {
  margin: 10px 0 5px 0;
  font-size: 20px;
}

.process {
  background-color: white;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 60px;
  bottom: 80px;
  width: 4px;
  background-color: var(--gray);
  z-index: 1;
  transform: translateX(-1px);
}

.step {
  position: relative;
  display: flex;
  z-index: 2;
  width: 100%;
  gap: 10px;
}

.step-number {
  background-color: var(--primary);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px 80px;
  font-size: 24px;
  font-weight: bold;
}

.step:last-child .step-number {
  margin: 0 20px;
}

.step-text {
  width: calc(100% - 130px);
  margin-top: 5px;
}

.testimonials {
  background-color: var(--bg-main);
}

.swiper-container {
  position: relative;
}

.swiper {
  position: relative;
}

.swiper-wrapper {
  position: relative;
}

.swiper-pagination.swiper-pagination-fraction.swiper-pagination-horizontal {
  color: #ff1100;
  font-weight: bold;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.swiper-button-prev {
  top: 50%;
  transform: translate(-100%, -50%);
}
.swiper-button-prev::after {
  content: "";
  color: #ff1100;
}

.swiper-button-next {
  top: 50%;
  transform: translate(100%, -50%);
}
.swiper-button-next::after {
  content: "";
  color: #ff1100;
}

.testimonial-card {
  height: 100%;
  min-height: 420px;
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
  display: flex;
  margin-bottom: 20px;
}

.testimonial-image {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

.testimonial-info {
  width: calc(100% - 75px);
}

.testimonial-info h4 {
  margin-bottom: 5px;
}

.testimonial-info p {
  color: var(--text-light);
  font-size: 14px;
}

.testimonial-card > p {
  margin-top: 15px;
  padding-left: 10px;
  padding-right: 10px;
}

.testimonial-marker {
  background: linear-gradient(to bottom, transparent 80%, #FF9500 80%);
}

.staff {
  background-color: var(--bg-main);
}

.staff-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.staff-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.staff-image {
  width: 100%;
  height: auto;
}

.staff-image img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  aspect-ratio: 370/208;
  height: auto;
}

.staff-info {
  padding: 20px;
}

.staff-info h3 {
  margin-bottom: 5px;
  text-align: center;
}

.staff-info p {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 14px;
}

.staff-info p:nth-of-type(1) {
  text-align: center;
  margin-bottom: 22px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.faq {
  background-color: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray);
  padding: 20px 0;
}

.faq-question {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  color: var(--text-light);
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition: height 0.2s, opacity 0.2s, visibility 0.2s;
}

.faq-answer.is-open {
  visibility: visible;
  opacity: 1;
}

.contact {
  background: var(--bg-main);
}

.contact-form {
  width: 70%;
  max-width: 780px;
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-inline: auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.required {
  color: #ff1100;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray);
  border-radius: 5px;
  font-size: 16px;
}

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

.g-recaptcha {
  display: flex;
  justify-content: center;
}

.form-submit {
  margin-top: 30px;
  text-align: center;
}

.privacy-policy {
  width: 100%;
  max-width: 900px;
  height: 240px;
  margin: 60px auto 0;
  padding: 20px 30px;
  overflow-y: scroll;
  background: white;
  border-radius: 12px;
}

.privacy-policy p:not(:last-child) {
  margin-bottom: 30px;
}

footer {
  width: 100%;
  background-color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-content > .logo {
  text-align: left;
  margin-left: 50px;
}

.br-footer-title {
  display: none;
}

.company-overview {
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  max-width: 700px;
  margin-top: 30px;
}

.company-overview__list {
  width: 100%;
  display: flex;
}

.company-overview__term {
  width: 30%;
  padding: 17px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 2px solid #CCC;
  color: var(--text);
}

.company-overview__description {
  width: 70%;
  padding: 17px 20px;
  text-align: left;
  vertical-align: center;
  border-bottom: 2px solid var(--primary);
  color: var(--text);
}

.company-overview__map {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}

.copyright {
  color: #333;
  font-size: 14px;
}

.sm-only {
  display: none;
}

@media (max-width: 1149px) {
  .testimonial-card {
    min-height: 400px;
  }
}
@media (max-width: 830px) {
  html {
    scroll-padding-top: 159px;
  }
  .br-header-title {
    display: block;
  }
  .fv {
    height: calc(100% - 159px);
  }
  .fv-inner {
    margin: 159px auto 0;
  }
  .testimonial-card {
    min-height: 420px;
  }
}
@media (max-width: 799px) {
  .testimonial-card {
    min-height: 300px;
  }
  .testimonial-card > p {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 193px;
  }
  .header-content {
    flex-direction: column;
    justify-content: center;
    row-gap: 15px;
  }
  .logo {
    text-align: center;
  }
  .logo img {
    margin-right: 15px;
  }
  .logo p:nth-of-type(1) {
    margin-left: 10px;
  }
  .br-header-title {
    display: none;
  }
  .phone {
    pointer-events: auto;
  }
  section {
    padding: 40px 0;
  }
  .fv {
    height: calc(100% - 193px);
    min-height: 580px;
  }
  .fv-inner {
    margin: 193px auto 0;
    flex-direction: column;
    text-align: center;
  }
  .fv-headline {
    font-size: 24px;
  }
  .fv-headline-parts:nth-child(1) {
    font-size: 20px;
  }
  .fv-badge {
    width: 140px;
    height: 140px;
  }
  .fv-badge-title {
    font-size: 16px;
  }
  .fv-badge-number {
    font-size: 30px;
  }
  .fv-badge-note {
    font-size: 16px;
  }
  .fv-badge:last-child .fv-badge-title,
.fv-badge:last-child .fv-badge-note {
    font-size: 14px;
  }
  .fv-description {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .fv-buttons {
    gap: 26px;
    margin-top: 10px;
  }
  .fv-image {
    width: 65%;
    top: 5%;
  }
  .section-title h2 {
    font-size: 26px;
  }
  .problem-card {
    padding: 20px;
  }
  .problem-card img {
    max-width: 220px;
    max-height: 220px;
  }
  .services-list {
    gap: 10px;
  }
  .service-item img {
    width: 80%;
  }
  .office-item img {
    width: 100%;
  }
  .process-steps::before {
    top: 60px;
    left: 30px;
    bottom: 60px;
  }
  .step-number {
    width: 60px;
    height: 60px;
    margin: 0 0 100px;
    font-size: 22px;
  }
  .step:last-child .step-number {
    margin: 0;
  }
  .step-text {
    width: calc(100% - 70px);
    margin-top: 0;
  }
  .testimonial-card {
    padding: 20px;
  }
  .staff-info {
    padding: 20px 15px;
  }
  .contact-form {
    width: 85%;
  }
  .g-recaptcha {
    transform: scale(0.8);
  }
  .company-overview__term,
.company-overview__description {
    padding: 12px;
  }
  .footer-content > .logo > p:nth-of-type(1) {
    margin: 0;
  }
}
@media (max-width: 700px) {
  .testimonial-card {
    min-height: 310px;
  }
}
@media (max-width: 600px) {
  .testimonial-card {
    min-height: 350px;
  }
}
@media (max-width: 500px) {
  html {
    scroll-padding-top: 153px;
  }
  .header-content {
    row-gap: 5px;
    padding-block: 8px;
  }
  .logo p:nth-of-type(1) {
    font-size: 12px;
  }
  .logo h1,
.logo p:nth-of-type(2) {
    font-size: 16px;
  }
  .contact-header {
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }
  .phone {
    margin-right: 10px;
    font-size: 14px;
  }
  .contact-header > .btn {
    padding: 10px 15px;
  }
  .fv {
    height: calc(100% - 153px);
    min-height: 530px;
  }
  .fv-inner {
    margin: 153px auto 0;
    padding: 0 10px;
  }
  .fv-headline {
    font-size: 20px;
  }
  .fv-headline-parts:nth-child(1) {
    font-size: 16px;
  }
  .fv-badges {
    gap: 12px;
    margin: 10px 0 20px;
    justify-content: center;
  }
  .fv-badge {
    width: 115px;
    height: 115px;
  }
  .fv-badge-title {
    font-size: 14px;
  }
  .fv-badge-number {
    font-size: 26px;
  }
  .fv-badge-note {
    font-size: 14px;
  }
  .fv-badge:last-child .fv-badge-title,
.fv-badge:last-child .fv-badge-note {
    font-size: 12px;
  }
  .fv-description {
    font-size: 16px;
  }
  .fv-buttons {
    gap: 30px;
    margin-top: 0;
  }
  .fv-btn {
    padding: 8px 16px;
    font-size: 16px;
  }
  .section-title {
    margin-bottom: 30px;
  }
  .problem-card {
    padding: 20px 15px;
  }
  .problem-card img {
    max-width: 180px;
    max-height: 180px;
  }
  .services-list {
    grid-template-columns: 4fr;
    gap: 15px;
  }
  .offices-list {
    width: 100%;
    display: grid;
    grid-template-columns: 4fr;
    gap: 30px;
  }
  .process-steps::before {
    top: 50px;
    left: 25px;
    bottom: 90px;
  }
  .step-number {
    width: 50px;
    height: 50px;
    margin: 0 0 120px;
    font-size: 22px;
  }
  .step-text {
    width: calc(100% - 60px);
  }
  .testimonial-card {
    min-height: 380px;
    padding: 20px 15px;
  }
  .contact-form {
    width: 100%;
  }
  .footer-content > .logo {
    margin-left: 30px;
  }
  .company-overview__list {
    flex-direction: column;
  }
  .company-overview__term {
    width: 100%;
    border: none;
    padding: 0 12px;
  }
  .company-overview__description {
    width: 100%;
    padding: 6px 12px;
    border: none;
    position: relative;
  }
  .company-overview__list:not(:last-child) .company-overview__description {
    margin-bottom: 30px;
  }
  .company-overview__description::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #CCC 30%, var(--primary) 30%);
  }
  .sm-only {
    display: block;
  }
  .sm-none {
    display: none;
  }
}
@media (max-width: 450px) {
  .testimonial-card {
    min-height: 400px;
  }
}
@media (max-width: 400px) {
  header > .container {
    padding-inline: 10px;
  }
  .fv-headline-parts:nth-child(1) {
    font-size: 14px;
  }
  .fv-badges {
    gap: 5px;
  }
  .fv-badge {
    width: 95px;
    height: 95px;
  }
  .fv-badge-title {
    font-size: 12px;
  }
  .fv-badge-number {
    font-size: 20px;
  }
  .fv-badge-note {
    font-size: 12px;
  }
  .fv-badge:last-child .fv-badge-title,
.fv-badge:last-child .fv-badge-note {
    font-size: 10px;
  }
  .fv-description {
    font-size: 14px;
  }
  .fv-buttons {
    gap: 20px;
  }
  .process-steps::before {
    bottom: 120px;
  }
  .testimonial-card {
    min-height: 410px;
  }
  .footer-content > .logo {
    margin-left: 10px;
  }
}
@media (max-width: 375px) {
  .testimonial-card {
    min-height: 450px;
  }
  .br-footer-title {
    display: block;
  }
}
@media (max-width: 350px) {
  html {
    scroll-padding-top: 188px;
  }
  .br-header-title {
    display: block;
  }
  .contact-header > .btn {
    font-size: 14px;
  }
  .fv {
    height: calc(100% - 188px);
  }
  .fv-inner {
    margin: 188px auto 0;
  }
  .fv-image {
    top: 10%;
  }
  .process-steps::before {
    bottom: 150px;
  }
  .testimonial-card {
    min-height: 480px;
  }
  .footer-content > .logo {
    margin-left: 0;
  }
}