@charset "UTF-8";

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fff;
}

body, html {
  background: #fff;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 5%;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 50%;
  min-width: 300px;
  margin-left: 8%;
  margin-top: -30px; /* 上に少し移動 */
}

.hero-text .tagline {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-text .tagline span {
  color: #FBC02D;
}

.hero-text h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 30px 0;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-buttons a {
  padding: 14px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  font-size: 16px;
  text-align: center;
  min-width: 200px;
}

.btn-outline {
  background-color: #f87171; /* 淡い赤系 */
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: none; /* フラットにするため影なし */
}

/* ホバー時に少し濃く */
.btn-outline:hover {
  background-color: #ef4444;
}

@media (max-width: 600px) {
  .btn-outline {
    width: 40%;
    text-align: center;
    font-size: 16px;
  }
}


.btn-filled {
  background-color: #00C300;
  color: #fff;
}

.hero-image {
  max-width: 45%;
  min-width: 300px;
  margin-left: 40px;
}

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

.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.stats img {
  width: auto;
  height: 120px;
}

.stat-item {
  text-align: center;
}

.stat-item img {
  width: 40px;
  height: auto;
}

.stat-item .label {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}

.stat-item .count {
  font-size: 48px;
  font-weight: bold;
  color: #111;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-text {
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-image {
    max-width: 100%;
    margin-left: 0;
    margin-top: 30px;
  }

  .hero-buttons {
    justify-content: center;
  }
}


.section-blue {
  background-color: #00abc9;
  color: white;
  padding: 60px 20px 100px;
  position: relative;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
}

.section-blue h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-blue h3 {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  overflow: visible;
}

.card {
  position: relative;
  background: white;
  color: #000;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0,0,0,0.06);
  overflow: visible;
}



.card-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.card-title span.highlight {
font-size: 22px;
  color: #00abc9;
  font-weight: bold;
}

.section-bottom {
  background-color: white;
  text-align: center;
  padding: 60px 20px;
  clip-path: polygon(0 10%, 50% 0%, 100% 10%, 100% 100%, 0 100%);
}

.section-bottom h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-bottom p {
  font-size: 14px;
  color: #444;
  margin: 0;
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .section-blue h2 {
    font-size: 22px;
  }

  .section-blue h3 {
    font-size: 16px;
  }
}


.features-section {
  padding: 30px 20px;
  background-color: #fff;
  text-align: center;
}

.features-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 60px;
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-box {
  flex: 1 1 400px;
  max-width: 460px;
}

.feature-image {
  width: 100%;
  max-width: 300px;
  margin-bottom: 20px;
}

.feature-heading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.highlight {
  color: #00abc9;
}

.feature-text {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}


.flow-section {
  background-color: #00abc9;
  padding: 80px 20px;
  color: #000;
}

.flow-title {
  text-align: center;
font-size: 40px !important;
  font-weight: bold;
  color: white;
  margin-bottom: 60px;
}

.flow-step {
  background-color: white;
  display: flex;
  align-items: center;
  border-radius: 20px;
  padding: 30px;
  max-width: 960px;
  margin: 0 auto 30px;
  gap: 30px;
  flex-wrap: wrap;
}

.flow-number {
  background-color: #00abc9;
  color: white;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-content {
  flex: 1;
  min-width: 240px;
}

.flow-heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.flow-text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}


.school-schedule {
  padding: 80px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.schedule-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}

.schedule-table-wrapper {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 16px 20px;
  text-align: center;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}

.schedule-table thead th {
  background-color: #f1f1f1;
  font-weight: bold;
  color: #333;
}

.schedule-table tbody tr:hover {
  background-color: #f9f9f9;
}

.limit {
  color: #e63946;
  font-weight: bold;
}


.cases-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.cases-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 60px;
  line-height: 1.5;
}

.cases-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.case-box {
  width: 100%;
  max-width: 460px;
  background: #f7f9fb;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.case-header {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 16px;
  background: #e6f8fb;
  border-radius: 8px 8px 0 0;
}

.case-header img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.case-tag {
  background: #00abc9;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}

.case-body {
  padding: 20px 20px 30px;
}

.case-heading {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 10px;
}

.case-text {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}


.price-section {
  background-color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.price-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 50px;
}

.price-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.price-card {
  border: 3px solid #00abc9;
  border-radius: 12px;
  padding: 40px 30px;
  width: 300px;
  position: relative;
}

.price-label {
  background-color: #00abc9;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 10px;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.price-value {
  font-size: 28px;
  font-weight: 500;
  color: #111;
  margin-top: 20px;
}

.price-value .strong {
  font-size: 38px;
  font-weight: bold;
}


.faq-section {
  background-color: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.faq-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 50px;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: left;
  border-radius: 10px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
}

/* 非表示のチェックボックス */
.faq-item input[type="checkbox"] {
  display: none;
}

.faq-question {
  display: block;
  padding: 20px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  position: relative;
  background: white;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
}

/* 開いた時のマイナス記号 */
.faq-item input:checked + .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.faq-item input:checked + .faq-question + .faq-answer {
  max-height: 200px; /* 適宜調整可 */
  padding: 0 20px 20px;
}


.cta-section {
  background-color: #00abc9;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta-heading {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 16px;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #f87171; /* 淡い赤系 */
  color: white;
  padding: 18px 54px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: none; /* フラットにするため影なし */
}

.cta-button:hover {
  background-color: #ef4444;
}

@media (max-width: 600px) {
  .cta-button {
    width: 80%;
    text-align: center;
    font-size: 16px;
  }
}


#footer {
  position: relative;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc_img {
  display: block !important;
}

.sp_img {
  display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
  .pc_img {
    display: none !important;
  }

  .sp_img {
    display: block !important;
  }
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.impact-text {
  animation: fadeUp 1s ease-out;
font-size: 40px !important;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

.appear-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.appear-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.4s;
}

.appear-on-scroll.visible.delay-1 {
  transition-delay: 0.4s;
}

.question-pop {
font-size: 30px !important;
  font-weight: bold;
  color: #000000;
  text-align: center;
}


.features-text p {
font-size: 40px !important;
  font-weight: bold;
  text-align: center;
  line-height: 1.8;
  margin: 40px auto;
  max-width: 800px;
  margin-bottom: 32px;
}

.features-text span {
  display: block;
  font-size: 20px !important;
  font-weight: bold;
  text-align: center;
  line-height: 1.8;
  margin: 40px auto;
  max-width: 800px;
  margin-bottom: 32px;
}

/* アニメーション用 */
.appear-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.appear-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延 */
.delay-0 { transition-delay: 0s; }
.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; }
.delay-3 { transition-delay: 0.9s; }

@media (max-width: 600px) {
  .features-text {
    font-size: 16px;
    line-height: 1.9;
    padding: 0 16px;  /* 左右に余白を追加 */
  }

.highligh  {
  font-size: 25px !important;
}

  .features-text p {
    margin-bottom: 24px;
  }
}


.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  text-align: center;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid #ccc;
  padding: 12px;
}

/* 強調日（教習開始・卒業検定） */
.start-day td {
  background-color: #fff3cd;
  font-weight: bold;
  color: #d17c00;
}

.exam-day td {
  background-color: #d1ecf1;
  font-weight: bold;
  color: #0c5460;
}


/* テーブル全体 */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  text-align: center;
}

/* 基本セルスタイル */
.schedule-table th,
.schedule-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #e0e0e0;
}

/* 教習開始日（1列目）を強調 */
.schedule-table td:nth-child(1) {
  font-weight: bold;
  color: #d90000;
  background-color: #fff6f6;
}

/* 卒業検定日（2列目）を強調 */
.schedule-table td:nth-child(2) {
  font-weight: bold;
  color: #004d99;
  background-color: #f0f8ff;
}

/* 最上部のヘッダー */
.schedule-table thead th {
  background-color: #f8f8f8;
  font-weight: bold;
  font-size: 17px;
  color: #333;
}

/* 横スクロール可能にするラッパー */
.table-scroll {
  overflow-x: auto;
  width: 100%;
}

/* テーブル基本スタイル（再掲） */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  text-align: center;
  min-width: 600px; /* ← モバイルでも無理なく横スクロール */
}

/* セル基本 */
.schedule-table th,
.schedule-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #e0e0e0;
}

/* モバイル対応：フォント縮小＆余白最適化 */
@media (max-width: 600px) {
  .schedule-table {
    font-size: 14px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 6px;
  }
}

.table-scroll {
  overflow-x: auto;
  width: 100%;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* テーブルの最小幅を設定 */
}

@media (max-width: 600px) {
  .schedule-table {
    font-size: 14px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 6px;
  }
}





.table-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.table-mask {
  max-height: 300px; /* 半分くらいまで表示 */
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.table-wrapper.expanded .table-mask {
  max-height: 2000px; /* 十分な高さに展開 */
}

.expand-button {
  display: block;
  margin: 10px auto;
  padding: 18px 40px;
  background-color: #00B7DE;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.schedule-table-wrapper .table-mask {
  max-height: 300px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.schedule-table-wrapper.expanded .table-mask {
  max-height: 2000px;
}


.campaign-box {
  border: 4px solid #00B7DE;
  background-color: #fff7f0 !important;
  height: auto;
  padding: 50px;
  position: relative;
  margin-bottom: 40px;
  width: 100%;
  max-width: 980px; /* テーブルの最大幅と揃える */
  margin: 0 auto;    /* 中央寄せ */
}

/* モバイル表示対応 */
@media screen and (max-width: 768px) {
  .campaign-box {
    width: 100%;
    padding: 20px 15px;
    border-width: 3px;
  }
}

.schedule-table-wrapper {
  padding-top: 40px;
}

.campaign-ribbon {
  background-color: #00B7DE;
  color: #fff;
  display: inline-block;
  padding: 14px 26px;
  font-weight: bold;
  font-size: 14px;
  position: absolute;
  top: -14px;
  left: 20px;
  border-radius: 4px;
}

.campaign-content h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 0;
}

.campaign-content p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.fade-in-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 45px;
  font-weight: bold;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
    text-align: center;
  margin: 80px 0 10px 0;
}

/* フェードインのキーフレーム定義 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* 下から上に移動 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

span.star { color: #fbbc04; }

.gallery-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.photo-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.03);
}

.scroll-notice {
  display: none;
  font-size: 14px;
  color: #666;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .scroll-notice {
    display: block;
    text-align: center;
  }
}

.text-right { text-align:center; margin-top:25px; }

.select {
	padding-bottom: 0;
	width: 1000px;
	margin: 0 auto;
}

@media screen and (max-width: 768px) {
	.select {
		width: 100%;
	}
}

.select .title-area {
	background: #d6f4ff;
	border-radius: 5px;
	padding: 4% 0 5%;
	position: relative;
}
.select .title-area .title-box {
	background: #0550a1;
	border-radius: 5px;
	text-align: center;
	color: #fff;
	font-size: 20px;
	letter-spacing: 3px;
	line-height: 1.8;
	margin: 0 auto 3%;
	width: 515px;
}
.select .title-area h1 {
	font-size: 48px;
	font-weight: 700;
	text-align: center;
	line-height: 1;
	color: #0550a1;
}
.select .title-area h1 .large {
	font-size: 56px;
}
.select .title-area .car {
	width: 105px;
	position: absolute;
	bottom: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	        transform: translateX(-50%);
	margin-left: 320px;
}
.select .type {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	margin-top: 90px;
	position: relative;
}

@media screen and (max-width: 768px) {
	.select .type {
		display: block;
	}
}

.select .type li {
	position: relative;
	width: 31%;
	list-style-type: none;
}

@media screen and (max-width: 768px) {
	.select .type li {
		width: 100%;
	}
}

.select .type li .title {
	font-size: 21px;
	text-align: center;
	font-weight: 700;
	position: relative;
	line-height: 1.6;
	margin-bottom: 5%;
}
.select .type li .box {
	background: #fffbef;
	padding: 3% 5% 5%;
	border-radius: 5px;
}
.select .type li .box .text {
	font-size: 22px;
	text-align: center;
	font-weight: 700;
	border-bottom: 1px solid #333333;
	margin-bottom: 3%;
}
.select .type li .box .price {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	font-weight: 500;
}
.select .type li .box .price .circle {
	background: #d6f4ff;
	color: #0550a1;
	font-size: 16px;
	width: 32px;
	height: 32px;
	border-radius: 16px;
	margin-right: 5%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
.select .type li .box .price .number {
	font-weight: 500;
	font-size: 28px;
	line-height: 1.6;
}
.select .type li .box .price .number .small {
	font-size: 13px;
	font-weight: 400;
}
.select .type li .warranty {
	text-align: center;
	font-size: 19px;
	border: 1px solid #f8dc7c;
	border-radius: 3px;
	font-weight: 700;
	background: #fff;
	width: 230px;
	margin: 7% auto 4%;
	color: #666;
}

@media screen and (max-width: 768px) {
	.select .type li .warranty {
		width: 100%;
	}
}

.select .type li p {
	font-size: small;
	width: 220px;
	margin: auto;
}

@media screen and (max-width: 768px) {
	.select .type li p {
		width: 100%;
	}
}

.select .type li p .green {
	color: #469d81;
}
.select .type li .recommend-circle {
	position: absolute;
	top: -60px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	        transform: translateX(-50%);
	width: 100px;
	height: 44px;
	border-radius: 50%;
	background: #f8dc7c;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	font-weight: 700;
	color: #0550a1;
}
.select .type li:nth-child(2) .title {
	color: #469d81;
}
.select .type li:nth-child(2) .box {
	background: #469d81;
	color: #fff;
}
.select .type li:nth-child(2) .box .text {
	border-bottom: 1px solid #fff;
}
.select .type li:nth-child(2) .warranty {
	border: 1px solid #469d81;
	color: #469d81;
}
.select .type li:nth-child(3) .title {
	color: #d9725b;
	border-bottom: 1px solid #fff;
}
.select .type li:nth-child(3) .box {
	background: #d9725b;
	color: #fff;
}
.select .type li:nth-child(3) .box .text {
	border-bottom: 1px solid #fff;
}
.select .type li:nth-child(3) .warranty {
	border: 1px solid #d9725b;
	color: #d9725b;
}
.select .type .bg-circle {
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: rgba(214, 244, 255, 0.5);
	position: absolute;
	top: -50px;
	right: -20px;
	z-index: -1;
}
