@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
*/

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

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

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

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

/* Cocoon標準フッターを非表示 */
#footer {
  display: none !important;
}

/* フッター全体 */
.af-footer {
  display: block;
  width: 100vw !important;
  max-width: none !important;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 !important;
  padding: 70px 5% 0;
  background: #171819;
  color: #f5f5f5;
  overflow: hidden;
  font-family: inherit;
}

/* 上部メッセージ＋会社情報＋メニュー */
.af-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  column-gap: 8%;
  row-gap: 55px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* 上部メッセージは2列分の幅を使う */
.af-footer-message {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 0 42px;
  border-bottom: 1px solid #414141;
}

.af-footer-eyebrow {
  margin: 0 0 20px;
  color: #a8a8a8;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.af-footer-message h2 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(30px, 5vw, 68px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.af-footer-submessage {
  margin: 18px 0 0;
  color: #e3e3e3;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.5;
}

.af-footer-message-ja {
  margin: 10px 0 0;
  color: #aaa;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

/* CONTACTボタン */
.af-footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 25px;
  padding: 14px 20px;
  border: 1px solid #777;
  color: #fff !important;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none !important;
  transition: background 0.3s ease, color 0.3s ease;
}

.af-footer-contact:hover {
  background: #fff;
  color: #171819 !important;
}

.af-footer-contact span {
  transition: transform 0.3s ease;
}

.af-footer-contact:hover span {
  transform: translate(3px, -3px);
}

/* 左側の会社情報 */
.af-footer-company,
.af-footer-nav {
  min-width: 0;
}

.af-footer-logo {
  display: inline-block;
  color: #fff !important;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none !important;
}

.af-footer-label {
  margin: 0 0 20px;
  color: #a8a8a8;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.af-footer-company .af-footer-label {
  margin: 8px 0 5px;
}

.af-footer-business {
  margin: 0 0 25px;
  color: #ddd;
  font-size: 13px;
}

.af-footer-info p {
  margin: 0 0 5px;
  color: #c2c2c2;
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

/* 右側のメニュー */
.af-footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #383838;
  color: #fff !important;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: color 0.25s ease, padding 0.25s ease;
}

.af-footer-links a:hover {
  color: #b8b8b8 !important;
  padding-left: 5px;
}

.af-footer a {
  text-decoration: none;
}

/* 著作権・プライバシーポリシー */
.af-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  max-width: 1400px;
  margin: 55px auto 0;
  padding: 22px 0;
  border-top: 1px solid #414141;
  color: #aaa;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.af-footer-bottom a {
  color: #aaa !important;
}

/* 最下部の巨大な英字 */
.af-footer-oversized {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 0.72em;
  box-sizing: border-box;
  margin: 25px auto 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(24px, 7.5vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .af-footer {
    padding: 45px 6% 0;
  }

  .af-footer-main {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 35px;
  }

  .af-footer-message {
    padding-bottom: 30px;
  }

  .af-footer-message h2 {
    font-size: clamp(27px, 7vw, 42px);
  }

  .af-footer-submessage {
    font-size: 16px;
  }

  .af-footer-logo {
    font-size: 28px;
  }

  .af-footer-links a {
    padding: 14px 0;
    font-size: 16px;
  }

  .af-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 35px;
  }

  .af-footer-oversized {
    margin-top: 20px;
    font-size: 7.5vw;
    height: 0.72em;
    line-height: 1;
  }
}
/* 最下部の巨大文字：横幅いっぱい */
.af-footer-oversized {
  display: block;
  width: 100%;
  max-width: none;
  height: 0.82em;
  box-sizing: border-box;
  margin: 25px 0 0;
  padding: 0;
  overflow: hidden;

  color: #fff;
  font-size: clamp(30px, 10.5vw, 180px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  text-align: center;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .af-footer-oversized {
    font-size: 9.5vw;
    height: 0.82em;
    margin-top: 20px;
    letter-spacing: -0.045em;
  }
}
/* 最下部の巨大文字：左右均等にトリミング */
.af-footer-oversized {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  height: 0.82em;
  box-sizing: border-box;
  margin: 25px 0 0;
  padding: 0;
  transform: translateX(-50%);
  overflow: hidden;

  color: #fff;
  font-size: clamp(30px, 10.5vw, 180px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  text-align: center;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .af-footer-oversized {
    width: 100vw;
    height: 0.82em;
    margin-top: 20px;
    font-size: 9.5vw;
    letter-spacing: -0.045em;
  }
}