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

/* 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:786px){
	.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: 90%;
}
	.wide70{
	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: 25px 0;
}

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

.lead {
	font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

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

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: #232323;
	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(4, 56, 76, 1) 10.8%,
    rgba(4, 56, 76, 1) 94.3%
  );
  transition: all 0.475s;
}


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

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

/*ヘッダー電話番号*/
@media (min-width: 960px) {
.w-header__inner p {
line-height: 1.5;
}
}

.header_contact_phone {
font-family: Inter, "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
font-size: 1.4vw;
font-weight: 700;
color: #fff;
	white-space: nowrap;
letter-spacing: 1px;
}
.header_contact_phone span.icon-phone {
font-size: 1.2vw;
vertical-align: baseline;
margin-right: 2px;
}
.header_business_hours {
font-size: 0.7vw;
	color: #fff;
letter-spacing: 2px;
	white-space: nowrap;
text-align: center;
}

.header_phone_bg{
	background: #232323;
	padding: 0.5vw 1.2vw;
}


/* ローディングロゴ==================== */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
	pointer-events: none;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2s forwards;
}

.loading img {
  opacity: 0;
  animation: logo_fade 2s 0.2s forwards;
  width: 350px; /* ロゴのサイズを指定（パソコン） */
}

@media screen and (max-width: 959px) {
  .loading img {
    width: 200px; /* ロゴのサイズを指定（スマホ） */
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
  }
}


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

.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; /* スマホでの隙間調整 */
  }
}



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

.p-mainVisual__inner {
	padding: 100px 3% 50px
}

.main-copy {
	position: relative;
	top: 100px;
	left: 5%;
	font-size: clamp(1.8rem, 4vw, 3.5rem);
	font-weight: bold;
}

@media screen and (max-width:786px){
	.p-mainVisual__inner {
	padding: 70px 3% 50px
}
	.main-copy {
	font-size: 2rem;
	font-weight: bold;
}
}
@media screen and (max-width:480px){
	.p-mainVisual__inner {
	padding: 60px 5% 30px
}
	.main-copy {
		position: relative;
		top: 0;
		left: 5%;
	font-size: 1.7rem;
	font-weight: bold;
}
}


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

.top_contents_item {
	position: relative;
	overflow: hidden;
	box-shadow: 10px 5px 15px #2323;
}

.top_contents_item_text {
	position: absolute;
	top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	color: #fff;
	background:rgba(0,0,0,0.6);
	padding: 20px;
}
.top_contents_item_text h4 {
	font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.top_contents_item_text p {
	font-size: 1rem;
	letter-spacing: 0.2rem;
	padding-top: 10px;
}

.top_contents_item img {
  height: auto;
  transition: transform .6s ease;
}

.top_contents_item :hover img {
	transform: scale(1.1);
}

@media screen and (max-width:480px){
	.top-about-inner {
	width: 90%;
	margin: 0 auto;
}
}


/* 事務所情報======================= */

.page-title h2{
	font-size: clamp(1.2rem, 3vw, 3rem);
}

.contents-header {
	height: 30vh;
	border-radius: 30px 30px 0 0;
}

.about-sec1-text  h3{
	font-size: clamp(1.1rem, 2vw, 1.7rem);
	line-height: 2;
}

@media screen and (max-width:480px){
	.page-title h2{
	font-size: 2rem;
}
}


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


/* サービスページ======================= */

.service-sec1-title {
	font-size: clamp(1.2rem, 2vw, 2.5rem);
}

.service-sec1-subtitle {
	font-size: clamp(1.5rem, 2.5vw, 2.5rem);
	font-weight: bold;
}

.service-sec3-item {
	width: 100%;
	height: 100%;
	background-color: #f7f7f7;
	padding: 2rem;
}

@media screen and (max-width:786px){
	.service-sec1-title {
	font-size: 2rem;
}

.service-sec1-subtitle {
	font-size: 2rem;
	font-weight: bold;
}
}

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

.contact-box {
	position: relative;
	top: 100px;
	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;
}
}


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

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

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

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

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

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