/*
Theme Name: grouth THeme
Text Domain: grouth.co.jp
*/


/* =Reset default browser CSS. Based on work by Eric Meyer.
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

/* General Styling */
body {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	margin: 0;
	padding: 0;
	color: #333;
	line-height: 1.6;
	background-color: #f7f9fc;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

#content{
	
	width: 1000px;
	background-color: #fff;
	padding: 2em 0 2em;
	margin: 0 auto;
	
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

h1, h2, h3 {
	color: #333;
}

/* Header */
.site-header {
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.con-1 {

	height: 1.2em;
	width: 22%;
	padding: 10px 15px 15px 15px;
	margin-left: 2em;
	text-align: center;

}

.original-gradient {
  background-image: linear-gradient(90deg, rgba(0, 116, 175, 1), rgba(0, 73, 155, 1));
  border-radius: 10px;
  color: #fff;
}

.header-top-2 {
	display: flex;
	padding: 30px 0 0;
}

.header-top {

	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 15px 0;
	border-bottom: #ccc 1px solid;
}

.logo img {
	height: 30px; /* Adjust as needed */
	border-radius: 4px; /* Added for consistency with React version */
}

/* Desktop Navigation */
.main-nav ul {
	display: flex;
}

.main-nav li {
	margin-left: 30px;
}

.main-nav a {
	padding: 5px 0;
	transition: color 0.3s ease;
}

.main-nav a:hover {
	color: #0056b3;
}

.logo {
	
	width: 25%;
}

.logo img{
	
	width: 200px;
	height: auto;
	
}

.smallCatch{
	
	margin-top: -1rem;
	font-size: 0.9em;
	
}

/* Mobile Menu Button (Hamburger) */
.menu-toggle {
	width: 30px;
	height: 20px;
	position: relative;
	cursor: pointer;
	display: none; /* Hidden by default, shown on mobile */
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 5px; /* Added for better touch target */
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.menu-toggle:hover {
	background-color: #f0f0f0;
}

.menu-toggle span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #333;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Menu */
.mobile-nav {
	display: none; /* Hidden by default */
	background-color: #fff;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
}

.mobile-nav.active {
	display: block; /* Shown when active */
}

.mobile-nav ul {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mobile-nav li {
	width: 100%;
	border-bottom: 1px solid #f0f0f0;
}

.mobile-nav li:last-child {
	border-bottom: none;
}

.mobile-nav a {
	display: block;
	padding: 15px 20px;
	color: #007bff;
	font-weight: bold;
	text-align: center;
	transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
	background-color: #f5f5f5;
}

.header-bottom {
	padding: 20px 0;
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
}

.header-bottom span {
	
	font-size: 2.3em;
	
}

/* Hero Section */
.hero-section {
	background-color: #fff;
	padding: 0 0 30px;
	border-bottom: 1px solid #eee;
	background:url('images/hero-bg3.png');
	background-size: cover;
}

.hero-content {
	display: flex;
	align-items: center;
	gap: 40px;
}

.hero-text {
	flex: 1;
}

.hero-text p {
	font-size: 1.1em;
	margin-bottom: 30px;
}

.hero-buttons {
	display: flex;
	gap: 15px;
}

.btn {
	display: inline-block;
	padding: 12px 25px;
	border-radius: 50px; /* Changed to full rounded for consistency */
	font-weight: bold;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	text-align: center;
	white-space: nowrap;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Added shadow */
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary {
	background-color: #007bff;
	color: #fff;
	border: 1px solid #007bff;
}

.btn-primary:hover {
	background-color: #0056b3;
	border-color: #0056b3;
}

.btn-secondary {
	background-color: #fff;
	color: #007bff;
	border: 1px solid #007bff;
}

.btn-secondary:hover {
	background-color: #f0f8ff;
	color: #0056b3;
}

.hero-image {
	flex: 1;
	text-align: center;
}

.hero-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px; /* Added for consistency */
	/* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Added for consistency */
}

/* Services Offered Section */
.services-offered {
	padding: 60px 0;
	background-color: #f0f2f7;
}

.services-offered h2, .features-section h2, .document-download h2, .news-section h2 {
	text-align: center;
	font-size: 2em;
	margin-bottom: 40px;
	color: #007bff; /* Title color based on image */
	font-weight: bold; /* Added for consistency */
}

.services-offered ul {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	overflow: hidden; /* Ensures rounded corners apply to children */
}

.services-offered li {
	border-bottom: 1px solid #eee;
}

.services-offered li:last-child {
	border-bottom: none;
}

.services-offered li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 30px;
	font-size: 1.1em;
	font-weight: bold;
	color: #333;
	transition: background-color 0.3s ease;
}

.services-offered li a:hover {
	background-color: #f5f5f5;
}

/* Font Awesome arrow-right styling */
.arrow-right {
	color: #007bff; /* アイコンの色を青に設定 */
	font-size: 0.9em; /* アイコンのサイズを調整 */
	transition: transform 0.3s ease;
}

.services-offered li a:hover .arrow-right {
	transform: translateX(3px); /* Slight movement on hover */
}

/* Features Section */
.features-section {
	padding: 60px 0;
	background-color: #fff;
}

.features-grid {
	display: flex;
	justify-content: space-around;
	gap: 30px;
	text-align: center;
}

.feature-item {
	flex: 1;
	padding: 30px;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Font Awesome feature-icon styling */
.feature-icon {
	font-size: 60px; /* Adjust icon size */
	color: #007bff; /* Icon color */
	margin-bottom: 20px;
}

.feature-item h3 {
	font-size: 1.3em;
	margin-bottom: 10px;
	color: #007bff;
	font-weight: bold; /* Added for consistency */
}

.feature-item p {
	font-size: 0.95em;
	color: #666;
}

/* Document Download Section */
.document-download {
	padding: 60px 0;
	background-color: #f0f2f7;
}

.document-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.document-card {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	height: 180px; /* Approximate height based on image */
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5em;
	font-weight: bold;
	color: #ccc;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.center-button {
	text-align: center;
}

.btn-download {
	width: 50%;
	margin: 0 auto;
	padding: 1em;
	display: flex; /* アイコンとテキストを横並びにするため */
	align-items: center; /* 垂直方向中央揃え */
	justify-content: center; /* 水平方向中央揃え */
	gap: 10px; /* アイコンとテキストの間隔 */
}

/* Font Awesome download icon styling */
.btn-download .fas.fa-download {
	color: #fff; /* アイコンの色を白に設定 */
	font-size: 1em; /* アイコンのサイズを調整 */
}

.btn-download:hover {
	background-color: #0056b3;
	border-color: #0056b3;
}

/* News Section */
.news-section {
	padding: 60px 0;
	background-color: #fff;
}

.news-list {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	overflow: hidden; /* Ensures rounded corners apply to children */
}

.news-item {
	display: flex;
	align-items: center;
	padding: 15px 30px;
	border-bottom: 1px solid #eee;
}

.news-item:last-child {
	border-bottom: none;
}

.news-category {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 15px; /* More rounded */
	font-size: 0.85em;
	color: #fff;
	margin-right: 15px;
	white-space: nowrap;
	font-weight: 600; /* Added for consistency */
}

.category-info {
	background-color: #88d4e4; /* Light blue */
	color: #0056b3; /* Darker text for contrast */
}

.category-release {
	background-color: #92e092; /* Light green */
	color: #1a6d1a; /* Darker text for contrast */
}

.news-date {
	font-size: 0.9em;
	color: #666;
	margin-right: 20px;
	flex-shrink: 0;
}

.news-title {
	font-size: 1em;
	color: #333;
	flex-grow: 1;
}

/* Footer */
.site-footer {
	background-color: #e0f2f7; /* Light blue background as in image */
	color: #f0f0f0;
	padding: 40px 0 20px;
	text-align: center;
	border-top-left-radius: 8px; /* Added for consistency */
	border-top-right-radius: 8px; /* Added for consistency */
	overflow: hidden; /* Ensures rounded corners apply to children */
}

.footer-content {
/*	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 30px;        */
	margin-bottom: 30px;
}

.footer-logo {

	margin-bottom: 2em;

}

.footer-logo img {
	height: 35px; /* Adjust as needed */
	filter: brightness(0) invert(1); /* Makes the logo white */
	border-radius: 4px; /* Added for consistency */
}

.footer-links {
	display: flex;
	gap: 50px;
	flex-wrap: wrap;
	justify-content: center;
}



.footer-column {
	text-align: left;
}

.footer-column p {
	font-weight: bold;
	margin-bottom: 15px;
	font-size: 1.1em;
	color: #007bff; /* Footer heading color */
}

.footer-column ul {
	list-style: none;
	padding: 0;
}

.footer-column li {
	margin-bottom: 8px;
}

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

.list_triangle > li {
	position: relative;
	padding: 0px 0px 0px 1em;
}
.list_triangle > li::before {
	position: absolute;
	top: 50%;
	left: 0px;
	transform: translateY(-50%);
	width: 0px;
	height: 0px;
	border: 0.3em solid transparent;
	border-left: 0.4em solid #3388dd;
	content: "";
}

.footer-column a {
	color: #000;
	font-size: 0.95em;
	transition: color 0.3s ease;
}

.footer-column a:hover {
	color: #fff;
}

.footerAddress{

	font-size: 0.8em;
	color: #333;
}

.copyright {
	padding-top: 20px;
	font-size: 0.85em;
	color: #00499b;
}


/* Responsive Design */
@media (max-width: 768px) {

	.con-1{

		display: none;

	}

	.main-nav {
		display: none; /* Hide desktop nav on small screens */
	}

	.menu-toggle {
		display: flex; /* Show hamburger on small screens */
	}

	.header-top {
		padding: 10px 20px; /* Adjust padding for mobile */
	}

	.header-bottom {
		font-size: 1em; /* Smaller font for mobile header */
		padding: 15px 10px;
	}

	.hero-content {
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}

	.hero-text p {
		font-size: 1em;
		margin-bottom: 20px;
	}

	.hero-buttons {
		flex-direction: column; /* Stack buttons on very small screens */
		align-items: center;
		gap: 10px;
	}

	.btn {
		width: 80%; /* Make buttons wider on mobile */
		max-width: 280px;
		padding: 10px 20px;
		font-size: 0.95em;
	}

	.services-offered h2, .features-section h2, .document-download h2, .news-section h2 {
		font-size: 1.8em;
		margin-bottom: 30px;
	}

	.services-offered li a {
		padding: 15px 20px;
		font-size: 1em;
	}

	.features-grid {
		flex-direction: column;
		gap: 20px;
	}

	.feature-item {
		padding: 20px;
	}

	.feature-icon {
		width: auto; /* Allow Font Awesome icons to size themselves */
		height: auto;
		font-size: 50px; /* Adjust Font Awesome icon size for mobile */
		margin-bottom: 15px;
	}

	.feature-item h3 {
		font-size: 1.2em;
	}

	.document-grid {
		grid-template-columns: 1fr; /* Single column on mobile */
		gap: 20px;
	}

	.document-card {
		height: 150px;
		font-size: 1.2em;
	}

	.btn-download {
		padding: 12px 25px;
		font-size: 1em;
	}

	.news-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
		padding: 10px 20px;
	}
	.news-category {
		margin-right: 0;
		margin-bottom: 5px;
	}
	.news-date {
		margin-right: 0;
	}

	.footer-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-links {
		flex-direction: column;
		gap: 30px;
	}

	.footer-column {
		text-align: center;
	}
}

/* 基本レイアウト */
 .bg-white {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.8;
  color: #333;
}

/* セクションタイトル */
.page-id-9 h2 {
  font-size: 1.8em;
  border-left: 5px solid #0077cc;
  padding-left: 12px;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #0077cc;
}

/* 情報リスト */
.page-id-9 ul {
  list-style: none;
  padding-left: 0;
}

.page-id-9 li {
  margin-bottom: 1em;
}

/* ラベルと内容の2カラム表示 */
.page-id-9 .info-item {
  display: flex;
  flex-wrap: wrap;
}

.page-id-9 .info-label {
  width: 150px;
  font-weight: bold;
  color: #555;
}

.page-id-9 .info-content {
  flex: 1;
  color: #222;
}

/* モバイル対応 */
@media (max-width: 600px) {
  .page-id-9 .info-item {
	flex-direction: column;
  }

  .page-id-9 .info-label {
	width: 100%;
	margin-bottom: 4px;
  }

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	.hero-buttons {
		width: 100%;
	}
	.btn {
		width: 100%;
	}
}
