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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* 緑の枠線を強制削除 */
* {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
html,
body,
.site,
.site-content,
.wp-block-group,
.wp-block-post-content,
.entry-content,
.page-content,
.c-container,
[style*="border: 2px dashed green"],
.c-debug-border {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* contactページの空白調整 */
.contact-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 4em 0 3em 0;
  min-height: 0;
  height: auto;
}

/* 背景画像は維持 */
.contact-bg {
  background: url('https://w-impact.co.jp/wp-content/uploads/2025/06/LINE_ALBUM_Ai-Momoka_250120_19.jpg') center/cover no-repeat !important;
  opacity: 0.32;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}

.contact-title {
  font-size: 3em;
  letter-spacing: 0.08em;
  font-weight: bold;
  margin-bottom: 0.3em;
  margin-top: 0.1em;
  font-family: serif;
}

.contact-desc {
  margin-bottom: 2.2em;
  font-size: 1.2em;
  color: #eee;
  font-family: sans-serif;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 3em;
  flex-wrap: wrap;
  margin-top: 2em;
}

.contact-card {
  background: rgba(24, 24, 24, 0.70);
  box-shadow: 0 6px 36px #000a;
  border-radius: 0 !important;
  padding: 2.5em 2.3em 2em 2.3em;
  min-width: 320px;
  max-width: 400px;
  margin-bottom: 1.5em;
  text-align: center;
  border: 1.5px solid rgba(255,255,255,0.13); /* 必要に応じて維持 */
}

.card-title {
  font-size: 1.25em;
  font-weight: 600;
  margin-bottom: 0.7em;
  letter-spacing: 0.04em;
  color: #fff;
  font-family: sans-serif;
}

.card-desc {
  font-size: 1.08em;
  color: #e6e6e6;
  margin-bottom: 1.3em;
}

.contact-btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.7em 2.5em;
  border-radius: 0;
  text-decoration: none;
  font-size: 1.13em;
  font-weight: bold;
  letter-spacing: 0.10em;
  transition: background 0.25s, color 0.25s;
}
.contact-btn:hover {
  background: #fff;
  color: #111;
}

/* CONTACTセクションの黒背景を完全になくす */
.contact-section,
.contact-section .contact-content,
.contact-section .contact-title,
.contact-section .contact-title-section,
.contact-section .wp-block-group,
.contact-section .wp-block-cover,
.contact-section .wp-block-group__inner-container {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* contactの位置指定 */
.contact-section {
  position: relative;
  z-index: auto;
  width: 100%;
}
.contact-bg {
  position: absolute;
  z-index: 1;
}
.contact-content {
  position: relative;
  z-index: 2;
}

/* フッター */
.wimpact-footer-custom {
  background: #100B0B;
  color: #fff;
  width: 100vw;
  font-family: 'Noto Sans JP', 'Yu Gothic', '游ゴシック', sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  border: none !important;
  outline: none !important;
}
.footer-inner {
  width: 100vw;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 150px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 36px 3vw 32px 3vw;
  box-sizing: border-box;
  border: none !important;
  outline: none !important;
}
.footer-left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  min-width: 360px;
  border: none !important;
  outline: none !important;
}
.footer-logo {
  width: 120px;
  height: auto;
  display: block;
  border: none !important;
  outline: none !important;
}
.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 14px;
  border: none !important;
  outline: none !important;
}
.footer-company {
  font-size: 1.13em;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  line-height: 1.25;
  border: none !important;
  outline: none !important;
}
.footer-address {
  font-size: 0.95em;
  color: #ccc;
  letter-spacing: 0.03em;
  line-height: 1.55;
  border: none !important;
  outline: none !important;
}
.footer-navarea {
  margin-left: auto;
  align-self: flex-start;
  margin-top: 8px;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 0 48px;
  display: flex;
  justify-content: center;
  gap: 2vw;
  border: none !important;
  outline: none !important;
}
.footer-nav {
  display: flex !important;
  flex-direction: row;
  gap: 2.7vw;
  list-style: none;
  padding: 0;
  margin: 0;
  border: none !important;
  outline: none !important;
}
.footer-nav li {
  display: inline-block;
  border: none !important;
  outline: none !important;
}
.footer-nav a {
  color: #fff;
  font-size: 0.95em;
  letter-spacing: 0.07em;
  text-decoration: none;
  font-weight: 400;
  transition: opacity .17s;
  padding: 0 0.15em;
  line-height: 1.1;
  border: none !important;
  outline: none !important;
}
.footer-nav a:hover { opacity: 0.63; }
.footer-copy {
  position: absolute;
  right: 3vw;
  bottom: 12px;
  color: #bbb;
  font-size: 0.73em;
  letter-spacing: 0.05em;
  font-family: inherit;
  z-index: 10;
  border: none !important;
  outline: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 1000px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: unset;
    padding: 26px 4vw 48px 4vw;
    border: none !important;
    outline: none !important;
  }
  .footer-left { min-width: 0; gap: 14px; border: none !important; outline: none !important; }
  .footer-logo { width: 74px; border: none !important; outline: none !important; }
  .footer-info { margin-top: 10px; border: none !important; outline: none !important; }
  .footer-company { font-size: 1.03em; border: none !important; outline: none !important; }
  .footer-address { font-size: 0.88em; border: none !important; outline: none !important; }
  .footer-navarea { margin: 20px 0 0 0; width: 100%; border: none !important; outline: none !important; }
  .footer-nav { gap: 5vw; font-size: 1em; border: none !important; outline: none !important; }
  .footer-copy { right: 4vw; bottom: 10px; font-size: 0.73em; border: none !important; outline: none !important; }
}
@media (max-width: 700px) {
  .footer-logo { width: 46px; border: none !important; outline: none !important; }
  .footer-company { font-size: 0.87em; border: none !important; outline: none !important; }
  .footer-address { font-size: 0.7em; border: none !important; outline: none !important; }
  .footer-nav { gap: 2vw; font-size: 0.97em; border: none !important; outline: none !important; }
  .footer-inner { padding: 17px 2vw 50px 2vw; border: none !important; outline: none !important; }
}

html, body {
  overflow-x: hidden !important;
  border: none !important;
  outline: none !important;
}


html, body, #page, .content, .main, .wrap, .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.contact-section {
  position: relative;
  width: 100vw !important;
  margin: 0 auto !important;
  padding: 4em 0 3em 0;
  overflow: hidden;
}

.contact-content {
  position: relative;
  z-index: 2;
  /* ここでmax-widthを削除 or 100vwに */
  max-width: 100vw !important;
  width: 100vw !important;
  margin: 0 auto !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* ← これが中央揃え */
  justify-content: center;
}

.contact-title {
  /* 中央寄せを強制 */
  text-align: center !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
