@charset "UTF-8";

/* =========================================
	 Reset & Base
	 ========================================= */
* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
}
html {
		scroll-padding-top: 90px; /* PC版ヘッダーの高さ＋少しの余白 */
		scroll-behavior: smooth; /* ついでに、リンクをクリックした際に「スルッ」と滑らかに移動するようになります */
}
@media (max-width: 768px) {
		html {
				scroll-padding-top: 65px; /* スマホ版ヘッダーの高さに合わせて調整 */
		}
}
:root {
	--primary-teal: #007c72;
	--dark-teal: #004b45;
	--light-bg: #E9F6F6;
	--orange: #f0831e;
	--text-main: #3f3f3f;
}
body {
	font-family: 游ゴシック体, YuGothic, 游ゴシック Medium, Yu Gothic Medium, 游ゴシック, Yu Gothic, sans-serif;
	margin: 0;
	padding: 0;
	color: var(--text-main);
	background-color: #E9F6F6;
	line-height: 1.8;
}
img {
    max-width: 100%;
    height: auto;
}
p {
	font-size: 1rem;
}
@media (max-width: 766px) {
	p {
		font-size: 0.9rem;
	}
}
a {
    text-decoration: none;
    color: inherit;
}
.pc {
	display: block;
}
.sp {
	display: none;
}
@media (max-width: 766px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 30px;
	box-sizing: border-box;
}
@media (max-width: 768px) {
	.container {
		width: 95%;
		padding: 0 15px;
	}
}
/* Font */
.bc_bold {
	font-family: "bc-sklonar", sans-serif;
	font-weight: 700;
	font-style: normal;
}
.bc_medium {
	font-family: "bc-sklonar", sans-serif;
	font-weight: 500;
	font-style: normal;
}
.bc_light {
	font-family: "bc-sklonar", sans-serif;
	font-weight: 400;
	font-style: normal;
}
/* Section Titles */
.section-title {
	font-weight: 700;
	font-style: normal;
	font-size: 2rem;
	text-align: center;
	margin-bottom: 0px;
	letter-spacing: -0.1rem;
	color: var(--primary-green);
}
@media (max-width: 768px) {
	.section-title {
		font-size: 1.5rem;
	}
}
.title span.section-title-border {
	display: block;
	height: 0.35rem;
	width: 50px;
	margin: 5px auto 30px;
	background-color: #dada8a;
	border-radius: 0.175rem;
}
/* ボタン共通 */
.btn-orange {
		display: inline-block;
		background: -webkit-linear-gradient(bottom, #c05711, #e9b973);
		background: -o-linear-gradient(bottom, #c05711, #e9b973);
		background: linear-gradient(to top, #c05711, #e9b973);
		border: 1px solid #FFF;
		color: white;
		text-decoration: none;
		padding: 5px 20px;
		border-radius: 30px;
		font-weight: 600;
		font-size: 1rem;
		letter-spacing: -0.05rem;
		box-shadow: 0 4px 6px rgba(0,0,0,0.1);
		transition: opacity 0.2s;
}
.btn-orange:hover {
		background: -webkit-linear-gradient(bottom, #e9b973, #c05711);
		background: -o-linear-gradient(bottom, #e9b973, #c05711);
		background: linear-gradient(to top, #e9b973, #c05711);
}
@media (max-width: 768px) {
	.btn-orange {
		padding: 8px 20px;
		border-radius: 30px;
		font-weight: 600;
		font-size: 1rem;
	}
}
.btn-arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	transform: translate(0, -0.15em);
}
.btn-arrow::before, .btn-arrow::after {
	box-sizing: border-box;
}
.btn-arrow::after {
	content: '';
	width: 50%;
	height: 50%;
	border-top: 0.15em solid #ffffff;
	border-right: 0.15em solid #ffffff;
	transform: translateX(-15%) rotate(45deg);
}
/* ヘッダー */
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	position: sticky;
	top: 0;
	z-index: 100;
}
@media (min-width: 769px) and (max-width: 1300px) {
  .header {
    display: grid;
    grid-template-columns: 1fr auto; /* 左側にロゴの領域、右側にメニューの領域 */
    grid-template-rows: auto auto;   /* 縦2段に分ける */
    row-gap: 10px; /* 上（ナビ）と下（ボタン）の隙間 */
    padding: 15px 20px; /* 画面幅が狭いので、全体の左右の余白を少し詰める */
  }
}
@media (max-width: 768px) {
	.header {
		padding: 10px 15px; 
	}
}
.header-logo {
	  display: flex;         /* 追加：中身をフレックスボックスにする */
	  align-items: center;   /* 追加：中身（画像）を上下中央に揃える */
	  margin-right: auto;
	  text-decoration: none; /* ロゴを <a>タグ で囲んだ時の下線防止 */
}
@media (min-width: 1000px) and (max-width: 1300px) {
  .header-logo {
	width: 50%;
    grid-column: 1 / 2;
    grid-row: 1 / 3; /* ロゴは縦2段分をぶち抜いて配置 */
    align-self: center; /* 縦の中央に配置 */
    margin-right: 0;
  }
}
@media (min-width: 769px) and (max-width: 999px) {
  .header-logo {
	width: 70%;
    grid-column: 1 / 2;
    grid-row: 1 / 3; /* ロゴは縦2段分をぶち抜いて配置 */
    align-self: center; /* 縦の中央に配置 */
    margin-right: 0;
  }
}
.header-logo img {
	  vertical-align: middle; /* 画像下部の謎の隙間を消して完全に中央にする */
	  height: 40px;           /* ヘッダーに収まる高さ（※画像のサイズに合わせて数値は調整してください） */
	  width: auto;            /* 縦横比を崩さない */
}
@media (min-width: 769px) and (max-width: 999px) {
.header-logo img {
	  vertical-align: middle; /* 画像下部の謎の隙間を消して完全に中央にする */
	  height: 30px;           /* ヘッダーに収まる高さ（※画像のサイズに合わせて数値は調整してください） */
	  width: auto;            /* 縦横比を崩さない */
}
}
@media (max-width: 768px) {
	.header-logo {
		width: 30%;
	}
}
.header-nav {
	display: flex;
	align-items: center;
	gap: 0;
	order: 2; 
}
.header-nav a {
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--text-main);
}
.header-nav a:nth-last-child(2) {
	margin-right: 20px;
}
.header-nav a.btn-orange {
	color: #fff;
}
@media (min-width: 769px) and (max-width: 1300px) {
  .header-nav {
    grid-column: 2 / 3;
    grid-row: 1 / 2; /* ナビゲーションは右側の上段 */
    justify-content: flex-end; /* 右寄せにする */
  }
  .header-btn {
    grid-column: 2 / 3;
    grid-row: 2 / 3; /* オレンジのボタンは右側の下段 */
    justify-self: flex-end; /* 右寄せにする */
    margin-left: 0;
    padding: 8px 20px; /* ボタンを少しだけコンパクトに調整 */
    font-size: 1.1rem;
  }
  .header-nav a {
    font-size: 0.8rem;
  }
}

/* PC時の並び順：ボタンは3番目（一番右） */
.header-btn {
	order: 3;
	margin-left: 20px;
	white-space: nowrap; /* ボタン内の文字の改行を防ぐ */
}
@media (max-width: 768px) {
	.header-btn {
		order: 2; /* スマホ時はロゴの次（ハンバーガーの左）に配置 */
		font-size: 0.8rem; /* 狭い画面に収まるようフォントを小さく */
		padding: 7px 10px;
		margin-left: auto; /* 右に寄せる */
		margin-right: 15px; /* ハンバーガーとの隙間 */
	}
}
/* ハンバーガーボタン（PC時は非表示） */
.hamburger {
	display: none; 
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1001; 
	padding: 0;
}
.hamburger span {
	display: block;
	width: 25px;
	height: 2px;
	background-color: var(--primary-teal);
	margin: 6px 0;
	transition: all 0.3s ease; 
}
@media (max-width: 768px) {
	.hamburger {
		display: block;
		order: 3; /* スマホ時はハンバーガーを一番右（3番目）に配置 */
	}
	
	.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.hamburger.active span:nth-child(2) { opacity: 0; }
	.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	/* スライドメニューの中身 */
	.header-nav {
		flex-direction: column;
        justify-content: flex-start;
        position: fixed;
		top: 0;
		right: -100%;
		width: 250px;
		height: 100vh;
		background-color: rgba(255, 255, 255, 0.95);
		transition: right 0.3s ease;
		box-shadow: -2px 0 5px rgba(0,0,0,0.1);
		z-index: 1000;
		padding-top: 5rem;
	}
	.header-nav.active {
		right: 0; 
	}
	
	/* メニュー内のリンク設定 */
	.header-nav a {
		margin: 15px 0 !important;
		padding-bottom: 15px;
		width: 80%;
		font-size: 1rem;
		font-weight: bold;
		text-align: center;
		display: block;
		border-bottom: 1px solid #eee;
	}
}
/* ヒーローエリア */
.hero {
  background-image: url("../img/hero_background.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-color: #FFF;
  height: 60vh;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.hero-title-img {
  width: 900px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .hero {
    height: 40vh; /* スマホでは縦に長くなりすぎないよう高さを抑える */
    min-height: 400px;
    padding: 0 15px; /* 余白の調整 */
  }
  .hero-title-img {
    width: 90%; /* スマホ画面の横幅に対して90%のサイズで表示 */
  }
}
/* ご挨拶 */
.greeting .container {
	background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
	padding: 60px;
	text-align: center;
	border-radius: 20px;
	z-index: 10; 
	margin-top: -50px;
}
@media (max-width: 768px) {
	.greeting .container {
		width: 90%;
		padding: 30px 20px;
	}
}
.greeting h2 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}
@media (max-width: 768px) {
	.greeting h2 {
		font-size: 1.25rem;
		margin-bottom: 1rem;
	}
	.greeting-text {
		text-align: left;
	}
}
/* 数字で見るゼロボード */
.stats {
	padding: 60px 0;
	background-color: #FFF;
}
.stats-sub {
	text-align: center;
	margin-bottom: 40px;
}
@media (max-width: 768px) {
	.stats-sub {
		text-align: left;
		margin-bottom: 20px;
	}
}
.stats-grid01 {
	display: grid;
	grid-template-columns: 2fr 2fr 2fr;
	border-bottom: 2px solid #7fbdb8;
}
.stats-grid02 {
	display: grid;
	grid-template-columns: 4fr 2fr; 
}
@media (max-width: 768px) {
	.stats-grid01, .stats-grid02 {
		display: block;
		border-bottom: none;
	}
}
.stat-item04-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
@media (max-width: 768px) {
	.stat-item04-box {
		display: block;
	}
}
.stat-item {
	width: 100%;
	padding: 0 40px 40px;
	text-align: center;
}
@media (max-width: 768px) {
	.stat-item,.stats-grid02 .stat-item {
		border-bottom: 2px solid #7fbdb8;
		padding: 30px 0;
	}
	.stats-grid02 .stat-item:last-child {
		border-bottom: none;
	}
	.stat-item img {
		margin: 0 auto;
	}
}
.stats-grid02 .stat-item {
	padding: 40px 40px 0;
	text-align: center;
}
@media (max-width: 768px) {
	.stats-grid02 .stat-item {
		padding: 30px 0;
	}
}
.stat-item01, .stat-item02, .stat-item04 {
	border-right: 2px solid #7fbdb8;
}
@media (max-width: 768px) {
	.stat-item01, .stat-item02, .stat-item04 {
		border-right: none;
	}
	.stat-item04-box:first-child {
		padding-bottom: 20px;
	}
}

/* お客様からのコメント（横スクロール） */
.comments-section {
	padding: 60px 0;
	background-color: var(--light-bg);
	overflow: hidden;
	background-image: url("../img/comments_background.png");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
}
.comments-sub {
	text-align: center;
	margin-bottom: 40px;
}
@media (max-width: 768px) {
	.comments-sub {
		text-align: left;
		margin-bottom: 30px;
	}
}
.marquee-wrapper {
	display: flex;
	flex-direction: column;
	gap: 30px; /* 上・中・下段の間隔 */
	width: 100%;
	overflow: hidden;
	padding-bottom: 30px;
}
@media (max-width: 768px) {
	  .marquee-wrapper {
		gap: 15px; /* 上中下段の縦の隙間を狭くする（30px → 15px） */
		padding-bottom: 15px;
	  }
}
/* 各レーンのアニメーション設定 */
.marquee-content {
	display: flex;
	gap: 30px;
	width: max-content;
	animation: scroll-left 25s linear infinite;
	align-items: center; /* ★追加：高さが違う吹き出しが並んでも、縦の「中央」で綺麗に揃える */
}
@media (max-width: 768px) {
	  .marquee-content {
		gap: 15px; /* 吹き出し同士の横の隙間を狭くする（30px → 15px） */
	  }
}
.marquee-middle {
	margin-left: 150px;
}
@media (max-width: 768px) {
	  /* スマホの画面幅に合わせて、中段のジグザグのズレを小さくする */
	  .marquee-middle {
		margin-left: 40px; /* 150pxから大幅に縮小 */
	  }
}
.marquee-top, .marquee-bottom {
	margin-left: 0;
}
/* ホバー時にアニメーションを一時停止 */
.marquee-content:hover {
	animation-play-state: paused;
}
/* 基本の吹き出し（上段・下段）＝ 緑 */
.comment-box {
	background-color: #007c72;
	color: white;
	font-size: 0.9rem;
	min-width: 200px;
	max-width: 600px; 
	min-height: 100px;
	max-height: 500px; 
	padding: 20px;
	box-sizing: border-box;
	line-height: 1.3; 
	text-align: left;
	border-radius: 15px;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	position: relative;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.comment-box::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 40px;
	border-width: 15px 15px 0;
	border-style: solid;
	border-color: transparent;
}
/* 中段・下段の吹き出し*/
/* ★ 奇数番目（1, 3, 5, 7番目...）＝ 緑（#7ababa） */
.comment-box:nth-child(odd) {
  background-color: #007c72;
}
.comment-box:nth-child(odd)::after {
  border-color: #007c72 transparent transparent transparent;
}

/* ★ 偶数番目（2, 4, 6, 8番目...）＝ 青（#77b0c0） */
.comment-box:nth-child(even) {
  background-color: #006988;
}
.comment-box:nth-child(even)::after {
  border-color: #006988 transparent transparent transparent;
}
/* 上段の吹き出し*/
/* ★ 奇数番目（1, 3, 5, 7番目...）＝ 緑（#7ababa） */
.marquee-top .comment-box:nth-child(odd) {
  background-color: #007c72;
}
.marquee-top .comment-box:nth-child(odd)::after {
  border-color: #007c72 transparent transparent transparent;
}

/* ★ 偶数番目（2, 4, 6, 8番目...）＝ 青（#77b0c0） */
.marquee-top .comment-box:nth-child(even) {
  background-color: #006988;
}
.marquee-top .comment-box:nth-child(even)::after {
  border-color: #006988 transparent transparent transparent;
}
@media (max-width: 768px) {
	  .comment-box {
		min-width: 180px;
		max-width: 260px;
		padding: 15px 20px;
		font-size: 13px;
		border-radius: 12px;
	  }
	  .comment-box::after {
		bottom: -10px;
		left: 20px;
		border-width: 10px 10px 0;
	  }	
}

@keyframes scroll-left {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* あゆみ（ジグザグタイムライン） */
.history-path {
	padding: 60px 0 0;
	background-color: #007c72;
	color: #fff;
}
.history-path h2 {
	color: #fff;
}
.path-timeline {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}
.path-timeline img {
	width: 100%;
}
.path-item {
	display: flex;
	flex-direction: column;
	width: 45%;
	margin-bottom: 30px;
	position: relative;
}
.path-item.left {
	align-items: flex-end;
	text-align: right;
	left: 0;
}
.path-item.right {
	align-items: flex-start;
	text-align: left;
	left: 55%;
}
.path-date {
	background: #fff;
	color: var(--primary-teal);
	padding: 5px 15px;
	border-radius: 20px;
	font-weight: bold;
	margin-bottom: 10px;
	display: inline-block;
}
.path-card {
	background: rgba(255,255,255,0.1);
	padding: 15px;
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.3);
}

/* ゼロボードの年表（タブ切り替え） */
.timeline-section h2 {
	font-size: 1.75rem;
	margin-bottom: 10px;
	text-align: center;
}
@media (max-width: 768px) {
	.timeline-section h2 {
		font-size: 1.25rem;
	}	
}
.timeline-section {
	padding: 60px 0;
	background-color: var(--primary-teal);
	color: var(--text-main);
}
.timeline-section h2 {
	color: #fff;
}
.tab-buttons {
	display: flex;
	justify-content: space-between;
	background-color: rgba(255,255,255,0.2);
	border-radius: 10px 10px 0 0;
	overflow: hidden;
}
@media (max-width: 768px) {
	.tab-buttons {
		display: flex;
		justify-content: flex-start;
		overflow-x: auto; /* タブが多くても横スクロールで対応 */
		white-space: nowrap; /* タブが改行されないようにする */
		-webkit-overflow-scrolling: touch; /* スマホでの滑らかなスクロール */
	}
}
.tab-button {
	flex: 1;
	padding: 15px 0;
	background: transparent;
	border-left: none;
	border-right: none;
	border-top: none;
	border-bottom: 2px solid var(--primary-teal);
	color: white;
	cursor: pointer;
	transition: background 0.3s;
	font-family: "bc-sklonar", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 1.5rem;
}
@media (max-width: 768px) {
	.tab-button {
		padding: 12px 20px;
		font-size: 1.15rem;
	}
	.timeline-list li {
		flex-direction: column; /* 日付と内容を縦並びにする */
		font-size: 0.9rem;
	}
	.timeline-list .date {
		margin-bottom: 5px;
	}
}
.tab-button:not(:last-child) {
	border-right: 2px solid var(--primary-teal);
}
.tab-button.active {
	background-color: #ffffff;
	border-bottom:none;
	color: var(--dark-teal);
}
.tab-content {
	display: none;
	background-color: rgba(255,255,255,1);
	padding: 30px;
	border-radius: 0 0 10px 10px;
	animation: fadeIn 0.5s ease;
}
@media (max-width: 768px) {
	.tab-content {
		padding: 30px 20px;
	}
}
.tab-content.active {
	display: block;
}
.timeline-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.timeline-list li {
	display: flex;
	margin-bottom: 15px;
	border-bottom: 1px solid #77bab5;
	padding-bottom: 15px;
}
.timeline-list .date {
	width: 120px;
	font-weight: bold;
}
.timeline-list .event {
	flex: 1;
}

/* ゼロボードの想い */
.philosophy {
	padding: 60px 0;
	text-align: center;
}
.philosophy .container {
	background-image: 
    linear-gradient(to bottom, rgba(233, 246, 246, 0)0%, rgba(233, 246, 246, 1)60%, rgba(233, 246, 246, 1)100%), 
    url('../img/philosophy_background.png');
	background-size: cover;
	padding: 60px 60px 0;
	border-radius:20px;
}
@media (max-width: 768px) {
.philosophy .container {
	padding: 30px 20px 0;
	}
}
.philosophy-item {
	margin-bottom: 50px;
}
.philosophy-item h3 {
	font-size: 1.75rem;
	color: var(--dark-teal);
	margin-bottom: 10px;
	font-family: "bc-sklonar", sans-serif;
	font-weight: 700;
	font-style: normal;
}
.philosophy-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0 0 10px;
}
@media (max-width: 768px) {
	.philosophy-title {
		font-size: 1.25rem;
		margin: 0 0 5px;
		text-align: left;
	}
	.philosophy-desc {
		font-size: 0.9rem;
		text-align: left;
	}
}
/* カンファレンス案内 */
.conference {
	padding: 80px 0;
	background-color: var(--primary-teal);
	color: #fff;
	text-align: center;
}
.conference h2 {
	color: #fff;
}
@media (max-width: 768px) {
	.conference p {
		text-align: left;
	}
}
.laptop-mockup {
	max-width: 600px;
	height: auto;
	margin: 40px auto;
}
.laptop-screen {
	background: #fff;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-teal);
	font-size: 24px;
	font-weight: bold;
}
.badge {
	position: absolute;
	top: -20px;
	left: -20px;
	background: var(--primary-teal);
	border: 3px solid #fff;
	color: #fff;
	padding: 15px;
	border-radius: 50%;
	font-weight: bold;
	transform: rotate(-15deg);
	z-index: 10;
}
.btn-orange.large {
	font-size: 1.75rem;
	padding: 10px 60px;
	letter-spacing: 0.05rem;
	border-radius: 50px;
	margin-top: 30px;
}
@media (max-width: 768px) {
	.btn-orange.large {
		font-size: 1.5rem;
		padding: 10px 20px;
		letter-spacing: -0.05rem;
		border-radius: 50px;
		margin-top: 30px;
	}
}
/* フッター */
.footer {
	background: var(--dark-teal);
	padding: 40px 20px;
	text-align: center;
	color: #fff;
}
.footer-links {
	display: flex;
    justify-content: center;
	gap: 20px;
	color: #fff;
	text-decoration: none;
	margin: 0 15px;
	font-size: 1rem;
}
.footer .footer-nav {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
	margin-bottom: 40px;
	font-size: 0.8rem;
	flex-wrap: wrap;
	font-family: "bc-sklonar", sans-serif;
	font-weight: 500;
	font-style: normal;
}
.footer .footer-nav a {
	text-decoration: none;
	color: #FFF;
}
@media (max-width: 768px) {
	.footer-links, .footer .footer-nav {
			flex-direction: column;
			align-items: center;
			gap: 20px;
			font-size: 1rem;
	}
}
.footer-logo {
    width: 20%;
	margin: 40px auto 20px;
}
.footer-logo img {
    width: 100%;
	text-align: center;
}
.copyright {
	margin-top: 30px;
	font-size: 12px;
	opacity: 0.7;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

