@charset "UTF-8";

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

/* Cocoon標準フッターを非表示にする  */
#footer {
  display: none;
}
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* リンクのリセット */
a {
  color: inherit;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}
a,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none;
}

/* ==================================
   ヘッダーナビ（デスクトップファースト）
================================== */

/* ▼ PCナビ本体 */
.if-desktop-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background: #fff;
  box-shadow: none;
}

/* ロゴ */
.if-desktop-nav > .if-logo img {
  height: 48px;
  width: auto;
}

/* 中央のリンク */
.if-desktop-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex: 1;
}
.if-nav-link {
  font-size: 16px;
  color: #000;
  cursor: pointer;
}
.if-nav-link:hover {
	color: #000;
}

/* 右側ボタン */
.if-desktop-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.if-btn-download {
  background-color: #e78532;
  color: #fff;
  border-radius: 100px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.if-btn-download:hover {
	color: #fff;
}
.if-btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #e78532;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 100px;
  border: 2px solid #e78532;
}
.if-btn-contact:hover {
	color:#e78532;
}

/* ▼ モバイル用（ハンバーガー＋メニュー） */

/* ハンバーガーボタン（PCでは非表示） */
.if-mobile-hamburger {
  position: fixed;
  right: 11px;
  top: 10px;
  z-index: 1100;  /* ★ ここを 1050 → 1100 に上げる */
  display: none; /* デスクトップでは非表示 */
}

.if-hamburger-button {
  width: 39px;
  height: 39px;
  background: #e78532;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: opacity 0.3s;
}

.if-hamburger-button i {
  color: #fff;
  font-size: 22px;
  transition: transform 0.3s ease;
}
/* オーバーレイ */
.if-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.if-mobile-overlay-open {
  opacity: 1;
  pointer-events: auto;
}

/* モバイルメニュー本体 */
.if-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 1050;  /* メニューはハンバーガーより低く */
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.if-mobile-menu-open {
  transform: translateX(0);
}

.if-mobile-menu-content {
  position: relative;
  height: 100%;
  background: rgba(231, 133, 50, 0.3);
  padding: 24px;
}

/* メニュー項目 */
.if-mobile-menu-item {
  font-weight: 500;
  font-size: 16px;
  color: #3b617d; /* var(--blue) 相当の色を直接指定 */
  text-align: center;
  margin-top: 25px;
  display: block;
}

.if-mobile-menu-item:first-child {
  margin-top: 160px;
}
.if-mobile-menu-item:hover {
	color: unset;
}

/* 下部ボタン */
.if-mobile-menu-buttons {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
}

.if-mobile-btn-download,
.if-mobile-btn-contact {
  height: 57px;
  border-radius: 28.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.3s;
  padding: 10px 26px;
}

.if-mobile-btn-download {
  background-color: #e78532;
  color: #fff;
}
.if-mobile-btn-download:hover {
	color: #fff;
}
.if-mobile-btn-contact {
  background: #fff;
  color: #e78532;
  border: solid 1px #e78532;
}
/* ==================================
   フッター
================================== */

/* Cocoon標準フッターを非表示にする */
#footer {
  display: none;
}
/*自作フッター */
.if-footer {
  background-color: #404040;
  color: #fff;
  padding: 1rem 2rem;
  margin: 0;
  overflow: hidden;
  margin-top: auto;
}

.if-footer-inner {
  width: 80%;
  margin: auto;
  display: flex;
  align-items: flex-start;
  padding: 30px 0;
  justify-content: space-between;
}

.if-footer-left { margin-bottom: 0; }

.if-footer-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
}

.if-footer-left .if-footer-name {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 3rem;
}

.if-footer-add {
  font-size: 16px;
  margin-top: 0;
}

.if-footer-right { margin-top: 10px; }

.if-footer-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 16px;
  border-bottom: solid 1px #f3f3f3;
  padding-bottom: 10px;
}

.if-footer-sns-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.if-footer-sns-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.if-footer-sns-list li img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.if-footer-sns-list a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 12px;
}

.if-footer-sns-list a:hover { opacity: 0.8; }

.if-footer-copyright {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
}


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

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

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

	/* ヘッダー */
  .if-desktop-nav {
    display: none;
  }
  .if-mobile-hamburger {
    display: block;
  }

	/* フッター */
 .if-footer-inner {
    width: 100%;
    margin: 0;
    display: block;
    padding: 20px 0;
  }

  .if-footer-left { margin-bottom: 24px; }

  .if-footer-left .if-footer-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 6px;
  }

  .if-footer-add { font-size: 10px; }

  .if-footer-title { font-size: 13px; }

  .if-footer-copyright {
    margin-top: 20px;
    font-size: 10px;
  }
	
}