@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
*/
/*-- レイアウト --*/
.page .l-content {
    margin: 0 auto;
		padding-top: 0!important;
}
.bg-hougan {
		background-image: linear-gradient(#fff 1px, transparent 0), linear-gradient(90deg, #fff 1px, transparent 0)!important;
		background-size: 80px 80px!important;
}
.l-header__inner {
  opacity: 1 !important;
  transition: none !important;
}
.page .c-pageTitle[data-style=b_bottom] {
		border-bottom: none;
		position: absolute;
		top: 100px;
}
.page .c-pageTitle:after {
    display: none;
}
.page .c-pageTitle[data-style=b_bottom] .c-pageTitle__inner {
    border-bottom: none;
    float: left;
    margin-bottom: -1px;
    padding: .25em .5em;
}
.home .post_content h2 {
    margin: 0em 0 2em;
}
.swell-block-fullWide {
  position: relative;
/*   overflow: hidden; */
}
.swell-block-fullWide__inner {
  position: relative;
  z-index: 1;
}
.fw-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/*-- スライダー --*/
.slider img {
    width:100%;/*画像の横幅100%*/
    height:auto;
}
.slider .slick-slide {
    margin:0;/*画像左右の余白*/
}
.slick-slider {
		padding-left: 0!important;
		margin-bottom: 0;
}

/*-- トップマウスホバー背景 --*/
.contents-area {
  width: 100%;
  display: flex;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.contents-card {
	position: relative;
  width: calc(100% / 3);
  height: 500px;
  border: 0.2px solid rgba(194, 194, 194, 0.515);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.contents-card .contents-text {
  margin-bottom: 50%!important;
	color: #ffffff;
	font-size: large;
}
.-contentsA-thumb {
	background-image: url(/wp-content/uploads/2025/06/top_hover1.jpg);
	background-size: auto;
	background-position: 85% 50%;
}
.-contentsB-thumb {
	background-image: url(/wp-content/uploads/2025/06/top_hover2.jpg);
	background-size: auto;
	background-position: 50% 50%;
}
.-contentsC-thumb {
	background-image: url(/wp-content/uploads/2025/06/top_hover3.jpg);
	background-size: auto;
	background-position: 48% 50%;
}
.-contentsA-hover {
	background-image: url(/wp-content/uploads/2025/06/top_hover1.jpg)!important;
  transition: 0.7s;
}
.-contentsB-hover {
	background-image: url(/wp-content/uploads/2025/06/top_hover2.jpg);
  transition: 0.7s;
}
.-contentsC-hover {
	background-image: url(/wp-content/uploads/2025/06/top_hover3.jpg);
  transition: 0.7s;
}
.contents-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.contents-card {
  position: relative;
  width: 30%;
  min-width: 280px;
  height: 500px;
  background-size: cover;
  /*background-position: center;*/
  overflow: hidden;
  flex-grow: 1;
}
.contents-text {
  position: absolute;
  top: 30%;
  color: #ffffff;
  font-size: 16px;
  padding: 0 30px;
  width: 100%;
  text-align: center;
}
/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .contents-area {
    flex-direction: column;
    align-items: center;
  }
  .contents-card {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* モダンブラウザでの高さ比率指定 */
  }
  .contents-text {
    top: 20%; /* モバイルでは少し下げる */
    font-size: 14px!important;
    padding: 0 20px;
  }
  .-contentsA-hover {
      background-position: 85%;
  }
	.post_content > .is-style-section_ttl {
			font-size: 3em !important;
	}
	.c-pageTitle[data-style=b_bottom] {
			top: 60px!important;
	}
}

/*-- ホバーイメージ --*/
.photoArea figure {
  position: relative;
  display: inline-block;
  overflow: hidden;
/*   width: 720px; */
}
.photoArea figure::before {
  content: '';
	display: inline-block;
	width: 0;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	background: #0a0047;
}
.photoArea.move figure::before {
  animation: barAnime forwards 1.5s 1 ease 0.1s normal;
}
.photoArea figure img {
  opacity: 0;
  transform: scale(1.1);
}
.photoArea.move figure img {
  animation: photoAnime forwards 1.5s 1 ease 0.5s normal;
}
@keyframes barAnime{
	0% {
		left: 0;
		width: 0;
	}
	50% {
		left: 0;
		width: 100%;
	}
	51% {
		left: 0;
		width: 100%;
	}
	68% {
		left: 0;
		width: 100%;
	}
	100% {
		left: 100%;
		width: 0;
	}
}
@keyframes photoAnime{
	0% {
    opacity: 0;
    transform: scale(1.1);
  }
	50% {
    opacity: 0;
    transform: scale(1.1);
  }
	100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Contact Form7 */
.inquiry p {
  display: inline;
}
table.inquiry {
  margin-bottom: 30px;
  /*    border:solid 1px #d7d7d7; */
  line-height:1.2;
  vertical-align:middle;
}
.inquiry tr {
  border:0!important;
}
.inquiry th{
  text-align:left;
  font-size:14px;
  color:#444;
  padding:2em 0.5em;
  width:0;
  background:transparent!important;
  border:none!important;
  white-space: nowrap;
  vertical-align: baseline!important;
}
.haveto,.any{
  font-size:13px;
  padding:5px;
  /* background:#ff9393; */
  color:#000571;
  border-radius:2px;
  margin-right:5px;
}
.inquiry td{
  font-size:13px;
  border:none!important;
}
.wpcf7-form-control {
  width: 100%;
}
.inquiry input,.inquiry select,.inquiry textarea {
  margin: 5px 0;
  /*    background:#eff1f5; */
  border: none;
  padding:0.7em;
}
.inquiry textarea {
  padding-bottom:10em;
}
.wpcf7-submit{
  display: block;
  margin:10px auto;
  padding:1em 0;
  width:30%;
  background:#000571;
  color:#fff;
  font-size:15px;
  border-radius:4px;
  border: none;
}
.wpcf7-submit:hover{
  opacity: 0.9;
  transition: 0.3s;
}
.screen-reader-response {
  display: none;
}
.wpcf7-not-valid-tip {
  color: #e92323;
}
.wpcf7 form .wpcf7-response-output {
    border: none !important;
    border-color: transparent!important;
}
@media(max-width:850px){
table.inquiry th,table.inquiry td {
    display:block;
    padding:1em 0!important;
    width:100%;
    border:0;
  }
  input.wpcf7-submit{
    margin-bottom:30px;
    width:100%;
  }
}
@media(max-width:900px){
  .pcdate{
    display: none;
  }
}
@media(min-width:1000px){
  .spdate{
     display: none;
  }
  .wpcf7-date.dateform{
     width: 25%;
  }
}

/*--トップページのお知らせ一覧 --*/
.top-newslist .p-postList__cat {
  order: 1;
}
.top-newslist .p-postList__times.c-postTimes.u-thin {
  order: 2;
}
.top-newslist time.c-postTimes__posted.icon-posted::before,.top-newslist span.p-postList__cat.icon-folder::before{
  display: none;
}
.top-newslist .p-postList__cat,.top-newslist time.c-postTimes__posted {
  font-size: 13px;
}
.top-newslist .p-postList__cat {
  color: #000571;
  border: solid 1px #000571;
  border-radius: 3px;
  padding: 2px;
}

/*-- ローディング画面 --*/
body.loading-hidden {
  visibility: hidden;
  overflow: hidden; /* スクロール禁止 */
}
#loading {
  text-align: center;
  visibility: visible;
  margin-bottom: 0;
  padding-bottom: 50px;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #021d68;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  z-index: 9999;
  flex-direction: column;
  transition: opacity 0.8s ease;
}
#loading .dot {
  position: absolute;
  top: 0;
  background-image: radial-gradient(rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, 0) 0), radial-gradient(rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, 0) 0);
  background-position: 2px 2px;
  background-size: 5px 5px;
  background-attachment: fixed;
  width: 100%;
  height: 100%;
}
/* 背景のカットイン全体 */
@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}
#loading.slide-in {
  animation: slideIn 0.5s forwards;
}
#loading.slide-out {
  animation: slideOut 0.5s forwards;
}
/* 文字とボタンだけ別アニメーション（←から） */
#loading .content {
	position: relative;
	top: -2%;
	opacity: 0;
	transform: translateX(-50px);
	animation: textSlideIn 0.6s ease forwards;
	animation-delay: 0.4s;
}
@keyframes textSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#bgm-on {
  margin-right: 10px;
  cursor:pointer;
}
#bgm-off {
  cursor:pointer;
}
#bgm-toggle-btn {
  position: fixed;
  right: 10px;
  padding: 8px 14px;
	border: 1px solid #0a0047d4;
  font-size: 14px;
  cursor: pointer;
  display: none;
	opacity: .75;
  z-index: 10000;
}
@media (max-width: 959px) {
  #bgm-on {
    font-size: 14px;
    padding: 8px 12px;
  }
  #bgm-off {
    font-size: 14px;
    padding: 8px 12px;
  }
  #bgm-toggle-btn {
    top: 58px;
  }
}
@media (max-width: 600px) {
	#bgm-toggle-btn {
		top: 55px;
		right: 7px;
    padding: 6px 11px;
    font-size: 12px;
	}
}
@media (min-width: 960px) {
  #bgm-on {
    font-size: 17px;
    padding: 10px 20px;
  }
  #bgm-off {
    font-size: 17px;
    padding: 10px 20px;
  }
  #bgm-toggle-btn {
    top: 75px;
  }
}
