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

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

/*トップページの記事のタイトルを非表示にする*/
.home .entry-title {
display: none;
}

.content { 
margin-top: -5; 
}


/* Contact Form7 */
 
.contact7 {
	max-width: 100%;
	box-sizing: border-box;
}
.contact7 dd {
	margin: 0 0 30px 0;
	background-color:
}
.contact7 dt {
	font-weight: normal;
}
 
/* 必須マーク */
.contact7 .must {
	background: #FF1A00;
}
 
/* 任意マーク */
.contact7 .optional {
	background: #999;
}
 
.contact7 .must,
.contact7 .optional {
	color: #FFF;
	border-radius: 3px;
	font-size: 10px;
	margin-right: 10px;
	padding: 5px 10px;
	letter-spacing: 2px;
}
.btn_contact7 {
	text-align: center;
}
.btn_contact7 input {
	display: block;
	margin: 0 auto;
	width: 70%;
	background-color: #ff9900;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #ff9900;

	/* ▼角丸の設定を追加（数値を変えると丸みが変わります） */
	border-radius: 15px; 

	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}
.btn_contact7 input:hover {
	background-color: #FFF;
	color: #ff9900; 
}
@media screen and (min-width: 768px) {
.contact7 dt {
	float: left;
	clear: left;
	width: 35%;
	padding: 5px 10px 5px 0;
	}
.contact7 dd {
	margin-left: 35%;
	}
 
.btn_contact7 input {
	width: 70%;
	background-color: #ff9900;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #ff9900;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;
	}
.btn_contact7 input:hover {
	background-color: #FFF;
	color: #ff9900;
	}
} 



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  h1.wp-block-heading.has-text-align-center .fz-36px {
  font-size: 30px !important;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  h1.wp-block-heading.has-text-align-center .fz-36px {
    font-size: 28px !important;
  }
}

/*768px以下*/
@media screen and (max-width: 768px){
  h1.wp-block-heading.has-text-align-center .fz-36px {
    font-size: 26px !important;
  }
}


/*480px以下*/
@media screen and (max-width: 480px){
  h1.wp-block-heading.has-text-align-center .fz-36px {
    font-size: 24px !important;
  }
}

/*オンライン動画編集*/
/*1023px以下*/
@media screen and (max-width: 1023px){
  h1.wp-block-heading .fz-28px {
  font-size: 26px !important;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  h1.wp-block-heading .fz-28px {
    font-size: 24px !important;
  }
}

/*768px以下*/
@media screen and (max-width: 768px){
  h1.wp-block-heading .fz-28px {
    font-size: 22px !important;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  h1.wp-block-heading .fz-28px {
    font-size: 20px !important;
  }
}

/*DVD・Blu-ray変換*/
/*1023px以下*/
@media screen and (max-width: 1023px){
  h1.wp-block-heading.has-text-align-center .fz-32px {
  font-size: 26px !important;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  h1.wp-block-heading.has-text-align-center .fz-32px {
    font-size: 24px !important;
  }
}

/*768px以下*/
@media screen and (max-width: 768px){
  h1.wp-block-heading.has-text-align-center .fz-32px {
    font-size: 22px !important;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  h1.wp-block-heading.has-text-align-center .fz-32px {
    font-size: 20px !important;
  }
}

/* WEB制作ページ用ア二メーション */
/* コンテナ全体 */
.seo-graph-container {
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* ブラウザ風の枠 */
.seo-browser-mock {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  overflow: hidden;
  font-family: sans-serif;
  border: 1px solid #eee;
}

/* ブラウザヘッダー */
.browser-header {
  background: #f0f2f5;
  padding: 10px;
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}
.dot:nth-child(1) { background: #ff5f56; }
.dot:nth-child(2) { background: #ffbd2e; }
.dot:nth-child(3) { background: #27c93f; }

/* 検索バー風 */
.search-bar {
  background: #f1f3f4;
  margin: 15px;
  padding: 8px 15px;
  border-radius: 20px;
  color: #555;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* グラフエリア */
.graph-area {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 20px 30px;
  position: relative;
}

/* 棒グラフのバー */
.bar {
  width: 18%;
  background: linear-gradient(to top, #1B2538, #4a90e2); /* 提案したカラーを使用 */
  border-radius: 4px 4px 0 0;
  position: relative;
  animation: growUp 1.5s ease-out forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

/* 各バーの高さと遅延設定 */
.bar-1 { height: 30%; animation-delay: 0.2s; }
.bar-2 { height: 60%; animation-delay: 0.6s; }
.bar-3 { height: 90%; animation-delay: 1.0s; }

/* 月のラベル */
.label {
  position: absolute;
  bottom: -25px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #666;
}

/* 上昇矢印 */
.arrow-up {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 0; 
  height: 0; 
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 15px solid #ff9900; /* アクセントカラー */
  animation: bounce 2s infinite;
}

.graph-caption {
  text-align: center;
  padding-bottom: 15px;
  font-weight: bold;
  color: #1B2538;
}

/* アニメーション定義 */
@keyframes growUp {
  to { transform: scaleY(1); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* アイコン全体の枠 */
.icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 100%;
  max-width: 300px; /* 必要に応じて調整 */
}

.gear-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
}

/* 歯車の共通スタイル（色はLPのメインカラーに合わせてください） */
.gear-big, .gear-small {
  position: absolute;
  color: #1B2538; /* 紺色 */
}

/* 大きい歯車 */
.gear-big {
  width: 80px;
  height: 80px;
  top: 0;
  left: 0;
  animation: spin 8s linear infinite; /* 時計回り */
}

/* 小さい歯車 */
.gear-small {
  width: 50px;
  height: 50px;
  bottom: 10px;
  right: 10px;
  color: #888; /* グレーでアクセント */
  animation: spin-reverse 5s linear infinite; /* 反時計回り */
}

.icon-caption {
  margin-top: 10px;
  font-weight: bold;
  color: #1B2538;
}

/* アニメーション設定 */
@keyframes spin {
  100% { transform: rotate(360deg); }
}
@keyframes spin-reverse {
  100% { transform: rotate(-360deg); }
}

.shield-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 盾のアイコン */
.shield-icon {
  width: 100%;
  height: 100%;
  color: #1B2538; /* 紺色 */
  fill: #f0f5ff; /* 薄い青で塗りつぶし */
  animation: pulse 3s infinite; /* 鼓動アニメーション */
}

/* チェックマーク */
.shield-check {
  position: absolute;
  font-size: 40px;
  color: #27c93f; /* 安全を示す緑色 */
  font-weight: bold;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 鼓動のようなアニメーション */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
/* WEB制作ページ用ア二メーションここまで */

/* form-nav */
.progressbar {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  overflow: hidden;
}

.progressbar .item {
    width: 25%; /* 4等分 */
    position: relative;
    text-align: center;
    padding: 13px 0;
    line-height: 1.5;
    font-weight: bold;
    font-size: 14px;
    box-sizing: border-box;
    color: #FFF; /* 全てアクティブなので文字は白 */
}

/* 共通の矢印設定 */
.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
}

/* メインの矢印（前面・色付き） */
.progressbar .item:not(:last-child)::after {
    z-index: 2; /* 手前に表示 */
    border-width: 24px;
    border-color: transparent transparent transparent; /* 色は個別指定 */
}

/* 枠線用の矢印（背面・白） */
.progressbar .item:not(:last-child)::before {
    z-index: 1; /* 後ろに表示 */
    border-width: 24px;
    border-color: transparent transparent transparent #FFF; /* 常に白 */
    margin-left: 2px; /* ずらして区切り線を表現 */
}

/* --- 各ステップの色指定 (nth-child) --- */

/* STEP.1 : 青 */
.progressbar .item:nth-child(1) {
    background: #0070BD;
}
.progressbar .item:nth-child(1)::after {
    border-left-color: #0070BD;
}

/* STEP.2 : 緑 */
.progressbar .item:nth-child(2) {
    background: #28a745;
}
.progressbar .item:nth-child(2)::after {
    border-left-color: #28a745;
}

/* STEP.3 : 黄緑 */
.progressbar .item:nth-child(3) {
    background: #8bc34a;
}
.progressbar .item:nth-child(3)::after {
    border-left-color: #8bc34a;
}

/* STEP.4 : オレンジ (納品) */
.progressbar .item:nth-child(4) {
    background: #f39800;
}
/* 最後なので矢印なし */


/* --- スマホ対応 --- */
@media screen and (max-width: 767px) {
    .progressbar .item {
        font-size: 10px;
        padding: 8px 0;
    }
    .progressbar .item:not(:last-child)::before,
    .progressbar .item:not(:last-child)::after {
        border-width: 18px; 
    }
}

/* 装飾 */
body {
  margin: 40px;
  font-family: sans-serif;
}


/* ============================================
   格安WEBサイトオンラインファーストビュー（FV）修正版CSS
   ============================================ */

/* レイアウト崩れを防ぐためのリセット設定 */
.fv-section * {
  box-sizing: border-box;
}

.fv-section {
  background-color: #fff;
  padding: 60px 0;
  width: 100%;
  overflow: hidden; /* はみ出し防止 */
}

/* コンテナ設定 */
.fv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* PC等の基本設定（横並び） */
.fv-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* --- テキストエリア --- */
.fv-text {
  width: 48%;
  color: #333;
}

/* h1スタイルの限定 */
.fv-text h1 {
  font-size: 2.0rem;
  line-height: 1.4;
  font-weight: bold;
  margin-bottom: 1em;
  margin-top: 0;
}

/* サブキャッチ */
.sub-catch {
  font-size: 0.7em;
  display: block;
  margin-bottom: 5px;
  color: #666;
}

/* 価格帯の装飾 */
.price {
  background: #FFDD00;
  color: #000;
  padding: 5px 15px;
  display: inline-block;
  transform: rotate(-2deg);
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.price .number {
  font-size: 1.5em;
  color: #E60012;
  font-family: Arial, sans-serif;
}

.lead {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- ボタン --- */
.cta-button {
  display: inline-block;
  background: #E60012;
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  box-shadow: 0 4px 0 #990000;
  transition: all 0.3s;
}

.cta-button:hover {
  opacity: 0.9;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #990000;
  color: #fff;
}

/* --- 画像エリア --- */
.fv-image {
  width: 48%;
  position: relative;
  line-height: 0; 
}

.fv-image > img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
  border-radius: 10px;
}

/* --- アイコン装飾 --- */
.software-icons {
  position: absolute;
  bottom: 20px;
  right: -10px;
  display: flex;
  gap: 10px;
  z-index: 10;
  line-height: 1;
}

.software-icons img {
  width: 70px;
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: floatIcon 3s ease-in-out infinite;
}

.software-icons img:nth-child(2) {
  animation-delay: 1.5s;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ============================================
   ▼スマホ・タブレット レスポンシブ修正箇所▼
   ============================================ */
@media (max-width: 768px) {
  
  .fv-section {
    padding: 40px 0;
  }

  .fv-content {
    flex-direction: column; /* 縦並びにする */
    gap: 40px; /* ★ここが重要：テキストと画像の間に40pxの隙間を作る */
  }

  .fv-text, .fv-image {
    width: 100%;
    max-width: 450px;
    margin: 0 auto; /* 左右中央揃え */
  }
  
  /* テキストエリアの設定 */
  .fv-text {
    text-align: center;
  }

  .fv-text h1 {
    font-size: 1.6rem;
  }
  
  /* 価格などを中央寄せ */
  .price {
    margin-left: auto;
    margin-right: auto;
  }
  
  /* ボタンを中央配置で大きく */
  .cta-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
  }
  
  /* 画像エリア（余計なマージンを削除しgapに任せる） */
  .fv-image {
    padding: 0 10px;
    /* order: -1; を削除したので「テキストが上、画像が下」になります */
  }
  
  /* アイコン位置調整 */
  .software-icons {
    bottom: -15px;
    right: 0;
  }
  
  .software-icons img {
    width: 50px;
  }
}



