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

body {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Kozuka Gothic Pro", "Meiryo", sans-serif;
  background: #fff;
  color: #4A4B51;
  font-size: 16px;
  line-height: 1.24;
  letter-spacing: 0.1rem;
}

h1, h2 {
    font-family: "Noto Serif JP","Yu Mincho", "Kozuka Mincho Pro", "Hiragino Mincho ProN", serif;
    color: #4A4B51;
}

h3 {
    color: #1C2D90;
}

span {
  font-size: 1rem;
  line-height: 1.6;
}

h4 {
    font-weight: 700;
    border-bottom: #4A4B51;
    margin-top: 1rem;
}

a {
  color: #1C2D90;
  text-decoration: none;
  transition: .4s !important;
}


/* タップハイライトを無効化（クリック時の水色を消す） */
a, .btn {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent; /* 一部の非Webkit対応ブラウザ用 */
}

a:hover {
  opacity: 1;
}

p {
  line-height: 1.6;
}
.btn,
.g_manu_btn,
.title_style,
.message_txt,
.top_txt_wrap,
.info_title_style,
.btn_custom,
.free_btn,
.contact_btn
  {
 font-family: "Noto Serif JP","Yu Mincho", "Kozuka Mincho Pro", "Hiragino Mincho ProN", serif;
}

.hina-mincho {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  margin-top: 10px;
  letter-spacing: 0.5rem;
  display: block; !important;
}

/*----------------------------- header */
#header {
  position: absolute;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  min-height: 100px;
}

/* メインビジュアル */
.mv {
  background: center no-repeat url("../img/mv.jpg");
  background-size: cover;
  height: 100vh; /* 画面の高さに合わせる */
  width: 100%;
  text-align: center;
  margin: 0 auto;
  background-color  : #555;
  background-blend-mode : overlay;
}

.mv_content { 
  position: absolute;
  width: 100%;
  margin-inline: auto;
  z-index: 1;
}

.wrapper {
  position:relative;
}

.wrapper .mv_content {
  top:50%;
  left:50%;
  translate:-50% -50%; 
}

.mv_content_txt {
  width: 560px;
  max-width:80%;
  margin-inline: auto;
  line-height: 1.8;
  filter: drop-shadow(2px 4px 6px black);
}

/* グローバルナビゲーション */
.s_head {
  display: flex;
  justify-content: space-between; /* ロゴとナビを左右に配置 */
  align-items: flex-start;
  padding: 1rem 2rem;
}

.logo {
    margin-bottom: 2rem;
}

.g_manu ul {
  display: flex;
  justify-content: space-between; /* ロゴとナビを左右に配置 */
  gap: 20px;
  padding: 1rem;
  align-items: center;
}

.g_manu_list_item a {
  color: #fff;
  font-weight: 500;
}

/* 通常状態：下線なし */
.g_manu_list_style {
    position: relative;  /* 下線を絶対位置で表示するためにpositionをrelativeに */
    display: inline-block;
    transition: color 0.6s ease-in-out;
}

/* 下線がアニメーションする効果（オプション） */
.g_manu_list_style::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;  /* 下線の太さ */
    background-color: #fff;  /* 下線の色 */
    transform: scaleX(0);  /* 初期状態で水平縮小（隠す） */
    transform-origin: bottom right;  /* 右から左へアニメーション */
    transition: transform 0.3s ease-in-out;
}

/* 下線のアニメーション */
.g_manu_list_style:hover::after {
    transform: scaleX(1);  /* ホバー時に水平に展開 */
    transform-origin: bottom left;  /* 左から右へ展開 */
}

.g_manu_btn {
  max-width: 70%;
  margin: auto;
  line-height: 53px;
  background-color: #fff;
  text-align: center;
  font-size: 16px;
  padding: 14px 28px;
}

/*----------------------------- slider */

.slider {
  width: 100%;
  margin: 50px auto;
  overflow: hidden;
  box-sizing: border-box;
  }

.slider .slick-slide {
  margin: 0 10px; /* 画像の間を詰める場合は不要 */
}

.slider img {
  width: 300px;
  height: auto;
}

.slick-track {
  display: flex;
  align-items: center;
}

.slick-slide {
  transition: transform 0.3s ease;
}

/* ドットや矢印を非表示 */
.slick-dots, .slick-arrow {
  display: none !important;
}

.content {
    padding: 80px 0;
    width: 70vw;
    margin: 0 auto;
}

.content_warp {
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
}

/*----------------------------- title */

.title_en {
  color: #1C2D90;
  font-size: 1rem;
  line-height: 1.6;
}

.title_style {
  letter-spacing: 0.4rem;
}

.top_txt_wrap {
  font-size: 1.1rem;
  max-width: 46rem;
  margin-inline: auto;
}

.bg_wrapper {
  margin: auto;
  width: 100%;
  background-color: #F5F4F1;
  padding: 40px;
}

.title_wrap {
    margin-bottom: 4rem;
}


/*-------------------------------- 新着情報 */
/* <!--▼▼CSSとポップアップ用JS。トップページ埋め込み時　要コピペ（head部分）▼▼--> */
/* clearfix */
.clearfix:after { content:"."; display:block; clear:both; height:0; visibility:hidden; }
.clearfix { display:inline-block; }

/* for macIE \*/
* html .clearfix { height:1%; }
.clearfix { display:block; }

.newMark{
	display:inline-block;
	padding:1px 4px;
	font-size:11px;
	line-height:100%;
	background:#fff;
  color: #db1212;
}
.comment{
	display:block;
	padding:0.25rem 0px 0.625rem;
	float:left;
	overflow:hidden;
	width:100%;/* 本文部分の幅。ここは特に設置ページ合わせて変更下さい */
  margin-bottom: 1rem;
}

.thumbNailWrap{
	display:block;
	width:110px;
	float:left;
	height:80px;
	overflow:hidden;
}

.cat-0 .catName{
  background-color: #282e4f;
}

.cat-1 .catName {
  background-color: #b94646;
}

.news_box {
    display: -webkit-flex;
    display: flex;
    margin: 0 auto;
    -webkit-flex-flow: row nowrap;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-bottom: #6B421D solid 1px;
    padding-bottom: 10px;
}

/* <!--▲▲CSSとポップアップ用JS。トップページ埋め込み時　要コピペ（head部分）▲▲--> */

ul#newsList li {
  padding: 1rem 0rem;
  font-size: 0.875rem;
}

span.catName{
  background-color: #1C2D90;
  color: #fff;
  padding: 0px 6px;
  display: inline-block;
  margin: 4px 6px 3px;
  font-size: 0.8125rem;
}

.news_wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background-color: #fff;
  padding: 20px 32px;
}

/* 業務内容 */
/*  右側へ要素を広げる  */

.content_right {
  width: 500px;
  padding: 0 100px;
}

.right_img {
    flex: 1;
    margin-right: calc(50% - 50vw);
    margin-left: 9%;
}

.contact_warp_reverse
 {
    flex-direction: row-reverse;
}

/*  左側へ要素を広げる  */
.content_left {
    width: 500px;
    padding: 0 100px;
}

.left_img {
    flex: 1;
    margin-left: calc(50% - 50vw);
    margin-right: 9%;
}

.txt_wrap {
  margin-bottom: 60px;
}

/* お問い合わせ */
.info {
  background-image: url("../img/footer.jpg");
  min-height: 300px; 
  padding: 30px 100px;
  text-align: center;
  color: #fff;
  background-size: cover;
}

.info_title_style {
  letter-spacing: 0.4rem;
  color: #fff;
}

/*----------------------------- footer */

#footer {
  background-image: linear-gradient(90deg, #1c2d90, #187bbf);;
  width: 100%;
  padding: 80px 20px;
  display: inline-flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 0.875rem;
  gap: 50px;
}

.foot_txt_wrap {
  color: #fff;
  text-align: left;
}

.overlay-box {
  width: 40rem;
  background: rgba(255, 255, 255, 0.3); /* 半透明の白色背景 */
  backdrop-filter: blur(10px);           /* 背景ぼかし効果 */
  -webkit-backdrop-filter: blur(10px);   /* Safari対応 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin: 2rem 1.2rem 2rem;
  height: 22.5rem;
}

.foot_logo img,
.qr img
 {
    margin: unset;
}

.foot_logo img {
  margin-bottom: 1rem;
}

/*-------------------------------- ボタン_通常 */
.btn_wrap {
    margin: 30px 0;
}

.btn {
  display: flex;
  width: 300px;
  height: 56px;
  margin: 20px auto;
  line-height: 53px;
  color: #1C2D90;
  text-align: center;
  border: 1px solid #1C2D90;
  font-size: 16px;
  justify-content: space-between;
  padding: 0 28px;
}

.btn:hover {
  background: #1C2D90;
  color: #fff;
}

/* 矢印 */
.arrow {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-top: 30.4px;
  border-radius: 9999px;
  background-color: #1C2D90;
  margin-left: 8px;
}

.arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  right: 0;
  width: 14px;
  height: 1px;
  border-radius: 9999px;
  background-color: #1C2D90;
  transform: rotate(40deg);
  transform-origin: calc(100% - 2px) 50%;
}

/*-------------------------------- ボタン_事業内容用 */
.btn_custom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  max-width: 400px;
  padding: 1rem 0;
  color: #1C2D90;
  border-bottom: 1px solid #1C2D90;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
}

.btn_custom_txt {
  color: #1C2D90;
}

.btn_custom:hover {
  opacity: 0.6;
}

/*-------------------------------- ボタン_コンタクト */
.free_btn {
  display: flex;
  width: 300px;
  max-width: 70%;
  height: 56px;
  margin: 10px auto;
  line-height: 53px;
  color: #fff;
  text-align: center;
  border: 1px solid #fff;
  font-size: 16px;
  justify-content: space-between;
  padding: 0 28px;
}

.free_btn_arrow {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-top: 30.4px;
  border-radius: 9999px;
  background-color: #fff;
  margin-left: 8px;
}

.free_btn_arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  right: 0;
  width: 14px;
  height: 1px;
  border-radius: 9999px;
  background-color: #fff;
  transform: rotate(40deg);
  transform-origin: calc(100% - 2px) 50%;
}

/* お問い合わせボタン */
.contact_btn {
  display: flex;
  width: 300px;
  max-width: 70%;
  height: 56px;
  margin: 10px auto;
  line-height: 53px;
  color: #fff;
  text-align: center;
  border: 1px solid #fff;
  font-size: 16px;
  justify-content: space-between;
  padding: 0 28px;
  align-items: center;
}

.free_btn:hover,
.contact_btn:hover {
  background: #fff;
  color: #2C3155;
  border: none;
}

.mail_i::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  mask: url("../img/mail.svg") no-repeat center;
  -webkit-mask: url("../img/mail.svg") no-repeat center;
  background-color: #ffffff;
  transition: background-color 0.3s;
}

.mail_i:hover::after {
  background-color: #1C2D90;
}

.tel_i::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  mask: url("../img/tel.svg") no-repeat center;
  -webkit-mask: url("../img/tel.svg") no-repeat center;
  background-color: #ffffff;
  transition: background-color 0.3s;
}

.tel_i:hover::after {
  background-color: #1C2D90;
}

.arrow,
.arrow::before,
.free_btn_arrow,
.free_btn_arrow::before
 {
  background-color: currentColor;
}

/*-------------------------------- /* アクセスマップ */
#access .txt_wrap {
  margin-top: 10px;
}

.footer-map {
  padding: 0px;
}

.footer-map__info {
  text-align: center;
  padding: 2rem 1rem;
}

.footer-map__info p {
  font-size: 1rem;
  line-height: 1.5;
}

.footer-map__embed iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/*-------------------------------- /* 業務内容 */

.service_list {
  line-height: 1;
  list-style-type: disc;
}

.service_list p {
  margin: 1rem 0;
}

.service_mv_page {
  background: url("../img/service/page_bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
  background-color  : #555;
  background-blend-mode : overlay;
}

.service_mv_page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.our_service .content_right,
.our_service .content_left
{
  padding: 4rem;
  background-color: #F5F4F1;
}

/*-------------------------------- /* 会社概要 */
.company_mv_page {
  background: url("../img/company/page_bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
  background-color  : #555;
  background-blend-mode : overlay;
}

.company_mv_page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* message */

.message_content_right {
  width: 68%;
}

.message_txt {
  font-feature-settings: "palt";
  font-size: 1rem;
  line-height: 1.8;
}

.message_img {
  margin-bottom: 16px;
  margin-left: 0;
  max-width: 320px;
}


#about .about_content ul li {
  padding: 30px;
  display: flex;
  text-align: left;
  border-bottom: 1px solid #6B421D;
}

.box_in {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#about .about_content ul li .ttl {
  width: 200px;
  font-family: "Noto Serif JP","Yu Mincho", "Kozuka Mincho Pro", "Hiragino Mincho ProN", 
}

.mv_page_wrap {
  margin-top: 4rem;
  padding: 0rem 6rem;
}

/*-------------------------------- /* プライバシーポリシー */
.privacy_mv_page {
  background: url("../img/privacy/page_bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
  background-color  : #555;
  background-blend-mode : overlay;
}

.privacy_mv_page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.privacy_content {
  line-height: 2;
}

ul.privacy_list {
  list-style: disc;
  margin-left: 1.6rem;
}

/*-------------------------------- /* お問い合わせ */
.contact_mv_page {
  background: url("../img/contact/page_bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
  background-color  : #555;
  background-blend-mode : overlay;
}

.contact_mv_page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


#formWrap {
	margin:0 auto;
	color:#555;
	line-height:120%;
	font-size:90%;
}

dt.form_list {
    padding-left: 1rem;
}

input[type="submit"] {
    max-width: 300px;
    height: 56px;
    margin-inline: auto;
    line-height: 53px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    padding: 0 28px;
    background-color: #1C2D90;
}

input[type="reset"] {
  max-width: 300px;
  height: 56px;
  margin: auto;
  line-height: 53px;
  color: #1C2D90;
  text-align: center;
  border: 1px solid #1C2D90;
  font-size: 16px;
  padding: 0 28px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    background: #fff;
    margin: 0.8rem 0px 2rem 0px;
}

table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}
p.error_messe{
	margin:5px 0;
	color:red;
}

.required::after{
  content: "必須";
  padding: 8px;
  background-color: red;
  font-size: 0.8rem;
  color: #fff;
  margin-right: 1rem;
}

p.button {
  display: flex;
  justify-content: space-around;
}


/*-------------------------------- /* レスポンシブ用 */


@media screen and (min-width:958px) {
.hamburger {
  display: none;
}
}

@media screen and (max-width:954px) {

.info {
  padding: 2rem 0;
}

.g_manu ul, .news_wrapper, .content_warp {
  flex-direction: column;
}

.real_estate_box {
  margin-bottom: 3rem;
}

.content_right,
.content_left,
.our_service .content_right,
.our_service .content_left {
  order: 1;
    margin-inline: auto;
    padding: 2rem;
    width: auto;
    margin-bottom: 3rem;
}

.title {
    margin-top: 1rem;
}


.right_img, .left_img {
  order: -1;　/* 画像並び順 */
  flex: 0;
  width: 100%;
  margin-inline: auto;
}

.title_wrap {
    margin-bottom: 30px;
}

.message_content_right {
    width: 100%;
}

#footer {
  flex-direction:column;
  align-items: center;
  gap: 1rem;
}

.foot_logo img, .qr img {
  margin: 20px auto;
}

.foot_txt_wrap {
    text-align: center;
}

/* <!--▼▼ SPメニュー ▼▼--> */

.g_manu_list_item a {
    color: #2C3155;
    font-weight: 500;
}

.g_manu_btn {
        max-width: fit-content;
        margin: auto;
        line-height: normal;
        background-color: #fff;
        font-size: 1.4rem;
        /* padding: 20px 90px; */
        color: #1C2D90;
        border: #1C2D90 solid 1px;
    }

.hamburger-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border: none;
  background: #1C2D90;
  cursor: pointer;
}

.hamburger-overlay__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #fff;
  transition: all .6s;
}

.hamburger-overlay__line:nth-of-type(1) { top: 14px; }
.hamburger-overlay__line:nth-of-type(2) { top: 23px; }
.hamburger-overlay__line:nth-of-type(3) { top: 32px; }

.hamburger-overlay.active .hamburger-overlay__line {
  background-color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

/* 背景 */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 900;
}

.nav-overlay.active {
  visibility: visible;
  opacity: 1;
}

.nav-overlay__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.nav-overlay__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-overlay__item {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s;
  padding: 0.9rem;
}

.nav-overlay.active .nav-overlay__item {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.2s; }
.nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.3s; }
.nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.4s; }

.nav-overlay__link {
  padding: 20px;
  color: #1C2D90;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color .3s;
}

 .nav-overlay__link:hover {
  color: #1C2D90;
} 
/* <!--▲▲ SPメニュー ▲▲--> */

}


@media screen and (max-width:890px) {
.message_img {
    width: 70%;
    margin: 24px auto 0;
}
}

@media screen and (max-width:767px) {

body {
  font-size: 16px;
  line-height: 1.4;
}

.bg_wrapper {
  padding: 0px;
}

 #about .about_content ul li .ttl {
  max-width: 170px;
  font-weight: 700;
  margin-bottom: 10px;
}

#about .about_content ul li {
  padding: 30px 20px;
  flex-direction: column;
}

section {
    padding: 40px 0;
  }

.logo {
    margin-bottom: 0;
}

.logo img {
  width: 24%;
  margin-left: 0;
}

.mv_content_txt {
  width:560px;
  max-width: 80%;
  margin: 1.125rem auto;    
}

.mv_page_wrap {
    padding: 0rem 2rem;
}

.news_box {
  flex-direction: column;
}

.btn {
  /* scale: 80%; */
  width: 100%;
}
 
.info {
  padding: 2rem 0;
  flex-direction: column;
}

.overlay-box {
  margin: 2rem auto 0;
  height: auto;
  width: 80%;
}

.message_txt {
  font-size: 0.875rem;
}

.content
 {
  width: 90vw;
  margin: 0 auto;
}

.footer-map__info h2 {
  font-size: 1.3rem;
}

.footer-map__info p {
  font-size: 0.95rem;
}

.footer-map__embed iframe {
  height: 300px;
}

.foot_txt_wrap {
  text-align: center;
  margin-bottom: 2rem;
}

.foot_logo img, .qr img {
  margin: 1rem auto;
}

}

/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:572px) {
#formWrap {
	width:95%;
	margin:0 auto;
}
table.formTable th, table.formTable td {
	width:auto;
	display:block;
}
table.formTable th {
	margin-top:5px;
	border-bottom:0;
}
form input[type="submit"], form input[type="reset"], form input[type="button"] {
	display:block;
	width:100%;
  max-width: 320px;
  margin: 16px auto;
}
}