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

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

/* 見出し */
.article h2::before {
border-top: none;
}
.article h2::after {
border-bottom: none;
}
.article h2{
border: none;
background: none;
}
.article h3::before {
border-top: none;
}
.article h3::after {
border-bottom: none;
}
.article h3{
border: none;
}
.article h4::before {
border-top: none;
}
.article h4::after {
border-bottom: none;
}
.article h4{
border: none;
}
.article h5::before {
border-top: none;
}
.article h5::after {
border-bottom: none;
}
.article h5{
border: none;
}
.article h6::before {
border-top: none;
}
.article h6::after {
border-bottom: none;
}
.article h6{
border: none;
}

/* ナビメニュー */
#navi .navi-in a {
  position: relative;
}
#navi .navi-in a::after {
  position: absolute;
  color: rgba(255,255,255,1);
  bottom: 0px;
  left: 0;
  display: block;
  content: "";
  width: 100%;
  height: 4px;
  background: #ff1493;
  transform: scaleX(0);
  transition: transform 0.4s;
}
#navi .navi-in a:hover::after {
  transform: scaleX(1);
  transition: transform 0.3s;
}

/*  ヘッダーロゴ左寄せ　*/
.logo {
  text-align: left;
}
/* 余白 */

.content {
	margin-top: 0px;
	margin-bottom: 0px;
}

/* reset */

.contact-section {
	display: flex;
	gap: 30px;
	justify-content: center;
	margin: 60px auto;
	max-width: 1000px;
}
.contact-box{
	flex: 1;
	background: #005bac;
	color: #fff;
	padding: 40px;
	border-radius: 8px;
	text-align: center;
}

.btn-contact { 
  border: 1px solid #999;
  color: #333;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  width: 200px;
  text-decoration: none;
  text-align: center;
  padding: 10px 25px;
  color: #333;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}

.btn-contact:before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: -2em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 1px;
  background-color: #333;
  transition: 0.3s;
}
.btn-contact:after{
  content: '';
  position: absolute;
  top: 50%;
  right: -2em;
  transform: translateY(-50%);
  width: 50px;
  height: 1px;
  background-color: #333;
  transition: 0.3s;
}
.btn-contact:hover:before,.more-button:hover:after {
  right: -2.5em;
}
.btn-contact:hover {
  background: #333;
  color: #fff;
}

/* 
.card-wrapper {
	display: flex;
	gap: 30x;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 40px 0;
}

.card {
	display: flex;
	flex-direction: column;
	background-color: #00bfff;
	width: 300px;
	height: 300px;
	padding: 30px 20px;
	text-align: center;
	border-radius: 8px;
	clip-path: polygon(0 0, 90% 0, 100% 12%, 100% 100%, 0 100%);
	transition: all 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 18px rgba(0,0,0,0.25)
}

.card .icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 15px;
	background: rgba(255,255,255,0.3)
	border-radius: 6px;
}

.card p {
	font-size:16px;
	font-weight: bold;
	color: #fff;
	margin: 0;
} */

/* ボタン */
.btn-top {
  background: transparent;
  border: 2px solid #333;
  color: #333;
  display: block;
  font-weight: bold;
  max-width: 300px;
  padding: 15px 40px;
  text-align: center;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.btn-top:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-new {
  background: #ff701e;
  border: 2px solid #ff701e;
  border-radius: 30px;
  color: #fff;
  display: block;
  font-weight: bold;
  width: 300px;
  padding: 15px 40px;
  text-align: center;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.btn-new:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  text-align: center;
}

/* Color tokens */
:root{
--blue-main: #3BAFDA; 
--navy: #005bac;
--bg-soft: #F5F7FA; 
--text: #222;
--muted: #6b7280;
--yellow: #FFC107; 
--pink: #ff1493;
--oren:#f89406;
}

/* セクション共通 */
.sec{ padding: 64px 20px; }
.eyebrow{
text-align:center; letter-spacing:.12em; font-weight:700;
color: var(--oren); font-size:.9rem; margin:0 0 6px;
}
.sec-title{
text-align:center; font-size:clamp(22px,3.6vw,32px);
margin:0 0 28px; color: var(--text);
}

/* SERVICE */
.service-section{ background: #f5faff; }

.service-grid{
display:grid;
grid-template-columns: repeat(4, minmax(160px, 1fr));
gap: 20px;
max-width: 1000px;
margin: 24px auto 28px;
padding: 0 10px;
}

.service-card{
display:flex; flex-direction:column; align-items:center; justify-content:center;
gap:14px; text-decoration:none; border-radius:16px;
background:#fff;  color: var(--text);
box-shadow: 0 4px 10px rgba(0,0,0,.08);
padding: 28px 20px; transition: .25s ease;
border:1px solid rgba(0,0,0,.04);
}
.service-card .icon{
width:56px; height:56px; border-radius:10px;
background: rgba(0,0,0,.12); /* ←後でSVGに差し替え */
}
.service-card .label{ font-weight:700; font-size:16px; }

/* ホバーで色反転（文字・アイコンを白に） */
.service-card:hover{
transform: translateY(-4px);
color:#fff;
}
.service-card:hover .icon{ background: rgba(255,255,255,.35); }

/* サービス別カラー（通常時は枠色・フォーカス） */
.service-card.tv{ --svc: #ff7043; } /* オレンジ */
.service-card.internet{ --svc: #2b89ff; } /* ブルー */
.service-card.phone{ --svc: #22a35a; } /* グリーン */
.service-card.video{ --svc: #f2b10e; } /* ゴールド */

.service-card{ outline: 2px solid transparent; }
.service-card:focus-visible{ outline: 2px solid var(--svc); }

/* ホバー時の背景色（各カードごと） */
.service-card.tv:hover{ background: var(--svc); }
.service-card.internet:hover{ background: var(--svc); }
.service-card.phone:hover{ background: var(--svc); }
.service-card.video:hover{ background: var(--svc); }

/* 下の大きめカード */
.join-card{
display:block; max-width: 920px; margin: 8px auto 0;
background: var(--pink); color: #0b1026; text-align:center;
padding: 26px 22px; border-radius:16px; text-decoration:none;
font-weight:700; transition:.2s;
box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.join-card:hover{ filter: brightness(.95); color: #fff; }
.join-card h3{ margin:0 0 6px; font-size: clamp(16px,2.4vw,20px); }
.join-card p{ margin:0; font-weight:500; color:#333; }

/* レスポンシブ */
@media (max-width: 960px){
.service-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
.service-grid{ grid-template-columns: 1fr; }
}

/* ABOUT */
.about-section{ background: var(--bg-soft); }

.about-grid{
display:grid;
grid-template-columns: repeat(4, minmax(160px,1fr));
gap: 20px;
max-width: 1000px;
margin: 12px auto 0;
padding: 0 10px;
}

.about-card{
position: relative;
display:flex; flex-direction:column; align-items:center; gap:14px;
text-decoration:none; color:#fff; text-align:center;
background: var(--blue-main);
padding: 28px 20px; border-radius:14px;
transition: transform .25s, box-shadow .25s, background .25s;
/* 右上カット */
-webkit-clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%);
clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%);
}
.about-card .icon{
width:44px; height:44px; border-radius:8px;
background: rgba(255,255,255,.28); /* 後でSVG差し替え */
}
.about-card .label{ font-weight:700; font-size:16px; }
.about-card .arrow{
position:absolute; right:14px; top:12px; font-weight:700; opacity:.9;
}

.about-card:hover{
background: var(--navy); color: var(--text);
transform: translateY(-4px);
box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

/* news */

.news-section {
	max-width: 800px;
	margin: 0 auto;
	padding: 60px 20px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	font-size: 14px;
	font-weight: 700;
	color: #999;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 10px;
	text-align center;
}

.news-section .sec-title {
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 40px;
}

.news-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.news-item {
	margin-bottom: 16px;
}

.news-item a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	background: #f9f1f5;
	border: 2px soid #000;
	border-radius: 8px;
	text-decoration: none;
	color: #333;
	transition: tranceform 0.3s, box-shadow 0.3s;
	gap: 12px;
}

.news-item a:hover {
	color: #333;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-date {
	font-size: 14px;
	color: #333;
	min-width: 90px;
}
.news-title {
	font-size: 16px;
	font-weight: 500;
}

.news-btn-wrap {
	display: flex;
	justify-content: center;
	text-align: center;
	margin-top: 50px;
}

.news-btn {
	display: block;
	padding: 10px 20px;
	background: var(--pink);
	color: #fff;
	border-radius: 30px;
	width: 300px;
	text-decoration: none;
	font-size: 14px;
	transition: 0.3s;
}
.news-btn:hover {
	background: #696969;
	color: #fff;
}
/* カード */
.card-arrow {
	width: 40px;
	height: 40px;
	background: #fff;
	color: #333;
	border-radius: 50%;
	text-align: center;
	line-height: 40px;
	text-decoration: none;
	position: absolute;
	bottom: 20px;
	right: 20px;
	transition: transform 0.3s;
}
.card-arrow:hover {
	transform:scale(1.1);
}

.card-section {
	display: grid;
	grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
	gap:24px;
	padding: 40px;
	margin: 0 auto;
}

.card{
	position: relative;
	background: #333;
	color: #fff;
	border-radius: 8px;
	text-decoration:none;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px;
	transition: box-shadow 0.3s,transform 0.3s;
}

.card:hover{
	box-shadow: 0 6px 18px rgba(0,0,0,0.2);
	transform: translateY(-4px);
}

.card-light{
	background: #f8f9fa;
	color: #222;
}

.card-header .card-eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: inherit;
	opacity: 0.8;
}

.card-header .card-title {
	display: block;
	font-size: 20px;
	font-weight: bold;
	margin: 8px 0;
	color: inherit;
}

.card-image img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	object-fit: cover;
	margin-bottom: 12px;
}

.recruit-section {
  position: relative;
  background: #f7f7f7; /* グレー背景 */
  padding: 100px 20px;
  overflow: hidden;
}

.recruit-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.recruit-text {
  flex: 1;
}

.recruit-img {
  flex: 1;
}

.recruit-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


/* スクロールアニメーション */
.show .recruit-text {
  opacity: 1;
  transform: translateY(0);
}

/* セクション全体 */
.company-section {
  background: #f7f8f6;
  padding: 80px 20px;
}

/* コンテナ横並び */
.company-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* 左カラム */
.company-left {
  flex: 1;
}

.campany-title {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 10px;
}

.company-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
}

.company-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #000;
  color: #fff;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}
.company-btn:hover {
  background: #ff6600; /* ホバー時オレンジ */
}

/* 右カラム（カード縦並び） */
.company-right {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* カード */
.company-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  gap: 20px;
}

.company-card:last-child {
  border-bottom: none;
}

.company-card img {
  width: 180px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.company-card h3 {
  flex: 1;
  font-size: 20px;
  font-weight: bold;
}

/* 矢印 */
.arrow {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .company-container {
    flex-direction: column;
  }
  .company-right {
    gap: 20px;
  }
  .company-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .company-card img {
    width: 100%;
  }
}


/* レスポンシブ */
@media (max-width: 960px){
.about-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
.about-grid{ grid-template-columns: 1fr; }
}


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

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

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