/*
Theme Name: Scaffold
Theme URI: https://olympusthemes.com/themes/scaffold/
Author: DannyCooper
Author URI: https://olympusthemes.com/
Description: Scaffold is a lightweight starter theme built using core WordPress functions. It doesn't use any frameworks or libraries, this makes it fast, simple and easy to customize! The clean, fast, standards-compliant code ensures Scaffold is Search Engine Optimized (SEO). WPML-compatible.
Version: 1.3.1
License: GNU General Public License v2 or later
Text Domain: scaffold
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, custom-logo, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, blog, e-commerce
GitHub Theme URI: https://github.com/DannyCooper/scaffold

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Structure
# Header
# Primary Nav
# Content
	## Posts and Pages
	## Content Navigation
	## Comments
# Sidebar
	## Widgets
# Footer
# Infinite Scroll
# Media
	## Captions
	## Galleries
# Responsive
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
	scroll-behavior: smooth;
	min-width: 320px;
}

body {
	margin: 0;
	animation: fadeIn 2s ease 0s 1 normal;
	  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}


@keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}



article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 0 0;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body {
	font-family: "Noto Sans JP", sans-serif;
	color: #353735;
	font-size: 16px;
	line-height: 1.6;
	background-color: #fff;	
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	box-sizing: border-box;
	overflow-wrap: break-word;
	overflow-x: hidden;
}



h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1;
	color: #2d2e33;
	letter-spacing: 1px;
}

.top_nav_body h2{
	color: #fff;
	font-weight: bold;
	font-size: 34px;
	margin: 0;
}

.top_recruit_left h2{
	color: #75d2ff;
	font-weight: bold;
	font-size: 34px;
	margin: 0;
}

p {
	margin: 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
ul {
	list-style: none;
}

ol {
	list-style: none;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	width: 100%; /* Adhere to container width. */
	vertical-align: bottom;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

table th {
	border-bottom: 2px solid;
	padding: 10px;
	text-align: left
}

table td {
	padding: 10px 10px 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

label {
	font-size: 16px;
}


input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background-color: #e6e6e6;
	padding: 8px;
}


input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 8px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
	color: #222;
}

a:hover,
a:focus,
a:active {
	color: #222;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

.sidebar-1 a {
	text-decoration: none
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

.screen-reader-text {
	display: none;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.wrapper:before,
.wrapper:after,
.navigation:before,
.navigation:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.wrapper:after,
.navigation:after {
	clear: both;
}

/*--------------------------------------------------------------
# Structure
--------------------------------------------------------------*/
.site-wrapper{
	overflow: hidden;
}

.wrapper {
	max-width: 1000px;
	margin: auto;
	width: 100%;
}

.site-header .wrapper {
	max-width: 1000px;
	margin: auto;
	width: 100%;
	display: flex;
	justify-content: space-between; /* 左右に配置 */
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px; /* ボタンとハンバーガーの余白 */
}

.site-content {
	margin-top: 100px;
}

body.page .site-content{
	margin-top: 70px;
}

.page-template-full-width .content-area,
.post-template-full-width .content-area {
	width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.logo-pic{
	width: 400px;
}

@media screen and (max-width: 780px){
	.logo-pic{
		width: 350px;
	}
}
@media screen and (max-width: 640px){
	.logo-pic{
		width: 300px;
	}
}

.site-title {
	flex-shrink: 0; /* ロゴが潰れないように */
	margin: 0;
	padding: 20px 0 10px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto; /* 強制的に右端へ */
}

.site-title a {
	text-decoration: none;
	color: #222;
}

.site-description {
	font-size: 13px;
	margin: 0 0 5px;
	text-align: left;
}

@media screen and (max-width: 640px){
	.site-description {
		text-align: left;
	}
}

a{text-decoration: none;}

/*--------------------------------------------------------------
# Global Navigation
--------------------------------------------------------------*/

nav {
  width: 100%;
}

nav ul {
  display: flex;
  margin: auto;
  padding: 0;
  max-width: 1000px;
}

nav ul li {
  width: 20%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-right: 1px solid #ccc;
  margin: 10px 0;
  list-style: none;
}

nav ul li:first-of-type {
  border-left: 1px solid #ccc;
}

@media screen and (max-width: 1000px){
	nav ul li:first-of-type {
	  border-left: none;
	}
	nav ul li:last-of-type {
	  border-right: none;
	}
}

@media screen and (max-width: 870px){
	nav ul li {
		font-size: 14px;
	}
}

nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
  color: #111;
  transition: .3s;
}

nav ul li a:hover {
  background: #f2f2f2;
}

/*--------------------------------------------------------------
# ハンバーガーボタン
--------------------------------------------------------------*/
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #111;
  border-radius: 2px;
}

/*--------------------------------------------------------------
# スマホ用
--------------------------------------------------------------*/
@media (max-width: 640px) {
  nav ul.gnav {
	display: none; /* 初期は非表示 */
	flex-direction: column;
	width: 100%;
	border-top: 1px solid #ccc;
  }
  nav ul.gnav li {
	width: 100%;
	border-right: none;
	border-left: none;
	border-bottom: 1px solid #ccc;
	margin: 0;
  }
  .hamburger {
	display: flex; /* スマホ時のみ表示 */
  }
  nav ul.gnav.active {
	display: flex; /* ハンバーガークリック時に表示 */
  }

  /* スマホ用の電話/お問合せボタン */
  .gnav-cv-btn {
	display: none;
	flex-direction: column;
	gap: 1px;
  }
  .gnav.active + .gnav-cv-btn {
	display: flex; /* ナビが展開されたら表示 */
  }
}

/*-------------------------------------------------------------
# 問い合わせボタン（PC用）
--------------------------------------------------------------*/
.c-header__cv-btn-grid {
  display: flex;
  gap:1px;
  height: 100%;
  border-radius: 30px 30px 0 0;
}

.c-header__cv-btn-grid div{
	padding: 0 20px;
}

@media screen and (max-width: 767px) {
  .c-header__cv-btn-grid {
	grid-template-columns: 200px 1px 150px;
  }
}

.c-header__cv-btn-wrp {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 15px;
  text-align: center;
}

.c-header__cv-btn-wrp:first-child {
	border-bottom-left-radius: 30px;
	background-color: #155aa8;
	transition: background-color 300ms cubic-bezier(0.17, 0.67, 0.69, 0.91);
}
.c-header__cv-btn-wrp:last-child {
	border-bottom-right-radius: 30px;
	background-color: #155aa8;
	transition: background-color 300ms cubic-bezier(0.17, 0.67, 0.69, 0.91);
}

.c-header__cv-btn-wrp:hover {
  background-color: #2065b3;
}

@media screen and (max-width: 640px){
	.c-header__cv-btn-wrp:first-child {
		border-bottom-left-radius: 0;
		color: #111;
		background-color: #fff;
		transition: background-color 300ms cubic-bezier(0.17, 0.67, 0.69, 0.91);
	}
	.c-header__cv-btn-wrp:last-child {
		border-bottom-right-radius: 0;
		color: #111;
		background-color: #fff;
		transition: background-color 300ms cubic-bezier(0.17, 0.67, 0.69, 0.91);
	}
	
	.c-header__cv-btn-wrp:hover {
	  background-color: #f2f2f2;
	}
}

@media screen and (max-width: 767px) {
  .c-header__cv-btn-wrp {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 0;
  }
  .c-header__cv-btn-wrp:first-child {
	border-bottom-left-radius: 20px;
  }
  .c-header__cv-btn-wrp:last-child {
	border-bottom-right-radius: 20px;
  }
  .c-header__cv-btn-wrp>div {
	display: flex;
	align-items: center;
	justify-content: center;
  }
}

.c-header__cv-btn-icon {
  margin-bottom: 14px;
}

.c-header__cv-btn-icon[data-btn-type=tel] {
  width: 22px;
}
.c-header__cv-btn-icon[data-btn-type=mail] {
  width: 20px;
}

@media screen and (max-width: 767px) {
  .c-header__cv-btn-icon {
	margin-bottom: 0;
  }
  .c-header__cv-btn-icon[data-btn-type=tel] {
	width: 17px;
  }
  .c-header__cv-btn-icon[data-btn-type=mail] {
	width: 16px;
  }
}

.c-header__cv-btn-title {
  position: relative;
  font-size: 16px;
  line-height: 1em;
  color: #f0f0f0;
}

@media screen and (max-width: 767px) {
  .c-header__cv-btn-title {
	flex-shrink: 0;
	margin-left: 8px;
	font-size: 14px;
  }
  .c-header__cv-btn-title.is-scroll {
	width: 0;
	margin-left: 0;
	opacity: 0;
  }
}

@media screen and (max-width: 640px){
	.c-header__cv-btn-title {
	color: #111;
	font-size: 14px;
	}
}

/*--------------------------------------------------------------
# PC/スマホの切替制御
--------------------------------------------------------------*/

/* PCでは右上に表示、nav内は非表示 */
@media (min-width: 641px) {
  .c-header__cv-btn-grid {
	display: flex;
  }
  .gnav-cv-btn {
	display: none;
  }
  .hamburger {
	display: none;
  }
}

/* PC以上：電話/お問合せ表示、ハンバーガー非表示 */
@media (min-width: 641px) {
  .c-header__cv-btn-grid { display: flex; }
  .hamburger { display: none; }
}

/* スマホ以下：ハンバーガー表示、電話/お問合せ非表示 */
@media (max-width: 640px) {
  .c-header__cv-btn-grid { display: none; }
  .hamburger { display: flex; }
}

@media screen and (max-width: 640px){
	.c-header__cv-btn-wrp>div{
		  height: 40px;
		  line-height: 40px;
		  width: 100%;
		  border-bottom: 1px solid #ccc;
	  }
	  
	  .c-header__cv-btn-wrp a{
		  border-bottom: 1px solid #ccc;
		  display: block;
	  }
	  
	  .c-header__cv-btn-icon{
		  display: none;
	  }
}

.flex-top-nav {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 均等2列 */
  gap: 20px;
  margin: 50px 0;
}

.flex-top-nav div {
  height: 80px;
}

.flex-top-nav div a {
  display: flex;               /* 中央寄せ */
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background: #155aa8;
  color: #fff;
  border-radius: 10px;         /* 角丸 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;          /* 矢印用に相対配置 */
}

.flex-top-nav div a::after {
  content: "›";                /* 少しモダンな矢印 */
  font-size: 20px;
  margin-left: 8px;
  color: #fff;
  transition: .3s;
}

.flex-top-nav div a:hover {
  background: #2065b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.flex-top-nav div a:hover::after {
}

@media screen and (max-width: 540px) {
  .flex-top-nav {
	grid-template-columns: 1fr; /* 1列 */
	gap: 15px;
	margin: 30px 0;
  }
  .flex-top-nav div {
	height: 70px;
  }
}


.detail {
  display: flex;
  justify-content: flex-end;   /* 右寄せ */
  margin: 2rem 0;
}

.detail a {
  display: inline-block;
  background: #155aa8;        /* ベースカラー */
  color: #fff;
  padding: 12px 50px;
  border-radius: 30px;        /* 角丸 */
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15); /* 影をつけてボタン感 */
}

.detail a:hover {
  background: #2065b3;        /* 少し暗くしてhover感 */
  transform: translateY(-2px);/* 浮き上がる */
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

@media screen and (max-width: 640px){
	.detail a {
	  padding: 12px 35px;
  }
}

.top-call{
	font-size: 38px;
	font-weight: bold;
	line-height: 1.7;
	text-align: center;
	margin: 40px 0 100px;
}

.top-call span{
	border-bottom: dotted 3px #333;
	padding-bottom: 8px;
}

.top-call .tc-sub{
	font-size: 18px;
	margin-top: 2rem;
	line-height: 1.5;
}

@media screen and (max-width: 810px){
	.top-call{
		text-align: left;
	}
	.top-call .tc-sub br{
		display: none;
	}
}

@media screen and (max-width: 530px){
	.top-call{
		font-size: 32px;
	}
	.top-call .tc-sub {
		font-size: 16px;
	}
}

@media screen and (max-width: 450px){
	.top-call{
		font-size: 28px;
	}
	.top-call .tc-sub {
		font-size: 16px;
	}
}

/*--------------------------------------------------------------
## Customize
--------------------------------------------------------------*/

.pco{display: block}
.spo{display: none;}

@media screen and (max-width: 640px){
	.pco{display: none}
	.spo{display: block;}
}

.mb1r{margin-bottom: 1rem !important;}
.mb50{margin-bottom: 50px !important;}
.mt10{margin-top: 10px;}
.mt1r{margin-top: 1rem;}
.f18{font-size: 18px;}
.f20{font-size: 20px;}

.taL{text-align: left;}
.taC{text-align: center;}
.taR{text-align: right;}

.flL{float: left;}

.borderT{
	border-top: 5px dashed #FFFFFF;
	padding-top: 35px;
}
.borderB{
	border-bottom: 5px dashed #FFFFFF;
	padding-bottom: 0;
}
.borderB35{
	border-bottom: 5px dashed #FFFFFF;
	padding-bottom: 35px;
}

.site-header {
	min-height: auto !important;
	padding: 0 20px;
	box-sizing: border-box;
}

.black-line {
	height: 6px;
	background-size: auto auto;
	background-color: #155aa8;
	z-index: 10;
}

.mainvisual{
	border-top: 6px solid #155aa8;
	border-bottom: 6px solid #155aa8;
	width: 100%;
	background-image: url(./_img/mv-bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.mainvisual .mvinner{
	max-width: 1000px;
	width: 100%;
	margin: auto;
	position: relative; /* 子要素をabsolute配置できるように */
}

.mainvisual img {
  width: 100%;
  display: block;
}

.mv-text {
  position: absolute;
  bottom: 35px;   /* 下から30pxの位置に配置 */
  left: 50px;     /* 左から30px */
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* 白フチ代わりに黒影 */
}

.mv-text p{
	font-size: 13px;
}

/* スマホ調整 */
@media (max-width: 640px) {
  .mv-text {
	font-size: 18px;
	bottom: 15px;
	left: 15px;
  }
}

/*--------------------------------------------------------------
# 組合案内
--------------------------------------------------------------*/

body.page h2{
	color:#3f3f41;
	margin: 20px 0 50px;
	font-weight: bold;
	font-size: 46px;
}

body.page .h2-sub{
	color: #155aa8;
	font-weight: bold;
	letter-spacing: .3px;
}

body.page h3{
	font-size: 20px;
	font-weight: bold;
	margin:2.5rem 0 1rem;
}

body.page section{
	margin: 30px 0 0;
}

.purpose div{
	background-color: #f2f2f2;
	padding: 2rem 2.5rem;
	margin-bottom: 20px;
	border-radius: 0.5rem;
}

.purpose div h4{
	font-size: 17px;
	margin: 0 0 .5rem;
}

@media screen and (max-width: 640px){
	body.page h2{
		font-size: 40px;
	}
	.purpose div{
		padding: 1.5rem 2rem;
	}
}

@media screen and (max-width: 480px){
	body.page .h2-sub{
		font-size: 14px;
	}
	body.page h2{
		font-size: 36px;
	}
}


.skill-table {
  margin: 50px 0;
  overflow-x: auto; /* 横スクロールを許可 */
}

.skill-table table {
  width: 100%;
  min-width: 600px; /* スマホでも横幅確保してスクロール */
  border-collapse: collapse;
  font-size: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.skill-table th,
.skill-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap; /* 改行せず横スクロール */
}

.skill-table th {
  background: #155aa8;
  color: #fff;
  font-weight: bold;
}

.skill-table tr:nth-child(even) td {
  background: #f9f9f9;
}

/* スマホではテーブルを横スクロール可能に */
@media screen and (max-width: 640px) {
  .skill-table {
	-webkit-overflow-scrolling: touch; /* iOSの慣性スクロール */
  }
}



.flow-box {
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.flow-box.blue {
  background: #e8f2fb;
  border-left: 5px solid #155aa8;
}

.flow-box.gray {
  background: #f5f5f5;
  border-left: 5px solid #888;
}

.flow-box ol {
  list-style: decimal;
  margin: 0;
  padding-left: 20px;
}

.flow-box ol li {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.6;
}



/* FAQ セクション */
.faq {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.faq-intro {
  text-align: center;
  margin-bottom: 30px;
  color: #555;
  font-size: 16px;
}

/* 各Q&Aボックス */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

/* チェックボックスは非表示 */
.faq-item input {
  display: none;
}

/* 質問部分 */
.faq-item label {
  display: block;
  padding: 15px 20px;
  background: #f7f7f7;
  cursor: pointer;
  font-weight: bold;
  position: relative;
}

/* 矢印アイコン */
.faq-item label::after {
  content: "＋";
  position: absolute;
  right: 20px;
  font-size: 20px;
  transition: transform 0.3s;
}

/* 回答部分 */
.faq-content {
  display: none;
  padding: 15px 20px;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* 開いたとき */
.faq-item input:checked + label::after {
  content: "－";
}

.faq-item input:checked ~ .faq-content {
  display: block;
}

/* CTA部分 */
.faq-cta {
  margin-top: 30px;
  font-size: 16px;
}
.faq-cta a {
  color: #155aa8;
  text-decoration: underline;
}


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

.about h2 {
  font-size: 28px;
  margin-bottom: 20px;
  border-left: 5px solid #155aa8;
  padding-left: 10px;
}

.about .lead {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* 概要テーブル */
.about-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.about-table th,
.about-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: left;
}
.about-table th {
  width: 25%;
  background: #f5f5f5;
  font-weight: bold;
}

/* ビジョン・ミッション */
.vision-mission {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.vision-mission div {
  flex: 1;
  background: #e8f2fb;
  padding: 20px;
  border-radius: 8px;
}
.vision-mission h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #155aa8;
}

/* 沿革 */
.history {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}
.history li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.history li span {
  font-weight: bold;
  margin-right: 10px;
  color: #155aa8;
}

/* アクセス */
.access {
  margin-bottom: 40px;
}
.access p {
  margin-bottom: 10px;
}
.map iframe {
  border: 0;
  width: 100%;
  height: 450px;
  border-radius: 8px;
}

/* スマホ対応 */
@media screen and (max-width: 640px) {
  .vision-mission {
	flex-direction: column;
  }
}


/*--------------------------------------------------------------
## CONTACT FORM7
--------------------------------------------------------------*/
.flex-direction-nav li:first-child,.wpcf7 label,.wpcf7 p{float:left}
.wpcf7{text-align:left}
.wpcf7 p{margin:0;width:100%;}
.reservetitle{margin: 1.8rem 0 0 !important;font-weight: 400;color: #040404;}
.wpcf7-form .form-item{margin: 1.8rem 0 0 !important;font-weight: 400;color: #040404;}
.wpcf7-form .form-item .required{font-weight: 400;color: #040404;}
.wpcf7 p span{font-weight:400;}
.wpcf7 label{display:block;margin:9px 0 0 12px;text-align:left}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 textarea{
	display:block;float:left;padding:10px;width:100%;margin-top:5px
}
.wpcf7 input[type=submit]{width:200px;padding:10px 0;font-size:18px}
.wpcf7 div.wpcf7-validation-errors{border:none;margin:0;padding:0}
.wpcf7 div.wpcf7-mail-sent-ng,.wpcf7 div.wpcf7-mail-sent-ok{border:none}
.wpcf7 div.wpcf7-response-output{margin:0;padding:0}
.wpcf7 span.wpcf7-form-control-wrap{display:block;position:relative}
.wpcf7 span.wpcf7-not-valid-tip{background:#f2dede;border-color:#e3bfbf;color:#b94a48;padding:4px 14px;font-size:12px;line-height:20px;position:absolute;left:0;top:48px;width:auto;right:0;display:block; z-index:999;}
.flex-container a:active,.flex-container a:focus,.flexslider a:active,.flexslider a:focus{outline:0}
.wpcf7 label{width:100%;}

section.contact img{
	width: 72px;
}

.wpcf7-submit{
	margin-top:30px;
}

.company_flex{
	display: flex;
	margin: 40px 0 20px;
}

.company_flex div:first-of-type{
	width: 40%;
	padding-right: 10px;
	box-sizing: border-box;
}

.company_flex div:first-of-type .cname{
	max-width: 300px;
	margin-bottom: 10px;
}

.company_flex div:last-of-type{
	flex:1;
	background-color: #fff;
	padding: 30px;
	box-sizing: border-box;
}

@media screen and (max-width: 950px){
	.company_flex div:first-of-type{
		width: 50%;
	}
}

@media screen and (max-width: 860px){
	.company_flex{
		flex-direction: column;
	}
	
	.company_flex div:first-of-type{
		width: 100%;
		padding-right: 0;
	}
}

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

ul.companyinfo li{
	border-bottom: 2px dotted #75d2ff;
	padding-bottom: 6px;
	margin-bottom: 6px;
	
}

.map{
	width: 100%;
	height: 400px;
	margin-bottom: 110px;
}




img{transition: .3s;}
img a:active{opacity: .8;}
img a:hover{opacity: .8;}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

footer{
	
	color: #fff;
	margin-top: 50px;
}


footer .co_logo{
	
	background-color: #f2f2f2;
	padding: 30px 0;
	color: #353735;
}

footer .co_logo .co_logo_inner{
	gap:20px;
	width: 450px;
	margin: auto;
	padding: 0 20px;
}

@media screen and (max-width: 500px){
	footer .co_logo .co_logo_inner{
		flex-direction: column;
		width: 100%;
	}
}

footer ul{
	width: 100%;
	margin: 0;
	padding: 20px 0;
	background-color: #155aa8;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

footer ul li{
	margin: 10px 0;
}

footer ul li a::after {
	content: "›";
	font-size: 20px;
	margin-left: 8px;
	color: #fff;
	transition: .3s;
}

footer ul li a{color: #fff; text-decoration: none; padding: 15px 2rem;}
footer ul li a:link{color: #fff; text-decoration: none;}
footer ul li a:active{color: #fff; text-decoration: none;}
footer ul li a:hover{color: #fff; text-decoration: none;}
footer ul li avisited{color: #fff; text-decoration: none;}

@media screen and (max-width: 640px){
	footer ul{
		padding: 20px 0 30px;
		display: block;
	}
	footer ul li{
		text-align: center;
		font-size: 14px;
		margin: 10px 0 0;
		border-bottom: 1px solid #306caf;
		padding-bottom: 10px;
	}
	
	
	
	footer ul li:last-of-type{
		border-bottom:none;
	}
}

footer .copyrights{
	background-color: #fff;
	color: #333;
	font-size: 13px;
	text-align: center;
	padding: 30px 0;
}

/*--------------------------------------------------------------
# Infinite Scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}



/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media screen and (max-width: 600px) {

	#site-menu {
		display: none;
	}

	.menu-1 {
		background: none
	}

	.menu-1 a {
		border-top: 1px solid rgba(255, 255, 255, 0.10);
	}

	.menu-toggle {
		color: white;
		margin: 0 auto;
		width: 100%;
    	border: 0;
    	border-radius: 0;
	}

	.toggled .menu-toggle {
		color: white;
		margin: 0 auto
	}

	/* Small menu. */
	.menu-toggle,
	.menu-1.toggled #site-menu {
		display: block;
	}

	.menu-1 li {
		float: none;
	  width: 100%;
	}

	.menu-1 ul ul {
		position: relative;
		float: none;
		left: auto;
		display: none
	}

	.menu-1 ul li:hover > ul,
	.menu-1 ul li.focus > ul {
		display: block;
	}

	.menu-1 ul ul a {
		width: 100%;
	}

	.menu-1 ul ul ul {
		left: auto
	}

	.menu-1 ul ul li:hover > ul,
	.menu-1 ul ul li.focus > ul {
		left: auto;
	}

}

@media screen and (max-width: 1040px) {
	.site-content,
	.content-area,
	.sidebar-1 {
		width: 100%;
		float: none
	}

	.site-content,
	.site-info {
		padding: 0 20px;
		box-sizing: border-box;
	}

	.menu-1 .nav-menu > li:first-child {
	  margin-left: 0;
	}
}

/* ///// ものづくり ///// */
.keypoint{
	background:#e7e7e7;
	width:100%;
	text-align: center;
	padding: 60px 20px 20px;
	margin: 0;
	position: relative;
}

.keypoint:before{
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 60px 150px 0 150px;
	border-color: #e7e7e7 transparent transparent transparent;
}


.key_foot{
	font-size: 28px;
	font-weight: bold;
}


@media print, screen and (max-width: 800px) {
	.keypoint{font-size: 26px; padding: 40px 20px 20px;}
	.key_foot{font-size: 24px;}
}

@media print, screen and (max-width: 720px) {
	.keypoint{font-size: 24px;}
	.key_foot{font-size: 20px;}
}

@media print, screen and (max-width: 630px) {
	.keypoint{font-size: 32px;}
	.key_foot{font-size: 27px;}
}

@media print, screen and (max-width: 480px) {
	.keypoint{font-size: 25px;}
	.key_foot{font-size: 22px;}
	.keypoint:before{
		border-width: 40px 100px 0 100px;
	}
}

@media print, screen and (max-width: 400px) {
	.keypoint{font-size: 22px;}
	.key_foot{font-size: 18px;}
}

@media print, screen and (max-width: 330px) {
	.keypoint{font-size: 20px;}
	.key_foot{font-size: 16px;}
}

.flex-keypoint{
	max-width: 1000px;
	margin: 30px auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.flex-keypoint .card {
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  gap: 15px;
  text-align: left;
}

.flex-keypoint .card .icon {
  flex-shrink: 0;
  width: 120px;
}

.flex-keypoint .card .icon img {
  width: 100%;
  height: auto;
  display: block;
}

.flex-keypoint .card .content h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #155aa8;
}

.flex-keypoint .card .content p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 640px) {
  .flex-keypoint {
	grid-template-columns: 1fr;
  }
  .flex-keypoint .card {
	align-items: flex-start;
  }
  .flex-keypoint .card .icon {
	width: 100px;
  }
}

@media (max-width: 480px) {
	.flex-keypoint .card .icon {
	width: 80px;
  }
}

/* Contact Form 7のエラーメッセージの位置を修正 */
.wpcf7-response-output.wpcf7-validation-errors {
	/* フォーム上部の赤いメッセージ（送信されなかったことを示すメッセージ） */
	margin-bottom: 20px; /* 他の要素との間隔を調整 */
}

/* 各入力項目内のエラーメッセージ（「入力してください」）の位置を修正 */
.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
	/* 必須項目が未入力の際に出るメッセージ */
	display: block; /* メッセージをブロック要素にして一行占有させる */
	margin-top: 5px; /* 入力欄との間に少しスペースを空ける */
	font-size: 0.9em; /* メッセージの文字を少し小さくする */
	color: #cc0000; /* エラーメッセージの色を統一（赤系） */
	font-weight: bold; /* エラーであることを強調 */
	padding-left: 0; /* 左側のパディングをリセット */
}