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

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

body{
	background-color:#fff;
}


.swiper {
	 position: relative; 
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
	 overflow: hidden;
}

.swiper-slide {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  text-align:left;
  padding: 0px;
}

.slide-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-title {
  font-size: 1rem;
  margin: 10px 0 5px;
  color: #333;
}

.slide-date {
  font-size: 0.9rem;
  color: #777;
}
.swiper-container-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px; /* 矢印分の余白 */
	width:100%;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  background-color: #1F3336;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
}

/* 外側に配置 */
.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}
.slide-thumb {
  width: 355px;
  height: 355px;
  overflow: hidden;
}
.slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* スライドの高さはJSで揃えますが、最低限の高さを設定 */
.swiper-slide {
  min-height: 420px; /* 画像355 + 余白 */
  box-sizing: border-box;
}

/* レスポンシブ対応 */
@media (max-width: 540px) {
    .slide-thumb {
  width:100%;
    height:250px;
	background-size:cover;
	}
  .swiper-slide {
    min-height: 320px;
  }
}

/*header*/
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
 /* padding: 20px 40px;*/
  position: sticky;
  top: 0;
  z-index: 100;
}

.slide-categories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0 5px;
}

.slide-category {
    font-size: 0.75rem;
    color: #fff;
    background-color: #1F3336;
    padding: 2px 6px;
    text-decoration: none;
    transition: 0.2s;
	width:60px;
	text-align:center;
}

.slide-category:hover {
 opacity:0.8;
}

.header-inner {
  /*max-width: 1200px;*/
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo{margin-left:50px;}
.site-logo img {
  
  width: auto;
}


/* ナビ */
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
	text-align:center;
}
.nav-menu a {
  text-decoration: none;
  color: #E52C27;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-menu a:hover {
	opacity:0.8;}
.nav-menu a span{
	font-size:12px;
	display:block;
	color:#333;
}

.nav-menu li{
	margin:30px;
}
/* お問い合わせボタン */
.header-btn img{
	max-width:30px;
	display:block;
     margin: 17px auto;
	text-align:center;
}

.header-buttons {
  display: flex;
	height:120px;
}
.header-btn {
  background-color: #E52C27;
  color: white;
  padding: 10px 16px;

  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease;
	width: 200px;
    text-align: center;
}

.header-btn.tel {
  background-color: #000;
  
}

.header-btn:hover {
  opacity:0.5;
}

/* ハンバーガー */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}
.menu-toggle .bar {
    width: 100%;
    height: 10px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  
}
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.pc{display:block;}
.sp{display:none;}

/* レスポンシブ */
@media (max-width: 1000px) {

.sp{display:block;}
.pc{display:none;}
	
	
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color:#fffffff7;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    display: none;
  }
  .main-nav.active {
    display: flex;
  }
  .nav-menu {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  .header-buttons {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }
  .header-btn {
    width: 100%;
    text-align: center;
  }
	
	.site-logo{margin-left:0px;}
	.header-inner{padding:10px;}
	
	.nav-menu li{margin:0;}
	.header-buttons{height:inherit;}
}

/*TOPPAGE */
	img {max-width: 100%;}
		body{font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";}
	
.top_bk{
    background-color: #1f3336;
    background-image: url(../cocoon-master/img/bk.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left top;
}
		
.fvwrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 187vh;
  position: relative;
  text-align: right; /* 上記CSSより */
}

.fv-image {
  width: 55%;
  overflow: hidden;
  position: relative;
  margin-left: auto; /* スマホ時の右寄せを意識 */
}

.fv-image img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(0);
  transition: transform 0.1s linear;
}

.toptext {
  width: 45%;
  position: sticky;
  top:34%;
  z-index: 2;
  font-size: 5vw;
  font-weight: bold;
  text-align: left;
  color: #fff;
  line-height: 1.2;
  left: 21%;
  transition: none;
  /* 上記のposition:absoluteは使わずsticky優先 */
  /* text-align:leftは両方共通 */
  perspective-origin: #fff; /* 上記CSSから */
}

.toptext.relative {
  position: relative !important;
  top: auto !important;
  will-change: transform, opacity;
  transition: opacity 0.3s ease;
}

.toptext.fading-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.intext {
  font-size: 1.5vw;
  margin-top: 1rem;
  color: #fff;
}

.fade-up-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
}

.fade-up-char.red{
  color: #F90E06;
}


.white {
  color: #fff;
}

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

@media screen and (max-width: 1200px) {
	.fvwrap{
		    height: 79vh;
	}


}


/* スマホ対応 */
@media screen and (max-width: 767px) {
	.site-logo img {
  
  width: 90%;
}
	
  .fvwrap {
    position: relative;
    display: block;
    height: auto;
  }

  .fv-image {
    width: 80%;
    margin-left: auto; /* 画像を右寄せ */
  }

  .fv-image img {
    width: 100%;
  }

  .toptext {
    position: absolute; /* 画像の上に重ねる */
	  top:20%;
    left: 5%;
    width: 90%;
    font-size: 7vw; /* 優先CSSのサイズ */
    font-weight: bold;
    color: #fff;
    z-index: 2;
    line-height: 1.3;
    text-align: left;
    pointer-events: none;
    transition: none;
    white-space: normal;
    filter: drop-shadow(2px 4px 6px black); /* 優先CSSより */
  }

  .toptext.relative {
    position: absolute !important;
    top: auto !important;
  }

  .intext {
    font-size: 3.5vw;
    margin-top: 1rem;
    color: #fff;
    white-space: normal;
    line-height: 1.5;
  }
}


		    .fucca-hero-section {
    position: relative;
    height: 130vh;
    background: url(../cocoon-master/img/mark.png) center / contain no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-size: 40%;
    background-position: 99% 40%;
    margin-top: 50px;
}

    .fucca-fadein-box {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 1s ease-out, transform 1s ease-out;
		    width: 90%;
    }

    .fucca-fadein-box.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .fucca-title {
      font-size: 3em;
      margin-bottom: -10px;
      text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
		color:#F90E06;
    }

    .fucca-lead  {
    font-size: 1em;
    max-width: 600px;
    text-align:center;
    margin: 50px auto 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn6 {
	background: none;
	position: relative;
	border: none;
	border-bottom: 1px solid #fff;
	width: 300px;
	max-width: 90%;
	align-self: end;
    margin-bottom: 30px;
	    border-radius: unset;
}

.btn6 a{color:#fff;
text-decoration:none;
display:block;}
.btn6::before {
	content: "";
	display: block;
	width: 30px;
	height: 1px;
	background: #ffffff;
	rotate: 40deg;
	position: absolute;
	right: -16px;
	bottom: 9px;
}


	
/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
	.fucca-hero-section{
		height:70vh;}
	.top_bk{
		background-position: left top;
	}
	
	}
	
	@media screen and (max-width: 768px) {
	.top_bk {
   
    background-size: 145%;
    background-position: 48% top;
}
	.fucca-hero-section{
		    background-size: contain;
    background-position: center;
			height:110vh;
	}
	
	.fucca-hero-section{
	
		margin: 50px auto 0;
		
	}
	
	.fucca-title {
		font-size: 1.5em;}



	.main-container{
		width: 90%;
	}
	}
@media screen and (max-width: 430px) {
	
		.fucca-hero-section{
		
			height:90vh;
	}}

@media screen and (max-width: 390px) {
	
		.fucca-hero-section{
		
			height:135vh;
	}
}
@media screen and (max-width: 320px) {
	
		.fucca-hero-section{
		
			height:135vh;
	}}
	
/* TOPWORK */
.red-background {
    background-image: url("../cocoon-master/img/maskgroup.jpg"); /* Replace with your red background image URL */
    background-size: cover;
    background-position: center;
    color: white; 
  height: 400px;
    position: relative; /* Needed for the diagonal overlay */
    overflow: hidden; /* Hide overflow from diagonal */
}

.red-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 385px; /* Adjust the height of the diagonal */
    background: linear-gradient(to bottom right, transparent 50%, #1f3336 50%); /* This creates the diagonal cut */
    transform: skewY(-0deg); /* Adjust skew for diagonal angle */
    transform-origin: bottom right;
    pointer-events: none; /* Allows clicks on content below */
}

@media screen and (max-width: 480px) {
.red-background {
    background-image: url("../cocoon-master/img/maskgroup.jpg"); /* Replace with your red background image URL */
    background-size: cover;
    background-position: center;
    color: white; 
  height:250px;
    position: relative; /* Needed for the diagonal overlay */
    overflow: hidden; /* Hide overflow from diagonal */
}

.red-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px; /* Adjust the height of the diagonal */
    background: linear-gradient(to bottom right, transparent 50%, #1f3336 50%); /* This creates the diagonal cut */
    transform: skewY(-0deg); /* Adjust skew for diagonal angle */
    transform-origin: bottom right;
    pointer-events: none; /* Allows clicks on content below */
}
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* To keep content above the diagonal */
    z-index: 1; /* Ensure content is above the pseudo-element */
}

.header-content h1 {
    font-size: 3em;
    margin-bottom: 5px;
	margin-top:70px;
}

.header-content p {
    font-size: 1.2em;
}

.gray-background {
    background-color: #1f3336; /* Light gray color */
	
    padding: 50px 0;
    position: relative;
    z-index: 0; /* Ensure this is below the diagonal from the header */

}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    gap: 40px; /* Space between image and text */
    align-items: flex-start; /* Align items to the top */
	margin-top:-200px;
	
}

.profile-image {
    flex: 0 0 auto; /* Do not grow or shrink, base on content */
    width: 300px; /* Adjust image container width as needed */
    text-align: center;
}

.profile-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Slightly rounded corners for the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-image p {
    margin-top: 10px;
    font-size: 1.1em;
    font-weight: bold;
}

.profile-text {
    flex: 1; /* Allows text to take up remaining space */
    min-width: 300px; /* Minimum width for the text block before wrapping */
}

.profile-text p {
    margin-bottom: 1em;
}




/* ベーススタイル */
body {
  overflow-x: hidden;
}
/* ヘッダー部分 */
.hero-section {
    position: relative;
    width: 100%;
    height: 200px; /* 必要に応じて高さを調整 */
    background-color: #1f3336;
    overflow: hidden; /* はみ出したアウトラインテキストを隠す */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
	margin: -10px auto;
}

/* アウトラインテキストのスライド */
.outline-text-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* コンテンツの下に配置 */
}

.outline-text-slide {
    font-family: 'Oswald', sans-serif;
    font-size: 10vw;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5); /* 太さを2px、透明度を0.5に調整 */
    white-space: nowrap;
    position: absolute;
    top: 40%;
    left: 0;
    transform: translateY(-50%) translateX(0);
    animation: slideText 60s linear infinite;
    opacity: 0.9;
}

@keyframes slideText {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(-50%); /* テキストの半分が左にスライドするまで */
    }
}

/* RECRUIT・ACCESS */
.header-content {
    position: relative;
    z-index: 2; /* アウトラインテキストの上に配置 */
    text-align: center;
}

h1.recruit-title {
    font-size: 5em;
    margin: 0;
    color: white;
    letter-spacing: 0.1em;
	text-align:left;
}

.recruit-subtitle {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
	text-align:left;
	margin-bottom:50px;
}

/* メインコンテンツセクション */
.main-content-section {
    position: relative;
    background-color: #1f3336;
    padding: 1px 0 200px;
    color: white;
    background-image: url(../cocoon-master/img/bk30.png);
    z-index: 20;
    background-size: 113%;
    background-position: -230% 21%;
    background-repeat: no-repeat;
}

.main-content-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap; /* レスポンシブ対応 */
    gap: 40px;
    align-items: flex-start;
}

	section{
		position: relative;
		padding-bottom: 120px;}
	.btn.btn6{
		position: absolute;
		bottom: 2%;
		right: 20%;
	}	

.btn.btn6.works{
		
		bottom: 12%;
	}	

.left-text {
    flex: 1;
    min-width: 300px; /* 最低幅 */
    font-family: 'Oswald', sans-serif; /* 画像のフォントに似せる */
    font-size: 4em;
    font-weight: 700;
    line-height: 1.1;
    color: #e60000; /* 赤色 */
    text-align: right;
    text-transform: uppercase;
}

.left-text p {
    margin: 0;
}

.left-text p.japanese-slogan {
    font-family: 'Noto Sans JP', sans-serif;
    font-size:0.3em;
   
    margin-top: 30px;
    text-transform: none; /* 大文字にしない */
    font-weight: 400;
}

.right-text {
    flex: 1;
    min-width: 400px; /* 最低幅 */
}

.right-text p {
    margin-bottom: 1.5em;
    font-size: 1.05em;
}

.right-text .bold-text {
    font-weight: bold;
    font-size: 1.15em;
}

/* VIEW MORE ボタン */
.view-more-button {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px; /* 矢印のためのスペース */
    margin-top: 30px; /* 上のマージン */
    text-transform: uppercase;
}

.arrow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}

.arrow-head {
    position: absolute;
    bottom: -8px; /* 線の位置に合わせて調整 */
    left: calc(100% - 2px); /* 線の右端に配置 */
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 20px solid white; /* 矢じりの色と幅 */
    transform: translateY(2px); /* 線の高さの中央に合わせる */
}

/* ホバーエフェクト */
.view-more-button:hover {
    color: #ccc;
}

.view-more-button:hover .arrow-line,
.view-more-button:hover .arrow-head {
    background-color: #ccc;
    border-left-color: #ccc;
}


/* COMPANYセクション */
.company-section {
    /* COMPANYセクションの背景色と上のセクションのカット部分の色を合わせる */
    background-color: white; /* COMPANYセクション自体の背景色 */
    padding: 100px 0;
    position: relative;
    z-index: 5; /* 他の要素との重なり順を調整 */

}

/* COMPANYセクションの左上の斜め部分（黒いカバー） */
.company-section::before {
    content: '';
    position: absolute;
    top: -1px;
    width: 150px; /* 斜め部分の幅（調整可能） */
    height: 100px; /* 斜め部分の高さ（調整可能） */
    background-color: #1f3336; /* 上のメインコンテンツセクションの背景色 */
   
    clip-path: polygon(0 0, 100% 0, 0 100%); /* これで左上が三角形にカットされます */
    
    z-index: 6; /* COMPANYコンテンツより少し上 */
}

/* COMPANYセクションのコンテンツを適切に配置 */
.company-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* z-indexが効くように */
    z-index: 7; /* COMPANYコンテンツが斜めカバーの上に来るように */
}

/* 会社情報のテーブルと地図のコンテナ */
.company-details-map {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

.company-table {
    flex: 1;
    min-width: 400px; /* テーブルの最低幅 */
}

.company-table table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th, .company-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-table th {
    background-color: #fff;
    font-weight: bold;
    width: 150px; /* 見出しの幅 */
    color: #555;
}

.company-table td {
    color: #333;
	  background-color: #fff;
}

.company-table tr {
   border-bottom:1px solid #d1d1d1;
}
table:not(.has-border-color) :where(th, td){
	border:inherit;
}

/* 地図コンテナ (四角形に戻す) */
.map-container {
    flex: 1;
    min-width: 400px; /* マップの最低幅 */
    background-color: #eee; /* マップが読み込まれるまでの背景色 */
    border: 1px solid #ddd; /* 枠線 */
    overflow: hidden;
    position: relative;
    /* clip-path は削除 */
    /* clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);  <-- これを削除 */
}

.map-container iframe {
    display: block; /* iframeの下部にできる余白を削除 */
    width: 100%;
    height: 400px; /* 親の高さに合わせて */
}
@media screen and (max-width: 1200px) {


	.btn.btn6{
		bottom: -2%;
	}

}
/* レスポンシブ対応 */
@media (max-width: 992px) {
    .main-content-inner, .company-details-map {
        flex-direction: column;
        align-items: center;
    }

    .left-text, .right-text, .company-table, .map-container {
        min-width: unset; /* 最小幅をリセット */
        width: 100%;
        text-align: center; /* 中央揃え */
    }

    .left-text p {
        text-align: center;
		line-height: 1.3em;
    }

    h1.recruit-title{
        font-size: 3.5em;
    }

    .outline-text-slide {
        font-size: 20vw;
    }

    /* .diagonal-divider {
        height: 50px;
    } */ /* COMPANYの上に白い斜めがないので不要 */

    .main-content-section {
        /* 小さい画面で斜めカットを無効にする例 */
        clip-path: none;
    }

    .map-container {
        /* 画面が小さくなったら地図の斜めカットを無効にする（もしあった場合） */
        clip-path: none;
    }

   
}

@media (max-width: 768px) {
	
		.btn.btn6,.btn.btn6.works{
		right: 8%;
	}
	
    .hero-section {
        height: 450px;
    }
    h1.recruit-title{
        font-size: 2.5em;
    }
    .recruit-subtitle {
        font-size: 1em;
    }
    .paint-text, .the-text, .future-text, .together-text {
        font-size:36px;
    }
    .japanese-slogan {
        font-size: 1em;
    }
    .view-more-button {
        font-size: 1.5em;
    }
    .company-title {
        font-size: 2.5em;
    }
    .company-table th, .company-table td {
        padding: 10px;
    }
	
}

@media (max-width: 480px) {
      .hero-section {
        height: 130px;
    }
	h1.recruit-title{
        font-size: 1.8em;
    }
    .outline-text-slide {
        font-size: 25vw;
    }
    .paint-text, .the-text, .future-text, .together-text {
        font-size:24px;
    }
	
	.left-text p.paint-text {
margin-bottom: -30px;
}
	  .the-text, .future-text {
        display: inline-block;
    }
	
    .view-more-button {
        font-size: 1.2em;
        padding-bottom: 10px;
    }
    .arrow-line {
        height: 1px;
    }
    .arrow-head {
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        border-left: 14px solid white;
        bottom: -5px;
    }
    .company-title {
        font-size: 2em;
    }
    .company-table th {
        width: 100px;
    }
}
/* about */
.p-hero {
  background-color: #f9f9f9;
  padding: 120px 0;
  text-align: center;
}

.p-hero__title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.p-hero__subtitle {
  font-size: 1.4rem;
  color: #666;
}

.c-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.p-company-info__table-wrap {
  overflow-x: auto;
}

.p-company-info__table {
  width: 100%;
  border-collapse: collapse;
  max-width: 800px;
  margin: 0 auto 80px;
}

.p-company-info__table th,
.p-company-info__table td {
  border: 1px solid #ddd;
  padding: 16px 20px;
  text-align: left;
}

.p-company-info__table th {
  background-color: #f3f3f3;
  width: 30%;
}

.p-access-map__iframe-wrap {
  max-width: 900px;
  margin: 0 auto 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}


.page_toptext.about_t{
				text-align: left;
				max-width: 670px;
				margin: 0 auto 120px;
			}
.ourservice.about_t{
	text-align:left;
}
@media (max-width: 480px) {
.gray-background {
  
    padding: 50px 0 0;

	}}

/* Custom Footer Styles */
/* 背景画像（マスク） */
.footer-bg-decoration {
  background-image: url(https://creativebuilders2024.com/wp-content/themes/cocoon-master/img/maskgroup.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: top;
  height: 200px;
  width: 100%;
}

/* CONTACT 袋文字 */
#custom-footer .footer-contact h2.outlined-text {
  color: #2b3a3c;
  font-size: 24px;
  font-weight: bold;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff,
               -1px 1px 0 #fff, 1px 1px 0 #fff;
}

/* フッター全体 */
#custom-footer {
  background-color: #2b3a3c;
  color: #ffffff;
  padding: 40px 0 20px;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

#custom-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CONTACTセクション */
#custom-footer .footer-contact h2 {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 20px;
  letter-spacing: 1px;
  color: #bdbdbd;
}

#custom-footer .footer-contact .contact-button {
  display: inline-flex;
  align-items: center;
  background-color: #E52C27;
  color: #ffffff;
  padding: 10px 50px; /* 横余白拡大 */
  text-decoration: none;
  border-radius: 3px;
  font-size: 14px;
  margin-bottom: 15px;
  transition: background-color 0.3s ease;
}

#custom-footer .footer-contact .contact-button:hover {
  background-color: #cc3b3d;
}

#custom-footer .footer-contact .phone-number a.foot-btn {
  display: block;
  align-items: center;
  color: #fff;
  padding: 10px 50px; /* 横余白拡大 */
  text-decoration: none;
  border-radius: 3px;
  font-size: 14px;
  background-color: #000;
}

#custom-footer .footer-contact img {
  max-width: 30px;
  margin-right: 10px;
}

/* ナビゲーション */
#custom-footer .footer-navigation ul {
  list-style: none;
  margin: 15px;
  padding: 0;
  display: flex;
  gap: 30px;
}

#custom-footer .footer-navigation li a {
  color: #bdbdbd;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

#custom-footer .footer-navigation li a:hover {
  color: #ffffff;
}

/* Instagramアイコン＋テキスト 横並び中央揃え */
#custom-footer .footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #bdbdbd;
}

#custom-footer .footer-social .social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#custom-footer .footer-social .social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* コピーライト */
#custom-footer .footer-copyright {
  text-align: right;
  color: #bdbdbd;
  font-size: 12px;
  margin-top: 40px;
  padding: 0 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	
	.footer-bg-decoration{
		height:100px;
	}
	
  #custom-footer .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #custom-footer .footer-contact,
  #custom-footer .footer-navigation,
  #custom-footer .footer-social {
    margin-bottom: 30px;
  }

  #custom-footer .footer-navigation ul {
    flex-direction: column;
    gap: 15px;
  }

  #custom-footer .footer-copyright {
    text-align: center;
  }
}


/* archive */
/* ===== Worklist Archive スタイル ===== */
.post-info a{
	text-decoration:none;
	color:#333;
}
.post-info .post-meta a{
	text-decoration:none;
	background:#1F3336;
	padding:5px;
	margin:5px;
	color:#fff;
}
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
  font-size: 0.95rem;
	margin-bottom:50px;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  color: #F90E06;
  text-decoration: none;
  transition: color 0.3s;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  opacity:0.8;
}

   .site-main.post-list-container {
      
      width: 75%;
    }

    .entry-meta {
      display: flex;
      gap: 1em;
      align-items: center;
      flex-wrap: wrap;
      font-size: 0.9em;
      color: #555;
		margin-bottom: 20px;
    }

    .entry-meta time {
      font-weight: bold;
    }

    .entry-meta .post-categories a {
    color: #fff;
    text-decoration: none;
    background-color: #1F3336;
    padding: 5px;
}

    .entry-meta .post-categories a:hover {
      text-decoration: underline;
    }
	  
	  .sidebar h2 {
    background-color: #fff;
    color: #F90E06;
    border-bottom: 2px solid;
    padding: 12px;
    margin: 16px 0;
    
}
	
/* 親コンテナ */
.worklist-page{
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 200px auto;
    max-width: 1200px;
    width: 90%;
	overflow:hidden;
}

/* サイドバー */
.sidebar {
  flex: 0 0 250px; /* 幅固定 */
  order: 1; /* PC時は左側 */
}

/* メイン投稿一覧 */
.post-list-container {
  flex: 1 1 0;
  order: 2; /* PC時は右側 */
}

/* 投稿リストをグリッドで3列に */
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-title {
    font-weight: normal;
    font-size: 20px;
    margin: 10px 0;
}

/* 投稿1件のスタイル */
.post-list li {
 
  padding: 10px;
  border-radius: 4px;
  box-sizing: border-box;
}

/* 投稿内の画像サムネイル */
.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}


.archivebtn a  {
    -webkit-appearance: none;
    border: 1px solid #333;
    background-color: #fff;
    color: #333;
    max-width: 300px;
    width: 100%;
    margin: 20px auto;
    display: block;
    padding: 25px;
    font-size: 18px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
}
.archivebtn a:hover{
	opacity:0.5;
	background-color:#999;
	color:#fff;
	
}
.post-thumbnail-square {
  width:250px;
  height:250px; /* 正方形 */
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.post-thumbnail-square:hover {
  transform: scale(1.03);
}

	

/* スマホ以下のレスポンシブ対応 */
@media screen and (max-width: 1023px) {
    .no-mobile-sidebar .sidebar, .mobile-button-fmb .go-to-top-button, .no-mobile-header-logo #header .logo-header {
        display: block;
    }
	
	.archivebtn a {
 
    width: 70%;
    font-size: 16px;
   padding:15px;
}
	
}


@media screen and (max-width: 768px) {
  .worklist-page {
    flex-direction: column;
  }
  .sidebar {
    order: 2; /* サイドバーを下に */
    flex: 1 1 100%;
    margin-top: 20px;
	  
  }
	.post-list-container { order: 1;}
	.post-category{
	line-height: 2.5em;	
	}
  .site-main.post-list-container {
    order: 1; /* 投稿リストを上に */
	  padding:15px;
	  width:100%;
  }
  /* 投稿リストは1列に */
  .post-list {
   display:flex;
	  flex-wrap:wrap;
	  justify-content:flex-start;
  }
	.post-list li{
		width:47%;
		padding:0;
	}
	
	.worklist-page{
		margin:50px auto 0;
	}
	.post-title{
		font-size:16px;
	}
		.post-thumbnail-square {
  width:160px; /* 正方形 */
			 height:160px; /* 正方形 */
	}
}


/* blog */
.wp-block-heading{
    background: #F90E06;
    padding: 10px 15px;
    color: #fff;
}
.entry-content {
 
    margin: 0 auto;
}



/* about */
.bigtitle  {
    background-color: #1f3336;
    background-image: url(../cocoon-master/img/maskgroup.jpg), url(../cocoon-master/img/bk.png);
    background-repeat: no-repeat, no-repeat;
    background-size: 77%, 50%;
    background-position: right center, 19% center;
    position: relative;
    height: 450px;
}
			
			h1.p-hero__titlepage {
    font-size: 3em;
    margin-bottom: 5px;
    margin-top: 70px;
}
			.p-hero__subtitlepage {
    font-size: 1.2em;
				color: #fff;
}
			.pagetitlewrap{
    position: absolute;
    bottom: 5%;
    left: 16%;
    text-align: left;
    color: #fff;
}
		
			.p-heropage{
				background-color: #1f3336;
   
			}
			
	.page_contentwrap {
    max-width: 1000px;
    width: 90%;
   padding: 150px 0 100px;
    margin: 0 auto;
}
.servicewrap{
    background-image: url(../cocoon-master/img/bk30.png);
    background-repeat: no-repeat;
    background-size: 65%;
    background-position: 145% center;
    position: relative;
    color: #fff;
}
			
			.pagetitle{
				
				font-size: 3em;
    margin-bottom: 5px;
			}
			.pagetitlesub{
				font-size: 1.2em;
			}
				.pagetitle.red{
				color: #F90E06;
				}
			.pagetitlesub.red{	
				color: #F90E06;
			}
			.ourservice{
				text-align: center;
				margin-bottom: 50px;
			}
		
			.page_toptext{
				text-align: left;
				max-width: 1000px;
				margin: 0 auto 120px;
			}
			
			
			
			.philpsophywrap{
    background-image: url(../cocoon-master/img/bk30.png);
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: 79%;
    background-position: 302% center;
}
			
	.cb-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cb-section {
  max-width: 700px;
  width: 100%;
  padding: 2rem;
 
  transition: opacity 0.8s ease, transform 0.8s ease;
  opacity: 0;
  position: relative;
}

/* 初期状態（左右非表示） */
.cb-left {
  margin-left: 0;
  margin-right: auto;
 
  transform: translateX(-50px);
}

.cb-right {
  margin-left: auto;
  margin-right: 0;
 
  transform: translateX(50px);
}

/* 表示時アニメーション */
.cb-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 共通コンテンツ構造 */
.cb-index {
  font-size: 2.5rem;
  font-weight: bold;
  color: #e60012;
	display: inline-block;
    width: 10%;
}

.cb-title-block {
  margin-top: 1rem;
	display: inline-block;
}

.cb-title {
  font-size: 1.2rem;
  color: #e60012;
  margin-bottom: 0.3rem;
}

.cb-headline {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cb-body {
    
    line-height: 1.7;
    color: #333;
    margin-top: 1rem;
    border-top: 1px solid;
	padding-top: 20px;
	font-size:18px;
}
.main-container {
    display: flex;
    justify-content: center;
    margin: -175px auto 0;
    padding: 0;
}

.main-content-inner.profile {
  display: flex;
  width: 1000px;
  gap: 50px;
 align-items: flex-start;
    justify-content: space-between;
}

.left-text.profile {
  flex: 1.2;
  text-align: left;
}

.left-text.profile img {
  max-width: 300px;
  height: auto;
  display: block;
	margin:0 auto;
}
.right-text.profile{
  flex: 1.8;
 
}
.right-text.profile p{
  flex: 2;
  color: #fff;
  text-align: left;
  line-height: 1.8;
  font-size: 18px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .main-content-inner.profile {
    flex-direction: column;
    width: 100%;
    padding: 20px 10px;
  }

  .left-text.profile,
  .right-text.profile {
    width: 100%;
  }

  .right-text.profile {
    font-size: 14px;
  }
}


/* レスポンシブ対応 */

@media screen and (max-width: 1024px) {
	
	.bigtitle{
		height: 300px;
	}
	.page_contentwrap.servicewrap{
		padding-bottom:0;
	}
	section {
    position: relative;
		padding-bottom: 60px;}
}

@media screen and (max-width: 768px) {
	section{padding-bottom:120px;}
  .cb-left,
  .cb-right {
    margin: 0 auto;
    border-left:  none;
    border-right: none;
	  padding: 1rem;
  }
	
	.cb-index{
		font-size: 24px;
		width:100%;
	}
	.cb-title-block{
		width: 100%;
	}
    .philpsophywrap {
        background-position: 0% center;
        background-size: 200%;
        padding-top: 80px;
    }
	.bigtitle{
		height: 220px;
	}
	.pagetitlewrap{
		left: 5%;
	}
	
	.p-hero__title {
		font-size: 2rem;}
	.p-hero__subtitlepage {
		font-size: 0.8em;}
			.pagetitle{
				font-size: 24px;}
			.pagetitlesub{
				font-size: 14px;
			}
			.page_toptext.about_t{
				margin: 0 auto;
			}
	.page_contentwrap {
        margin: 0 auto;
        padding: 0;
    }
	.servicewrap {
      
        width: 100%;
        padding: 65px 0 100px;
        background-size: 150%;
        background-position: -55%;
    }
			.right-text.profile{
				text-align: left;
			}
			}
	
	




/* recruit・contact */
.wpcf7 .required {
  color: red;
  font-size: 0.9em; /* 必要に応じて調整 */
}
.wpcf7-form-control{
	margin-bottom:30px;
}

		.contacttext{
				font-size: 0.8em;
			}
.page_contentwraprec {
    max-width: 1000px;
    margin: 0 auto;
    background: #d2d6d7;
    padding: 40px;
}
			
			
			.page_contentwraprec.wh {
 margin: 80px auto 0;
    background: #fff;
				border-radius: 15px;
}
			
	   .page_toptext.rec{
		   text-align:center;}
	   .page_toptext p{
	   font-size: 1.2em;
		   margin: 20px auto;}
	   
			.philpsophywrap.recruit{
				padding-top: 80px;
				background-position: 200% center;
			}
			
			.recruittac{text-align: center;}	
			
	.recruit-section {
 
  padding: 60px 20px 120px;
}

.recruit-container {
  max-width: 800px;
  margin: 0 auto;
}

.recruit-heading {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #1f3336;
}

.recruit-heading .recruit-sub {
  display: block;
  font-size: 1rem;
  color: #e60012;
  margin-top: 0.5rem;
}

.recruit-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recruit-row {
  display: flex;
  border-top: 1px solid #ccc;
  padding-top: 2rem;
}
			.recruit-row:last-child{
				 border-bottom: 1px solid #ccc;
  padding-bottom: 2rem;
			}

.recruit-row dt {
  width: 30%;
  font-weight: bold;
  color: #1f3336;
  font-size: 1rem;
  white-space: nowrap;
}

.recruit-row dd {
  width: 70%;
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.recruit-contact {
  margin-top: 40px;
  text-align: center;
}

.recruit-button {
  display: inline-block;
  background-color: #e60012;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.recruit-button:hover {
  background-color: #c80010;
}
input[type=submit] {
    -webkit-appearance: none;
    border: 1px solid #333;
    background-color: #fff;
    color: #333;
    max-width: 300px;
    width: 100%;
    margin: 20px auto;
    display: block;
    padding: 25px;
    font-size: 18px;
    border-radius: 50px;
}
input[type=submit]:hover{
	opacity:0.5;
	background-color:#999;
	color:#fff;
	
}
.red.entry{text-align:center;
margin:20px auto;}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .recruit-row {
    flex-direction: column;
  }

  .recruit-row dt,
  .recruit-row dd {
    width: 100%;
  }

  .recruit-row dt {
    margin-bottom: 0.5rem;
  }
	   .page_toptext.rec{
		   text-align:left;}
	
	input[type=submit] {
		padding:15px;
	}
}



/* fade */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}


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

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

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