/* リセットスタイル */

/* 
Theme Name: byonto_2024
*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  letter-spacing: 10%;
  color: #333;
}

/* トップへ戻るボタンのスタイル */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background-color: #FFE34F;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none; /* 初期状態で非表示 */
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background-color: #FFE34F;
}

.container {
  margin: 0 auto;
  letter-spacing: 10%;
}

/* ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  position: relative;
  z-index: 1000;
}

header img {
  max-width: 170px;
  width: clamp(7.5rem, 6.607rem + 4.46vw, 10.625rem);
  height: auto;
}

nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-grow: 1;
  background-color: #ffffff;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 20px;
}

nav li {
  margin-left: 20px;
}

nav li:not(:last-child):not(:nth-last-child(2))::after {
  content: "|";
  color: #333;
  margin-left: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: clamp(0.688rem, 0.33rem + 0.74vw, 1rem);
  font-weight: bold;
  line-height: 175%;
  letter-spacing: 0.1em;
}

.cta-btn-top {
  background-image: linear-gradient(to right, #AE6FEE, #8240EE);
  color: #fff;
  padding: 20px 25px;
  border-radius: 30px;
  text-decoration: none;
}

.cta-btn-nv {
  background-image: linear-gradient(to right, #AE6FEE, #8240EE);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  margin-left: 30px;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.logo img {
  max-width: 140px;
  height: auto;
}

.hamburger-menu {
  display: none;
}

@media (max-width: 1024px) {
  header {
    background-color: #FFE34F;
    padding: 20px;
  }

  nav ul {
    display: none;
  }

  .hamburger-menu {
    display: block;
    position: absolute;
    top: -5px;
    right: 20px;
    z-index: 1001;
  }

  .menu__btn {
    display: flex;
    align-items: center;
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
  }

  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition-duration: 0.25s;
  }

  .menu__btn > span::before {
    content: "";
    top: -10px;
  }

  .menu__btn > span::after {
    content: "";
    top: 10px;
  }

  .menu__box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 80px 20px;
    list-style: none;
    background-color: #FFE34F !important;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
    transition-duration: 0.25s;
    text-align: center;
    z-index: 1000;
    overflow-y: auto;
  }

  #menu__toggle {
    opacity: 0;
  }

  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
  }

  #menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
  }

  #menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }

  #menu__toggle:checked ~ .menu__box {
    visibility: visible;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 227, 79, 0.9);
    backdrop-filter: blur(5px);
  }

  .menu__item {
    display: block;
    padding: 12px 24px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition-duration: 0.25s;
  }

  .menu__item:hover {
    background-color: #CFD8DC;
  }

  .menu__box li:last-child {
    margin-top: auto;
  }

  .cta-btn-nv {
    background-image: linear-gradient(to right, #AE6FEE, #8240EE);
    color: #fff;
    padding: 20px 40px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 30px;
  }

  .menu__close {
    display: none;
  }
	.cta-btn-nv {
  margin-left: 0px;
}
	
.menu__btn.fixed {
  position: fixed;
  top: 20px;
  right: 20px;
}
}

@media (max-width: 768px) {
  .menu__box {
    padding: 60px 20px;
  }
}


/* トップ */
.top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background-image: url("/wp-public/wp-content/themes/byonto_2024/img/top_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}


.top-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 50%;
  padding-right: 20px;
  box-sizing: border-box;
}

.cta-btn-wrapper {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  line-height: 150%;

}



.cta-btn-top {
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center; /* Center text horizontally */
  max-width: 460px;
  display: block; 
  width: 100%; 
  margin: 0 auto; 
  max-height: 80px;
  background-image: linear-gradient(to right, #AE6FEE, #8240EE);
  color: #fff;
  text-decoration: none;
  padding: 15px 15px;
  border-radius: 50px;
  font-size: clamp(0.938rem, 0.875rem + 0.31vw, 1.156rem);
  font-weight: bold;
  transition: background-color 0.3s ease;
  line-height: 150%;
  margin: 5% 0;
  letter-spacing: 0.1em;
}


.pc-only .cta-btn-top {
  margin-right: 0;
}

.top-img {
  max-width: 50%;
}

.top-img-pc {
  display: block;
  max-width: 100%;
  height: auto;
}

.sp-only {
  display: none;
}

.pc-only {
	display:block;
}

.title-image {
  width: 100%;
  height: auto;
  max-width: 706px;
  padding-bottom: 5%;
}

.cta-btn-top:hover {
  background-image: linear-gradient(to right, #AE6FEE, #8240EE);
}

.cta-btn-nv {
  background-image: linear-gradient(to right, #AE6FEE, #8240EE);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: clamp(0.688rem, 0.598rem + 0.45vw, 1rem);
  transition: background-color 0.3s ease;
}

.cta-btn-nv:hover {
  background-image: linear-gradient(to right, #AE6FEE, #8240EE);
}

.fas.fa-envelope {
  margin-right: 8px;
}

.dli-chevron-right {
  display: inline-block;
  vertical-align: center;
  color: #ffffff;
  line-height: 1;
  width: 0.8em;
  height: 0.8em;
  border: 0.2em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(-25%) rotate(45deg);
  margin-left: 5px;
}

@media screen and (max-width: 1200px) {
  .top-content {
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .top-content {
    flex-direction: column;
    align-items: center;
    margin: -5% 0 8% 0;
  }

  .top-text {
    max-width: 100%;
    margin-bottom: 20px;
    text-align: center;
    align-items: center;
  }

  .top-img {
    display: none;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
    text-align: center;
  }

  .title-image-sp {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-top: clamp(-6.25rem, -12.325rem + 30.37vw, 1.875rem);
  }

  .top-img-sp {
    max-width: 100%;
    height: auto;
    margin-bottom: 50px;
  }

  .sp-only {
    text-align: center;
  }

  .cta-btn-top {
    margin: 5% 0;
  }


  .cta-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}


.scrolldown2 {
  position: relative;
  display: flex; /* flexボックスを使用して要素を横に並べます */
  justify-content: center; /* 中央揃えにします */
  align-items: center; /* 縦方向も中央揃えにします */
  margin-top: 40px;
  margin-bottom: 0px;
  color: #000;
}

/*Scrollテキストの描写*/
.scrolldown2 span {
  /*描画位置*/
  position: absolute;
  left: 51%; /* 中央に配置 */
  bottom: 50px;
  /*テキストの形状*/
  color: #000; /* テキストの色を黒に設定 */
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  transform: translateX(-50%); /* 中央揃えのために左に50%ずらす */
}
/* 丸の描写 */
.scrolldown2:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: 50%; /* 中央に配置 */
  /*丸の形状*/
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000; /* 丸の色を黒に設定 */
  /*丸の動き1.6秒かけて透過し、永遠にループ*/
  animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
  transform: translateX(-50%); /* 中央揃えのために左に50%ずらす */
}


/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
    0%{bottom:95px;}
   100%{bottom:-5px;}
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
    0%{opacity:0}
   50%{opacity:1;}
  80%{opacity:0.9;}
100%{opacity:0;}
}

/* 線の描写 */
.scrolldown2:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: 50%; /* 中央に配置 */
  /*線の形状*/
  width: 1px;
  height: 100px;
  background: #000; /* 線の色を黒に設定 */
  transform: translateX(-50%); /* 中央揃えのために左に50%ずらす */
}

@media screen and (max-width: 768px) {
.scrolldown2 {
  display: none; 
	}
}

/* Problem */
.problem-section {
  text-align: center;
  position: relative;
  padding: 20px;
}

.problem-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 50vw solid transparent;
  border-right: 50vw solid transparent;
  border-top: 80px solid #ffffff;
  z-index: 1;
}


.problem-title {
  max-width: 520px;
  padding: 3% 0;
}

.result-title {
  max-width: 800px;
  padding: 10% 0;
}

.problem-heading {
  margin: 50px 0;
}

.problem-image {
  max-width: 1100px;
  margin: 0 auto;
}

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

.problem-stats {
  max-width: 1100px;
  margin: 0 auto;
}

.problem-stats img {
  max-width: 100%;
  height: auto;
}

.problem-stats p {
  font-size: clamp(1rem, 0.929rem + 0.36vw, 1.25rem);
  line-height: 150%;
  margin: 5% 0;
 font-weight:bold;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 1200px) {
  .problem-image,
  .problem-stats,
  .problem-title,
  .result-title {
    max-width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .problem-section .problem-stats .result-title {
    padding: 0 10px;
  }

  .problem-title {
    padding: -10% 10px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .problem-image-sp,
  .problem-stats-sp {
    max-width: 90%;
    margin: 0 auto;
  }

  .problem-image-sp img,
  .problem-stats-sp img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

   .problem-stats-sp p {
    font-size: clamp(1rem, 0.929rem + 0.36vw, 1.25rem);
    line-height: 150%;
	   font-weight:bold;
    margin: 5% 0 10% 0;
    position: relative;
    z-index: 2;
  }
	 .problem-stats-sp img {
  max-width: 80%;
  }
}


/* 3つのポイント */
#brand-strategy  {
  padding: 50px 20px;
  text-align: center;
  background-color: #FEF8D3;
}

#brand-strategy .brand-strategy-img {
  max-width: 940px;
  padding: 30px 20px;
  margin: 0 auto;
  display: block;
  box-sizing: border-box;
}

#brand-strategy  .brand-strategy-img.pc-only {
    margin-top:50px;
	margin-bottom:20px;
	width : clamp(34.375rem, 27.429rem + 34.73vw, 58.688rem);
	padding : 5% 0;
  }

#brand-strategy .brand-strategy-img.sp-only {
  display: none;
    margin-top:70px;
}

#brand-strategy .strategy-points {
  display: flex;
  justify-content: space-between; /* 変更 */
  margin-bottom: 50px;
  text-align: center;
  padding : 0 10px; /* 追加 */
  box-sizing: border-box; /* 追加 */
}

#brand-strategy .strategy-point {
  flex: 1;
  max-width: calc(33.33% - 24px); /* 変更 */
  margin: 0 12px;
  text-align: center;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  box-sizing: border-box;
}

#brand-strategy .strategy-point h4 {
  background-image: linear-gradient(to right, #F45726, #F4268D);
  color: white;
  padding: 10px;
  border-radius: 5px;
  background-size: 40% 50%;
  background-repeat: no-repeat;
  background-position: center;
 font-size:clamp(0.875rem, 0.821rem + 0.27vw, 1.063rem);
}

#brand-strategy .strategy-point p{
 font-size:clamp(0.75rem, 0.714rem + 0.18vw, 0.875rem);
}

#brand-strategy .strategy-point  h3{
 font-size:clamp(1.25rem, 1.179rem + 0.36vw, 1.5rem);
}

#brand-strategy .illustration {
  display: flex;
  justify-content: center;
}

#brand-strategy .illustration img {
  width: clamp(12.5rem, 11.429rem + 5.36vw, 16.25rem);
  height: auto;
}

@media screen and (max-width: 768px) {
#brand-strategy  .brand-strategy {
    padding: 30px;
  }
  
#brand-strategy  .brand-strategy-img.pc-only {
    display: none;
  }
  
 #brand-strategy  .brand-strategy-img.sp-only {
    width: clamp(15.625rem, -1.339rem + 84.82vw, 39.375rem);
    max-width: 630px;
    padding: 20px;
	 margin-bottom: 3%;
    display: block;
    box-sizing: border-box;
  }
  
#brand-strategy  .strategy-points {
    flex-direction: column;
    align-items: center;
  }
  
#brand-strategy  .strategy-point {
    max-width: 100%;
    margin: 20px 0 15px 0;
  }
#brand-strategy	.strategy-point h4 {
  background-size: 30% 50%;
}
#brand-strategy .illustration img {
    margin: -10px 0 -25px 0;
	}
}



.analysis-points {
  position: relative;
  margin: 80px 0;
  padding: 30px;
  background-color: rgb(255, 221, 0);
  border-radius: 24px;
  max-width: 1040px;
  text-align: center;
/*   margin-left: auto;
  margin-right: auto; */
  margin: 20px;
}

.analysis-points p {
  font-size: clamp(0.875rem, 0.696rem + 0.89vw, 1.5rem);
  font-weight: bold;
}

.analysis-points span {
  font-size: clamp(0.625rem, 0.571rem + 0.27vw, 0.813rem);
  font-weight: bold;
}

.analysis-points:before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 40px solid rgb(255, 221, 0);
}

.analysis-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin-top: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.analysis-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  width: calc(25% - 50px);
}

.analysis-icon .icon-background {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.analysis-icon img {
  max-width: 65px;
  height: 65px;
  object-fit: cover;
}

.analysis-icon span {
  font-size: clamp(0.625rem, 0.554rem + 0.36vw, 0.875rem);
  text-align: center;
  padding-top: 3%;
}

@media screen and (max-width: 768px) {
  .analysis-icon {
    margin: 8px;
    width: calc(40% - 20px);
  }
	.analysis-points {
  margin: 10px;
	padding : 10px;
	max-width: 480px;
}
	.analysis-points p {
		padding-top :8%;
}
}


@media screen and (max-width: 480px) {
  .analysis-icon .icon-background {
    width: 80px;
    height: 80px;
  }

  .analysis-icon img {
    max-width: 50px;
    height: 50px;
  }
}

#cta-contact {
background-color: #f5f5f5;
padding: 30px 10px;
text-align: center;
}

#cta-contact {
padding: 8% 0 8% 0; / 上右下左 */
}

#cta-contact .contact-text p {
  font-size: clamp(1rem, 0.929rem + 0.36vw, 1.25rem);
  line-height: 150%;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: bold;
}

#cta-contact  .cta-btn {
  display: inline-block;
  background-image: linear-gradient(to right, #AE6FEE, #8240EE);
  color: #fff;
  text-decoration: none;
  padding: 25px 40px;
  border-radius: 50px;
  font-size: clamp(0.813rem, 0.723rem + 0.45vw, 1.125rem);
  transition: background-color 0.3s ease;
  font-weight: bold;
  line-height: 150%;
  letter-spacing: 0.1em;
}
/* 
#cta-contact :hover {
  background-color: #5a4dff;
} */

@media (max-width: 768px) {
  #cta-contact .contact-btn {
    display: block;
    max-width: 90%;
    margin: 0 auto;
	padding: 15px 25px; 
	 margin : 0 10px;
  }
#cta-contact .contact-text p {
  max-width: 90%;
	    margin: 0  auto;
	margin-bottom: 5%;
}
}

@media (max-width: 320px) {
#cta-contact  .cta-contact {
    padding: 20px 10px;
	margin : 0 10px;
  }
}


#reasons {
  text-align: center;
  padding: 40px;
  background-image: linear-gradient(to bottom right, #FEF8D3, #FFE34F);
}
#reasons > img.reason-title {
  max-width: 678px;
  width: clamp(13.75rem, 5.571rem + 40.89vw, 42.375rem);
  height: auto;
	padding-top : 2%;
}
#reasons .reason-points {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  border-radius: 50%;
}

#reasons .reason-point {
  max-width: 1040px;
  height: auto;
  margin: 20px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: white;
  padding: 32px 56px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 24px;
}

#reasons .illustration {
  flex: 0 0 30%;
  max-width: 320px;
  margin-right: 20px;
}

#reasons .reason-point:nth-child(2) .illustration {
  order: 2;
  margin-right: 0;
  margin-left: 20px;
	 max-width: 320px; /* 追加 */
}

#reasons .illustration img {
  max-width: 100%;
  height: auto;
}

#reasons .reason-text {
  flex: 1;
  text-align: left;
}

#reasons .reason-text h3 {
  flex: 1;
  text-align: left;
  line-height: 150%;
  letter-spacing: 4%;
  font-weight: 900;
  padding-bottom: 15px;
  background-image: linear-gradient(to right, #F45726, #F4268D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

#reasons .reason-text h3.reason1,
#reasons .reason-text h3.reason2,
#reasons .reason-text h3.reason3 {
  font-size: clamp(1rem, 0.714rem + 1.43vw, 2rem);
}

#reasons .reason-text p {
  flex: 1;
  text-align: left;
  font-size: clamp(0.75rem, 0.679rem + 0.36vw, 1rem);
  letter-spacing: 4%;
  line-height: 175%;
  max-width: 568px;
}

#reasons .reason1 .reason3 {
  padding-left: 40px;
}

#reasons .reason-point:first-child .illustration {
  padding-right: 40px;
}

#reasons .reason-point:last-child .illustration {
  padding-right: 40px;
}

#reasons .reason2 {
  padding-right: 40px;
}

@media (max-width: 768px) {
  #reasons .reason-point {
    flex-direction: column;
    padding: 20px;
  }

  #reasons .illustration {
    flex: 0 0 100%;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  #reasons .reason-points .illustration {
    width: clamp(10rem, 4.643rem + 26.79vw, 17.5rem);
    height: auto;
  }

  #reasons .reason-point:nth-child(2) {
    display: flex;
    flex-direction: column;
  }

  #reasons .reason-point:nth-child(2) .illustration {
    order: -1;
    margin-left: 0;
    margin-bottom: 20px;
  }

  #reasons .reason2 {
    padding-right: 0px;
  }

  #reasons .reason1 .reason3 {
    padding-left: 0px;
  }

  #reasons .reason-point:first-child .illustration {
    padding-right: 0px;
  }

  #reasons .reason-point:last-child .illustration {
    padding-right: 0px;
  }

  #reasons .reason-text h3.reason1,
  #reasons .reason-text h3.reason2,
  #reasons .reason-text h3.reason3 {
    font-size: clamp(1rem, 0.464rem + 2.68vw, 1.75rem) !important;
  }
}



.operation-flow {
  text-align: center;
  padding: 60px 40px 70px 40px;
}

.operation-flow img {
  max-width: 207px;
  width: clamp(6.875rem, 5.143rem + 8.66vw, 12.938rem);
}

.flow-steps {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.step {
  max-width: 200px;
  margin: 0 20px;
  text-align: center;
  position: relative;
}

.step-icon img {
  max-width: clamp(6.25rem, 5.179rem + 5.36vw, 10rem);
  height: auto;
}

.step h3 {
  margin: 0;
  font-size: clamp(0.875rem, 0.768rem + 0.54vw, 1.25rem);
}

.step p {
  font-size: clamp(0.75rem, 0.714rem + 0.18vw, 0.875rem);
}

.step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 16px solid #FFE34F;
  margin-left: 30px;
}

.step-number {
  display: inline-block;
  text-align: center;
  font-size: clamp(0.875rem, 0.768rem + 0.54vw, 1.25rem);
  font-weight: bold;
  margin-right: 5px;
}

@media screen and (max-width: 768px) {
	
.operation-flow img {
margin-top: -3%;
}	
  .flow-steps {
    flex-direction: column;
    align-items: center;
	 margin-bottom: 10%; /* 追加 */
	  
  }

.step {
    display: flex;
    width: 100%; /* 変更 */
    max-width: 500px; /* 追加 */
    margin: 0 auto 40px; /* 変更 */
    text-align: left;
  }

  .step-icon {
    flex: 0 0 120px;
    margin-right: 20px;
  }

  .step-content {
    flex: 1;
	 padding-top: 15px;
  }

  .step-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
  }

  .step:not(:last-child):after {
    top: auto;
    right: auto;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 16px solid #FFE34F;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    margin-left: 0;
  }
	.step:last-child {
    margin-bottom: -70px; /* 追加 */
  }
}

@media screen and (max-width: 450px) {
	.operation-flow {
  text-align: center;
  padding: 60px 20px 20px 20px;
}
	
.operation-flow img {
 padding: 15px 0px 0px 0px;
 margin: -5% 0px 0px 10px;

}	

  .flow-steps {
    flex-direction: column;
    align-items: center;
	 margin-bottom: 15%; /* 追加 */
	  
  }
}



.contact {
  text-align: center;
  padding: 40px;
  margin: 50px 0;
}

.contact h2 {
  font-size: clamp(1.375rem, 1.268rem + 0.54vw, 1.75rem);
  margin-bottom: 20px;
  padding-bottom: 30px;
}

.contact p {
  font-size: clamp(1.125rem, 1.018rem + 0.54vw, 1.5rem);
  margin-top: 20px;
  letter-spacing: 10%;
}

.contact-discription p {
  font-size: clamp(0.875rem, 0.804rem + 0.36vw, 1.125rem);
  margin-top: 20px;
  line-height: 175%;
}


/* スライダー全体のスタイル */
.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 197px;
  width : clamp(5.625rem, 3.714rem + 9.55vw, 12.313rem);
  padding-bottom: 5%;
}

.performance-slider {
  background-color: #FFE34F;
  padding: 100px 10px;
}

.performance-slider > p,
.performance-slider > h2 {
  text-align: center;
  width: 100%;
  margin: 10px 0;
}

.slider {
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  position: relative;
  padding: 0;
  max-width: 1200px;
}

.slide .pc-image {
  padding: 10px;
  text-align: center;
  max-width: 100%;
  height: auto;
  display: block;
}

.slide .sp-image {
  display: none;
}

.graph img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
}

.slider {
  width: 80%;
  margin: 0 auto;
}


.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.slick-slide {
  display: none;
  float: left;
  width: 100%;
  min-height: 1px;
  margin: 0;
}

.slick-slide img {
  display: block;
	max-width: 100%;
  height: auto;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-dots {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: auto;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 12px;
  height: 12px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: #ccc;
  border-radius: 50%;
}

.slick-dots li.slick-active button {
  background: #666;
}

.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: block;
  width: 50px;
  height: 50px;
  line-height: 0;
  font-size: 0;
  cursor: pointer;
/*   background: rgba(0, 0, 0, 0.5); */
  color: transparent;
  border: none;
  outline: none;
  padding: 0;
}

.slick-prev {
  left: -60px;
}

.slick-next {
  right: -60px;
}

.slick-prev:before,
.slick-next:before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -12px;
}

.slick-prev:before {
  transform: rotate(-135deg);
  margin-left: -8px;
}

.slick-next:before {
  transform: rotate(45deg);
  margin-left: -16px;
}

@media screen and (max-width: 1023px) {
.center-image {
  margin-top:  -5%;
}
	
.slick-list {
padding: 0 clamp(10px, 2vw, 15px) 0 0;
}
	
 .slick-slide {
    padding: 0;
  }
	
  .slick-prev {
    left: -30px;
  }
  
  .slick-next {
    right: -20px;
  }
	
.slide .pc-image {
display: none;
}
.slide .sp-image {
display: block;
max-width: 100%;
height: auto;
padding: 20px;
text-align: center;
}
.slider {
max-width: 85%;
width: 100%;
padding: 0 10px;
}
}

@media screen and (max-width: 580px) {
.center-image {
  margin-top:  -12%;
}
}

/* #schedule */

.schedule-title {
  max-width: 415px;
  width: clamp(10.313rem, 5.848rem + 22.32vw, 25.938rem); 
  height: auto;
  padding-bottom: 5%;
}


.schedule {
  text-align: center;
  padding: 40px;
  margin: 50px 0;
}
.pc-only {
max-width: 100%;
width: min(100%, 1040px);
height: auto;
margin: 0 auto; /* 追加 */
}
.pc-only img {
max-width: 100%;
height: auto;
display: block; /* 追加 /
margin: 0 auto; / 追加 */
}

.sp-only {
  display: none;
}


@media screen and (max-width: 768px) {
	
	.schedule {
    margin-top: -5px; /* 追加 */
  }
	
	.schedule-title {
	margin: 10px 0px;
}
	
  .sp-only {
    display: block;
  }
	

.schedule-image-sp img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
	
	.sp-only:last-child {
    margin-bottom: -70px; /* 追加 */
  }
}





.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  margin: 0;
  background-color: #FFE34F;
  width: 100vw;
  max-width: 100%;
}

.contact-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  max-width: 1040px;
  margin: 0 auto;
}

.contact-title {
  max-width: 666px;
  width: clamp(16.25rem, 9rem + 36.25vw, 41.625rem);
  height: auto;
  margin-bottom: 20px;
  padding: 30px 0 10px 0;
}

.contact-explain {
  max-width: 468px;
  width: clamp(11.25rem, 6.107rem + 25.71vw, 29.25rem);
  height: auto;
  padding-bottom: 50px;
}

@media (max-width: 768px) {
  .contact {
    padding: 20px;
	  padding-bottom: 5%;
  }

  .contact-title {
    padding: 30px 0 10px 0;
  }

  .contact-explain {
    padding-bottom: 15%;
  }
}

@media (max-width: 320px) {
  .contact-title {
    padding: 20px 0 10px 0;
  }

  .contact-explain {
    padding-bottom: 20px;
  }
}



/* フォーム全体のスタイル */
#contact .contact-form {
  background-color: #fff;
  border-radius: 10px;
  padding: 5% 8%; /* 上下40px、左右50pxの余白 */
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#contact .contact-form p {
  font-size: clamp(0.75rem, 0.679rem + 0.36vw, 1rem);
}

/* フォームグループのスタイル */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left; /* 入力部分のみ左揃え */
}

/* ラベルのスタイル */
.form-label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* 必須項目のスタイル */
.required {
  background-color: #dc3545; /* 必須項目の背景を赤色に */
  color: #fff; /* 必須項目の文字を白色に */
  font-size: 0.8rem;
  margin-left: 0.5rem;
  padding: 2px 5px;
  border-radius: 3px;
}

/* 入力フィールドのスタイル */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* チェックボックスのスタイル */
.form-group.form-check {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; /* 追加 */
}

.form-check-input {
  margin-top: 0;
  margin-right: 0.5rem;
}


/* 送信ボタンのスタイル */
.btn-primary {
  background-color: #000;
  color: #fff;
  border-radius: 50px;
  padding: 0.5rem 2rem;
  font-size: clamp(0.688rem, 0.598rem + 0.45vw, 1rem);
  transition: background-color 0.3s ease;
  max-width: 320px;
  width: 100%; /* 追加 */
}


.btn-primary:hover {
  background-color: #333;
  max-width: 320px;
}





footer.footer {
  background-color: #000;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer.footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer.footer .company-link {
  color: #fff;
  text-decoration: none;
}

footer.footer .copyright {
  font-size: clamp(0.625rem, 0.554rem + 0.36vw, 0.875rem);
}

@media (max-width: 768px) {
  footer.footer .footer-content {
    flex-direction: column;
    gap: 10px;
  }
}