@charset "utf-8";

/* --- 共通 --- */
header {
  background-color: #4DCDE6;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.headerlogo {
  max-width: 270px;
}

/* --- PCナビ --- */
.nav-pc ul {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.nav-pc ul li a {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
  white-space: nowrap;
}

.nav-pc ul li a:hover{
  text-decoration: underline;
  text-underline-offset: 8px; /* ← 文字との距離 */
  text-decoration-thickness: 2px; /* ← 下線の太さ */
}

/* --- ハンバーガーアイコン --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/* --- SPナビ --- */
.nav-sp {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #fff;
  transition: right 0.4s ease;
  padding: 80px 24px;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.nav-sp.active {
  right: 0;
}
/* ハンバーガーを非表示にする */
.nav-sp.active ~ .hamburger {
  display: none;
}

.nav-sp ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-sp ul li{
  text-align: center;
}

.nav-sp a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
}

/* --- 閉じる（×）ボタン --- */
.close {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
}
.close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
}
.close span:first-child {
  transform: rotate(45deg);
}
.close span:last-child {
  transform: rotate(-45deg);
}

/* --- メディアクエリ：スマホ --- */
@media screen and (max-width: 1050px) {
  .nav-pc {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.hide {
  display: none !important;
}
.headerlogo{
  max-width: 190px;
}
}

/* --- メディアクエリ：PC --- */
@media screen and (min-width: 1051px) {
  .nav-sp,
  .hamburger,
  .close {
    display: none !important;
  }

  .navmenu {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
  }

  .navmenu ul {
    flex-direction: row;
    gap: 24px;
  }
}
/* footer */
footer{
  background-color: #4DCDE6;
  padding-top: 32px;
  padding-bottom: 16px;
}

footer .footerLogo{
  max-width: 76px;
  margin: 0 auto;
}

footer ul{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 32px 0;
}

footer ul li a{
  font-size: 1rem;
  color: #fff;
  font-weight: bold;
}

footer ul li a:hover{
  text-decoration: underline;
  text-underline-offset: 8px; /* ← 文字との距離 */
  text-decoration-thickness: 2px; /* ← 下線の太さ */
}

footer .copy{
  text-align: center;
  font-size: 0.875rem;
  color: #fff;
}

footer .reg{
  text-align: center;
  font-size: 0.875rem;
  color: #fff;
  padding-bottom: 16px;
}

@media screen and (max-width:768px){
  footer ul{
    gap: 24px;
    padding: 32px 0;
    max-width: 200px;
    margin: 0 auto; 
  }
}

/* cv-button */
.cvBtnCnt p{
  text-align: center;
  font-weight: bold;
  color: #1CBFE6;
  font-size: clamp(1.25rem, 1.22rem + 0.13vw, 1.375rem);
  /* max-w1920px min-w375px 22px-20px */
  padding-bottom: 16px;
}

.cvBtnCnt span{
  font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
   /* max-w1920px min-w375px 16px-14px */
}

.cvBtn {
  max-width: 347px;
  margin: 0 auto;
}

.cvBtn a {
  display: block;
  max-width: 347px;
  margin: 0px auto;
  padding: 12px 0;
  font-size: clamp(1.375rem, 1.345rem + 0.13vw, 1.5rem);
  /* max-w1920px min-w375px 24px-22px */
  font-weight: normal;
  background-color: #F02394;
  box-shadow: 3px 3px 0 #FFF33F;
  text-align: center;
  color: #fff;
  line-height: 1;
  border-radius: 100px;
  transition: all 0.15s ease-in-out;
}

.cvBtn a span {
  font-size: clamp(3.188rem, 3.112rem + 0.32vw, 3.5rem);
  /* max-w1920px min-w375px 56px-51px */
  font-weight: bold;
}

/* PC（hover可能デバイス）のみにホバーアニメーション適用 */
@media (hover: hover) and (pointer: fine) {
  .cvBtn a:hover {
    transform: scale(0.96);
    box-shadow: 1px 1px 0 #FFF33F;
  }

  .cvBtn a:active {
    transform: scale(0.92);
    box-shadow: 0 0 0 #FFF33F;
  }
}

@media screen and (max-width:768px){
.cvBtn {
  max-width: 319px;
  margin: 0 auto;
}

.cvBtnCnt p{
  padding-bottom: 8px;
}
}

/* 遷移 */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 3%;
  z-index: 1000;
  display: none; /* 初期状態では非表示 */
  width: 85px;
  height: 85px;
  transition: opacity 0.3s ease;
}

#backToTop img {
  width: 100%;
  height: auto;
}

#backToTop.show {
  display: block;
  opacity: 1;
}

#backToTop.hide {
  display: none;
  opacity: 0;
}

/* スマホ用に少し位置を調整（必要に応じて調整） */
@media (max-width: 767px) {
  #backToTop {
    bottom: 15px;
    right: 15px;
    width: 65px;
    height: 65px;
  }
}

/* アコーディオン */
/* PC（768px超）では常に表示 */
.accordion-content {
  display: block;
}

@media screen and (max-width: 768px) {

.accordion-block {
  max-width: 360px;
  margin: 48px auto;
  border: 2px solid #E64D4D;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.accordion-block.sec-flow-charge{
   border: 2px solid #1EC0E5;
}

.accordion-title {
  cursor: pointer;
  position: relative;
  padding: 20px 60px 20px 20px;
  font-size: clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem);
  font-weight: bold;
  text-align: center;
  background-color: #fff;
}

.accordion-title.red {
  color: #E64D4D;
}

.accordion-title.blue {
  color: #1EC0E5;
}

.accordion-title::after {
  content: '+';
  font-size: 2rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.accordion-block.active .accordion-title::after {
  content: '−';
  font-size: 1.3rem;
}

.accordion-content {
  display: none;
  padding: 72px 16px;
  background-color: #fff;
}

.accordion-block.active .accordion-content {
  display: block;
}
}

.nav-pc ul li a.mypagebtn,
.nav-sp ul li a.mypagebtn{
  display: block;
  max-width: 206px;
  border: 3px solid #484E55;
  background-color: #FEEF01;
  border-radius: 30px;
  padding: 8px 24px 5px;
  color: #484E55;
}

.nav-sp ul li a.mypagebtn{
  margin: 0 auto;
}

.nav-pc ul li a.mypagebtn:hover{
  text-decoration: none;
}