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

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

h2,h3 {
  font-family: "sicuveiw", 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;
}


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

.wp-block-table table.c_table,
.p-entry__body table.c_table,
table.c_table {
  border-collapse: separate !important;
  border-spacing: 0 12px !important; 
  width: 100%;
  border: 0 !important;
}

table.c_table thead,
table.c_table tbody,
table.c_table tfoot,
table.c_table tr {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

table.c_table th,
table.c_table td {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: #fdfdfd; 
  padding: 18px 24px;
	font-size: clamp(1rem, 1.5vw, 1.3rem);
  text-align: left;
  line-height: 1.6;
}

/* 左右の角丸 */
table.c_table th {
  font-weight: 700;
  width: 22%;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
table.c_table td {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

@media (max-width: 768px) {
  table.c_table {
    border-spacing: 0 10px !important;
    display: table; /* 横並び維持 */
  }

  table.c_table tr {
    display: table-row; /* 各行を通常の行として扱う */
  }
	
	table.c_table th {
    white-space: nowrap;
	}

  table.c_table th,
  table.c_table td {
    display: table-cell; /* 通常のセル配置 */
    width: auto;
    border-radius: 0; /* 小画面では丸みを外してもOKなら */
  }

  table.c_table th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }
  table.c_table td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }
}


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

.sub_catch {
	font-family: "sicuveiw", sans-serif;
  font-weight: 800;
  font-style: normal;
	font-size: clamp(1.2rem, 2.2vw, 2rem);
	background: linear-gradient(to right, #27acd9 ,#1253e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


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

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;
	border-radius: 100vw;
	background: linear-gradient(to left, #04498f,  #006BC3);
	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: #232323;
  transition: all 0.475s;
}

/* ヘッダーメニュー=============== */

#header {
	width: 98%;
	background:rgba(255,255,255,1);
	margin: 20px 20px 0 20px;
	border-radius: 100px;
}
@media screen and (max-width: 959px) {
#header {
	width: 95%;
	border-radius: 100px;
}
}
@media screen and (max-width: 480px) {
#header {
	width: 90%;
}
}

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


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

.news-item {
}

.newsList {
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  border-top: 1px dotted #999;
  align-items: flex-start; 
}

ul.newsList {
  padding: 1.5rem 0;
	width: 100%;
	margin: 0 auto;
}

ul.newsList li {
  margin: 0 10px;
}

.news_date {
  min-width: 100px;
  font-weight: bold;
	color: #888;
}

.news_text {
  flex: 1; 
}

@media screen and (max-width: 768px) {
  .newsList {
    flex-direction: column;
  }
	.news_text p{
    margin-top: 0.8em;
  }
}

.scroll {
	background-color: #f7f7f7;
  overflow: auto;
  height: 100%;
  max-height: 300px;
  width: 100%;
	padding: 0.8rem;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #ccc #f1f1f1;
}

/* WebKit */
.scroll::-webkit-scrollbar {
  width: 10px;
}
.scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
.scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}


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

.p-mainVisual {
  position: relative;
}

.main-text-box {
	position: relative;
	top: 200px;
}

/* キャッチコビー */
.heading {
  display: inline-block;
  font-family: sans-serif;
  text-transform: uppercase;
	font-size: clamp(1.5rem, 5.5vw, 5rem);
  font-weight: 700;
  color: #fff;
	padding: 0 30px 0 30px;
	margin-bottom: 10px;
}

.block-reveal {
  position: relative;

  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
		z-index: -1;
    background: linear-gradient(to left, #04498f,  #006BC3);
    animation: block-reveal 1.2s cubic-bezier(0.19, 0, 0.22, 1) 1s forwards;
  }

  .text-reveal{
    opacity: 0;
    animation: text-reveal 1500ms linear 1.6s forwards;
  }
}

@keyframes block-reveal {
  0% {
    left: 0;
    width: 0;
  }
  100% {
    left: 0;
    width: 100%;
  }
}

@keyframes text-reveal {
  0% {
    opacity: 0;
  }
	50% {
    opacity: .5;
  }
  100% {
    opacity: 1;
  }
}


/* キャッチコピー下段 */
.heading2 {
  display: inline-block;
  font-family: "sicuveiw", sans-serif;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
	font-size: clamp(1.5rem, 3.5vw, 3rem);
  color: #fff;
	padding: 0 30px 0 30px;
}


.block-reveal2 {
  position: relative;

  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
		z-index: -1;
    background: linear-gradient(to left, #04498f,  #006BC3);
    animation: block-reveal2 1.2s cubic-bezier(0.19, 0, 0.22, 1) 2s forwards;
  }

  .text-reveal2{
    opacity: 0;
    animation: text-reveal2 1500ms linear 2.5s forwards;
  }
}

@keyframes block-reveal2 {
  0% {
    left: 0;
    width: 0;
  }
  100% {
    left: 0;
    width: 100%;
  }
}

@keyframes text-reveal2 {
  0% {
    opacity: 0;
  }
	50% {
    opacity: .5;
  }
  100% {
    opacity: 1;
  }
}

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

.img-wrap{
  position: relative;
  width: 100%; 
  height: 100%;
  overflow: hidden;
}

.img-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
  display: block;
}

.img-wrap::before {
  animation: img-wrap 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: #f9f9f9;
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

@keyframes img-wrap {
  100% {
    transform: translateX(100%);
  }
} 

.img-wrap::before { animation-play-state: paused; }       /* 初期は止めておく */
.img-wrap.is-show::before { animation-play-state: running; } /* 発火で再生 */


/* 採用 */
.top-recruit-outer {
	border-radius: 100px;
}


@media screen and (max-width:786px){
	.top-recruit-outer {
	border-radius: 50px;
}
}


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

.pege-hero-outer {
	position: relative;
	top: -105px;
	height: 50vh;
	border-radius: 0 0 30px 30px;
}

.page-hero-title {
	position: relative;
	top: clamp(70px, 18vh, 200px);
}


/* 会社概要========================== */

.timeline {
  --year-w: 120px;
  --axis-w: 1px; 
  --col-gap: 25px; 
  --dot: 10px;
  --dot-color: #333;
  --year-color: #2c5db6;
}

/* コンテナ */
.timeline__inner{
  position: relative;
  max-width: 1200px;
}

/* 連続する縦ライン */
.timeline__line{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 164px;
  width: var(--axis-w);
  background: var(--dot-color);
  transform: translateX(-50%); 
}

/* リスト本体 */
.timeline__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  row-gap: clamp(28px, 6vw, 50px);
}

/* 各行は 〔年〕〔軸(ドット)〕〔本文〕 の3カラム */
.timeline__item{
  display: grid;
  grid-template-columns: var(--year-w) var(--axis-w) 1fr;
  column-gap: var(--col-gap);
  align-items: start;
}

/* 年（左） */
.timeline__year{
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  line-height: 0.85;
  color: var(--year-color);
}

/* 軸(中央)のセル。●だけ表示する */
.timeline__axis{
  position: relative;
  height: 1px;
}
.timeline__dot{
  position: absolute;
  top: 15px; 
  left: 50%;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--dot-color);
  transform: translate(-100%, -50%);
}

/* 本文（右） */
.timeline__desc{
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: #222;
}
.timeline__month{
  font-weight: 700;
  margin-right: .6em;
}


.timeline { --label-w: 2em; --label-gap: .6em; }

/* 本文の先頭を月ラベルぶんだけ押し出す */
.timeline__desc{
  position: relative;
  padding-left: calc(var(--label-w) + var(--label-gap));
}

/* 「月」ラベルを固定幅の列にして絶対配置  */
.timeline__month{
  position: absolute;
  left: 0;
  top: 0; 
/*   inline-size: var(--label-w); */
  font-weight: 700;
  line-height: 1.6; 
  margin-right: 0;
}

@media (max-width: 768px){
  .timeline{ --year-w: 70px; --col-gap: 10px; --dot: 8px; }
  .timeline__line{
    left: 100px;
  }
  .timeline__year{
		font-size: 1.3rem; 
		line-height: 1.1;
	}
	.timeline__dot{
  top: 12px; 
}
  .timeline__desc{ font-size: 14px; }
	
}


/* 事業内容====================== */

.business-sec1-text {
	font-size: clamp(1rem, 1.7vw, 1.5rem);
	line-height: 2;
}

.img-wrap-business{
  position: relative;
  width: 100%; 
  height: 450px;
  overflow: hidden;
	border-radius: 10px;
}

.img-wrap-business img{
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
  display: block;
}

.img-wrap-business::before {
  animation: img-wrap 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
	animation-delay: 2s;
  background: #f9f9f9;
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

@keyframes img-wrap {
  100% {
    transform: translateX(100%);
  }
} 



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

.contact-box {
	position: relative;
	top: 100px;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	background: linear-gradient(to right, #27acd9 ,#2c5db6);
	border-radius: 500px;
	width: 100%;
	max-width: 1200px;
	z-index: 1;
}

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


/*お問い合わせページ==================*/
.CF7_contact{
	width:100%;
}

/*入力欄*/
.CF7_contact input, .CF7_contact textarea {
	width:100%;
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #d8d8d8;
	margin-top:10px;
	margin-bottom:25px
}

.CF7_honbun{
	width:100%;
}

/*入力欄*/
.CF7_honbun input, .CF7_honbun textarea {
	width:100%;
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #d8d8d8;
	margin-top:10px;
	margin-bottom:25px
}

/*タイトル左ライン*/
.title_contact{
   position:relative;
}

span.wpcf7-list-item {
  margin-top: 20px;
  margin-bottom: 20px
}

.title_contact::before{
   content:"";
   display:inline-block;
   width:3px;
   height:30px;
   background-color:#163f89;
   position:absolute;
}

/*「必須」文字*/
.CF7_req{
	font-size:.8em;
	padding: 5px;
	background: #dc143c;
	color: #fff;
	border-radius: 3px;
}

/*個人情報*/
.title01 {
	font-size:18px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 10px;
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#163f89;
	border:0;
	color:#fff;
	font-weight:bold;
	padding-right:50px;
	padding-left:50px;
	letter-spacing: 5px;
}

.CF7_btn{
	text-align:center;
	margin-top:30px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

.scroll2 {
    overflow: scroll;  /* 常にスクロールバーを表示 */
    height: 250px;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    padding: 10px;

    &::-webkit-scrollbar {
        width: 10px;
        height: 0;
    }

    &::-webkit-scrollbar-track {
        border-radius: 0px;
        height: 100%;
        background-color: #eeeeee;
    }

    &::-webkit-scrollbar-thumb {
        border-radius: 0px;
        background-color: #c0c0c0;
    }
}


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

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

.w-footer__box {
	max-width: 1200px;
	margin: 0 auto;
}

@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
}