/* カスタムフィールドの入力欄を広げる */
.acf-input input[type="text"],
.acf-input textarea {
    min-width: 350px;
    background: #f8f8fb;
}

/*	フッター
---------------------------------*/
footer {
	position: relative;
	margin: 0;
	padding: 0;
	font-size: clamp(1.2rem, 1rem + 0.3vw, 1.5rem);
	color: #fff;
}
.footer-inner {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2vw;
    padding: 2rem 1vw 2rem 1vw;
}


.footer-logo-block {
min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 8rem;
    align-items: center;
}
.footer-logo {
  max-width: 270px;
  height: auto;
}
.footer-company-name {
  font-size: 2.0rem;
  letter-spacing: 0.1rem;
  font-weight: 400;
}

.footer-info-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-company-info {
  display: flex;
  column-gap: 7rem;
  font-size: clamp(1.4rem, 0.9rem + 0.8vw, 1.7rem);
  line-height: 1.7;
  text-align: left;
  padding: 2rem 0 2rem 0;
}
	
.footer-sns {
  display: flex;
  align-items: center;     /* 上下中央揃え */
  justify-content: center; /* 左右中央揃え（横並びの中央） */
  gap: 22px;               /* アイコン間の余白 */
  min-height: 58px;        /* アイコンサイズ＋αの高さ（必要に応じて調整） */
}
	
.sns-link {
  display: flex;           /* アイコンを中央配置 */
  align-items: center;     /* アイコン縦中央揃え */
  justify-content: center; /* アイコン横中央揃え */
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 8px;
  font-size: 4rem;          /* Font Awesomeアイコンの大きさ */
  color: #7c60a0;          /* ブランド色などに変更可 */
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
}
	
.sns-link:hover {
  background: #7c60a0;
  color: #fff;
}
	
.sns-line-icon {
  width: 28px;
  vertical-align: middle;
}
.sns-link img.sns-line-icon {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto;
}	

.footer-hr {
  width: 100%;
  border: none;
  border-top: 1px solid #e4e4e4;
  margin: 18px 0 18px 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0 0 16px 0;
  
}
.footer-nav li a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
  font-size: clamp(1.4rem, 0.9rem + 0.8vw, 1.7rem);
}
.footer-nav li a:hover {
   color: #a080c5;
   opacity: 0.8;
   text-decoration: underline;
   transition: color 0.2s;
	font-weight: 400;
}

.ft_a {
  cursor: pointer !important;
}

.ft_a:hover {
  cursor: pointer !important;
}
		
	
.footer-copyright-inner {
  display: block;
  margin: 0 auto;
  text-align: center;
  padding: 0.5rem 0 0.5rem 0;
  background: #9261c14d;
}	
	
.footer-copyright {
  text-align: center;
  font-size: 1.6rem;
  color: #f7f7f7;
  letter-spacing: 0.04rem;
}

/* スマホ対応 */
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0 7px;
  }
  .footer-logo-block {
    align-items: center;
  }
  .footer-company-name {
    text-align: center;
  }
  .footer-info-block {
    align-items: center;
  }
}
.ft-info {
	margin: 0 50px 0 0;
}
.ft-info  {
	margin: 0 0 10px;
}
.ft-info  img{
	max-width: 260px;
}
.ft-info p {
	margin: 0;
}
.ft-nav {
	padding: 0;
  font-size: clamp(1.3rem, 1.1rem + 0.4vw, 1.6rem);
}
.ft-nav > ul {
	margin: 0 25px 0 0;
}
.ft-nav > ul > li {
	margin: 0 0 15px;
	line-height: 1;
}
.ft-nav > ul > li:last-of-type {
	margin-bottom: 0;
}
.ft-nav ul > li span {
	position: relative;
	padding: 0 0 0 15px;
}
.ft-nav ul > li span:after {
	content: ">";
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	margin: auto;
	line-height: 1;
}
.ft-sns > ul > li {
	margin: 0 0 15px;
}
.ft-copyright {
	text-align: left;
  font-size: clamp(1rem, 0.9rem + 0.2vw, 1.3rem);
}
.ft-copyright p {
	margin: 0 auto;
	max-width: 1110px;
}


.contactinner {
    text-align: center;
    margin: auto;
    padding: 0 4vw 0 4vw;
    max-width: 1000px;
}
.contactarea h2 {
  font-size: clamp(2.0rem, 1.55rem + 1.5vw, 2.85rem);
	line-height: 1.4;
	padding: 0 0 3.8rem 0;
}
.contact_sub_ttl {
    font-style: normal;
	display: block;
  font-size: clamp(1.65rem, 1.70rem + 0.10vw, 1.85rem);
}

.middle-foot {
	background: url(../images/top2/bg_ft2.png) no-repeat center center;
	background-size: cover;
	padding: 2vw 4vw 2vw 4vw;
}
.middle-foot img {
	max-width: 40%;
}

.topconpany {
	display: flex;
	justify-content: center;
	align-items: center;
	
}
.topconpany_left {
	display: block;
	max-width: 50%;
}

.tp_campname {
  font-size: clamp(1.4rem, 1rem + 0.6vw, 2rem);
}
.topconpany_right

.ft-inr {
	
	-webkit-align-items: center;
	align-items: center;
	margin: 0 auto;
	padding: 0 0 15px;
	max-width: 1140px;
	
}

.contactinner h2 {
    font-weight: 500;
    font-style: italic;
    color: rgb(217, 37, 0);
  font-size: clamp(1.65rem, 1.75rem + 1.95vw, 3.2rem);
    letter-spacing: 0.08em;
    display: block;
    text-align: center;
    position: relative;
}


.contact-ttl{
  display: grid;
  justify-items: center;
  row-gap: .6rem;
  margin: 0;
}

.contact-ttl .main{
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 500;
  font-style: italic;
  color: #d92500;
  letter-spacing: .08em;
  font-size: clamp(1.65rem, 1.75rem + 1.95vw, 3.2rem);
}
/* 線。幅は可変、中央は常にテキスト */
.contact-ttl .main::before,
.contact-ttl .main::after{
  content: "";
  display: block;
  width: clamp(56px, 12vw, 160px);  /* 好みで調整 */
  height: 1px;
  background: #222;
}

/* 下段（和文） */
.contact-ttl .contact_sub_ttl{
  display: block;
  color: #d92500;
  font-size: clamp(1rem, .9rem + .6vw, 1.4rem);
  font-style: normal;
}

footer .contactarea {
	background: #f4f2eb;
}
footer .contactarea .section-inner {
	
}

.c-footbg {

}

.openModalBtn {
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.st-tel {
    display: inline-block;
    background: #9261c1;
    color: #fff;
    padding: 0.6rem 9.6rem 0.6rem 9.6rem;
    border-radius: 4px;
    font-size: clamp(1.6rem, 1.3rem + 0.5vw, 2.2rem);
    border: 2px solid #fff;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
    max-width: 500px;
	line-height: 1.4;
}

.st-tel:hover {
  color: #fff;
  background-color: #999999;
  border: 2px solid #fff;
  text-decoration: none;
  opacity: 1;
}

.st-tel .fa-phone {
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.st-tel:hover .fa-phone {
  transform: rotate(30deg);
}

.fa-line:hover .fa-phone {
    transform: rotate(30deg);
}
.fa-line .fa-phone {
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}


footer .ft-tel {
  appearance: none !important;
  background: none;
  color: #fff;
  padding: 0;
  border: none;
  font-size: 100%;
  cursor: pointer;
}

footer .ft-tel:hover {
 background: none;
 color: #9261c1;
 cursor: pointer;
 text-decoration: underline;
}
footer .openModalBtn span {
  color: #fff;
  font-size: clamp(1.6rem, 1.8rem + 1vw, 2.4rem);
}
footer .mailarea span {
	color: #fff;
}

footer .mail-link {
	width: 100%;
    background: #9261c1;
    color: #fff;
    padding: 1.81rem 8.5rem 1.81rem 8.5rem;
    border-radius: 4px;
    font-size: clamp(1.6rem, 1.3rem + 0.5vw, 2.2rem);
    text-decoration: none;
    border: 2px solid #fff;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    font-family: inherit;
	display: flex;
    justify-content: center;
    align-items: center;
}

footer .mail-link:hover, footer .mail-link:focus,
footer .line-link:hover, footer .line-link:focus {
  color: #fff;
  background-color: #999999;
  border: 2px solid #fff;
  text-decoration: none;
  opacity: 1;
}
footer .mail-link i, footer .line-link i {
  margin-right: 7px;
  font-size: clamp(2.8rem, 2rem + 1vw, 3.5rem);
  position: relative;
  top: 5px;
}

footer .line-link {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #9261c1;
    color: #fff;
    padding: 1.81rem 7.5rem 1.81rem 7.5rem;
    border-radius: 4px;
    font-size: clamp(1.6rem, 1.3rem + 0.5vw, 2.2rem);
    text-decoration: none;
    border: 2px solid #fff;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    margin: auto;
}

footer .line {
    margin: auto;
    text-align: center;
    max-width: 850px;
    padding: 2vh 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .line-link i:hover {
  transform: rotate(-15deg);	
}


footer .contact_flex {
  display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
	max-width: 850px;
}


/* 共通：Font Awesomeブランドアイコンを正しく表示 */
.fa-brands.fa-line {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* 1つ目だけ絶対位置で調整 */
.line-icon-abs::before {
  content: "\f3c0";
  position: absolute;
  top: -25px;
  left: -40px;
  font-size: 1.18em;
  font-family: "Font Awesome 6 Brands"; /* 必須 */
}

/* 2つ目は標準表示、特に位置調整しない */
.line-icon-normal::before {
  content: "\f3c0";
  font-family: "Font Awesome 6 Brands"; /* 必須 */
}
.fa-instagram:before {
    content: "\f16d";
}



/* オーバーレイ表示切替をflexへ */
.modal-overlay {
display: flex; /* 最初はflex推奨、見せたくない時はopacity:0で隠す */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.4,0,.2,1);
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* アニメーション用のshowクラスを追加 */
.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  color: #333;
  font-size: clamp(1.4rem, 1.1rem + 0.4vw, 1.8rem);
  background: #fff;
  border-radius: 4px;
  padding: 32px 24px 24px 24px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
  position: relative;
  text-align: left;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.28s cubic-bezier(.4,0,.2,1), transform 0.28s cubic-bezier(.4,0,.2,1);
}

/* show時にアニメーション実行 */
.modal-overlay.show .modal-content {
  opacity: 1;
  transform: scale(1);
}



/* 閉じるボタン（右上） */
.modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  border: none;
  background: transparent;
  font-size: clamp(2.5rem, 2rem + 0.8vw, 3rem);
  cursor: pointer;
  color: #999;
  transition: color .2s;
}
.modal-close:hover { color: #333; }

/* フッターボタン */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.modal-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 3px;
  font-size: clamp(1.4rem, 1rem + 0.4vw, 1.8rem);
  cursor: pointer;
}
.modal-btn.close {
  background: #eee;
  color: #444;
}
.modal-btn.call {
  background: #78815a;
  color: #fff;
  text-decoration: none;
}
.modal-btn.call:hover {
  background: #5d6842;
}

.footer-section {
  background: #7d875a;
  color: #fff;
  padding: 2em 0 0 0;
  font-size: clamp(1.2rem, 1rem + 0.3vw, 1.6rem);
  letter-spacing: 0.02em;
  background: url(../images/top2/bg_ft2.png) no-repeat center center;
  background-size: cover;
}


@media (max-width: 500px) {
  .modal-content { max-width: 98vw; padding: 18px 8px; }
}



@media screen and (max-width:1110px) {
.ft-inr,
.ft-copyright p {
	padding-left: 15px;
	padding-right: 15px;
}
}
@media screen and (max-width:1023px) {
.ft-info {
	margin: 0 10px 0 0;
}
.ft-nav {
	font-size: 0.8125rem;
}
.ft-nav > ul {
	margin: 0 12px;
}
.ft-sns {
	max-width: 150px;
}
}
@media screen and (max-width: 768px) {
.contactinner {
    text-align: center;
    margin: auto;
    padding: 0 4vw 0 4vw;
    max-width: 700px;
}	
	
/* 横並びベース */
footer .contact_flex {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2vh; 
  justify-content: center;
  max-width: 376px;
}

/* 各ボタンエリアの幅 */
.contact_flex .telarea,
.contact_flex .mailarea {
  flex: 1 1 45%; /* レスポンシブ幅: 最大2カラム */
  display: flex;
  justify-content: center;
}	
	
footer {
	position: relative;
	margin: 0;
	padding: 20px 0 25px;
}
	

footer .line {
   margin: auto;
   text-align: center;
   max-width: 380px;
   padding: 2vh 0 0 0;
   display: flex;
   justify-content: center;
   align-items: center;
}	

.footer-inner {
    display: flex;
    flex-direction: column;
}
.footer-logo-block {
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 0;
    align-items: center;
    justify-content: center;
    margin: auto;
}
	
.ft-pagetop {
	bottom: 15px !important;
}
.ft-left {
	width: 100%;
}
.ft-info {
	margin: 0 auto 20px;
	text-align: center;
}
.ft-info h2 {
	margin: 0 auto 10px;
	max-width: 200px;
}
.ft-info p {
	margin: 0;
}
.ft-nav {
	display: none;
}
.ft-sns {
	margin: auto;
}
.ft-copyright {
    text-align: center;
    font-size: clamp(1rem, 0.9rem + 0.2vw, 1.2rem);
  }
}

@media screen and (max-width: 425px) {
		.footer-logo {
    max-width: 210px;
    height: auto;
}
	footer .contact_flex {
        gap: 2vh;
        max-width: 340px;
    }
	footer .st-tel {
        display: block;
        font-size: clamp(1.6rem, 1.3rem + 0.5vw, 2.2rem);
        border: 2px solid #fff;
        width: 100%;
        padding-block: 2vh;
    }
	footer .mail-link {
      width: 100%;
		padding: 1.81rem 4.5rem 1.81rem 4.5rem;
	}
	footer .line-link {
      padding: 1.81rem 7.5rem 1.81rem 7.5rem;
      font-size: clamp(1.6rem, 1.3rem + 0.5vw, 2.2rem);
      border: 2px solid #fff;
      width: 100%;
	  max-width: 340px;
      margin: auto;
    }
}
@media screen and (max-width: 375px) {

	footer .mail-link{
		padding: 1.81rem 0rem 1.81rem 0rem;
    }
	footer .line-link {
      padding: 1.81rem 0rem 1.81rem 0rem;
      font-size: clamp(1.6rem, 1.3rem + 0.5vw, 2.2rem);
      border: 2px solid #fff;
      width: 100%;
	  max-width: 340px;
      margin: auto;
    }
}
