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

.header-in {
    width: 100%;
}

.logo-image{
  padding: 0;
}

.logo-image span, .logo-image a {
    width: 100%;
}

.header-in img {
    width: 50%;
}  

/* 余白 */

main,
#main,
.main {
    margin: 0 ;
	padding: 0;
	border: none;
} 

.article h1 {
    margin-top: 0;
    padding-top: 0;
} 
/* コンテンツ上の間を狭くする */
.content {
margin-top:0px;
padding:0px;
}
.article .entry-categories-tags {
   margin-bottom: 0;
}

.page .main .entry-title {
	padding: 0;
	margin: 0;
	border: none;
}

.body .article {
  margin-top: 0;
}
 
.entry-content {
  margin-top: 0;
  margin-bottom: 0;
}

.date-tags {
	margin-bottom: 0;
}

footer#footer {
  margin-top: 0;
}

/* contact */

/* .contact-section {
	display: flex;
	gap: 30px;
	justify-content: center;
	margin: 60px auto;
	max-width: 1200px;
}
.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,.btn-contact:hover:after {
  right: -2.5em;
}
.btn-contact:hover {
  background: #333;
  color: #fff;
}

.contact-section {
position: relative;
display: flex;
gap: 8rem;
justify-content: center;
margin: 6rem auto; 
max-width: 120rem; 
padding: 6rem 4rem; 
z-index: 1;
overflow: hidden;
}

/* ぼかし背景 */
.contact-section::before {
content: "";
position: absolute;
inset: 0;
background: url("https://nagato-tv.com/wp-content/uploads/2025/09/kyle-loftus-mji92-ALY3g-unsplash-1-scaled.jpg") center/cover no-repeat;
filter: blur(8px) brightness(0.7);
z-index: -1;
}

.contact-box {
flex: 1;
background: rgba(0, 91, 172, 0.8);
color: #fff;
padding: 4rem;
max-width: 40rem;
border-radius: 0.8rem;
text-align: center;
backdrop-filter: blur(2px);
box-sizing: border-box;
}

/* 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: 32px;
margin:0 0 28px; color: var(--text);
}

.sec-title .article h2 {
	font-size: 32px;
}

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

.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:20px; 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;
}
.icon img {
width: 100%;
height: 100%;
filter: invert(0);
transition: filter 0.3s ease;
object-fit: contain;
}

.service-card:hover .icon img {
filter: invert(1);
}

.service-card .label{ font-weight:700; font-size:16px; margin:20px; }

/* ホバーで色反転（文字・アイコンを白に） */
.service-card:hover {
transform: scale(1.1);
color:#fff;
}

/* サービス別カラー（通常時は枠色・フォーカス） */
.service-card.tv{ --svc: #ff7043; } /* オレンジ */
.service-card.internet{ --svc: #2b89ff; } /* ブルー */
.service-card.movie{ --svc: #22a35a; } /* グリーン */
.service-card.iventmc{ --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.movie:hover{ background: var(--svc); }
.service-card.iventmc:hover{ background: var(--svc); }

/* 下の大きめカード */
.join-card{
display:flex; flex-direction:column; align-items:center; justify-content:center;
background: var(--pink); color: #0b1026; text-align:center;
padding: 26px 22px; border-radius:16px; text-decoration:none;
font-weight:700; transition:0.2s;
box-shadow: 0 4px 10px rgba(0,0,0,.08);
width: 700px; height: 200px; margin:100px auto;
position: relative;
}
.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:#fff; }

.join-card .icon{
width:300px; height:200px; border-radius:10px;
}
.join-card img{
  max-width: 100%;
  max-height: 100%;
　object-fit: contain;
}

.join-card .j-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;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	font-weight: bold;
}

.join-card .j-arrow:hover {
	transform: translateX(5px);
}

/* レスポンシブ */
@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: 40px;
max-width: 1400px;
margin: 12px auto 0;
padding: 0 10px;
}

.about-card{
position: relative;
display:flex; flex-direction:column; align-items:center; gap:20px;
text-decoration:none; color:var(--text); text-align:center;
background: var(--blue-main);
padding: 48px 40px; 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;
}

.about-card:hover .icon img {
filter: invert(1);
}

.about-card .label{ font-weight:700; font-size:16px; margin:20px; }
.about-card .arrow{
position:absolute; right:14px; top:12px; font-weight:700; opacity:.9;
}

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

/* news */
.news-section {
	max-width: 1000px;
	margin: 0 auto;
	padding: 60px 20px;
	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 {
	position: relative;
	margin-bottom: 16px;
}

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

.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: bold;
}

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

.news-btn {
	display: block;
	padding: 15px 25px;
	background: var(--pink);
	color: #fff;
	border-radius: 30px;
	width: 250px;
	text-decoration: none;
	font-size: 14px;
	transition: 0.3s;
}
.news-btn:hover {
	background: #cccccc;
	color: #fff;
}

.news-arrow {
    width: 32px;
	height: 32px;
	background: #fff;
	color: #333;
	border-radius: 50%;
	text-align: center;
	line-height: 32px;
	text-decoration: none;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.3 ease;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	font-weight: bold;
	font-size: 16px;
}

.news-arrow:hover {
	transform: translateY(-50%) scale(1.1);
} 


/* フッターセンター見出し SNS　*/
.footer-center h3 {
    background: none;
    font-size: 16px;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0;
    text-align: center;
}
.footer-center h3::before, .footer-center h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%; /*ラインの長さ*/
    border-top: 3px solid #444d53; /*ラインの色*/
}
.footer-center h3::before {
    left: 0;
}
.footer-center h3::after {
    right: 0;
}

.footer-center .sns-follow-buttons a {
  width: 30%; /*ボタンの幅*/
}
.footer-center .sns-follow {
  margin: 0 0 24px 0;
}
.footer-center .sns-follow-buttons a {
  background: none !important;
  border: 1px solid #444d53;
  color: #444d53;
  border-radius: 50px;
}
.footer-center .twitter-button:hover {
  background-color: #1da1f2 !important;
  color: #fff;
  border-color: #1da1f2;
}
.footer-center .facebook-button:hover {
  background-color: #3b5998 !important;
  color: #fff;
  border-color: #3b5998;
}
.footer-center .instagram-button:hover {
  background-color: #c522b8 !important;
  color: #fff;
  border-color: #c522b8;
}

.sns-buttons {
	margin-top: 2em;
	justify-content: space-evenly;
}

/* ヒーロー */
.hero {
position: relative;
height: 100vh; /* 画面いっぱい */
background: url('https://nagato-tv.com/wp-content/uploads/2025/09/filip-szalbot-sO6imIAJHm4-unsplash-scaled.jpg') center/cover no-repeat;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: #fff;
overflow: hidden;
margin: 0;
padding: 0;
}

/* かぶせる黒グラデーション */
.hero::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.4);
z-index: 0;
}

/* 背景ズームアニメーション */
.hero {
animation: zoomHero 12s ease-in-out infinite alternate;
}
@keyframes zoomHero {
from { background-size: 100%; }
to { background-size: 110%; }
}

/* 中のテキストフェードアップ */
.hero-inner {
position: relative;
z-index: 1;
opacity: 0;
transform: translateY(30px);
animation: fadeUp 1.5s ease-out forwards 0.5s;
}

@keyframes fadeUp {
to {
opacity: 1;
transform: translateY(0);
}
}

.hero-title {
font-size: clamp(28px, 5vw, 60px);
font-weight: bold;
margin-bottom: 20px;
}

.hero-sub {
font-size: clamp(16px, 2vw, 24px);
margin-bottom: 30px;
}

.hero-btn {
display: inline-block;
padding: 12px 28px;
background: #c0c0c0;
color: #fff;
border-radius: 30px;
text-decoration: none;
transition: 0.3s;
}
.hero-btn:hover {
background: var(--pink);
color: #fff;
}

.hero-name {
margin-top: 50px;
}
.hero-name img {
	height: auto;
	display: block;
	margin: 20px auto 0;
}

/* ===== Scroll Animation Base ===== */
.service-card, .about-card, .join-card {
opacity: 0;
transform: translateY(40px);
transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示 */
.service-card.show, .about-card.show, .join-card.show {
opacity: 1;
transform: translateY(0);
}

/* join-cardスライド */
.join-card {
transform: translateX(-60px);
}
.join-card.show {
transform: translateX(0);
}

/* ===== Hover Animation ===== */
.service-card:hover, .about-card:hover {
transform: translateY(0) scale(1.1); 
}
/* home2 */
/* ==== Companyセクション ==== */
.company-section {
  padding: 80px 5%;
  background: #f9f9f9;
}

.company-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}
/* 左カラム */

.company-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左揃え */
}

.company-title {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.more-btn {
  display: inline-block;
  position: relative;
  margin: 0 auto;
  width: 300px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  background-color: #000;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease;
  padding: 15px 50px 15px 20px;
}

.more-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
}

.more-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
}

.more-btn:hover {
  background-color: #ffa500;
  color: #fff;
  text-decoration: none;
  transform: translateX(5%);
}
/* 右カラム */
.company-right {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-end; 
}


.company-card {
display: flex;
align-items: center;
justify-content: space-between;
width: 80%;
padding: 20px 0; 
background: none; 
border-bottom: 1px solid #ddd; 
border-radius: 0;
box-shadow: none; 
transition: none; 
}

.company-card img {
max-width: 150px; 
border-radius: 8px;
}

.company-card-title {
flex: 1;
text-align: left; /* 左寄せ */
font-size: 20px;
margin-left: 20px;
}

.company-arrow {
width: 40px;
height: 40px;
background: #fff;
color: #333;
border-radius: 50%;
text-align: center;
line-height: 40px;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
transition: transform 0.3s ease;
}

.company-arrow:hover { 
  transform: translatex(5px) scale(1.1);
}
/* ==== Infomationセクション ==== */
.inf-section {
padding: 80px 5%;
background: #fff;
}

.inf-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 50px;
}

.inf-text {
display: flex;
flex-direction: column;
align-items: flex-start; /* 左揃え */
}

.inf-title {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 20px;
}

.inf-subtitle {
  font-size: 20px;
  margin-bottom: 20px;
}

.inf-img img {
width: 500px;
border-radius: 12px;
}


/* ==== Work Together / Get in Touch ==== */
.rc-section {
  display: flex;
  justify-content: center;
  gap: 50px;
  background: #fff;
  padding: 3rem;
}

.rc-card {
  flex: 1;
  max-width: 650px;
  background: #ffa500;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease;
  padding: 4rem;
}

.rc-card:hover {
  transform: translateY(-5px);
}

.rc-card-header {
  padding: 20px;
}

.rc-card-eyebrow {
  display: block;
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.rc-cardsection-title {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.rc-light {
  flex: 1;
  max-width: 650px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #ffa500;
  transition: transform 0.3s ease;
  padding: 4rem;
}

.rc-light-title {
  font-size: 24px;
  font-weight: bold;
  color: #ffa500;
}

.rc-card-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  position: relative;
  padding: 3rem;
  margin-bottom: 5rem;
}

.rc-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* 矢印を画像の下の余白に配置 */
.rc-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;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.rc-card-arrow:hover {
  transform: scale(1.1);
}

.sr-section {
  position: relative;
  background-color: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.sr-container {
  margin: 0 auto;	
}

.sr-title {
  position: relative;
  text-align: left;
  margin-left: 20px;
  font-size: 36px;
  font-weight: bold;
  z-index: 1;
}

.sr-title::before {
  content: "Service";
  position: absolute;
  top: -50px;
  right: 0;
  font-size: 160px; 
  color: #aaa;
  opacity: 0.15; 
  z-index: 0;
  pointer-events: none;
}

.sr-title p {
font-size: 64px;
display: inline-block;
margin-bottom: 100px;
}

.sr-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}

.sr-card {
display: block;
background: #fff;
border-radius: 10px;
overflow: hidden;
text-decoration: none;
color: #333;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
}

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

.sr-img img {
width: 100%;
height: 200px;
object-fit: cover;
}

.sr-info {
padding: 20px;
position: relative;
}

.sr-category {
font-size: 12px;
font-weight: bold;
color: #ff4081;
text-transform: uppercase;
}

.sr-name {
font-size: 18px;
font-weight: 700;
margin: 8px 0 0;
}

.sr-arrow {
position: absolute;
top: 50%;
right: 20px;
transform: translateY(-50%);
font-weight: bold;
font-size: 20px;
color: #999;
transition: transform 0.3s ease;
}

.sr-card:hover .sr-arrow {
transform: translateY(-50%) translateX(5px);
color: #333;
}

.sr-btn-wrap {
text-align: center;
margin-top: 60px;
}

.sr-btn {
display: inline-block;
padding: 12px 30px;
background: #ff4081;
color: #fff;
border-radius: 30px;
font-size: 14px;
text-decoration: none;
transition: background 0.3s ease;
}

.sr-btn:hover {
background: #333;
}


.s-btn {
  display: block;
  position: relative;
  margin: 0 auto;
  padding: 1em 2em;
  width: 300px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  background-color: #cccccc;
  border-radius: 50vh;
  transition: 0.3s;
}

.s-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #f2f2f2;
  border-radius: 50vh;
}

.s-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%) rotate(45deg);
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
}

.s-btn:hover {
  text-decoration: none;
  background-color: #cccccc;
}

.c-btn a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 0 auto;
  padding: 1em 2em;
  width: 300px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  background-color: #cccccc;
  transition: 0.3s;
}

.c-btn a::before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: 1em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 2px;
  background-color: #ffa500;
  transition: 0.3s;
}

.c-btn a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 70px;
  height: 2px;
  background-color: #ffa500;
  transition: 0.3s;
}

.c-btn a:hover {
  text-decoration: none;
  background-color: #bbbbbb;
}

.c-btn a:hover::before,
.c-btn a:hover::after {
  right: 0.5em;
}

/* 左スライド */
.slide-in-left {
opacity: 0;
transform: translateX(-50px);
transition: all 0.8s ease-out;
}
.slide-in-left.show {
opacity: 1;
transform: translateX(0);
}

/* 右スライド */
.slide-in-right {
opacity: 0;
transform: translateX(50px);
transition: all 0.4s ease-in;
}
.slide-in-right.show {
opacity: 1;
transform: translateX(0);
}

.img-slide-in {
opacity: 0;
transform: translateX(50px);
transition: all 0.5s ease-in;
}

.img-slide-in.show {
opacity: 1;
transform: translateX(0);
}

.works-section {
  position: relative;
  background-color: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.works-title {
  position: relative;
  text-align: right;
  margin-left: 20px;
  font-size: 36px;
  font-weight: bold;
  z-index: 1;
}

.works-title::before {
  content: "Works";
  position: absolute;
  top: -50px;
  left: 0;
  font-size: 160px; 
  color: #aaa;
  opacity: 0.15; 
  z-index: 0;
  pointer-events: none;
}

.works-title p {
font-size: 64px;
display: inline-block;
margin-bottom: 100px;
}

.works-cards {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 40px;
max-width: 1000px;
margin: 0 auto;
}

.works-card {
background: #fff;
border-radius: 8px;
padding: 30px 20px;
width: 300px;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
transition: 0.3s;
}

.works-card:hover {
transform: translateY(-5px);
}

.works-card img {
width: 260px;
height: 200px;
}

.works-card h3 {
font-size: 24px;
margin: 10px 0 20px;
}

.works-card p {
font-size: 14px;
color: #555;
}


/* レスポンシブ */
@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){
  /*必要ならばここにコードを書く*/
}
