@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 共通 */

:root {
  --webson-main-color: #1B2F60;
  --webson-main-color-light: #EDF2FF;
  --webson-sub-color: #FFDE59;
  --webson-gray-color: #F5F5F5;
}

.contentWidth {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2%;
  padding-right: 2%;
}

/* Cocoonのマージン消す */
.home .header-container {
/*   display: none; */
}

.home .header-container.fixed-header {
  display: block;
}

.home #main {
  padding: 0;
}

.home #content {
  margin: 0;
}

.home ul{
  padding-left: 0;
}

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

@media screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* セクション共通 */

.wrapper>section:not(.fv):not(.cta):not(.topLead) {
  padding: 120px 0;
}

@media screen and (max-width: 768px) {
  .wrapper>section:not(.fv):not(.cta):not(.topLead) {
    padding: 60px 0;
  }
}

/* コンポーネント */
.c-sectionTitle {
  padding-left: 1em;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.08em;
  position: relative;
  margin-bottom: 1em;
  position: relative;
}

@media screen and (max-width: 768px) {
  .c-sectionTitle {
    font-size: 28px;
  }
}

.c-sectionTitleText {
  position: relative;
  z-index: 2;
}


.c-sectionTitle::before {
  content: '';
  display: block;
  width: 140px;
  height: 140px;
  margin-bottom: 16px;
  background-image: url(./assets/images/webson-arrow.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -.5em;
  left: 0;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .c-sectionTitle::before {
    width: 100px;
    height: 100px;
  }
}

.c-sectionLead {
  padding-left: 1em;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.75;
  letter-spacing: 0.13em;
}

@media screen and (max-width: 768px) {
  .c-sectionLead {
    font-size: 16px;
  }
}

/* ボタン */
.c-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  min-height: 50px;
  padding: .6em 1.2em;
  color: var(--webson-main-color);
  background-color: var(--webson-sub-color);
  text-decoration: none;
  border-radius: 10px;
}

/* トップページファーストビュー */
.fv {
  background-image: url(./assets/images/fv-bg.jpg);
  background-size: cover;
  background-position: center;
  height: 638px;
  height: 80vh;
}

@media screen and (max-width: 768px) {
  .fv {
    background-position: right bottom;
  }
}

.fv-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.fv-mainCopy {
  font-weight: 800;
  font-size: 59px;
  line-height: 1.23728813559322;
  letter-spacing: 0.13em;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
  .fv-mainCopy {
    font-size: 32px;
  }
}

.fv-subCopy {
  margin-top: 16px;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.75;
  letter-spacing: 0.13em;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
  .fv-subCopy {
    font-size: 16px;
  }
}

.fv-nav {
  margin-top: 16px;
}

.fv-navLink {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4375;
}

@media screen and (max-width: 768px) {
  .fv-navLink {
    font-size: 14px;
  }
}


/* トップページ リード */

.topLead {
  background-color: var(--webson-main-color);
  padding: 32px 0;
  color: #fff;
  line-height: 1.66;
}



.topLead-inner {}

.contentWidth {}

.topLead-title {
  font-weight: 600;
  font-size: 32px;
  letter-spacing: 0.1em;
  text-align: justify;
}

@media screen and (max-width: 768px) {
  .topLead-title {
    font-size: 24px;
  }
}

.topLead-title-em {
  font-weight: 600;
  font-size: 40px;
  letter-spacing: 0.08em;
  color: #FFDE59;
}

@media screen and (max-width: 768px) {
  .topLead-title-em {
    font-size: 24px;
  }
}


/* topAbout */
.topAbout {
  background-color: var(--webson-main-color-light);
}

.topAbout-inner {
  max-width: unset;
  padding: 0 calc(50% - 600px);
  display: flex;
  gap: 10px;
}

@media screen and (max-width: 768px) {
  .topAbout-inner {
    flex-direction: column;
  }
}

.topAbout-titleBlock {
  /* flex: 1; */
  position: sticky;
  top: 120px;
}

@media screen and (max-width: 768px) {
  .topAbout-titleBlock {
    position: static;
    margin-bottom: 2em;
  }
}

.topAbout__title::before {
  display: none;
}

@media screen and (max-width: 768px) {
  .topAbout__title::before {
    display: block;
  }
}

.topAbout__arrow {
  width: min(500px, 31.25vw);
  margin-top: -260px;
  position: relative;
  z-index: -1;
  transform: rotate(15deg);
}

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

.topAbout__photo {
  width: 300px;
}

@media screen and (max-width: 768px) {
  .topAbout__photo {
    width: 120px;
  }
}

.topAbout__text {
  padding: 80px;
  /* flex: 1 0 0; */
  /* min-width: 600px; */
  background-color: #fff;
  text-align: justify;
}

@media screen and (max-width: 768px) {
  .topAbout__text {
    padding: 20px;
  }
}

/* top-worries */

.topWorries__content {
  display: flex;
  align-items: flex-end;
}

@media screen and (max-width: 768px) {
  .topWorries__content {
    flex-direction: column-reverse;
  }
}


.topWorries__list {
  list-style: none;
  padding-left: 0;
  flex: 1.5 0 0;
}

.topWorries__item {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.75;
  letter-spacing: 0.13em;
}

@media screen and (max-width: 768px) {
  .topWorries__item {
    font-size: 16px;
    padding-left: 0;
    flex-direction: column;
  }
}

.topWorries__item::before {
  content: "";
  display: block;
  background-image: url(./assets/images/top/moyamoya.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .topWorries__item::before {
    width: 70px;
    height: 70px;
  }
}

.topWorries__itemText {
  display: block;
}

.topWorries__image {
  flex: 1 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.topWorries__image img {
  width: 60%;
  object-fit: contain;
}

.topWorries__suggest {
  margin-top: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.topWorries__suggestText {
  font-style: normal;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .topWorries__suggestText {
    font-size: 24px;
    flex-direction: column;
  }
}

.topWorries__suggestText::before {
  content: "";
  display: block;
  background-image: url(./assets/images/top/ico-light.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}


/* .topSolution */

.topSolution {
  background-color: var(--webson-main-color-light);
  padding-bottom: 300px !important;
}
@media screen and (max-width: 768px) {
  .topSolution {
    background-color: rgb(255, 255, 255);
    padding-bottom: 100px !important;
  }
}

.topSolution__content {
  margin-top: 5em;
}

.topSolution__list {
  display: flex;
  flex-direction: column;
  gap: 5em;
}

.topSolution__item {
  display: flex;
  flex-direction: column;
}

.topSolution__itemImage {
  width: 60%;
  align-self: flex-start;
  border-radius: 40px;
  overflow: clip;
}

@media screen and (max-width: 768px) {
  .topSolution__itemImage {
    width: 100%;
    border-radius: 20px;
  }
}

.topSolution__itemText {
  margin-top: -5em;
  padding: 2em;
  min-height: 200px;
  width: 70%;
  align-self: flex-end;
  border: 2px solid var(--webson-main-color);
  border-radius: 40px;
  overflow: clip;
  background-color: var(--webson-main-color-light);
}

@media screen and (max-width: 768px) {
  .topSolution__itemText {
    width: 100%;
    border-radius: 20px;
    background-color: rgb(237 242 255 / 80%);
  }
}

.--reverse .topSolution__itemImage {
  align-self: flex-end;
}

.--reverse .topSolution__itemText {
  align-self: flex-start;
}

.topSolution__itemTextTitle {
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.13em;
}

@media screen and (max-width: 768px) {
  .topSolution__itemTextTitle {
    font-size: 24px;
  }
}

.topSolution__itemTextDesc {
  margin-top: 1em;
  font-style: normal;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.75;
  letter-spacing: 0.13em;
}

@media screen and (max-width: 768px) {
  .topSolution__itemTextDesc {
    font-size: 16px;
  }
}


/* cta */

.cta {
  background: linear-gradient(90deg, #FFDE59 0%, #FFFFFF 100%);
  position: relative;
  padding-top: 32px;
  padding-bottom: 32px;
}

@media screen and (max-width: 768px) {
  .cta {
    padding-top: 16px;
    padding-bottom: 16px;
    background: linear-gradient(to top, #FFDE59 0%, #FFFFFF 100%);
  }
}

.cta-inner {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .cta-inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2em;
  }
}

.cta__text {
  width: 59%;
}

@media screen and (max-width: 768px) {
  .cta__text {
    width: 100%;
  }
}

.cta__textCopy {
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.13em;
  color: #1B2F60;
}

@media screen and (max-width: 768px) {
  .cta__textCopy {
    font-size: 20px;
  }
}

.cta__nav {
  margin-top: 2em;
}

.cta__navLink {
  width: 320px;
  height: 70px;
  background-color: var(--webson-main-color);
  color: #fff;
  border-radius: 10px;
  margin-left: auto;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  .cta__navLink {
    width: 100%;
    margin-left: 0;
  }
}

.cta__navLink:hover {
  color: var(--webson-main-color);
  background-color: #fff;
  border: 2px solid var(--webson-main-color);
}

.cta__logo {
  width: 41%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  right: 0;
}

@media screen and (max-width: 768px) {
  .cta__logo {
    width: 100%;
    position: relative;
    margin-top: 2em;
  }
}

.cta__logo img {
  width: 65%;
}

.cta__logoText {
  width: 100%;
  font-family: 'Senobi Gothic';
  font-style: normal;
  font-weight: 700;
  font-size: 73px;
  font-size: min(73px, 4.5vw);
  line-height: 1.07;
  letter-spacing: -0.05em;
  color: #1B2F60;
  opacity: 0.5;
  position: absolute;
  bottom: 0;
  right: 0;
}

@media screen and (max-width: 768px) {
  .cta__logoText {
    font-size: 40px;
  }
}

/* .topFeature */

.topFeature {}

.topFeature-inner {
  display: grid;
  grid-template:
    "title title"
    "lead image"
    "content content";
}


@media screen and (max-width: 768px) {
  .topFeature-inner {
    grid-template:
      "title"
      "lead"
      "image"
      "content";
  }
}

.topFeature__title {
  grid-area: title;
}

.topFeature__lead {
  grid-area: lead;
}

.topFeature__leadText {}

.topFeature__image {
  grid-area: image;
}

.topFeature__content {
  width: 80%;
  margin-top: 4em;
  margin-left: auto;
  margin-right: auto;
  grid-area: content;
}

@media screen and (max-width: 768px) {
  .topFeature__content {
    width: 100%;
  }
} 

.topFeature__list {}

.topFeature__item {
  display: flex;
  flex-wrap: wrap;
  gap: 3%;
}

@media screen and (max-width: 768px) {
  .topFeature__item {
    flex-direction: column;
  }
}

.topFeature__item+.topFeature__item {
  margin-top: 5em;
}

.topFeature__itemImage {
  width: 30%;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .topFeature__itemImage {
    margin-right: auto;
    margin-left: auto;
  }
}

.topFeature__itemText {
  width: 67%;
}

@media screen and (max-width: 768px) {
  .topFeature__itemText {
    width: 100%;
  }
}

.topFeature__itemTextTitle {}

.topFeature__itemTextDesc {}

.topFeature__itemNav {
  width: 29%;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .topFeature__itemNav {
    margin-right: auto;
    width: 100%;
  }
}

.topFeature__itemNavLink {}





/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*768px以下*/
@media screen and (max-width: 768px) {

  /*必要ならばここにコードを書く*/
  .contentWidth {
    width: 88%;
    padding-left: 1.5%;
    padding-right: 1.5%;
  }
}