@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

body {
  font-family: "M+PLUS+1p", YuGothic, sans-serif;
  font-size: 16px;
  color: #1F1F1F;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease;
}

/* アニメーションの定義 */
@keyframes fadeUp {
    0% {
        opacity: 0; /* 開始時は非表示 */
        transform: translateY(20px); /* 開始時は少し下に配置 */
    }
    100% {
        opacity: 1; /* 終了時は表示 */
        transform: translateY(0); /* 終了時は元の位置に移動 */
    }
}

/* 要素にアニメーションを適用 */
.fade-up-element {
    /* アニメーション名、再生時間、タイミング関数、遅延時間、繰り返し回数、終了時の状態 */
    animation: fadeUp 0.9s ease-out 0s 1 forwards;
    /* 初期状態（アニメーション開始前）を非表示にしておくことで、
       アニメーションが始まる前の "チラ見せ" を防ぐ */
    opacity: 0; 
}

img {
  max-width: 100%;
}

h1 {
  margin: 2px;
}

.marker01 {
  background: linear-gradient(transparent 70% , #FFC97A 70%);
}

.marker02 {
  background: linear-gradient(transparent 70% , #DFF2FF 70%);
}

.marker03 {
  background: linear-gradient(transparent 70% , #FCEBA3 70%);
}

.sp-br {
  display: none;
}

.sp-p {
  display: none;
}

.title {
  font-size: 40px;
  color: #F6881D;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  position: relative;
  display: inline-block;
}

.title:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  display: inline-block;
  width: 112px;
  height: 2px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #048CE2;
}

.subtitle {
  font-size: 16px;
  color: #D9741A;
  font-weight: bold;
}

/* ヘッダーここから */

#header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  justify-content: space-between;
  line-height: 1.9;
  z-index: 999;
}

.header-inner {
  color: #1F1F1F;
  background-color: #FFFAE5;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: space-between;
}

.header-logo {
  width: 118px;
  display: block;
  margin: 30px;
}

.header-site-menu {
  text-align: center;
}

.site-menu li {
  transition-property: all;
  transition-duration: 0.2s;
  transition-delay: 0s;
  transition-timing-function: ease;
}

.site-menu li:hover {
  color: #F6881D;
}

.site-menu ul {
  display: flex;
}

.site-menu ul {
  font-family: "M+PLUS+1p";
  font-weight: bold;
  font-size: 16px;
  display: flex;
}

.separator-line {
  color: #048CE2;
  margin: 0 8px;
}

.header-cta-sp {
  display: none;
}

/* ヘッダーctaここから */

.header-cta {
  display: flex;
  background-image: linear-gradient(0deg, #5dbaf5, #008ae6 30% 70%, #5dbaf5);
  color: #f5f5f7;
  height: 60px;
  width: 260px;
  margin: 15px 35px;
  border-radius: 10px;
  border: 2px solid #ffffff;
  padding: 4px 30px 4px 35px;
  font-weight: bold;
  font-size: 24px;
  transition-property: all;
  transition-duration: 0.2s;
  transition-delay: 0s;
  transition-timing-function: ease;
}

.header-cta:hover {
  opacity: 0.7;
}

.mail-icon {
  height: 24px;
  margin-top: 12px;
  margin-right: 8px;
}
/* ヘッダーctaここまで */
/* ヘッダーここまで */

/* strengthここから */

.strength-inner {
  max-width: 1000px;
  text-align: center;
  display: flex;
  align-items: center;
  margin: 70px auto 0 auto;
}

.strength-image01 img {
  display: block;
  width: 358px;
  height: 296px;
  border-radius: 20px 0 0 20px;
}

.strength-text01 {
  width: 642px;
  height: 296px;
  text-align: left;
  background-color: #fff;
  border-radius: 0 20px 20px 0;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 65px;
}

h3 {
  color: #F6881D;
  font-size: 24px;
  font-weight: bold;
}

h4 {
  color: #F6881D;
  font-size: 20px;
  font-weight: bold;
}

.strength-title01 {
  display: inline-block;
  border-bottom: 2px dotted #048CE2;
  margin-bottom: 8px;
  padding-right: 4em;
}

.strength-title02 {
  display: inline-block;
  border-bottom: 2px dotted #048CE2;
  margin-bottom: 8px;
  padding-right: 7em;
}

.strength-title03 {
  display: inline-block;
  border-bottom: 2px dotted #048CE2;
  margin-bottom: 8px;
  padding-right: 12em;
}

.strength-title04 {
  display: inline-block;
  border-bottom: 2px dotted #048CE2;
  margin-bottom: 8px;
  padding-right: 15em;
}

/* strengthここまで */

  /* CTAここから */
#cta {
  padding: 60px 0;
  background-image: url(/wp-content/themes/RANKUP/assets/images/common/contact-bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  display: block;
  max-width: 100%;
}

.cta-inner {
  max-width: 1000px;
  text-align: center;
  margin: 0 auto;
}

.cta-text-box p {
  margin: 40px 0;
}

.cta-button {
  display: flex;
  background-image: linear-gradient(0deg, #5dbaf5, #008ae6 30% 70%, #5dbaf5);
  color: #f5f5f7;
  height: 60px;
  width: 327px;
  margin: auto;
  border-radius: 10px;
  border: 2px solid #ffffff;
  padding: 7px 23px;
  font-weight: bold;
  font-size: 24px;
  transition-property: all;
  transition-duration: 0.2s;
  transition-delay: 0s;
  transition-timing-function: ease;
}

.cta-button:hover {
  opacity: 0.7;
}

.cta-button img {
  width: 37px;
  height: 14px;
  margin-top: 15px;
}

/* CTAここまで */

/* フッターここから */
#footer {
  font-size: 16px;
}

.footer-inner {
  color: #D9741A;
  background-color: #FCEBA3;
  padding: 16px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.footer-inner a {
  font-weight: bold;
  transition-property: all;
  transition-duration: 0.2s;
  transition-delay: 0s;
  transition-timing-function: ease;
  margin: 4px 0;
}

.footer-inner a:hover {
  color: #F6881D;
}

.page-top img {
  height: 60px;
  position: absolute;
  right: 35px;
  bottom: 35px;
  transition-property: all;
  transition-duration: 0.2s;
  transition-delay: 0s;
  transition-timing-function: ease;
}

.page-top img:hover {
  opacity: 0.7;
}

.copyright {
  font-size: 18px;
}

/* フッターここまで */

@media (max-width: 1253px) {

  #header{
    display: block;
  }

  .header-inner {
    height: 70px;
    display: flex;
  }
  
  .header-logo {
    width: 120px;
    margin: 14px;
  }

  .header-site-menu dl {
    color: #333333;;
    margin: 0;
  }

  .site-menu div:hover {
    transform: scale(1);
  }


  .site-menu {
    display: block;
    margin: 40px;
  }
  
  .header-site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFAE5;
    padding: 30px 0;
    opacity: 0;
    visibility: hidden;
    margin: 0 auto;
    transition: 0.3s;
    height: 565px;
  }

  .site-menu ul {
    display: flex;
    flex-direction: column;
  }

  .site-menu li {
    width: 10em;
    margin: 0 auto;
    display: inline-block;
    border-bottom: 2px solid #048CE2;
    margin-bottom: 8px;
  }

  .header-cta-sp {
    display: flex;
    background-image: linear-gradient(0deg, #5dbaf5, #008ae6 30% 70%, #5dbaf5);
    color: #f5f5f7;
    height: 60px;
    width: 260px;
    margin: 15px auto;
    border-radius: 10px;
    border: 2px solid #ffffff;
    padding: 4px 30px 4px 35px;
    font-weight: bold;
    font-size: 24px;
    transition-property: all;
    transition-duration: 0.2s;
    transition-delay: 0s;
    transition-timing-function: ease;
  }

  .site-menu div {
    margin-top: 0 !important;
  }

  .header-cta-sp:hover {
    opacity: 0.7;
  }

  .mail-icon {
    height: 24px;
    margin-top: 12px;
    margin-right: 8px;
  }

  .separator-line {
    display: none !important;
  }

  .header-site-menu.active {
    opacity: 1;
    visibility: visible;
  }

  #menu07 {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  #menu07 span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #048CE2;
    border-radius: 3px;
    transition: all 0.4s;
  }
  
  /* ここから */
  .list {
    display: flex;
    flex-wrap: wrap;
  }
  .item {
    position: relative;
    width: 33.33334%;
    height: 200px;
    padding-top: 80px;
    text-align: center;
    box-sizing: border-box;
    counter-increment: item;
  }

  .list {
    display: block;
  }
  .item {
    width: auto;
  }

  
  .menu-trigger,
  .menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
  }
  .menu-trigger {
    position: relative;
    width: 50px;
    height: 44px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
  }
  .menu-trigger span {
    position: absolute;
    right: 10px;
    width: 100%;
    height: 4px;
    background-color: #048CE2;
    border-radius: 4px;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 14px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }

  #menu07.active span:nth-of-type(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menu07.active span:nth-of-type(2) {
    opacity: 0;
  }

  #menu07.active span:nth-of-type(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  
  @keyframes menu07-bar03 {
    0% {
      transform: translateY(-10px) rotate(-45deg);
    }
    50% {
      transform: translateY(-10px) rotate(0);
    }
    100% {
      transform: translateY(0) rotate(0);
    }
  }

  @keyframes active-menu07-bar01 {
    0% {
      transform: translateY(0) rotate(0);
    }
    50% {
      transform: translateY(10px) rotate(0);
    }
    100% {
      transform: translateY(10px) rotate(45deg);
    }
  }
  #menu07.active span:nth-of-type(1) {
    animation: active-menu07-bar01 .75s forwards;
  }

  #menu07.active span:nth-of-type(2) {
    opacity: 0;
  }
  #menu07.active span:nth-of-type(3) {
    animation: active-menu07-bar03 .75s forwards;
  }
  @keyframes active-menu07-bar03 {
    0% {
      transform: translateY(0) rotate(0);
    }
    50% {
      transform: translateY(-17px) rotate(0);
    }
    100% {
      transform: translateY(-17px) rotate(-45deg);
    }
  }

  .site-menu dl {
    display: block;
  }

  .site-menu div {
    margin-top: 20px;
  }  

  .header-cta {
    display: none;
  }
  /* ヘッダーここまで */



  .sp-br {
    display: block;
  }

  h3 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;
  }

  /* strengthここまで */

  /* footerここから */
  .page-top img {
    bottom: 40px;
  }

  #footer {
    position: relative;
  }

  .footer-inner {
    display: flex;
    padding-top: 15px;
  }

  .footer-inner dl {
    margin-left: 0;
    margin-right: 0;
  }
  
  .copyright {
    font-size: 15px;
    text-align: center;
    margin-top: 0;
  }
  /* footerここまで */
}

@media (max-width: 430px) {
  .title {
    font-size: 24px;
  }

  .title {
    padding-bottom: 4px;
  }

  /* CTAここから */
  #cta {
    padding: 105px 0;
    display: block;
  }

  .cta-inner {
    max-width: 80%;
  }

  .cta-text-box p {
    margin: 40px 0 32px 0;
  }

  .cta-button {
    display: flex;
    background-image: linear-gradient(0deg, #5dbaf5, #008ae6 30% 70%, #5dbaf5);
    color: #f5f5f7;
    height: 60px;
    width: 297px;
    margin: auto;
    border-radius: 10px;
    border: 2px solid #ffffff;
    padding: 7px;
    font-weight: bold;
    font-size: 24px;
    transition-property: all;
    transition-duration: 0.2s;
    transition-delay: 0s;
    transition-timing-function: ease;
  }

  .cta-button:hover {
    opacity: 0.7;
  }

  .cta-button img {
    width: 37px;
    height: 14px;
    margin-top: 15px;
  }

  /* CTAここまで */

  /* footerここから */
  #footer {
    margin-top: 0;
    position: relative;
  }

  .footer-inner {
    display: flex;
    padding: 4px 0;
  }

  .footer-inner a:hover {
    color: #D9741A;
  }
  
  .copyright {
    font-size: 16px;
  }

  .page-top img {
    height: 40px;
    right: 10px;
    bottom: 112px;
  }
  /* footerここまで */
}

@media (max-width: 414px) {
  .pc-br {
    display:none;
  }
}