/*
Theme Name: Yellowmarkers
Description: Yellowmarkers
Author: tanaka
Version: 1.0
*/

@charset "UTF-8";

:root {
    --main-color: #f4d100;
    --text-color: #333333;
    --text-color-wh: #ffffff;
    --accent-color: #00008c;
    --main-text-size: 18px;
    --main-line-height: 2;
    --main-letter-spacing: 0.1em;
    --main-font-weight: 300;
}

html {
    scroll-behavior: smooth;
    font-size: var(--main-text-size);

}
input .apbct_email_id__wp_contact_form_7{
	display: none;
}
body {
    font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
    color: var(--text-color);
    background-color: var(--main-color);
    font-weight: var(--main-font-weight);
    letter-spacing: var(--main-letter-spacing);
    line-height: 2;
}
img {
    width: 100%;
    height: auto;
}

input[name^="apbct_"],
div[class*="apbct"],
span[class*="apbct"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-blue {
    color: var(--accent-color);
    font-weight: 600;
}

.mb-s {
    margin-bottom: 36px;
}

.br-sp {
    display: none;
}
.sp-only {
    display: none;
}


.btn {
    max-width: 429px;
}

.btn a {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    border: 4px solid var(--accent-color);
    background-color: #ffffff;
    text-align: center;
    padding: 43px 35px 45px 0;
    border-radius: 60px;
    position: relative;
    transition: .4s;
    line-height: 1;
}

.btn a::before {
    position: absolute;
    content: "";
    width: 104px;
    height: 82px;
    background: url(./img/icon-fly.webp) no-repeat center;
    background-size: contain;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}

.btn a:hover {
    color: var(--text-color-wh);
    background-color: var(--accent-color);
    transition: .4s;
}


@media screen and (max-width: 960px) {
.br-sp {
    display: block;
}

.pc-only {
    display: none;
}

.sp-only {
    display: block;
}

.inner {
    padding: 0 16px;
}

}
@media screen and (max-width: 320px) {
.inner {
    padding: 0 10px;
}
}

/*--------------
card layout
 --------------- */

.card-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.card-list__item {
    width: 31.81%;
    padding: 50px 40px;
    border: 1px solid #ffffff;
    border-radius: 40px;
    color: var(--text-color-wh);
}

.card__title {
    font-size: 1.11rem;
    line-height: 1;
    font-weight: 600;
    padding-bottom: 50px;
    border-bottom: 2px solid #ffffff;
    text-align: center;
    margin-bottom: 28px;
    font-family: "Noto Sans JP";
    white-space: nowrap;
}

.card-ui .card__title {
    margin-bottom: 22px;
}

.card-img {
    width: 73.33%;
    margin: 0 auto 30px;
}

.card-ui .card-img {
    width: 51%;
}

.card-img img {
    object-fit: cover;
}

.card__text {
    padding-top: 37px;
    border-top: 2px dotted #ffffff;
	letter-spacing: 0;
}

@media screen and (max-width: 960px) {
.card-list {
    flex-direction: column;
    justify-content: center;
}

.card-list__item {
    width: 73.04%;
    padding: 41px 30px;
}

.card__title {
    font-size: 1rem;
    padding-bottom: 40px;
    margin-bottom: 23px;
}

.card-ui .card__title {
    margin-bottom: 22px;
}

.card-img {
    width: 100%;
    margin: 0 auto 25px;
}

.card-ui .card-img {
    width: 51%;
}

.card__text {
    font-size: 1rem;
    padding-top: 30px;
}    
}

@media screen and (max-width: 767px) {
.card-list__item {
    width: 100%;
}

}

/*-------------------------*/

.kv-area {
    margin-bottom: 174px;
}

section {
    overflow: hidden;
}

/* ------------
header
------------- */
header {
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 30px 70px;
    margin-bottom: 67px;
}

.log {
    max-width: 292px;
}

.log img {
    object-fit: cover;
}

.header__text {
    font-weight: 600;
}

@media screen and (max-width: 960px) {
header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px 24px 0 24px;
    margin-bottom: 61px;
}

.hed-sp {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 34px;
}

.log {
    max-width: 180px;
    width: 43%;
}

.header__text {
    font-weight: 600;
    font-size: 0.77rem;
}

.btn a {
    display: block;
    text-align: center;
    font-size: 0.66rem;
    padding: 19px 59px 19px 26px;
    border: 2px solid var(--accent-color);
}

.btn a::before {
    position: absolute;
    content: "";
    width: 33px;
    height: 26px;
    right: 16px;
}
}

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


.btn a {
    padding: 16px 40px 16px 24px;
    letter-spacing: 0;
    box-sizing: border-box;
}

.btn a::before {
    position: absolute;
    content: "";
    width: 28px;
    height: 20px;
    right: 8px;
}
}

/*-------------
kv
 ------------- */
.kv {
    padding: 0 70px;
    position: relative;
} 

.slogan {
    width: 72.76%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.slogan::before {
    position: absolute;
    display: block;
    content: "";
    width: 56.1%;
    height: 88.7%;
    background: url(./img/big-ape.webp) no-repeat center;
    background-size: contain;
    top: -15%;
    right: -14.4%;
    z-index: -1;
}

.slogan img {
    object-fit: cover;
}

.slogan::after {
    position: absolute;
    display: block;
    content: "";
    width: 30.64%;
    height: 95%;
    background: url(./img/jump-ape.webp) no-repeat center;
    background-size: contain;
    bottom: 0;
    left: -14.4%;
    z-index: 10;
}

.kv-anim {
    width: 130px;
    height: 130px;
    margin: 0 auto;
    position: absolute;
    top: -7%;
    right: 7%;
}

.kv-anim__svg {
  width: 100%;
  height: 100%;
  animation: rotateText 8s linear infinite;
  transform-origin: center center;
  display: block;
}

@keyframes rotateText {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.kv-anim text {
  font-size: 6px;
  text-transform: uppercase;
  font-weight: 700;
}

.kv-anim  svg {
    overflow: visible;
    width: 100%;
    height: auto;
    display: block;
}

.kv-anim  text {
    fill: #fff;
    font-size: 18px;

}

.scroll-area {
    position: absolute;
    top: 0;
    right: 70px;
}

.kv-scroll {
    font-size: 0.83rem;
    letter-spacing: 0;
    font-weight: 600;
    padding-bottom: 8px;
    position: relative;
}

.kv-scroll::before {
    content: "";
    position: absolute;
    display: block;
    width: 24px; 
    height: 364px;
    background: url(./img/arrow.webp) no-repeat;
    background-size: contain;
    top: 24px;
    right: 50%;
    transform: translateX(-50%);
    animation: scroll 2s linear infinite;
}

@keyframes scroll {
0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
}

50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
}
51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
}
100% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
}
}

@media screen and (max-width: 1024px) {
.kv-anim {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    position: absolute;

}
}

@media screen and (max-width: 960px) {
.kv {
    padding: 0 24px;
    position: relative;
}

.kv-anim {
    top: 0;
    right: 19%;
}

.slogan {
    width: 100%;
}

.slogan::before {
    width: 60.3%;
    height: 79.7%;
    top: -6%;
    right: -5.4%;
}

.slogan::after {
    width: 25.21%;
    height: 82%;
    bottom: -130px;
    left: 0;
}


.scroll-area {
    position: absolute;
    top: 110%;
    right: 50%;
    transform: translateX(50%);
}

.kv-scroll {
    font-weight: 600;
}

.kv-scroll::before  {
    width: 24px;
    height: 2.5rem;
    background: url(./img/scroll_sp.webp) no-repeat center;
    background-size: contain;
    right: auto;
}
}

@media screen and (max-width: 768px) {
.kv {
    padding: 0 8px;
}
.kv-anim {
    top: -60px;
    right: 25%;
}
.kv-area {
    margin-bottom: 60px;
    height: 90vh;
}

.slogan {
    width: 100%;
}

.slogan::before {
    width: 62.3%;
    height: 100%;
    top: -21%;
    right: 0;
}

.slogan::after {
    width: 39.21%;
    height: 100%;
    bottom: -164px;
    left: -12px;
}

}
@media screen and (max-width: 767px) {
.kv-anim {
    width: 60px;
    height: 60px;
    top: -24px;
    right: 24%;
}


}

/*-------------
BRANDING
 ------------- */

#branding {
    margin-bottom: 120px;
}

.branding__wrapper {
    display: flex;
    justify-content: space-between;
}
.branding__text-area {
    width: 70.57%;
    padding-right: 9.16%;
}

.branding__title {
    font-size: clamp(1.375rem, 0.65rem + 3.62vw, 5rem);
    color: #a38c00;
    font-weight: 600;
    margin-bottom: 39px;
		line-height: 1;
}

.branding__title_bottom span {
    font-size: clamp(2.813rem, 1.375rem + 7.19vw, 10rem);
    letter-spacing: -0.02em;
    color: #a38c00;
	line-height: 1;
}

.branding__title_bottom  {
    font-size: clamp(3.75rem, 2.375rem + 6.88vw, 10.625rem);
    letter-spacing: -0.02em;
    font-weight: 600;
    color: #a38c00;
    position: relative;
    display: flex;
    align-items: baseline;
    margin-bottom: 60px;
    line-height: 1.2;
}

.branding__title_bottom::before {
    position: absolute;
    content: "ブランディング";
    display: block;
    color: #594c00;
    top: 0;
    left: 0;
    font-size: 18px;
}

.h1__wrapper {
    margin-bottom: 52px;
    color: var(--accent-color);
}

.h1__text {
    margin-bottom: 28px;
    font-weight: 600;
    line-height: 1;
}

.h1 {
    font-size: clamp(1.188rem, 0.925rem + 1.31vw, 2.5rem);
    font-weight: 700;
    line-height: 1.5;
}

.branding__text {
    margin-bottom: 55px;
}

.branding__text span {
    font-weight: 800;
    letter-spacing: 0.4em;
}

.branding__list {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin-bottom: 88px;
}

.branding__item {
    width: 9.4%;

}

.branding__icon {
    text-align: center;
    margin-bottom: 25px;
}

.branding-category {
    font-size: 1.11rem;
    letter-spacing: 0;
    text-align: center;
}


.branding__img-area {
    width: 65.3%;
}

@media screen and (max-width: 960px) {
#branding {
    margin-bottom: 30px;
}
	
.branding__wrapper {
		flex-direction: column;
	}

.branding__text-area {
    width: 100%;
    padding-right: 0;
}

.branding__title {
    margin-bottom: 27px;
}
.branding__title_bottom {
    margin-bottom: 30px;
}

.branding__title_bottom::before {
    font-size: 13px;
}

.h1__wrapper {
    margin-bottom: 38px;
}

.h1__text {
    font-size: 0.77rem;
    margin-bottom: 16px;
}

.branding__text {
    font-size: 0.77rem;
    margin-bottom: 55px;
}

.branding__list {
    margin-bottom: 64px;
}


.branding__img-area {
    width: 100%;
}
.branding-category {
    font-size: 0.77rem;
}
}
@media screen and (max-width: 320px) {
.branding__title_bottom  {
    font-size: 60px;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: #a38c00;
    position: relative;
    display: flex;
    align-items: baseline;
}

.branding__title_bottom span {
    font-size: 48px;
    letter-spacing: -0.02em;
    color: #a38c00;
}

}

/*-------------
value
 ------------- */
#value {
    margin-bottom: 148px;
}

.value__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.value__img-area {
    width: 24.45%;
}

.value__img-area {
    object-fit: cover;
}

.value__inner {
    width: 67.5%;
}
.value__text-area {
    margin-bottom: 39px;
    padding-left: 101px;
}

.value-h2 {
    font-size: 2.22rem;
    margin-bottom: 62px;
    color: var(--accent-color);
    font-weight: 600;
}

.logo__list {
    width: 100%;
    background-color: #ffffff;
    border-radius: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 84px;
    padding: 91px 94px;
}

.logo__item:first-child {
    width: 33.78%;
}

.logo__item:nth-child(2) {
    width: 31.64%;
}

.logo__item:nth-child(3) {
    width: 25.47%;
}
.logo__item:nth-child(4) {
    width: 12.12%;
}
.logo__item:nth-child(5) {
    width: 12.86%;
}

.logo__item:nth-child(6) {
    width: 17.95%;
}
.logo__item:nth-child(7) {
    width: 13.91%;
}
.logo__item:nth-child(8) {
    width: 8.64%;
}

@media screen and (max-width: 1024px) {
.value__text-area {
    padding-left: 24px;
}
}

@media screen and (max-width: 960px) {
#value {
    margin-bottom: 55px;
}

.value__img-area {
    width: 37.43%;
    margin-right: -30%;
}

.value__inner {
    width: 100%;
}

.value__text-area {
    margin-bottom: 27px;
    padding-left: 33.69%;
}

.value-h2 {
    font-size: 1.66rem;
    margin-bottom: 64px;
}

.value__text {
    font-size: 0.77rem;
}

.logo__list {
    gap: 39px;
    padding: 33px 45px;
    background-color: rgb(255, 255, 255, 90%);
}

.logo__item:first-child {
    width: 37.02%;
}

.logo__item:nth-child(2) {
    width: 34.6%;
}

.logo__item:nth-child(3) {
    width: 28.32%;
}
.logo__item:nth-child(4) {
    width: 16.7%;
}
.logo__item:nth-child(5) {
    width: 22.53%;
}

.logo__item:nth-child(6) {
    width: 20.59%;
}
.logo__item:nth-child(7) {
    width: 16.25%;
}
.logo__item:nth-child(8) {
    width: 10.9%;
}
}


@media screen and (max-width: 767px) {
.value-h2 {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.value__img-area {
        width: 42.43%;
    }
.logo__list  {
	padding: 16px;
	gap: 24px;
	}
}

/*-------------
About
 ------------- */
#about {
    overflow: hidden;
    position: relative;
}

.swiper img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}
.about__wrapper {
    max-width: 1320px;
    margin: 0 auto;
    color: var(--text-color-wh);
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 15%;
    right: 15%;
}

.about-h2 {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: -0.025em;
    font-weight: 600;
}

.about-h2__text {
    display: inline-block;
    font-size: clamp(2.5rem, 1.333rem + 2.43vw, 4.25rem);
    letter-spacing: -0.025em;
    font-weight: 600;
    margin-left: 15px;
    line-height: 1;
}

.bg-bl {
    padding: 8px;
    background-color: var(--accent-color);
}

.about-h2__text:last-child {
    padding-top: 34px;
}

.about__text-area {
    width: 50%;
    padding: 184px 0 0 0;
}



.about__title-inner {
    display: flex;
    align-items: baseline;
    margin-bottom: 26px;
}

.about__title-img {
    width: 75.64%;
}

.about__title-img img {
    object-fit: cover;
}

.about__title-lead {
    font-size: 3.33rem;
    letter-spacing: 0;
    font-weight: 600;
}

.about__title-text {
    font-size: 1.72rem;
    margin-bottom: 70px;
    white-space: nowrap;
}

.about__title-text span {
    border-bottom: 2px solid #ffffff;
}



.about__text {
    line-height: 2;
    white-space: nowrap;
}

.about__text:nth-child(3) {
    margin-bottom: 36px;
}

@media screen and (max-width: 1440px) {
.about__title-text {
    margin-bottom: 20px;
}
.about__text-area {
    padding: 144px 0 0 0;
}
}
@media screen and (max-width: 1439px) {
.about__wrapper {
    left: 24px;
    right: 24px;
}

}


@media screen and (max-width: 960px) {
.about-h2 {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: -0.025em;
}

.about-h2__text {
    display: inline-block;
    font-size: 2.2rem;
    letter-spacing: -0.025em;
    margin-left: 15px;
}

.about__wrapper {
    flex-direction: column;
    left: 24px;
}

.about-h2__text:last-child {
    padding-top: 16px;
}

.about__text-area {
    width: 100%;
    padding: 90px 0 0 0;
    margin-bottom: 62px;
    
}

.about__title-inner {
    display: flex;
    align-items: baseline;
    margin-bottom: 26px;
}

.about__title-img {
    width: 65.21%;
    
}
.about__title-lead {
    font-size: 2rem;
}

.about__title-text {
    font-size: 0.88rem;
    margin-bottom: 30px;
}

.about__text {
    line-height: 1.3;
}
.about__text:nth-child(3) {
    margin-bottom: 28px;
}    
}
@media screen and (max-width: 768px) {
.about {
    padding: 0 24px;
}

.about-h2__text {
    display: inline-block;
    font-size: 2rem;
    letter-spacing: -0.025em;
    margin-left: 8px;
}

.about__wrapper {
    flex-direction: column;
    left: 16px;
}

.about-h2__text:last-child {
    padding-top: 16px;
}

.about__text-area {
    width: 100%;
    padding: 45px 0 0 0;
    margin-bottom: 31px;
}

.about__title-inner {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
}

.about__title-img {
    width: 55.21%;
    
}
.about__title-text {
    font-size: 0.77rem;
    margin-bottom: 16px;
}

.about__text {
    font-size: 0.77rem;
    white-space: unset;
}

.about__text:nth-child(3) {
    margin-bottom: 16px;
}    

}

@media screen and (max-width: 360px) {
.about__text-area {
    padding: 16px 0 0 0;
}
}

/*-------------
SOLUTION PACK
 ------------- */
#solution {
    background-color: var(--accent-color);
    padding: 174px 0 154px 0;
}

.solution__title-area {
    position: relative;
    margin-bottom: 220px;
}

.solution__title-img {
    width: 46.9%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-bottom: 19px;
}

.solution__title-area::before {
    position: absolute;
    content: "SOLUTION PACK";
    font-weight: 600;
    font-size: clamp(3rem, 0.95rem + 10.25vw, 13.25rem);
    color: #060671;
    top: -124px;
    left: 10%;
    z-index: 0;
    white-space: nowrap;
}

.solution__title-img img {
    object-fit: cover;
}

.solution__title--bg {
    background-color: var(--main-color);
    border-radius: 16px;
    max-width: 667px;
    margin: 0 auto;
}

.solution-h2 {
    text-align: center;
    font-size: 2.33rem;
    color: var(--accent-color);
    font-weight: 600;
    text-align: center;
    padding: 23px 36px 23px 34px;
    position: relative;
    white-space: nowrap;
}

.solution-h2::before {
    position: absolute;
    display: block;
    content: "";
    width: 60px;
    height: 20px;
    border-style: solid;
    border-right: 29px solid transparent;
    border-left: 29px solid transparent;
    border-top: 25px solid #f4d100;
    border-bottom: 0;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.solution-box {
    margin-bottom: 158px;
}

.solution__contents {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.solution-card {
    margin-top: 151px;
}

.story .solution__contents {
    margin-bottom: 75px;
}

.story .solution-h3 {
    margin-bottom: 108px;
}

.solution__img {
    width: 50%;
}

.solution__img img {
    object-fit: cover;
}

.solution-top {
    width: 79.35%;
    padding-left: 2.8%;
}

.solution-center {
    width: 81.06%;
}

.solution-bottom {
    width: 85%;
}

.solution__content-text-area {
    width: 42.5%;
}

.solution-h3 {
    font-size: 4.44rem;
    letter-spacing: 0;
    color: var(--text-color-wh);
    font-weight: 600;
    margin-bottom: 24px;
}


.solution-h4 {
    font-size: 2.22rem;
    line-height: 2;
    color: var(--text-color-wh);
    margin-bottom: 98px;
    font-weight: 600;
}

.solution__text {
    line-height: 2;
    color: var(--text-color-wh);
}

.story-card {
    position: relative;
}


.time--circle {
    width: 104px;
    height: 104px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -74px;
    left: 50%;
    transform: translateX(-50%);
}

.card-time {
    font-family: "Noto Sans JP";
    color: var(--accent-color);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.time {
    font-size: 2.5rem;
    font-weight: 700;
}



@media screen and (max-width: 960px) {
#solution {
    padding: 124px 0 60px 0;
}

.solution__title-area {
    margin-bottom: 39px;
}

.solution__title-img {
    width: 80.08%;
    margin-bottom: 12px;
}

.solution__title-area::before {
    top: -62px;
    left: 10%;
}

.solution__title--bg {
    max-width: 400px;
}

.solution-h2 {
    font-size:1.38rem;
    padding: 13px 16px;
}

.solution-h2::before {
    position: absolute;
    display: block;
    content: "";
    width: 37px;
    height: 10px;
    border-style: solid;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    border-top: 25px solid #f4d100;
    border-bottom: 0;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.solution-box {
    margin-bottom: 60px;
}

.solution__contents {
    flex-direction: column;
    align-items: center;
}

.story .solution-h3 {
    margin-bottom: 108px;
}

.solution__img {
    width: 100%;
}

.solution__text {
    font-size: 0.77rem;
    margin-bottom: 14px;
}

.solution-top {
    width: 100%;
    padding-left: 0;
}

.solution-center {
    width: 100%;
}

.solution-bottom {
    width: 100%;
}

.solution__content-text-area {
    width: 100%;
}

.solution-h3 {
    font-size: 2.61rem;
    margin-bottom: 28px;
    text-align: center;
}


.solution-h4 {
    font-size: 1.44rem;
    margin-bottom: 42px;
}


.time--circle {
    width: 58px;
    height: 58px;
    top: -37px;
}

.card-time {
    font-size: 0.77rem;
}

.time {
    font-size: 1.5rem;
    letter-spacing: 0;
}

.story .card-list {
    gap: 64px;
}


}

@media screen and (max-width: 500px) {
.solution__title-area::before {
    left: 0;
}


}

@media screen and (max-width: 425px) {
.solution-h2 {
    font-size:1rem;
}
}

/*-------------
BRAND
 ------------- */
#brand {
    padding: 160px 0;
}

.brand__text-area {
    width: 52.87%;
}

.brand-h2 {
    font-size: 3.88rem;
    color: var(--accent-color);
    font-weight: 600;
    line-height: 1.57;
    margin-bottom: 103px;
}

.brand__wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.brand__item {
    display: flex;
    color: #131313;
}

.brand__item:first-child {
    padding-bottom: 50px;
}

.brand__item:nth-child(2) {
    padding: 50px 0;
    border-top: 1px dashed #958210;
    border-bottom: 1px dashed #958210;
}

.brand__item:last-child {
    padding-top: 50px;
}

.brand__title-area {
    width: 258px;
}

.brand__item-title {
    display: inline;
    font-size: 1.66rem;
    font-weight: 600;
    background-color: #ffffff;
}


.brand__img-area {
    width: 46%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 11px;
}

.brand-h3 {
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: #131313;
    font-size: 3.33rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.5;
}

.brand-ape {
    width: 39.9%;
    padding-top: 127px;
}

@media screen and (max-width: 960px) {
#brand {
    padding: 59px 0;
}

.brand__wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 55px;
}
.brand__text-area {
    width: 100%;
}

.brand-h2 {
    font-size: 2.22rem;
    margin-bottom: 52px;
}

.brand__item {
    flex-direction: column;
    gap: 21px;
}
.brand-h3 {
		letter-spacing: 0.1em;
	}
.brand__item:first-child {
    padding-bottom: 44px;
}

.brand__item:nth-child(2) {
    padding:  40px 0 44px 0;
}

.brand__item:last-child {
    padding-top: 40px;
}

.brand__title-area {
    width: 111px;
}

.brand__item-title {
    font-size: 1.11rem;
}


.brand__img-area {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 63px;
}

.brand-h3 {
    font-size: 1.94rem;
}

.brand-ape {
    width: 32.17%;
    padding-top: 0;
}

}

/*-------------
case
 ------------- */
#case {
    margin-bottom: 93px;
    position: relative;
    overflow: hidden;
}

.slid-area {
    display: flex;
}
.case-bg_top {
    position: absolute;
    top: 425px;
    left: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    margin-inline: calc(50% - 50vw);
}

.case-bg_bottom {
    position: absolute;
    z-index: -1;
    bottom: 425px;
    left: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    margin-inline: calc(50% - 50vw);
}

.case-bg_top:nth-child(odd) {
    animation: MoveLeft 12s  -6s infinite linear;
}

.case-bg_top:nth-child(even) {
    animation: MoveLeft2 12s infinite linear;
}

.case-bg_bottom:nth-child(odd) {
    animation: MoveRight 12s  -6s infinite linear;
}

.case-bg_bottom:nth-child(even) {
    animation: MoveRight2 12s  infinite linear;

}

.slid {
    display: flex;
    height: 86px;
    margin-inline: calc(50% - 50vw);
}

.slide-img {
    width: auto;
    height: 100%;
    flex-shrink: 0;
}

.slide-img img {
    width: auto;
    height: 100%;
object-fit: contain;

}

.footer-slide {
    animation: MoveLeft 16s  infinite linear;
    height: auto;
    width: 100%;
    display: flex;
}

.slide-text {
    font-size: 162px;
    color: #060671;
    flex-shrink: 0;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    margin-right: 32px;
}

@keyframes MoveLeft {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes MoveLeft2 {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(-200%)
    }
}

@keyframes MoveRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes MoveRight2 {
    0% {
        transform: translateX(-200%)
    }
    100% {
        transform: translateX(0)
    }
}

#case .inner {
    position: relative;
}

.case-lead {
    position: absolute;
    top: 36px;
    right: 0;
    display: flex;
    flex-direction: column;
}

.case-lead__text {
    display: inline;
    background-color: #ffffff;
    border-bottom: 1px solid var(--text-color);
    margin-bottom: 8px;
    font-weight: 500;
    padding: 11px 13px 7px 15px;
}

.case__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6%;
}

.case__item {
    width: 46.96%;
    background-color: #ffffff;
    border-radius: 40px;
    padding: 30px 30px 40px 30px;
    position: relative;

}

.case__item:nth-child(odd){
    margin-top: 20px;
    margin-bottom: 300px;
}

.case__item:nth-child(even) {
    margin-top: 300px;
}

.case__title {
    line-height: 1;
    color: var(--accent-color);
    font-weight: 600;
    font-family: "Noto Sans JP";
    position: absolute;
    top: -15px;
    left: 30px;
}

.case__no {
    font-size: 1.83rem;
    position: absolute;
    top: -28px;
    right: 30px;
    color: var(--accent-color);
    font-weight: 600;
    font-family: "Noto Sans JP";
}

.case__img {
    margin-bottom: 27.5px;
}

.case-h4 {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 43px;
}

.case__text {
    padding-left: 21px;
    
}

.case-btn {
    display: block;
    width: 229px;
    font-size: 1.25rem;
    color: var(--text-color-wh);
    font-weight: 500;
    font-style: italic;
    background-color: var(--accent-color);
    margin: 59px auto 0;
    text-align: center;
    padding: 16px 0;
    border-radius: 60px;
    border: 2px solid var(--accent-color);
    transition: .4s;
    cursor: pointer;
    line-height: 1;
}
.case-btn:hover {
    color: var(--accent-color);
    background-color: var(--text-color-wh);
    border: 2px solid var(--accent-color);
    transition: .4s;
}

/* モーダル */
.case-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    z-index: 1000;
    overflow-y: auto;
    padding-top: 120px;
}

.modal__inner {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.modal-text__area {
    overflow: hidden;
    width: 46.68%;
}

.modal-h3 {
    width: 67.79%;
    max-width: 379px;
    margin-bottom: 31px;
}

.modal-h3 img {
    object-fit: cover;
}

.modal-h3_w {
    width: 61.12%;
}

.modal-h3_sm {
    width: 14.19%;
}

.modal__text {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color-wh);
}

.modal-h4 {
    font-size: 1.33rem;
    font-weight: 600;
    color: #f4d100;
    line-height: 1.5;
    margin: 62px 0 41px 0;
}

.modal__inner-item {
    font-size: 0.77rem;
    margin-bottom: 33px;
}

.modal__inner-title {
    color: #00d2ff;
}

.modal__inner-text {
    color: var(--text-color-wh);

}

.modal__img-area {
    width: 46.68%;
}

.modal__btn {
    display: block;
    position: absolute;
    top: -9%;
    right: 0;
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.modal__btn::before, .modal__btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 48px;
    background-color: #FFFEF9;
}

.modal__btn::before {
    transform: translate(-50%,-50%) rotate(45deg);
}

.modal__btn::after {
    transform: translate(-50%,-50%) rotate(-45deg);

}

@media screen and (max-width: 1024px) {
.case-lead {
    right: 24px;
}    
}

@media screen and (max-width: 960px) {
#case {
    margin-bottom: 71px;
}
.case-lead {
    position: static;
    margin: 0 auto 58px auto; 
    align-items: center;
}

.case-lead__text {
    display: inline;
    background-color: #ffffff;
    border-bottom: 1px solid var(--text-color);
    margin-bottom: 8px;
    padding: 11px 13px 7px 15px;
}

.case__list {
    flex-direction: column;
}

.case__item {
    width: 100%;
    padding: 22px 22px 29px 22px;
    margin-bottom: 72px;
}

.case__item:nth-child(odd){
    margin-bottom: 0;
    margin-bottom: 72px;

}

.case__item:nth-child(even) {
    margin-top: 0;
    margin-bottom: 72px;

}

.case__title {
    font-size: 0.72rem;
    top: -9px;
    left: 27px;
}

.case__no {
    font-size: 1.38rem;
    top: -30px;
    right: 28px;
}

.case__img {
    margin-bottom: 19px;
}

.case-h4 {
    font-size: 0.88rem;
    margin-bottom: 27px;
}

.case__text {
    font-size: 0.77rem;
    padding-left: 0;
    
}

.case-btn {
    width: 169px;
    font-size: 0.83rem;
    margin: 44px auto 0;
    padding: 18px 0;
}

.modal__inner {
    flex-direction: column;
}

.modal-text__area, .modal__img-area {
    width: 100%;
}

.modal__img-area {
    padding-right: 6%;
}
.modal__btn {
    position: fixed;
    top: 8px;
    right: 10px;

}
}

@media screen and (max-width: 767px) {
.case-modal {
    padding-top: 60px;
}



.case-lead__text {
    font-size: 1rem;
    padding: 11px 6px 7px 15px;
}

.case-bg_bottom {
    bottom: 325px;
}

.modal__text {
    font-size: 0.77rem;
}

.modal-h4 {
    font-size: 1.11rem;
    font-weight: 600;
    color: #f4d100;
    line-height: 1.5;
    margin: 62px 0 41px 0;
}

}

/*-------------
CTA
 ------------- */

.cat__wrapper {
    display: flex;

}

.cat-img {
    width: 28.93%;
}

.cat__text-area {
    width: 68.25%;
    padding-left: 8.48%;
}

.cat-h3 {
    color:#000000;
    font-size: 2.37rem;
    font-weight: 600;
    margin-bottom: 56px;
	line-height: 1.5;

}

.cat-time {
    font-size: 6.75rem;
    font-weight: 700;
    color: var(--accent-color);
    display: inline-block;
    line-height: 1;
}

.sml {
    font-size: 1.75rem;
}

.bg-blue {
    color: var(--text-color-wh);
    padding: 8px 4px 8px 8px;
    background-color: var(--accent-color);
	display: inline-block;
	margin-top: 4px;
}

.cat__text {
    margin-bottom: 63px;
}

.plan__list {
    margin-bottom: 46px;
}

.plan__item {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 2.435;
    
}


.plan__item span {
    display: inline-block;
    line-height: 2.435;
    border-bottom: 1px solid;

}

.cat-info {
    display: inline-block;
    color: var(--text-color-wh);
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 23px 31px 23px 26px;
    background-color: #a38c00;
    border-radius: 20px;
    position: relative;
    margin: 0 0 24px 57px;
}

.cat-info::before {
    position: absolute;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    border-style: solid;
    border-right: 10px solid transparent;
    border-left: 20px solid transparent;
    border-top: 15px solid #a38c00;
    border-bottom: 0;
    top: 20px;
    left: -15px;
}

.cat-info::after {
    position: absolute;
    display: block;
    content: "";
    width: 57px;
    height: 127px;
    background: url(./img/cat.webp) no-repeat center;
    background-size: contain;
    top: 50%;
    left: -77px;
    transform: translateY(-50%);
}

@media screen and (max-width: 1024px) {
.cat__text-area {
    width: 68.25%;
    margin-bottom: 16px;
}
}

@media screen and (max-width: 960px) {
.cat__wrapper   {
    align-items: center;
    justify-content: space-between;
}  
.cat-img {
    width: 40.43%;
}

.cat__text-area {
    width: 60.65%;
    padding-left: 0;
}

.cat-h3 {
    font-size: 1.38rem;
    margin-bottom: 36px;
    line-height: 1.5;
}

.cat-time {
    font-size: 4.16rem;
}

.sml {
    font-size: 1.05rem;
}

.bg-blue {
    display: inline-block;
    margin-top: 4px;
    padding: 9px 12px;
}

.cat__text {
    font-size: 0.77rem;
    margin-bottom: 32px;
}

.plan__list {
    margin-bottom: 55px;
}

.plan__item {
    font-size: 0.77rem;
}

.cat-info {
    margin-left: 15%;
	margin-bottom: 16px;
}
}

@media screen and (max-width: 430px) {
.cat-info {
    margin-left: -7%;
}

.plan__item {
    font-size: 0.68rem;
}
}

/* contact */
.contact {
    padding: 107px 6.43% 115px 6.43%;
    border-radius: 36px;
    background-color: #0e37ae;
    color: var(--text-color-wh);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 100;
}

.contact-title__area {
    width: 19.31%;
}

.contact-h3 {
    font-size: 4.55rem;
    font-weight:500;
    font-style: italic;
    line-height: 1.79;
    letter-spacing: 0;
    position: relative;
}

.contact-h3::before {
    position: absolute;
    content: "お問い合わせ";
    display: block;
    font-size: 1rem;
    letter-spacing: 0;
    top: 0;
    left: 0;
    font-weight: 400;
    font-style: normal;
}

.form {
    width: 65.27%;


}

.form__list {
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    column-gap: 50px;
    row-gap: 0.88rem;
    margin-bottom: 51px;
}


.form__item {
    width: 100%;
}

.form__item:nth-child(4) {
    margin-top: -68px;
}

.form__title {
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1;
}

.form__title--ye, .form__title--bl {
    font-size: 0.77rem;
    padding-left: 15px;
}

.form__title--ye {
    color: #ffda00;
}

.form__title--bl {
    color: #52ccff;
}

.form__text-area {
    width: 100%;
    height: 30px;
    border-radius: 8px;
    background-color: #224dc9;
	padding: 8px;
}

.form__text-area--lo {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    background-color: #224dc9;
	padding: 8px;
}
.wpcf7-form textarea {
  color: #fff;
}

.screen-reader-response {
	display: none;
}



.contact-btn {
	width: 100%;
    display: block;
    padding: 32px 0;
    background-color: #ffffff;
    border-radius: 80px;
    border: 4px solid var(--accent-color);
    color: var(--accent-color);
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-left: 47px;
    transition: .4s;
    cursor: pointer;
}

.contact-btn:hover {
    background-color: var(--main-color);
    transition: .4s;
}

.contact-btn::before {
    position: absolute;
    content: "";
    width: 65px;
    height: 52px;
    background: url(./img/icon-fly.webp) no-repeat center;
    background-size: contain;
    top: 50%;
    left: 85px;
    transform: translateY(-50%);
}

.contact-btn::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 50px;
    background: url(./img/arrow_wh.webp) no-repeat center;
    background-size: 23px 18px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  font-size: 18px; 
  color: #ffffff;  
}


@media screen and (max-width: 1024px) {
.contact-btn::before {
    left: 55px;
}
}

@media screen and (max-width: 960px) {
.contact {
    padding: 56px 6.43% 51px 6.43%;
    flex-direction: column;
}

.contact-title__area {
    width: 100%;
}


.form {
    width: 100%;
}

.form__list {
    grid-auto-flow: row;
    grid-template-rows: none;
    gap: 17px;
    margin-bottom: 50px;
}

.form__item:nth-child(4) {
    margin-top: 0;
}

.contact-btn {
	display: block;
    font-size: 0.77rem;
    padding: 21px 0;
    border: 2px solid var(--accent-color);
}

.contact-btn::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 36px;
    background: url(./img/icon-fly.webp) no-repeat center;
    background-size: contain;
    top: 50%;
    left: 85px;
    transform: translateY(-50%);
}

.contact-btn::after {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    background: url(./img/arrow_wh.webp) no-repeat center;
    background-size: 23px 18px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
}

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

.contact-btn::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 36px;
    left: 10px;
}


}

@media screen and (max-width: 425px) {
.contact {
    padding: 48px 32px;
}
    .contact-btn a::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 26px;
    left: 8px;
}
    .contact-btn a {
    font-size: 0.66rem;
}
.contact-btn:after {
    position: absolute;
    content: "";
    width: 25px;
    height: 25px;
    background: url(./img/arrow_wh.webp) no-repeat center;
    background-size: 13px 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}
}

/*-------------
FOOTER
 ------------- */
footer {
    background-color: var(--accent-color);
    padding: 411px 0 100px 0;
    margin-top: -308px;
    position: relative;
    overflow: hidden;
}


footer .inner {
    display: flex;
    align-items: flex-end;
    gap: 27.57%;
    color: var(--text-color-wh);
    font-size: 0.77rem;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 221px;
}

.company-img {
    max-width: 291px;
    margin-bottom: 27px;
}
.company-text {
    font-size: 0.77rem;
}
.access {
    display: flex;
    align-items: center;
}

.access li {
    white-space: nowrap;
}

.access li:nth-child(n+2) {
    margin-left: 0.77rem;
}

small {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-align: center;
    color: var(--text-color-wh);

}

@media screen and (max-width: 1024px) {
footer {
    background-color: var(--accent-color);
    padding: 411px 0 0 0;
}
}

@media screen and (max-width: 960px) {
footer {
    padding: 180px 0 80px 0;
    margin-top: -85px;
}

footer .inner {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 61px;
}

.company-img {
    max-width: 245px;
    margin-bottom: 35px;
}
.company-text {
    font-size: 0.66rem;
}

.access li:nth-child(n+2) {
    margin-left: 0.66rem;
}

.company {
    margin-top: 45px;
}
}

@media screen and (max-width: 767px) {
footer {
    padding: 180px 0 0 0;
}    
.access {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.access li:nth-child(n+2) {
    margin-left: 0;
}
}


/* THANKS */
.thanks {
    padding: 0 24px;
}

.thanks__h1 {
    width: 50%;
    margin: 80px auto;
    
}

.thanks__text {
    font-weight: 600;
    text-align: center;
}