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



body {
	font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}




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

.news-item {
}

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

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

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

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

.news_text {
  flex: 1; 
}

.scroll {
  overflow: auto;
  height: 100%;
  max-height: 400px;
  width: 100%;

  /* 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;
}

@media screen and (max-width: 768px) {
	.top-news-wrapper {
		width: 93%;
		margin: 0 auto;
	}
  .newsList {
    flex-direction: column;
  }
	.news_text p{
    margin-top: 0.8em;
  }
	.scroll {
  max-height: 450px;
		background-color: #f7f7f7;
}
}


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

/* 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: 70px 0 82px;
  width: min(1200px, 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;
}


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

.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, 100%);
  margin-inline: auto;
  padding: 56px 0;
}

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

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

/* news ヒーロー */
.single-news .c-hero__bg,
.post-type-archive-news .c-hero__bg{
  background-image: url("http://www.toyotaka.com/wp-content/uploads/2026/03/pixta_117592025_M-1.jpg");
}

@media screen and (max-width: 768px) {
.c-hero{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
	
.c-hero__inner{
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: 56px 20px;
}
}


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

@media screen and (min-width: 960px) {
	.wide95{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
		min-width: 950px;
}
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
		min-width: 950px;
}
	.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: 950px;
}
}

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


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

.position-center {
	
}

.position-left {
	
}

.position-right {
	margin-left: auto;
	margin-right: 0;
}


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



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




/* カラーボックス====================== */




/* ボタン========================= */
a.c_btn{
  margin: 0 auto;           /* ボタン自体を中央へ */
  width: fit-content;        /* 中身に合わせる */
}


a.c_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	white-space: nowrap;
	height: 3.5rem;
	max-width: 300px;
	padding: 0 4rem;
	background: #f6882a;
	background-size: 400%;
	color: #fff;
	letter-spacing: 0.2rem;
}
a.c_btn:hover::before {
  transform: scaleX(1);
}
a.c_btn:hover {
	color: #fff;
}
a.c_btn span {
  position: relative;
  z-index: 1;
}
a.c_btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background: linear-gradient(
    82.3deg,
    rgba(36, 83, 145, 1) 10.8%,
    rgba(36, 83, 145, 1) 94.3%
  );
  transition: all 0.475s;
}


/* テキストアニメーション======= */

.mask-bg {
  color: transparent;
  display: inline-block;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: bold;
  overflow: hidden;
  position: relative;
  transition: color 0ms 450ms;
}
.mask-bg::after {
  background: linear-gradient(to right, #152040 0%,#34446f 50%,#52679d 100%);
  bottom: 0;
  content: '';
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(101%);
}

.mask-bg.is-animated {
  color: #152040;
	margin-bottom: 15px;
}
.mask-bg.is-animated::after {
  animation: mask-bg 1.2s cubic-bezier(0.8, 0, 0.170, 1);
}

@keyframes mask-bg {
  0% {
    transform: translate(0, 101%)
  }
  40%, 60% {
    transform: translate(0, 0%)
  }
  100% {
    transform: translate(0, -100%)
  }
}

.contact-anime-box {
	text-align: center;
}

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

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



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

.main-copy {
	position: relative;
	top: 30vh;
	left: 10%;
	width: clamp(320px, 60vw, 1000px);
}

@media screen and (max-width: 768px) {
.main-copy {
	top: 20vh;
	left: 5%;
	width: 450px;
}
}

@media screen and (max-width: 480px) {
.main-copy {
	width: 320px;
}
}
/* ページ共通========================= */




/* 採用ページ========================== */

/* 流れ=== */

.flow_item {
	position: relative;
	height: 100%;
	background-color: #fff;
	height: ;
	padding: 1.5rem;
	border: solid 1px #3761a6;
}

.flow_number {
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translatex(-50%);
	font-size: 1.2rem;
	font-weight: bold;
	padding: 0 2rem;
  color: #fff;
  background: #3761a6;
}

.flow_icon {
	font-size: clamp(2rem, 6.3vw, 6rem);
	color: #3761a6;
}

/* スケジュール */
.recruit-schedule {
  color: #222;
}

.recruit-schedule__inner {
  margin-inline: auto;
}

/* 追加：スケジュールと画像を横並び */
.recruit-schedule__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.recruit-schedule__list {
  position: relative;
}

.recruit-schedule__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 123px;
  width: 2px;
  background: #3761a6;
}

.recruit-schedule__item {
  display: grid;
  grid-template-columns: 110px 70px 1fr;
  column-gap: 0;
  position: relative;
  padding-bottom: 38px;
}

.recruit-schedule__item:last-child {
  padding-bottom: 0;
}

.recruit-schedule__time {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.3;
  font-weight: 700;
  color: #3761a6;
  letter-spacing: 0.02em;
}

.recruit-schedule__marker {
  position: relative;
}

.recruit-schedule__marker::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3761a6;
}

.recruit-schedule__content {
  padding-top: 0;
}

.recruit-schedule__item-title {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.recruit-schedule__text {
  margin: 10px 0 0;
  line-height: 1.9;
  color: #4a4a4a;
}

/* 追加：右側画像 */
.recruit-schedule__image {
  position: sticky;
  top: 120px;
}

.recruit-schedule__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

/* タブレット以下 */
@media screen and (max-width: 991px) {
  .recruit-schedule__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .recruit-schedule__image {
    position: static;
    max-width: 500px;
    margin-inline: auto;
  }
}

/* スマホ */
@media screen and (max-width: 767px) {
  .recruit-schedule {
    padding: 0 10px;
  }

  .recruit-schedule__list::before {
    left: 62px;
  }

  .recruit-schedule__item {
    grid-template-columns: 56px 36px 1fr;
    align-items: start;
    padding-bottom: 30px;
  }

  .recruit-schedule__time {
    font-size: 1rem;
  }

  .recruit-schedule__marker::before {
    top: 4px;
    left: 0;
    width: 14px;
    height: 14px;
  }

  .recruit-schedule__item-title {
    font-size: 1.35rem;
    line-height: 1.5;
  }

  .recruit-schedule__text {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.8;
  }
}


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

.info-section {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  position: relative;
}

a.info-box {
  flex: 1 1 50%;
  padding: 40px 5%;
  background-color: #2397db;
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  z-index: 0;
}

/* 左側のinfo-box */
.info-section a.info-box:first-child {
  border-radius: 10px 0 0 10px; /* 左上・左下だけ */
}

/* 右側のinfo-box */
.info-section a.info-box:last-child {
  border-radius: 0 10px 10px 0; /* 右上・右下だけ */
}

a.info-box:first-of-type {
    border-right: 1px solid #f4f4f4;
  }


a.info-box:hover {
  background-color: #1377a8;
}


.info-en {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  margin: 0;
}

.info-ja {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: bold;
}

.info-ja i {
  margin-right: 0.5em;
  color: #fff; 
  font-size: 0.7em;
}

.tel-link {
  pointer-events: auto;
}

/* PC時にリンク無効化 */
@media screen and (min-width: 769px) {
  .tel-link {
    pointer-events: none;
    cursor: default;
  }
}

@media screen and (max-width: 768px) {
	.contact-box-img {
		border-radius: 30px 30px 0 0;
		background-size: 230%;
		background-position: center 95%;
	height: 60vh;
}
	.contact-box-black {
		height: 150px;
	}
	.info-section::before {
    display: none;
  }
	
	
/* 左側のinfo-box */
.info-section a.info-box:first-child {
  border-radius: 10px 10px 0 0; /* 左上・左下だけ */
}

/* 右側のinfo-box */
.info-section a.info-box:last-child {
  border-radius: 0 0 10px 10px; /* 右上・右下だけ */
}

  /* 1つ目のボックスに相対位置をつける */
  a.info-box:first-of-type {
    border-bottom: 1px solid #f4f4f4;
		border-right: none;
  }

  a.info-box {
    flex: 1 1 100%;
    height: 200px;
  }

  .info-en {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
	
	a.info-box {
		height: 100%;
  }
	.contact-box-img {
		border-radius: 30px 30px 0 0;
		background-size: 280%;
		background-position: center 95%;
	height: 60vh;
}
}


/* お問い合わせ===================== */

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

/* グリッド：基本1列 / 860px〜で2列 */
.form__grid {
  display: grid;
  grid-template-columns: 1fr;
	background-color: #f0f0f0;
	padding: 1.5rem;
	border-radius: 10px;
}
@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 .3rem; }
.form__control,
.form__group select {
  width: 100%;
  padding: .3em 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; 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 */
  }
}

/*-------------------------------------------*/
/* 電話番号＋FAX番号 横並び                 */
/*-------------------------------------------*/
.form__group--tel-fax {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.form__group--tel-fax .item-box {
  flex: 1 1 0;
}

.form__group--tel-fax .form__label {
  margin-bottom: .5rem;
  display: block;
}

/* スマホでは縦並び */
@media (max-width: 768px) {
  .form__group--tel-fax {
    flex-direction: column;
    gap: 10px;
  }
}


/*ラジオボタン） */
.form__radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.form__radio-list label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
  font-size: .95rem;
}

.form__radio-list input[type="radio"] {
  width: 1rem;
  height: 1rem;
}


/*-------------------------------------------*/
/* 送信ボタン                                */
/*-------------------------------------------*/
.form__actions { margin-top: .5rem; text-align: center; }
.wpcf7-submit.btn {
  width: 200px;
  background-color: #232323;
  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: 10px;
  border: 1px solid #d8d8d8;
	background-color: #fff;
	margin: 20px 0;
  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; }

/* 見出しやリストの体裁 */
.privacy-title {
  font-size: 1.2rem;
	margin-bottom: 15px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
}
.contact-privacy-item { 
	margin-bottom: 40px;
}
.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 {
padding-top: 0;
margin-bottom: 0px;
}
.w-beforeFooter{
	margin: 0;
}

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

@media (min-width: 960px) {
	.w-footer__box {
		align-self: flex-end;
	}
}

@media not all and (min-width: 960px) {
    .w-footer__box + .w-footer__box {
        margin-top: 0;
    }
}
	@media not all and (min-width: 960px) {
    .w-footer__box {
        padding: 0 0px;
    }
}
	
@media screen and (max-width:768px){
	#nav_menu-5 {
	display: none;
}
	#nav_menu-3 {
	display: none;
}
	#custom_html-5 {
		margin-top: 30px;
	}
}


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

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

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

.recruit-close-message {
	margin: 25px 0 35px !important;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
}