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


h1 {
	font-family: "M PLUS Rounded 1c", 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: 480px) {
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
}

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

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

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

.m-center {
	margin: 0 auto;
}

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

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

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

.lead {
	
}

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

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: #2476bd;
	background-size: 400%;
	color: #fff;
	font-weight: bold;
	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;
}


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

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

.c-headLogo {
		font-family: "M PLUS Rounded 1c", 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;
}
}

/* 詳細ページ */

/*news詳細ページ*/
.c-postTitle__ttl{
	display: none;
}

.text_h2{
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.news_date{
		margin-bottom: 20px;
}
.news-box{
	max-width: 1200px;
	margin-bottom: 50px;
}

.text_main p{
	margin-bottom: 1.5em;
}

.text_main{
	margin-top: 40px;
	margin-bottom: 30px;
}
@media screen and (max-width: 480px){
  .text_box{
    font-size: 17px;
  }
}

.flex_news_img {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row; 
  flex-wrap: wrap; 
  justify-content: space-between;
  gap: 10px 4px; 
  margin-top: 60px;
}

.flex_news_img::after {
  content: "";
  display: block;
  width: 32%;
}

.news_img {
  width: 32.5%;
  position: relative;
  overflow: hidden; 
}

.news_img::before {
  content: "";
  display: block;
  padding-top: 66.66%; 
}

.news_img img {
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

@media screen and (max-width: 768px) { /* タブレット以下 */
  .news_img {
    width: 48%; /* 2カラム */
  }
}

@media screen and (max-width: 480px) { /* スマホ以下 */
  .flex_news_img {
    gap: 10px; /* スマホでの隙間調整 */
  }
}


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

.image-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
	z-index: 0;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
	position: relative;
	z-index: 0;
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 59, 114, 0.3);
  z-index: 1;
  pointer-events: none;
}

.top-contents-item {
	position: relative;
}

.top-contents-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 1.5rem;
  pointer-events: none; 
}

.top-contents-text h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  line-height: 1.2;
  margin: 0;
}

.title-with-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 必要に応じてleftに変更 */
}

.arrow-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #083b72;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.image-wrapper:hover ~ .top-contents-text .arrow-circle {
  transform: scale(1.2);
}

.arrow-icon {
  display: inline-block;
  color: #fff;
  transition: all 0.5s ease;
}

/* 画像ホバー時に矢印が右にスライド */
.image-wrapper:hover ~ .top-contents-text .arrow-icon {
  transform: translateX(5px);
}



@media screen and (max-width: 480px) {
	.top-contents-text {
	pointer-events: none; 
		font-size: 14px;
}
	
.image-wrapper {
  aspect-ratio: 4 / 3;
}
}


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

.rinen-item {
	background-color: #265799;
	padding: 1rem;
	color: #fff;
	height: 100%;
}


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

.business-item {
	background-color: #fff;
	padding: 2rem;
	box-shadow: 5px 5px 10px #e8e8e8;
	border-radius: 10px;
}


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

.contact-box {
	position: relative;
	top: 70px;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	border-radius: 30px;
	width: 100%;
	max-width: 1200px;
	z-index: 1;
}

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


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

.main-text {
	font-size: clamp(1.2rem, 3vw, 2.8rem);
}


/*お問い合わせページ==================*/
.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:#1f87c4;
   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:#1f87c4;
	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;
    }
}


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

.f-company-name {
	font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 600;
  font-style: normal;
}

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

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



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

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

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