@charset "utf-8";


/* ===================================
CTA
=================================== */

.cta {
  position: relative;
  background-color: #152b3c;
  background-image: url("https://c4one-official.com/system_panel/uploads/images/20261016173951839723.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 55px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 930px;
  margin: 0 auto;
}

/* テキスト */
.cta-content {
  position:relative;
  padding-left: 30px;
  color: #fff;
}

.cta-content::before {
    background-image: linear-gradient(#c3b088, #f7dba5 55%, #987f51);
    content: "";
    width: 1px;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

.cta-title {
  font-size: 24px;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 12px;
}


/* CTAボタン */
.cta-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  min-height: 56px;
  flex-shrink: 0;
  background: linear-gradient(110deg, #dfc99d 0%, #c3a16a 100%);
  color: #000;
  text-decoration: none;
  overflow: hidden;
  transition: 0.5s;
}

/* hover時のグラデーション */
.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(96deg, #c4a367, #f7dba5 57%, #ddc99e);
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* テキストを前面に */
.cta-btn p {
  position: relative;
  z-index: 1;
}

/* hover */
.cta-btn:hover {
  color: #000;
  opacity: 1;
}

.cta-btn:hover::before {
  opacity: 1;
}

/* ===================================
Tablet
=================================== */

@media screen and (max-width: 1024px) {
  
  .cta{
    background-position: 80%;
  }

  .cta-inner {
    gap: 30px;
  }

  .cta-title {
    font-size: 21px;
  }

  .cta-btn {
    width: 240px;
  }
  
  .cta .container{
    width:90%;
  }
}

/* ===================================
CTA SP
=================================== */

@media screen and (max-width: 767px) {

  .cta {
    padding: 40px 0 0;
    background: #152b3c;
    overflow: hidden;
  }

  .cta .container {
    width: 85%;
  }

  /* 縦並び */
  .cta-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* テキスト */
  .cta-content {
    border-left: 1px solid #c5a772;
    padding-left: 15px;
    margin-bottom: 35px;
  }

  .cta-title {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .cta-text {
    font-size: 12px;
  }

  /* ボタン */
  .cta-btn {
    width: 100%;
    min-height: 55px;
    margin: 0;
  }

  .cta {
    background: #14283A;
  }

  .cta::after {
    content: "";
    display: block;
    width: 100%;
    height: 220px;
    margin-top: 0;

    background-image:
      linear-gradient(
        to bottom,
        #14283A 0%,
        rgba(98, 111, 123, 0) 65%
      ),
      url("https://c4one-official.com/system_panel/uploads/images/20261016174401779733.png");

    background-repeat: no-repeat;
    background-position: center 90%;
    background-size: cover;
  }


}



/* ===================================
Footer
=================================== */

.footer {
  background: #0C1B29;
  padding: 80px 0 100px;
  color: #FCFBF8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

/* 左側：会社情報 */
.footer-info {
  flex-shrink: 0;
}

.footer-logo {
  display: block;
  width: 10rem;
  margin-bottom: 25px;
}

.footer-copy {
  font-size:14px;
  margin-top: 12px;
}

/* 右側 */
.footer-right {
  display: flex;
}

.footer-title {
  color:#C5A367;
  font-size:1.5rem;
  font-weight:600;
  margin-bottom: 22px;
}

/* メニュー */
.footer-menu-list {
  display: flex;
  gap: 45px;
}

.footer-menu-col,
.footer-social-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* リンク共通 */
.footer a {
  color: #FCFBF8;
}

.footer a:hover {
  opacity: 0.7;
}

/* ===================================
Tablet
=================================== */

@media screen and (max-width: 1024px) {

  .footer-right {
    gap: 30px;

  }

  .footer-menu-list {
    gap: 25px;
  }
}


@media screen and (max-width: 940px) {
  .footer-inner {
    gap: 40px;
    flex-direction: column;
  }
}

/* ===================================
Footer SP
=================================== */

@media screen and (max-width: 767px) {

  .footer {
    padding: 35px 0 30px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 65px;
  }

  /* メニューを上部、会社情報を下部に */
  .footer-right {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .footer-info {
    order: 2;
  }

  /* Menu */
  .footer-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .footer-menu-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-menu-col:first-child {
    margin-bottom: 14px;
  }

  .footer-title {
    margin-bottom: 15px;
  }

  /* Social */
  .footer-social-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-social .footer-menu-list {
    display: flex;
    flex-direction: column;
  }

  /* 会社情報 */
  .footer-logo {
    width: 100px;
    margin-bottom: 30px;
  }

  .footer-copy {
    margin-top: 15px;
  }
  
  .footer .container{
    width:75%;
  }
}


/* ===================================
Footer Menu Hover
=================================== */

/* リンク */
.footer .footer-menu-col a {
  position: relative;
  display: block;
  transition: padding-left 0.4s ease, opacity 0.3s;
}

.footer .footer-menu .footer-menu-col{
  width:11rem;
}

.footer .footer-menu-col a:hover{
  opacity:1;
}

/* 左側の横線 */
.footer .footer-menu-col a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 1px;
  background: #FCFBF8;
  transform: translateY(-50%);
  transition: width 0.4s ease;
}

/* hover時：文字を右へ移動 */
.footer .footer-menu-col a:hover {
  padding-left: 20px;
  opacity: 1;
}

/* hover時：横線が出現 */
.footer .footer-menu-col a:hover::before {
  width: 10px;
}

.footer .footer-social-list a:hover{
  opacity:1;
  text-decoration:underline;
}
