/*
Theme Name: DeCoA LP
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho:wght@400;500;700&family=Poppins:wght@600&display=swap');

/* 使用カラー */
:root {
  --white: #FFFFFF;
  --black: #000000;
  --text: #2F2F2F;
  /* テキスト基本色 */
  --brand-orange: #E56E07;
  /* メインオレンジ */
  --brand-orange-mid: #FFAE69;
  /* 中間オレンジ */
  --brand-orange-pale: #FFE2C9;
  /* 薄オレンジ（背景等） */
  --brand-yellow: #FFD800;
  /* 黄色アクセント */
  --gray-dark: #7B7B7B;
  /* ダークグレー */
  --gray-mid: #BEBEBE;
  /* ミディアムグレー */
  --gray-light: #D8D8D8;
  /* ライトグレー（ボーダー等）*/
}


/* 使用フォント */
:root {
  --NotoSans: "Noto Sans JP", sans-serif;
  --Poppins: "Poppins", sans-serif;
}


/* リセット */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

body {
  min-height: 100vh;
  font-family: var(--NotoSans);
  position: relative;
  overflow-x: hidden;
  /* background: var(--gray-light); */
}

body:has(#Wrapper),
body:has(.breadcrumb),
body.download-page {
  background: var(--white);
}

html {
  font-size: min(calc(10 / 1366 * 100vw), 10px);
  /* font-size: calc(10 / 1366 * 100vw); */
  /* 画面幅1366pxで10px（XDカンプ準拠）*/
  /* overflow-y: overlay; */
  color: var(--text);
  /* height: -webkit-fill-available; */
}

img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}


.pc_only {
  display: block;
}

.sp_only {
  display: none;
}

/*fade表示関連*/

.fade_in {
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0, 0.42, 0.58, 1);
}

.fade_up {
  transform: translateY(2vw);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0, 0.42, 0.58, 1);
}

.fade_in.show {
  opacity: 1;
}

.fade_up.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.background {
  width: 100%;
  height: 100vh;
  position: fixed;
  background: url('./img/bg.svg');
  background-size: contain;
  background-repeat: repeat;
}



/* ============================================
   ヘッダー
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* background: var(--text); */
  z-index: 100;
  box-shadow: none;
}


.header__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  /* max-width: 136.6rem; */
  margin: 0 auto;
  padding: 0px 3.4rem;
  height: 7rem;
}

.header__logo {
  flex-shrink: 0;
  width: 13.8rem;
}

.header__logo-text {
  display: inline-flex;
  align-items: center;
  width: auto;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}

.header__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 3rem;
  width: 13.8rem;
}

.header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column-reverse;
  gap: 0.46rem;
  width: 4.4rem;
  height: 4.4rem;
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header__menu-line {
  display: block;
  width: 2rem;
  height: 0.2rem;
  background: #3E3E3E;
  border-radius: 9999px;
}



.header__nav {
  flex: 1;
}

.header__nav-list {
  display: flex;
  gap: 3rem;
  justify-content: flex-end;
}

.header__nav-list a {
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.header__nav-list a:hover {
  color: var(--white);
}

.header__cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background: var(--brand-orange);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.header__cta-btn:hover {
  opacity: 0.85;
}



/* ============================================
   フッター
   ============================================ */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 4rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 136.6rem;
  margin: 0 auto;
  padding: 0 4rem;
}

.footer__logo {
  width: 10rem;
  flex-shrink: 0;
}

.footer__logo img {
  height: auto;
}

.footer__info {
  flex: 1;
}

.footer__company {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.footer__address {
  font-size: 1.2rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

.footer__links {
  width: 8rem;
  flex-shrink: 0;
}

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-mid);
  margin-top: 2rem;
}

/* ============================================
   下層ヘッダー
   ============================================ */
.page_headline {
  width: 100%;
  background-color: #E56E07;
  /* height: 37rem; */
  padding: 10rem 7.5rem 10rem;











  .roma {
    font-size: 6.1rem;
    font-weight: 600;
    color: #FFF;
  }

  .page_title {
    font-size: 2.4rem;
    font-weight: bold;
  }
}


/* ============================================
   パンくずリスト
   ============================================ */
.breadcrumb {
  background: var(--brand-orange-pale);
  padding: 0.8rem 0;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 136.6rem;
  margin: 0 auto;
  padding: 0 4rem;
}

.breadcrumb__item {
  font-size: 1.2rem;
  color: var(--gray-dark);
}

.breadcrumb__item+.breadcrumb__item::before {
  content: ">";
  margin-right: 0.8rem;
  color: var(--gray-mid);
}

.breadcrumb__item a {
  color: var(--brand-orange);
}

.breadcrumb__item a:hover {
  text-decoration: underline;
}


/* ============================================
   ページタイトル
   ============================================ */
.page-title {
  background: var(--brand-orange);
  padding: 4rem 0;
}

.page-title__inner {
  max-width: 136.6rem;
  margin: 0 auto;
  padding: 0 4rem;
}

.page-title__en {
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.page-title__ja {
  font-size: 1.6rem;
  color: var(--white);
  margin-top: 0.4rem;
}


/* ============================================
   フォーム共通
   ============================================ */
.form-field {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 20rem;
  font-size: 1.4rem;
  font-weight: 500;
  padding-top: 0.8rem;
  flex-shrink: 0;
}

.form-label__required {
  display: inline-block;
  background: var(--brand-orange);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 0.2rem;
}

.form-input,
.form-select,
.form-textarea {
  flex: 1;
  font-family: var(--NotoSans);
  font-size: 1.4rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 0.4rem;
  padding: 0.8rem 1.2rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-orange);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237B7B7B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 3.2rem;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 12rem;
}

.form-privacy {
  padding: 2rem 0;
}

.form-privacy__text {
  font-size: 1.2rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.form-privacy__text a {
  color: var(--brand-orange);
  text-decoration: underline;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 1.8rem;
  height: 1.8rem;
  accent-color: var(--brand-orange);
  cursor: pointer;
}

.form-note {
  font-size: 1.2rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 2.4rem;
}

.form-note a {
  color: var(--brand-orange);
  text-decoration: underline;
}

.form-submit {
  text-align: center;
  padding-top: 3.2rem;
}

.form-submit__btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--brand-orange);
  color: var(--white);
  font-family: var(--NotoSans);
  font-size: 1.6rem;
  font-weight: 700;
  padding: 1.4rem 6rem;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.form-submit__btn:hover {
  opacity: 0.85;
}

.form-submit__icon {
  font-size: 1.4rem;
}

.wpcf7-list-item-label::before{
  display: block;
  width: 2.1rem;
  height: 2.1rem;
  border: 0.1rem solid #3C3C3C;
  border-radius: 0.2rem;
  position: relative;
}

.wpcf7-list-item-label::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 0.5rem;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  background-image: url(./img/check.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
}

.wpcf7-list-item-label{
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
}

input:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}


/* ============================================
   確認テーブル（confirm系ページ共通）
   ============================================ */
.confirm-section {
  padding: 6rem 0;
}

.confirm-section__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 4rem;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 4rem;
}

.confirm-table__row {
  border-bottom: 1px solid var(--gray-light);
}

.confirm-table__label {
  width: 24rem;
  padding: 1.6rem 2rem 1.6rem 0;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.confirm-table__label .form-label__required {
  margin-right: 0.6rem;
}

.confirm-table__value {
  padding: 1.6rem 0;
  font-size: 1.4rem;
  color: var(--text);
}

.confirm-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
}

.confirm-actions__back {
  font-size: 1.4rem;
  color: var(--gray-dark);
  text-decoration: underline;
  cursor: pointer;
}

.confirm-actions__submit {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--brand-orange);
  color: var(--white);
  font-family: var(--NotoSans);
  font-size: 1.6rem;
  font-weight: 700;
  padding: 1.4rem 6rem;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.confirm-actions__submit:hover {
  opacity: 0.85;
}


/* ============================================
   メインコンテンツ上部余白（fixed header分）
   ============================================ */
main {
  padding-top: 8rem;
  margin-bottom: 13.3rem;
}

.sp_nav_wrap {
  display: none;
}

.try_talk {
  display: flex;
  width: 53.5rem;
  height: 9rem;
  margin-top: 3.236rem;
  background-color: #E56E07;
  border-radius: 4.5rem;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  position: relative;
  color: #fff;
}


@media screen and (max-width: 767px) {
  html {
    font-size: calc(10 / 375 * 100vw);
    /* 画面幅375pxで10px*/
  }

  main {
    padding-top: 5.5rem;
  }

  .pc_only {
    display: none;
  }

  .sp_only {
    display: block;
  }

  .background {
    background-size: cover;
  }


  .header.active {
    background: rgb(255 255 255 / 85%);
  }

  .header__inner {
    padding: 0 1.6rem;
    height: 5.5rem;
  }

  .header__nav,
  .header__cta-btn {
    display: none;
  }

  .header__menu-btn {
    display: inline-flex;
    position: relative;
  }

  .confirm-table__row {
    display: block;
  }

  .confirm-table__label,
  .confirm-table__value {
    display: block;
    width: 100%;
  }

  .confirm-table__label {
    padding: 1.6rem 0 0.8rem;
    white-space: normal;
  }

  .confirm-table__value {
    padding: 0 0 1.6rem;
  }

  .confirm-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1.6rem;
  }

  .confirm-actions__back {
    order: 2;
    text-align: center;
  }

  .confirm-actions__submit {
    width: 100%;
    justify-content: center;
    padding: 1.4rem 2.4rem;
  }

  .contact-form-section .form-field {
    flex-direction: column;
    gap: 0.8rem;
  }

  .contact-form-section .form-label {
    min-width: 0;
    width: 100%;
    padding-top: 0;
  }

  .contact-form-section .form-input,
  .contact-form-section .form-select,
  .contact-form-section .form-textarea {
    width: 100%;
  }

  .contact-form-section .form-submit__btn {
    width: 100%;
    justify-content: center;
    padding: 1.4rem 2.4rem;
  }

  .header__logo img {
    width: 8.9rem;
  }

  .sp_nav_wrap {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #2F2F2F;
    background-image: url('./img/bg.svg');
    padding: 10rem 4rem;
    background-blend-mode: overlay;
    display: none;


    .header__logo {
      position: absolute;
      top: 1.8rem;
      left: 1.6rem;
    }

    .try_talk {
      box-shadow: none;
    }


  }

  .wpcf7-list-item-label{
    font-size: 1.3rem;
  }



  /* .sp_nav_wrap {
    position: relative;
    color: #000;
    z-index: 1;
  } */

  /* .sp_nav_wrap::before {
    content: "";
    background-image: url('./img/bg.svg');
    background-size: cover;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  } */


  .sp_nav_wrap.active {
    display: block;
  }

  .header__menu-btn.active {

    .header__menu-line {
      width: 3.5rem;
      background: #fff;
    }

    .header__menu-line:first-child {
      transform: translate(0, -0.6rem) rotate(45deg);
    }

    .header__menu-line:nth-child(2) {
      opacity: 0;
    }

    .header__menu-line:last-child {
      transform: translate(0, 0.7rem) rotate(-45deg);
    }
  }

  .sp_nav_list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
  }

  .sp_nav_link {
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
  }


  /* ============================================
  下層ヘッダー
  ============================================ */
  .page_headline {
    width: 100%;
    background-color: #E56E07;
    /* height: 37rem; */
    padding: 10rem 2rem 6rem;



    .roma {
      font-size: 3rem;
      font-weight: 600;
      color: #FFF;
    }

    .page_title {
      font-size: 1.2rem;
      font-weight: bold;
    }
  }

  .try_talk {
    width: 100%;
    height: auto;
    min-height: 6.4rem;
    margin-top: 2.4rem;
    border-radius: 4rem;
    padding: 1.6rem;
    box-sizing: border-box;
    font-size: 1.6rem;
  }

  .try_talk_sentence {
    font-size: 1.6rem;
    text-align: center;
    padding-right: 5rem;
  }

  .right_arrow_white {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: #FFFFFF;
    right: 1.7rem;
  }

  .right_arrow::before,
  .right_arrow_white::before {
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    border-right: 0.28rem solid #E56E07;
    border-bottom: 0.28rem solid #E56E07;
    transform: rotate(-45deg);
  }
}