@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

h2,
h3{
	margin: 0!important;
}


/* Font=========================== */

.yusei-magic-regular {
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* common======================= */

@media screen and (min-width: 960px) {
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 80%;
  min-width: 950px;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 70%;
		min-width: 1000px;
}
}

@media screen and (max-width: 960px){
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
}

@media screen and (max-width: 768px) {
  .sp-wide90 {
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.sp-wide85 {
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 85%;
}
	.sp-wide80 {
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 80%;
}
}

/* 改行=========================== */

.no-kaigyou {
	white-space: nowrap;
}

.br-sp {
    display: none;
}

@media (max-width: 600px) {
    .br-sp {
        display: block;
    }
}


/* マージン======================= */

.m-left {
	margin-left: auto;
}

.m-right {
	margin-right: auto;
}

.m-center {
	margin: 0 auto;
}

.mt-20 {
	margin-top: 20px;
}
.mt-30 {
	margin-top: 30px;
}
.mt-40 {
	margin-top: 40px;
}
.mt-50 {
	margin-top: 50px;
}

.ml-20 {
	margin-left: 20px;
}

/*コンテンツ下余白なし*/
/* #content {
padding-top: 0;
margin-bottom: 0px;
}
.w-beforeFooter{
	margin: 0;
} */

/* テーブル========================= */

.c_table td{
	line-height: 1.8;
	padding: 15px 0;
}


/* テキスト======================== */

.text-level01 {
	font-size: clamp(1.2rem, 2.5vw, 2.5rem);
	font-weight: 700;
	background: linear-gradient(90deg, #27acd9 ,#2c5db6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-level01 h3{
	line-height: 1.8;
}

@media screen and (max-width: 768px) {
	.text-level01 {
	font-size: 1.5rem;
	font-weight: 700;
	background: linear-gradient(90deg, #27acd9 ,#2c5db6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
}

/* 見出し=========================== */

.sec-title-wrapper {
	position: relative;
}

.sec-title-ja {
	position: relative;
}

.sec-title-en {
	position: absolute;
	top: -20px;
	left: 0;
	width: 100%;
	text-align: center;

	font-size: clamp(1.5rem, 4.7vw, 4.5rem);
	font-weight: bold;
	line-height: 1;
	pointer-events: none;
}

.sec-subTitle {
  margin-bottom: 40px;
  padding: 8px 24px;
  background: #1293db;
  color: #fff;
  font-size: 28px!important;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
	.sec-title-en {
		top: -5px;
		font-size: 2.5rem;
	}
}


/* ボタン========================= */

a.btn_common {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	white-space: nowrap;
	height: 3.2rem;
	max-width: 250px;
	padding: 0 4rem;
	background: #1e73be;
	background-size: 400%;
	color: #fff;
}
a.btn_common:hover::before {
  transform: scaleX(1);
}
a.btn_common:hover {
	color: #fff;
}
a.btn_common span {
  position: relative;
  z-index: 1;
}
a.btn_common::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background: #043f72;
  transition: all 0.475s;
}


/* オープニング ========================= */

:root {
  --opening-bg: #f7f7f7;      /* 背景色 */
  --opening-text: #ffffff;    /* テキスト色 */
  --opening-accent: #1e73be;  /* アクセントカラー */
}

.opening-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483647; /* とにかく最大級 */
  isolation: isolate;  /* 新しいスタッキングコンテキストを作る */
  transform: translateZ(0); /* GPU化で前面に出しやすくする */
  background: var(--opening-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
	width: 100vw;
	height: 100vh;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.opening-loader.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening-loader__inner {
  text-align: center;
  color: var(--opening-text);
  padding: 40px 24px;
}

/* ロゴ部分 */
.opening-loader__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  margin-bottom: 0.8em;
}

.opening-loader__logo-text {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  transform: translateY(16px);
  opacity: 0;
  animation: opening-fadeUp 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.1s forwards;
}

/* ロゴが画像の場合もふわっと */
.opening-loader__logo img {
  max-width: 300px;
  width: min(48vw, 300px);
  display: block;
  transform: translateY(16px);
  opacity: 0;
  animation: opening-fadeUp 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.1s forwards;
}

/* サブテキスト */
.opening-loader__sub {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1.8em;
  opacity: 0;
  transform: translateY(12px);
  animation: opening-fadeUp 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s forwards;
}

/* ラインアニメーション */
.opening-loader__line-wrap {
  position: relative;
  width: 160px;
  height: 2px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.opening-loader__line {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--opening-accent),
    #ffffff
  );
  transform: translateX(-100%);
  animation: opening-lineMove 1.4s ease-in-out 0.7s 3 forwards;
}

/* アニメーション終了後の全体縮小フェードアウト */
.opening-loader.is-finish .opening-loader__inner {
  animation: opening-shrink 0.8s ease-in-out forwards;
}

/* ページ本体のスクロールロック解除 */
body.opening-active {
  overflow: hidden;
}
body.opening-finished {
  overflow: auto;
}

/* =========================
   Keyframes
   ========================= */
@keyframes opening-fadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes opening-lineMove {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(20%);
  }
  100% {
    transform: translateX(200%);
  }
}

@keyframes opening-shrink {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    opacity: 0;
  }
}

/* =========================
   レスポンシブ微調整
   ========================= */
@media (max-width: 599px) {
  .opening-loader__inner {
    padding: 32px 18px;
  }

  .opening-loader__logo-text {
    letter-spacing: 0.18em;
  }

  .opening-loader__sub {
    letter-spacing: 0.15em;
    font-size: 0.8rem;
  }

  .opening-loader__line-wrap {
    width: 140px;
  }
}


/* ヘッダー=========================== */

body.opening-active .l-header,
body.opening-active header,
body.opening-active .c-header,
body.opening-active #header,
body.opening-active #fix_header,
body.opening-active .l-fixHeader{
  z-index: 0 !important;
}

#header {
	padding-top: 10px;
}

.c-gnav>.menu-item>a .ttl {
font-size: 15px;
letter-spacing: .1rem;   /*文字の間隔*/
  font-weight: bold;
}

/* メニューホバー */
.c-gnav > .menu-item > a {
  position: relative;
}

/* 丸のベース */
.c-gnav > .menu-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%) scale(0);
  width: 8px;
  height: 8px;
  background: #1e73be;
  border-radius: 50%;
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.l-header .c-gnav>li>a:after {
	background: #1e73be;
}

.c-gnav > .menu-item > a:hover::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}


/* アクティブ */
/* 現在地だけ丸を表示 */
.c-gnav > .menu-item.current-menu-item > a::after,
.c-gnav > .menu-item.current_page_item > a::after,
.c-gnav > .menu-item.current-menu-parent > a::after,
.c-gnav > .menu-item.current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px; /* 丸の位置調整 */
  transform: translateX(-50%);
  width: 8px;    /* 丸のサイズ */
  height: 8px;
  background: #1e73be;
  border-radius: 50%;
  opacity: 1;
}




/* メインビジュアル==================== */

.p-mainVisual {
	position: relative;
	padding: 100px 0 0 100px;
	z-index: 1;
}

.p-mainVisual::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 90vw;
	height: 50vh;
	background: #1e73be;
	z-index: -1;
}

.yellow-square {
	position: absolute;
	top: 0px;
	left: 0;
	width: 95vw;
	height: 38vh;
	background: #1e73be;
	border-radius: 0 0 7px 0;
	z-index: 1;
}

/* キャッチコビー */
.main-text-box {
	position: relative;
	top: 150px;
	left: 0;
}

.main_copy {
	font-size: clamp(1.5rem, 4vw, 4.5rem);
	font-weight: 700;
}
.sub_copy {
	font-size: clamp(1rem, 2.4vw, 2.8rem);
	font-weight: 700;
}

.post_content pre {
	padding: 0;
}

@media screen and (max-width: 768px) {
	.p-mainVisual {
	position: relative;
	padding: 80px 3% 20px;
	z-index: 1;
}
	.p-mainVisual__inner {
	border-radius: 30px;
}
}

@media screen and (max-width: 480px) {
	.main-copy-box {
	position: relative;
	top: 20px;
	left: 12%;
	display: inline-block;
}
}

/* スクロールダウン */

.scroll_down{
  position:absolute;
	top: 0;
  left: 45px;
	z-index: 99;
}

.scroll_down p{
  position: absolute;
  left: 10px;
  bottom: 75px;
  color: #fff;
  font-size: 12px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background:#fff;
  animation:
    circlemove 2.3s ease-in-out infinite,
    cirlemovehide 2.3s ease-out infinite;
}

@keyframes circlemove{
  0%{bottom:140px;}
  100%{bottom:0px;}
}

@keyframes cirlemovehide{
  0%{opacity:0}
  50%{opacity:1;}
  80%{opacity:0.9;}
  100%{opacity:0;}
}

.scroll_down:after{
  content:"";
  position: absolute;
  bottom:0;
  left:0;
  width:1px;
  height: 140px;
  background:#fff;
}

@media screen and (max-width:786px){
	.p-mainVisual__inner{
	padding: 80px 3% 0 18%;
}
	.scroll_down{
  position:absolute;
  left: 6%;
}
}

@media screen and (max-width:480px){
	.p-mainVisual__inner{
	padding: 80px 3% 0 18%;
}
	.scroll_down p{
  position: absolute;
  left: 7px;
  bottom: 82px;
  color: #fff;
  font-size: 11px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}
	.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background:#fff;
  animation:
    circlemove 2.3s ease-in-out infinite,
    cirlemovehide 2.3s ease-out infinite;
}
	.scroll_down{
  position:absolute;
	bottom: 25px;
  left: 6%;
}
}


/* トップページ========================= */

.topIcon-title {
	color: #fff;
	font-size: clamp(1.1rem, 3vw, 2.4rem);
	font-weight: 600;
}

.topIcon-item {
	height: 100%;
	background: #fff;
	padding: 2rem;
	box-shadow: 15px 15px 10px rgba(0,0,0,0.2);
}

.top-sec3-outer {
	border-radius: 30px 30px 0 0;
}

.top-sec3-content {
	color: #fff;
}

.top-sec3-list li{
	list-style: none;
	padding: 30px 0 50px 10px;
	font-size: clamp(1rem, 1.5vw, 1.4rem);
}

.-list-under-dashed>li, .border_bottom>li {
	border-bottom: 1px solid var(--color_border);
}

/* ブログ */
.p-newsSlider{
  
}

/* ヘッダー部は普通にコンテンツ幅で */
.p-newsSlider__head{
  width: min(1400px, 90vw);
  margin: 0 auto 28px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;

}

/* タイトル一式（赤バー＋2行） */
.p-newsSlider__titleWrap{
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 18px;
  line-height: 1;
}

/* 青い縦バー */
.p-newsSlider__titleWrap::before{
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 6px;
  height: calc(100% - 4px);
  background: #1e73be;
}

/* BLOG（英字） */
.p-newsSlider__eyebrow{
  margin: 0;
  font-weight: 900;
  font-size: 3.5rem;
  letter-spacing: .02em;
}

/* ブログ（小さめ） */
.p-newsSlider__title{
  margin: 0;
  font-weight: 700;
  font-size: 1rem!important;
  letter-spacing: .08em;
}

.p-newsSlider__more{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: #c60202;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 0;
  white-space: nowrap;
}

/* SWELLの幅制限を無視してviewport幅でレーン作る */
.p-newsSlider__track{
  width: 120%;
  position: relative;
  overflow: hidden;
}

/* スライドの見た目 */
.p-newsCard{
  display: block;
  text-decoration: none;
  color: inherit;
}

.p-newsCard__img{
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #cfcfcf;
  overflow: hidden;
	box-shadow: 10px 5px 10px rgba(0,0,0,0.2);
}

.p-newsCard__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-newsCard__imgDummy{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #000;
  background: #000;
}

/* 公開日 */
.p-newsCard__date{
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #777;
  letter-spacing: .04em;
}

.p-newsCard__ttl{
  margin: 0 0 20px!important;
  font-size: 18px;
  font-weight: 800;
}

.p-newsSlider__footer{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;

  /* 左寄せ＋右端まで伸ばす */
  width: min(1400px, 90vw);
}

/* プログレスバー */
.p-newsSlider__bar{
  flex: 1;
  height: 3px;
  background: #cfcfcf;
  position: relative;
  overflow: hidden;
}

.p-newsSlider__barFill{
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: #1e73be;
}

/* ナビ */
.p-newsSlider__nav{
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.p-newsSlider__btn{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #222;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* トップ採用 */
.top-recruit-outer::after {
	content: "";
	position: absolute;
	bottom: -150px;
	right: 0;
	width: 75vw;
	height: 68vh;
	background: #043f72;
	border-radius: 50px 0 0 0;
}

.top-recruit-inner {
	z-index: 99999;
}

/*無限ループ*/
@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}

.scroll-infinity__wrap .post_content ol, .post_content ul{
	padding-left: 0;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: calc(100vw / 4);
	height: 23vw;
}

.scroll-infinity__item>img {
  padding: 5px;
		border-radius: 20px;
}

.recruit-sec1-item {
	height: 100%;
	position: relative;
	padding: 2.5rem 2rem;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 10px 5px 15px rgba(0,0,0,0.2);
}

.recruit-sec1-item h3{
	font-size: clamp(1.8rem, 2vw, 2rem);
}

@media screen and (max-width:767px) {
.scroll-infinity__item {
  width: calc(100vw / 2);
	height: 40vw;
}
	.scroll-infinity__item>img {
  padding: 5px;
		border-radius: 15px;
}
	.recruit-bg {
	border-radius: 80px 0 80px 0;
}
	.icon-title h3{
	text-align: center;
}
}

@media screen and (max-width:480px) {
	.recruit-bg {
	border-radius: 50px 0 50px 0;
}
}


/* ページ共通====================== */

.l-content.l-container {
	padding-top: 0;
}

.post-type-archive-news main {
	margin: 100px 0;
}

.c-hero{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.c-hero__bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 80%;
  background-repeat: no-repeat;
  background-color: #222; /* 画像未指定時の保険 */
}

.c-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25); /* 黒の透明 */
}

.c-hero__inner{
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
  text-align: center;
  padding: 56px 0;
}

.c-hero__title{
  margin: 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  font-size: 1.5rem;
  letter-spacing: .04em;
}

.c-hero__subtitle{
  margin-top: 8px;
  font-size: 1rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.8);
}

/* column ヒーロー */
.single-news .c-hero__bg,
.post-type-archive-news .c-hero__bg{
  background-image: url("http://www.toa-sys.co.jp/wp-content/uploads/2026/02/news-hero.jpg");
}


/* お知らせ============================== */

/* 一覧 */

.news-archive-head{
  margin-bottom: 24px;
}
.news-archive-title{
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

/* 3カラム */
.news-grid{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px){
  .news-grid{ grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 640px){
  .news-grid{ grid-template-columns: 1fr; gap: 16px; }
}

/* カード */
.news-card{
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-card__thumb{
  margin: 0 0 12px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
  background: #f2f2f2;
}
.news-card__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.news-card__thumb--placeholder{
  width: 100%;
  height: 100%;
  background: #e9e9e9;
}

.news-card__meta{
  display: block;
}

.news-card__date{
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #777;
  margin-bottom: 4px;
}

.news-card__title{
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.news-card:hover .news-card__thumb img{
  transform: scale(1.05);
}

/* ページネーション */
.news-pager{
  margin-top: 32px;
}
.news-pager .page-numbers{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.news-pager .page-numbers a,
.news-pager .page-numbers span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.news-pager .page-numbers .current{
  border-color: #111;
}


/* お知らせ詳細ページ============== */

/* ACF WYSIWYG内のカラムだけ横並びにする */
.c-acfWysiwyg .wp-block-columns{
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.c-acfWysiwyg .wp-block-column{
  flex: 1 1 0;
  min-width: 0;
}

/* 画像がはみ出してカラム崩壊するの防止 */
.c-acfWysiwyg img{
  max-width: 100%;
  height: auto;
}

/* SPは縦並び */
@media (max-width: 768px){
  .c-acfWysiwyg .wp-block-columns{
    flex-direction: column;
  }
}

.news-single{
  padding: 100px 0 52px;
  width: min(820px, 100%);
  margin: 0 auto;
}

.news-single__head{
  margin-bottom: 24px;
}

.news-single__title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.35;
  font-weight: 700;
}

.news-single__date{
  display: inline-block;
  font-size: 13px;
  color: #777;
}

.news-single__body p{
  margin: 0 0 1.2em;
  line-height: 1.85;
}

.news-single__body img{
  max-width: 100%;
  height: auto;
}

/* パッケージ提案==================== */

.business-item {
	background-color: #fff;
	border: 1px solid #1e73be;
	border-radius: 10px;
	height: 100%;
	padding: 2rem;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
}

/* 取扱品目紹介====================== */

.products_item {
	background-color: #f7f7f7;
	padding: 1rem;
	border: 4px solid #f1f1f1;
	height: 100%;
}


/* お問い合わせボックス================== */

.contact-box {
	position: relative;
	top: 150px;
  left: 50%;
	transform: translatex(-50%);
	background-image: url('http://www.toa-sys.co.jp/wp-content/uploads/2026/02/contact-box-1-scaled.jpg');
	background-position: center 30%;
	background-size: cover;
  overflow: hidden;
	width: 90vw;
	z-index: 1;
}

.contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.25)
  );
}

.ContactBox-item {
	padding: 2rem;
	background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(12px); /* Safari */
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media screen and (max-width:786px){
	.contact-box {
	top: 70px;
}
}

/*-------------------------------------------*/
/* お問い合わせフォーム      */
/*-------------------------------------------*/

.form--contact-wrapper {
	background-color : #f7f7f7;
	padding: 2rem;
	border-radius: 15px;
	color: #333;
}

/* ベース */
.section--contact .section__content,
.form--contact { width: 100%; }

.form__title { margin: 0 0 .8rem; font-weight: 700; font-size: 1.25rem; }
.form__note  { margin: 0 0 1rem; color: var(--c-muted); font-size: .95rem; }

/* グリッド：基本1列 / 860px〜で2列 */
.form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2.4vw, 18px);
}
@media (min-width: 860px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
}
.form__group { margin-bottom: 20px; }
.form__group--full { grid-column: 1 / -1; }

/* ラベル／コントロール */
.form__label { display:block; font-weight:600; margin: 0 0 .8rem; }
.form__control,
.form__group select {
  width: 100%;
  padding: .6em 1em;
  border: 1px solid var(--c-border, #ddd);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--c-text, #333);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__control:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--c-brand, #78bee6);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand, #78bee6) 25%, transparent);
}
.form__control:focus-visible,
.form__group select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c-brand, #78bee6) 60%, transparent);
  outline-offset: 2px;
}

/* 必須バッジ */
.form__label.is-required::after {
  content: "必須";
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.2em 0.5em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background-color: #e53935;
  border-radius: 4px;
  line-height: 1;
  vertical-align: middle;
}

/* CF7改行除去（整形のため） */
.wpcf7 br { display: none !important; }

/*-------------------------------------------*/
/* 横並び指定：お名前・ふりがな・メール      */
/*-------------------------------------------*/

/* お名前・ふりがな（姓/名・せい/めい） */
.from_name {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* PCは横並び維持 */
}
.from_name .item-box {
  flex: 1 1 0;
}
.from_name label { margin: 0 0 .25rem; display:block; }

/* メール（メール＋確認用） */
.form__group--email-double {
  display: flex;
  gap: 20px;
}
.form__group--email-double .form__group {
  flex: 1 1 0;
  margin-bottom: 0; /* 余白重複を防止 */
}

/* 短い幅 */
/* スマホ（〜768px）は縦に戻す */
@media (max-width: 768px) {
  .from_name { flex-direction: column; gap: 10px; }
  .form__group--email-double { flex-direction: column; gap: 10px; }
}

/* PC(860px〜)では左カラム(1列目)に固定して半幅のまま表示 */
@media (min-width: 860px) {
  .form__group--col1 {
    grid-column: 1 / 2 !important; /* 左カラム固定＝半幅 */
  }
}
/* スマホ側は元々1カラムなので指定不要（念のため書くなら下で全幅に） */
@media (max-width: 859px) {
  .form__group--col1 {
    grid-column: 1 / -1; /* なくてもOK */
  }
}


/*-------------------------------------------*/
/* セレクト（お問い合わせ先プルダウン）       */
/*-------------------------------------------*/
.form__group select {
  height: 48px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px auto;
  padding-right: 36px; /* 矢印分の余白 */
}

/* スマホ微調整 */
@media (max-width: 768px) {
  .form__group select { font-size: 15px; height: 44px; }
}

/*-------------------------------------------*/
/* 送信ボタン                                */
/*-------------------------------------------*/
.form__actions { margin-top: .5rem; text-align: center; }
.wpcf7-submit.btn {
  width: 200px;
  background-color: var(--c-brand, #78bee6);
  color: #fff;
  border-radius: 50px;
  padding: 0.8em 2em;
  border: none;
  margin-top: 20px;
  transition: opacity .3s ease, transform .2s ease;
  cursor: pointer;
}
.wpcf7-submit.btn:hover { opacity: .88; }
.wpcf7-submit.btn:active { transform: translateY(1px); }

/*-------------------------------------------*/
/* 個人情報保護方針（スクロール枠）           */
/*-------------------------------------------*/
.contact-scroll {
  overflow: auto;
  height: 250px;
  border-radius: 3px;
	margin-top: 30px;
  border: 1px solid #d8d8d8;
  padding: 10px;
  scrollbar-width: thin;                 /* Firefox */
  scrollbar-color: #c0c0c0 #eeeeee;      /* Firefox */
}
/* WebKit系スクロールバー */
.contact-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.contact-scroll::-webkit-scrollbar-track { background-color: #eeeeee; }
.contact-scroll::-webkit-scrollbar-thumb { background-color: #c0c0c0; }

/* 見出しやリストの体裁 */
.contact-privacy {
	padding: 1.2rem;
}

.privacy-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
}
.contact-privacy-item { margin-bottom: 25px; }
.contact-privacy-item ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0 0 1em 0;
}
.contact-privacy-item ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin: 0 0 1em 0;
}

/*-------------------------------------------*/
/* CF7 メッセージ/エラー                     */
/*-------------------------------------------*/
.wpcf7 form .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .95rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #22c55e;
  background: #ecfdf5;
  color: #14532d;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border: 1px solid #ef4444;
  background: #fef2f2;
  color: #7f1d1d;
}

.wpcf7-not-valid-tip {
  margin-top: .35rem;
  font-size: .9rem;
  color: #b91c1c;
}
.email-error,
.zip-error-tip {
  display: block;
  color: #b91c1c;
  font-size: .9rem;
  margin-top: .35rem;
}


/* フッター========================== */

#content{
	margin-bottom: 0px;
}
.w-beforeFooter{
	margin: 0;
}

.l-footer__widgetArea {
	padding: 50px 0 100px 0;
}

@media (min-width: 960px) {
	.w-footer {
		align-items: end;
	}
}

@media screen and (max-width:768px){
	#nav_menu-2 {
	display: none;
}
	#nav_menu-3 {
	display: none;
}
}

/*ぱんクズリスト非表示*/
#breadcrumb {
 display: none;
}

/*reCAPTCHA全面表示*/
.grecaptcha-badge {
	z-index: 1; 
}

/* 「トップへ戻るボタン」の位置調整 */ 
.p-fixBtnWrap { 
	bottom: 85px;
	right: 10px
}