
@charset "utf-8";

body{
  font-family: 'Eczar', serif;
 }




.page-wrapper {
  display: flex;
  height: 100vh;
}

/* 縦ロゴは左に固定 */
.vertical-logo {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 80px;
  font-weight: 900;
  color: #231815;
  line-height: 1;
  letter-spacing: 0.1em;
  padding: 20px;
  flex-shrink: 0;
}

/* 右側：中央寄せタイピング領域 */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* タイピング */
.typing-container {
  font-family: 'Noto Serif JP', serif;
  font-size: 48px;
  font-weight: 500;
  color: #231815;
  position: relative;
}


@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}



/* 縦ロゴ */
.vertical-logo {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11rem;
  font-weight: 900;
  color: #231815;
  line-height: 1;
  letter-spacing: 0.1em;
  margin-right: 20px;
  flex-shrink: 0;
}

/* メインコンテンツ */
.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
}

/* 📱 スマホ対応 */
@media screen and (max-width: 768px) {
  .hero-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }

  .vertical-logo {
    font-size: 48px;  /* サイズだけ縮小 */
    margin-right: 12px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

}



  .hero-content p {
    font-size: 16px;
  }
 .main-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}



.typing-container {
  font-family: 'Noto Serif JP', serif;
  font-size: 48px;
  font-weight: 500;
  color: #231815;
  position: relative;
  display: inline-block;
  margin-top: 50%;
}

#cursor {
  animation: blink 0.8s infinite;
  font-weight: 500;
  color: #231815;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@media screen and (max-width: 768px) {
  .typing-container {
    font-size: 33px;
    padding-top: 50%;
  }
}


/*悩みセクション*/

.problem-section {
  background-color: #fafafa;
  padding: 80px 20px;
  text-align: center;
  color: #231815;
}

.problem-section h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
}

.problem-section .lead {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.problem-voice p {
  font-size: 18px;
  margin-bottom: 15px;
  font-style: italic;
}


/*かいけつセクション*/
.solution-section {
  background: linear-gradient(135deg, #eeeeee, #f5f5f5); /* グレー背景 */
  padding: 100px 20px;
}

.solution-card {
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
  color: #231815;
}

.solution-card h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.solution-card .lead {
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.solution-points {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.solution-points .point {
  font-size: 18px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 1.5em;
}

.solution-points .point::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #4caf50; /* チェックの色（グリーン） */
}

.cta-message {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  font-size: 28px;
  font-weight: 500;
  color: #231815;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 5s ease;
}

@media screen and (max-width: 768px) {
  .display-4 {
    font-size: 2.3rem;
  }
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.voice-section {
  padding: 100px 20px;
  background-color: #ffffff;
  text-align: center;
}

.voice-title {
  font-size: 32px;
  margin-bottom: 60px;
  font-weight: 600;
  color: #231815;
}

.voice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.voice-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 30px 20px;
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; 
  height: 320px;
}

.voice-logo {
  width: 50px;
  height: 50px;
  background-color: #3a4e8c;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.voice-text {
  font-size: 1.2rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.voice-name {
  margin-top: auto; /* 最下部に固定 */
  font-size: 14px;
  color: #666;
}


.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 0;
}

.footer{
  background-color:#343a40 ;
  color: #ffffff;
  padding-top: 20px;
  padding-left: 50px;
  font-size: 1.2rem;
}
@media screen and (max-width: 768px) {
  .footer{
    font-size: 1rem;
    padding-left: 0;
  }}

.py-3{
  text-align: center;
}

a {
  color: inherit;         
  text-decoration: none; 
}
a:hover,
a:focus,
a:visited,
a:active {
  color: inherit;          
  text-decoration: none;   
}

.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}

.contact-section1 {
  background-color: #ffffff5e;
  padding-top: 20px;
  text-align: center;
  font-family: 'Eczar', serif;
}

.toggle-btn{  
  display: inline-block;
  padding: 1em 2.5em;
  background-color: transparent;
  border: 2px solid #231f20;
  border-radius: 50px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a233a;
  text-decoration: none;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.toggle-btn::before {
  content: "";
  position: absolute;
  background-color: #231f20;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  z-index: 0;
  transition: all 0.4s ease;
}

.toggle-btn:hover::before {
  left: 0;
}

.logo-button__text {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.toggle-btn:hover .logo-button__text {
  color: #fff;
}
