@charset "utf-8";

.wpcf7 form.sent .wpcf7-response-output{
  text-align: center!important;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loading .loading-logo img {
  animation: loading-fade 2s ease-in-out forwards;
  max-width: 250px; 
}

@keyframes loading-fade {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  25% {
    opacity: 1;
    transform: scale(1);
  }
  75% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}


html{scroll-behavior: smooth;}
body{
  background-color: #fff;
  font-weight: 500;
}


.site-header {
  background-color: #fff;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
  width: 100%;
  position: relative;
  z-index: 100;
}
.header-hr{
  color: #fff;
  padding: 2rem 0 0 0;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #222;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.main-nav a {
  font-size: 1.4rem;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}
.main-nav a:hover {
  color: #a9a9a9;
}
.sp-nav-btn {
  display: none;
}
.btn-header-consult {
  background-color: #f0f0f0;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}
.btn-header-consult:hover {
  background-color: #e0e0e0;
  color: #333;
}
.arrow-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: #222;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1;
}

.arrow-icon-wrapper svg{
  width: 10px;
  height: 10px;
  stroke-width: 3;
}


.hamburger-menu {
  display: none; 
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001; 
  padding: 0;
}
.hamburger-menu span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #333;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
}
.hamburger-menu.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


.wrap-header{
  width: 96%;
  max-width: 1400px;
  box-sizing: border-box;
  margin: 0 auto;
}
.wrap{
  width: 96%;
  max-width: 1200px; 
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}
.wrap-100{
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  margin: 0 auto;
}


.hero-section {
  position: relative;
  background: url('img/bg01.png') no-repeat center center/cover;
  color: white;
  padding: 10rem 0;
  text-align: left;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
}
.hero-tags {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-tags span {
  border: 1px solid #fff;
  padding: 0.5rem 1rem;
  font-size: 1.4rem;
  border-radius: 4px;
}
.hero-left h1 {
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;
  font-family: 'Noto Serif JP', serif;
}
  .hero-left h1 span{
    background: #000;
    display: inline-block;
    margin-bottom: 5px;
    padding:2px 5px;
  }
.hero-left p {
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 500px;
}
.hero-right {
  width: 45%;
  max-width: 420px;
}
.consult-box {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 3rem;
  text-align: center;
  border-radius: 5px;
}
.consult-box a{
  display: inline-block;
  margin-top: 10px;
}
.consult-box-title {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0;
}
.consult-box h2 {
  font-size: 3.8rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  line-height: 1.4;
  margin: 1.5rem 0;
  border: none;
  padding: 0;
}
.consult-box .large-text {
  font-size: 1.3em;
}
.consult-box h2 span {
  font-size: 1em;
}
.btn-consult {
  display: inline-block;
  background-color: #c7b299;
  color: #333;
  font-size: 1.8rem;

  font-weight: 500;
  padding: 1.5rem 2rem;
  width: 100%;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  position: relative;
}
.btn-consult::after {
  content: '>';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}
.btn-consult:hover {
  background-color: #b39d7c;
}

.hero-bottom-logo {
  position: absolute;
  width: 100%;
  background: #000;
  padding: 10px 5px;
  text-align: center;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  z-index: 2;
}


.nisa-section {
  background-color: #f7f7f7;
  padding: 8rem 0;
  background: url('img/bg02.png') no-repeat center center/cover;
}
.nisa-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Noto Serif JP', serif;
}
.nisa-left {
  width: 45%;
  
}
.nisa-left h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.6;
  border: none;
  text-align: left;
  padding: 0;
  margin: 0;
  position: relative;
  padding-bottom: 1.5rem;
}
.nisa-left h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 1px;
  background-color: #000;
}

.big{
  font-size: 1.5em;
}
.nisa-right {
  width: 50%;
  font-weight: 700;
}
.nisa-right p {
  font-size: 1.6rem;
  line-height: 2;
  color: #333;
}
.nisa-right p:not(:last-child) {
  margin-bottom: 2rem;
}



h2{
  margin:3rem 0 3rem 0;
  padding: 0 0 2rem 0;
  display: block;
  font-size: 2em !important;
  font-weight: 700;
  text-align: center;
  border-bottom: solid 2px #000;
  font-family: 'Noto Serif JP', serif;
  
}
h2.margin-S{
  margin:2rem 0 2rem 0;
}
h2 span{
  display: block;
  width: 100%;
  font-size: 0.5em;
  font-family: 'Noto Sans JP', serif;
}
h2 div{
  font-family: 'Noto Serif JP', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  font-weight: 700;
}
.box-img{
  margin:2rem 0;
}

#merit {margin-bottom:4rem;}
.form-group p{
  width: 100%;
}

.type1{
  
  background-repeat: no-repeat;
  background-size: cover;
  padding:4rem 0;
}
.type2{ padding:4rem 0; background-color: #fff; }


.top-feature {
  padding: 8rem 0;
}
.top-feature .flex-1 {
  width: 50%;
  padding-right: 5%;
}
.top-feature .flex-2 {
  width: 50%;
  margin-left: 0;
}
.top-feature-text h3 {
  font-size: 3.6rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 3rem;
  font-family: 'Noto Serif JP', serif;
}
.top-feature-text h3 .highlight {
  background: linear-gradient(transparent 60%, #F2EAD3 60%);
}
.top-feature-text p {
  font-size: 1.8rem;
  line-height: 1.8;
  margin: 3rem 0;
}
.feature-list-box {
  background-color: #f2f2f2;
  padding: 3rem;
}
.feature-list li {
  list-style: none;
  position: relative;
  padding-left: 2rem;
  font-size: 1.6rem;
  line-height: 1.8;
}
.feature-list li:not(:last-child) {
  margin-bottom: 1.5rem;
}
.feature-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  top: 0;
  color: #555;
  font-weight: bold;
}
.top-feature-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


.boxshadow{
  background-color: #fff;
  box-shadow: 0 0 3px 1px #aaa;
  padding: 2rem;
}
.flexbox{
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-1{ width: 54%; }
.flex-2{ width: 46%; }



.entry-section {
    padding: 2rem 0 4rem 0;
    background-color: #f7f7f7;
}

.lecture-section{
  padding: 2rem 0;
    background-color: #fcfcfc;
  background: url('img/bg03.png') no-repeat bottom center;
  
}

.entry-title {
    background-color: #000;
  
    color: #C3A550;
  font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto -2.5rem auto;
    position: relative;
    z-index: 2;
}
.entry-box {
    background-color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
    border: 1px solid #e0e0e0;
    padding: 6rem 3rem 4rem 3rem;
  max-width: 700px;
    margin: 0 auto 3rem auto;
}
.entry-items {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    text-align: center;
}
.entry-item {
    width: 30%;
    position: relative;
}
.entry-item:not(:last-child)::after {
    content: '';

    position: absolute;
    top: 50%;
    right: 0;
    height: 100px;
    transform: translateY(-50%);
    border-right: 1px dotted #ccc;
}
.entry-icon {
    height: 80px;
    width: auto;
    margin-bottom: 2rem;
}
.entry-item p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
}


.flow-section {
  padding: 8rem 0;
  background-color: #f4f4f4;
}
.flow-wrap{
  text-align: center;
  padding: 2rem 2%;
}
.section-title {
  text-align: center;
  margin-bottom: 6rem;
  border: none;
  padding: 0;
}
.section-title span {
  display: block;
  font-size: 1.6rem;
  color: #888;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 0.5rem;
}
.flow-steps-pc {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}
.flow-steps-pc::before {
  content: '';
  position: absolute;
  top: 90px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: #ccc;
  z-index: 0;
}
.flow-step {
  width: 23%;
  text-align: center;
  position: relative;
}
.flow-step:not(:last-child)::after {
  content: '>';
  position: absolute;
  top: 80px;
  right: -27px;
  font-size: 2.4rem;
  color: #c7b299;
  background-color: #f7f7f7;
  padding: 0 10px;
  z-index: 1;
}

.flow-step-number {
  color: #ddd;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: -1rem;
}
.flow-step-content {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 3rem 1.5rem;
}
.flow-step-content img {
  height: 80px;
  margin-bottom: 1.5rem;
}
.flow-step-title {
  background-color: #333;
  color: #fff;
  padding: 1rem;
  font-size: 1.8rem;
  font-weight: 500;
  margin: -3rem -1.5rem 2rem -1.5rem;
}
.flow-step p {
  font-size: 1.4rem;
  line-height: 1.7;
}
.flow-steps-sp {
  display: none;
}



.invitation-section {
  background-color: #1a1a1a;
  color: #fff;
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

.invitation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.invitation-section a img{
  max-width: 210px;
}

.invitation-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.invitation-text {
  width: 55%;
}
.invitation-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 8rem;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  line-height: 1;
}
.invitation-text p {
  font-size: 1.6rem;
  line-height: 2;
  margin-bottom: 2.5rem;
}
.invitation-container h3{
  font-family: 'Noto Serif JP', serif;
  border-bottom: 1px solid #999;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.invitation-bubbles {
  margin: 4rem 0;
  font-family: 'Noto Serif JP', serif;
}
.invitation-bubbles span {
  display: inline-block;
  background-color: #fff;
  color: #1a1a1a;
  padding: 1rem 2rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 500;
  border-radius: 4px;
}
.invitation-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  font-size: 2.2rem;
  font-family: 'Noto Serif JP', serif;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  padding-bottom: 0.5rem;
  margin-top: 4rem;
}
.invitation-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}
.invitation-image {
  width: 40%;
}
.invitation-image img {
  width: 100%;
}
.invitation-arrow-img {
  height: 1em;
}


.subscribe-section {
    padding: 8rem 0;
}
.subscribe-form {
    max-width: 800px;
    margin: 0 auto;
}
.form-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2.5rem;
}
.form-group .label-wrapper {
    width: 28%;
    display: flex;
    align-items: center;
    padding-top: 0.8rem;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.required-badge {
    background-color: #cc0000;
    color: #fff;
    font-size: 1.2rem;
    padding: 2px 8px;
    margin-left: 1rem;
    border-radius: 2px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    font-size: 1.6rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.form-group textarea {
    resize: vertical;
}
.form-submit {
    text-align: center;
    margin-top: 4rem;
}
.submit-btn, .form-submit input {
    background-color: #222;
    color: #fff;
    border: none;
    padding: 1.5rem 9rem;
    font-size: 1.8rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color: 0.3s;
}
.submit-btn:hover {
    background-color: #444;
}




.bordered-box {
  background-color: #fff;
  padding: 0rem;
  border: 1px solid #f0f0f0;
}
.success-fee-section {
  align-items: center;
}
.success-fee-text {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  padding: 0 2rem 0 6rem;
}
.success-fee-text h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: #333;
}
.highlight-gold {
  background: linear-gradient(transparent 65%, #f8e9c1 65%);
  padding: 0 0.2em;
}
.success-fee-text .sub-heading {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 2rem;
}
.success-fee-text p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
}
.btn-inquiry {
  display: inline-block;
  background-color: #c7b299;
  color: #333;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 1.5rem 4rem;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 2rem;
  box-shadow: none;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-inquiry:hover {
  filter: brightness(1.05);
}



.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem 3rem;
}
.card {
    overflow: hidden;
    width: calc(33.333% - 2rem);
    min-width: 30rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-image {
    width: 100%;
    height: 25rem;
    object-fit: cover;
}
.card-content {
    
    flex-grow: 1;
}
.card-content h3 {
    font-size: 1.8rem;
  font-family: 'Noto Serif JP', serif;
    margin-top: 0;
  font-weight: 700;
  padding-top:1rem;
    margin-bottom: 1rem;
    color: #222;
}
.card-content p {
    font-size: 1.4rem;
    margin: 0;
}



.voice-section {
    padding: 10rem 0;
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
  background: url('img/bg03.png') no-repeat bottom center;
}
.voice-section .wrap{
  max-width: 1400px;
}

.voice-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.voice-intro {
    width: 30%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.voice-intro h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    padding: 0 0 2rem 0;
    border-bottom: none;
    text-align: left;
    position: relative;
}
.voice-intro h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 334%;
    height: 1px;
    background: #222;
}
.voice-intro h2 span {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.1em;
}
.voice-nav {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}
.voice-nav button {
    width: 60px;
    height: 28px;
    border: 1px solid #333;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}
.voice-nav button:hover {
    background-color: #f0f0f0;
}
.voice-nav button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
}
.voice-nav button:disabled svg {
    color: #ccc;
}
.voice-nav button svg {
    width: 20px;
    height: 20px;
    color: #333;
}
.voice-nav.sp {
    display: none;
}
.carousel-wrapper {
    width: 100%;
    position: relative;
    z-index: 2;
}
.carousel-container {
    cursor: grab;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    will-change: transform;
}
.carousel-slide {
    flex-shrink: 0;
    width: calc(100% / 2.2);
    padding: 0 1.5rem;
    box-sizing: border-box;
}
.voice-card {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.voice-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.voice-card-tag {
    background-color: #222;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}
.voice-card-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: -45px;
    margin-right: -10px;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.voice-card-pnl {
    font-size: 1.8rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.voice-card-profit {
    font-size: 4.8rem;
    font-weight: 700;
    color: #222;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1;
}
.voice-card-unit {
    font-size: 1.8rem;
    font-weight: 500;
    color: #555;
}
.voice-card-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
}
.grabbing {
    cursor: grabbing;
    user-select: none;
}
@media (max-width: 1000px) {
    .voice-section {
        padding: 5rem 0;
        background: #fff;
    }
    .voice-section::before {
        display: none;
    }
    .voice-container {
        flex-direction: column;
        gap: 3rem;
    }
    .voice-intro {
        width: 100%;
        text-align: center;
    }
    .voice-intro h2 {
        font-size: 3rem;
        border-bottom: 2px solid #000;
      font-weight: 700;
    }
    .voice-intro h2::after {
        display: none;
    }
    .voice-nav.pc {
        display: none;
    }
    .voice-nav.sp {
        display: flex;
        justify-content: center;
        margin-top: 3rem;
    }
    .carousel-wrapper {
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }
    .carousel-container {
        padding: 0 2rem;
        box-sizing: border-box;
    }
    .carousel-slide {
        width: calc(100% / 1.1);
        padding: 0 1rem;
    }
     .voice-card-pnl, .voice-card-unit {
        font-size: 1.6rem;
    }
    .voice-card-profit {
        font-size: 3.6rem;
    }
    .voice-card-text {
        font-size: 1.4rem;
    }
}



.btn-area{
  margin: 4rem 0 2rem 0;
}
.btn-bottom{
  position: relative;
}
.btn-wrap{
  position: absolute;
  top: 10px;
  text-align: center;
  display: block;
  width: 100%;
}



footer{
  background-color: #000433;
  text-align: center;
}
footer a{ color:#fff; }


.bold{ font-weight: 700; }

.b-y{
  display: inline-block;
  background-color: #FFFF19;
  padding: 2px 0;
  margin: 4px 0;
}
.b-g{
  display: inline-block;
  background-color: #E0E0E0;
  padding: 2px 0;
  margin: 4px 0;
}

.red{ color:#DA1919; }
.blue{ color:#3030EF; }

.under{ text-decoration: underline; }
.large{ font-weight: 700; font-size:1.2em; }
.largeL{ font-weight: 700; font-size:1.4em; }


.faq-container {
    max-width: 1200px;
    margin: 2rem auto;
  background: #f2f2f2;
  padding: 3rem 4rem;
}
.faq-item {
    background-color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.faq-item:last-child {
    margin-bottom: 0;
}
.faq-question {
    padding: 2rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.faq-item.active .faq-question {
    border-bottom-color: #eee;
}
.faq-q-icon, .faq-a-icon {
    font-weight: 700;
    margin-right: 1.5rem;
    font-size: 1.1em;
    color: #333;
}
.faq-q-text {
    flex-grow: 1;
    font-weight: 500;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    line-height: 1.7;
    color: #555;
    display: flex;
    align-items: flex-start;
    transition: all 0.4s ease-in-out;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 2rem;
}
.faq-a-text {
    flex-grow: 1;
}


.faq-toggle {
    width: 20px;
    height: 20px;
    position: relative;
    margin-left: 1.5rem;
    flex-shrink: 0;
}
.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: #333;
    transition: transform 0.3s ease-out;
}
.faq-toggle::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}
.faq-toggle::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}
.faq-item.active .faq-toggle::after {
    transform: translateX(-50%) scaleY(0);
}

.site-footer-new {
  background-color: #fff;
  color: #333;
}
.footer-top-new {
  padding: 8rem 0;
  background-color: #f7f7f7;
  background: url('img/bg07.png') no-repeat bottom center;
  background-size: cover;
}
.footer-top-container-new, .footer-bottom-container-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left-new, .footer-right-new {
  width: 48%;
  text-align: left;
  font-family: 'Noto Serif JP', serif;
}
.footer-top-new h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.highlight-yellow {
  background: linear-gradient(transparent 65%, #f8e9c1 65%);
  padding: 0 0.2em;
}
.footer-top-new p {
  font-size: 1.5rem;
  line-height: 1.8;
}
.footer-top-new p:not(:last-child) {
  margin-bottom: 1.5rem;
}

.footer-top-new .footer-right-new {
    background-image: url('img/bg05_pc.png');
    background-size: cover;
    background-position: center;
    min-height: 300px;
}
.footer-bottom-new .footer-left-new {
    background-image: url('img/bg06_pc.png');
    background-size: cover;
    background-position: center;
    min-height: 300px;
}


.footer-bottom-new {
  padding: 8rem 0;
  background-color: #222;
  color: #fff;
  background: url('img/bg08.png') no-repeat bottom center/cover;
}
.footer-bottom-new h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 3.2rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.footer-bottom-new p {
  font-size: 1.6rem;
  line-height: 2;
}
.footer-bottom-new p:not(:last-child) {
  margin-bottom: 2rem;
}
.footer-info-new {
  background-color: #1a1a1a;
  color: #fff;
  text-align: left;
  padding: 3rem 0;
}
.footer-logo-new {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer-info-new p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #aaa;
}


@media screen and (max-width: 1000px) {
  .wrap-header { width: 100%; padding: 0 2%; }
  .hero-tags span{font-size: 1.2rem;}
  main{
    padding-top: 4rem;
  }
  h2{ font-size:1.5em; }
  .flow-wrap{
        padding: 2rem 10%;
  }
  .site-header {
    padding: 1.5rem 2%;
      position: fixed;
  top:0;
  }
  .logo a {
    font-size: 2rem;
  }
  .logo img{
        width: 65%;
  }
  .hamburger-menu {
    display: block; 
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    padding-top: 8rem;
    overflow-y: auto;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
  }
  .main-nav.is-active {
    transform: translateX(0);
  }
  .main-nav ul {
    display: block;
  }
  .main-nav li {
    width: 100%;
  }
  .pc-nav-btn { display: none; }
  .sp-nav-btn { display: block; }
  .main-nav a {
    display: block;
    padding: 1.8rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.6rem;
  }
  .main-nav li:last-child a {
    border-bottom: 0;
  }
  .btn-header-consult {
      background-color: transparent;
  }

  
  .hero-section {
    padding: 6rem 0;
    background: url('img/bg01_sp.png') no-repeat center center/cover;
  }
  .hero-content {
    flex-direction: column;
    padding-bottom:2rem;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-left h1 {
    order: 1;
  }
  .hero-bottom-logo{
    width:40%;
  }
  .hero-left h1 span{
    background: #000;
  }
  .hero-left p {
    order: 2;
    font-size: 1.4rem;
  }
  .hero-left .hero-tags {
    justify-content: center;
    order: 3;
    margin-top: 3rem;
  }
  .hero-right {
    width: 100%;
    margin-top: 2rem;
  }
  .consult-box {
    padding: 2.5rem;
  }
  .consult-box h2 {
    font-size: 3rem;
  }

  
  .nisa-section {
    padding: 5rem 0;
  }
  .nisa-container {
    flex-direction: column;
  }
  .nisa-left, .nisa-right {
    width: 100%;
  }
  .nisa-left {
    margin-bottom: 3rem;
  }
  .nisa-left h2 {
    font-size: 2rem;
    text-align: center;
    padding-bottom: 5px;
  }
  .nisa-left h2::after {
    left: 50%;
    transform: translateX(-50%);
    width:70%;
  }
  .nisa-right{
    text-align: center;
  }
  .nisa-right p{
    font-size: 1.2rem;
  }

  
  .entry-section {
      padding: 0rem 0 4rem 0;
  }
  .entry-title {
      font-size: 1.6rem;
      max-width: 90%;
  }
  .entry-box {
        padding: 5rem 2rem 2rem 2rem;
  }
  .entry-items {
      flex-direction: column;
      align-items: center;
  }
  .entry-item {
      width: 100%;
      padding-bottom: 3rem;
      margin-bottom: 3rem;
  }
  .entry-item:not(:last-child) {
      border-bottom: 1px dotted #ccc;
  }
   .entry-item:not(:last-child)::after {
    border-right: none;
  }
  .entry-item:last-child {
      padding-bottom: 0;
      margin-bottom: 0;
  }
  
  
  .flow-section {
    padding: 5rem 0;
  }
  .flow-steps-pc {
    display: none;
  }
  .flow-steps-sp {
    display: block;
  }
  .flow-step-sp {
    position: relative;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
  }

  .flow-step-sp-title-wrapper {
    background-color: #333;
    color: #fff;
    padding: 1.5rem;
    position: relative;
  }
  .flow-step-sp-number {
    position: absolute;
    left: 1.5rem;
    top: -1.5rem;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
  }
  .flow-step-sp-title {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
  }
  .flow-step-sp-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 2rem;
  }
  .flow-step-sp-content p {
    font-size: 1.6rem;
  }
  .flow-step-sp-content img {
    width: 60px;
    height: auto;
  }

  
  .invitation-section {
    padding: 4rem 2rem;
    
    background-size: cover;
  }
  .invitation-section {
  
      background-image: url("img/bg04_sp.png");
  }
  .invitation-container {
    flex-direction: column;
  }
  .invitation-text {
    width: 100%;
    text-align: left;
  }
  .invitation-title {
    font-size: 6rem;
  }
  .invitation-container h3{
    text-align: left;
            font-size: 0.7em;
  }
  .invitation-bubbles span {
display: inline-block;
        text-align: left;
        font-size: 0.65em;
        
        padding: 5px;
        box-sizing: border-box;
  }
  .subscribe-section{
    padding: 4rem 0;
  }
  .submit-btn{
    border-radius: 15px;
  }
  .invitation-bubbles{
        margin: 4rem 0 1rem 0;
  }
  .invitation-image {
    display: none;
  }
  .invitation-link {
    font-size: 2rem;
    margin-top: 3rem;
  }

  
  .form-group {
      flex-direction: column;
      align-items: flex-start;
      border-bottom: none;
      padding-bottom: 0;
  }
  .form-group .label-wrapper {
      width: 100%;
      margin-bottom: 1rem;
      padding-top: 0;
      flex-wrap: wrap;
      align-items: baseline;
      font-weight: bold;
  }
  .form-group .label-wrapper label::after {
    content: '：';
  }
   .form-group input, .form-group textarea {
      width: 100%;
      box-sizing: border-box;
   }
   .subscribe-form {
    padding: 0 2rem;
   }
   .subscribe-section .section-title {
    font-size: 1.5em;
   }


  
  .type1{  }

  .top-feature {
    padding: 4rem 0;
  }
  .top-feature .flex-1,
  .top-feature .flex-2 {
    width: 100%;
    padding-right: 0;
    text-align: left;
  }
  .feature-list-box{
    padding:2rem;
  }
  .top-feature-text h3 {
    font-size: 2.8rem;
  }
  .top-feature-image {
    margin-top: 3rem;
  }
  .top-feature .flexbox{
    flex-direction: row-reverse;
  }
  .flexbox{
    display: block;
  }
  
  .flex-1{ width: 100%; text-align: center; margin-bottom:2rem; }
  .flex-2{ width: 100%; margin-left: 0; }
  
  .bordered-box {
    padding: 2.5rem;
  }
  .success-fee-text {
    padding: 0;
    text-align: center;
    padding:1rem;
  }
  .success-fee-text h3 {
    font-size: 2.2rem;
  }
  .btn-inquiry {
     width: 100%;
     padding: 1.5rem 2rem;
     box-sizing: border-box;
  }

  
  .card-grid {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  .card {
    width: 100% !important;
    max-width: 50rem;
  }

  .btn-wrap{ padding:2rem; }
  
  .faq-question {
    padding: 1.5rem;
  }
  .faq-item.active .faq-answer {
    padding: 1.5rem;
  }
  .faq-q-icon, .faq-a-icon {
    margin-right: 1rem;
  }
}

@media screen and (max-width: 1000px) {
  .faq-container{
        padding: 3rem 1rem;
    font-size: 0.9em;
  }
  .footer-top-new {
    position: relative;
    padding: 5rem 1rem;
    background-image: url('img/bg05_sp.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
  }
  .footer-top-new::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: -1;
  }
  .footer-bottom-new {
    position: relative;
    padding: 5rem 2rem;
    background-image: url('img/bg06_sp.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
  }
   .footer-bottom-new::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  .footer-top-container-new, .footer-bottom-container-new {
    flex-direction: column;
  }
  .footer-left-new, .footer-right-new {
    width: 100%;
  }

  .footer-top-new .footer-right-new {
    display: none;
  }
   .footer-bottom-new .footer-left-new {
    display: none;
  }
  
  .footer-top-new h3 {
    font-size: 2rem;
  }
  .footer-bottom-new h3 {
    font-size: 2rem;
  }
  .footer-info-new img{
    width: 60%;
  }
}

