@charset "UTF-8";
/* CSS Document */

.top-img{
	margin-top: 50px;
	background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
 url("../img/iryou-img/iryou-topimg.jpg");
  background-position: right bottom;

  background-size: cover;
  clip-path: polygon(0 0, 100% 0%, 100% 70%, 50% 100%, 0 70%);
  height: 50vh;
  opacity: 0;
  transform: translateY(-100%); /* 初期位置を画面外の上に設定 */
  transition: transform 1s ease-out, opacity 1s ease-out; /* アニメーションの設定 */
}

.top-img.show {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻る */
}

.top-img h1{
	font-size: 2rem;
	padding-top: 200px;
	color: #fff; 
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
letter-spacing: 0.5px; /* 文字の間隔を少し広げる */
}

.top-text{
	font-size: 1.5rem;
	font-weight: 600;
	width: 80%;
	margin: 80px auto 60px;
	line-height: 3rem;
}
.top-text img{
	width: 80%;
	max-width: 700px;
	margin: 0 auto;
}

@media screen and (max-width: 1100px){
	.top-text{
		font-size: 1.2rem;
		width: 90%;
		line-height: 2.5rem;
	}
}

/*対応可能な処置*/
.iryou-wrapper {
	position: relative;
     overflow: hidden;
  margin: 100px auto;
	background-image: url("img/background-img01.png");
	
}
.iryou-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7); /* 白色の半透明レイヤー */
  z-index: 1;
}

.iryou-wrapper > * {
  position: relative;
  z-index: 2; /* コンテンツを半透明レイヤーの上に配置 */
}


.iryou{
	background-color: #fff;
    width: 80%;
    margin: 50px auto;
    padding: 50px;
    text-align: center; /* 内部要素の中央配置 */
	
}
.iryou h2{
	font-size: 1.5rem;
	color: #FE9552;
}
.iryou ul{
	 font-size: 1.3rem;
    display: inline-block;
    text-align: left; /* 箇条書きの左寄せ */
}
.iryou h2{
	text-align: center;
	font-size: 1.5rem;
	margin-bottom: 30px;
}
.iryou p{
	font-size: 1.2rem;
	margin-top: 30px;
	color: #FE9552;
}

@media screen and (max-width: 1100px){
	.iryou{
		width: 90%;
	}
	.iryou ul{
		font-size: 1rem;
		line-height: 1.5rem;
		margin-bottom: 10px;
	}
	.iryou p{
	text-align: center;
	font-size: 1.2rem;
		line-height: 1.5rem;
	margin-top: 30px;
		color: #FE9552;
}
}


/*Q&A*/
.Q-a{
	background-color: #fff;
	border-radius: 30px;
	padding: 10px;
	max-width: 850px;
	margin:0 auto 100px;
}
.Q-a h1 {
  margin: 50px auto;
  font-size: 1.5rem;
  color: #217EED;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.Q-a h1::before {
  content: "Q&A"; /* 装飾テキスト */
  position: absolute;
  top: 50%; /* 縦位置調整 */
  left: 50%; /* 横位置調整 */
  transform: translate(-50%, -50%); /* 中央揃え */
  font-size: 6rem; /* 大きな文字サイズ */
  color: rgba(96,161,253,0.5); /* 半透明の黒色 */
  font-weight: bold;
  z-index: -1; /* 背後に配置 */
  pointer-events: none; /* テキストがクリックなどの操作を妨げないようにする */
}

.Qa-Box {
  width: 80%;
  margin: 0 auto;

}

.Qa-Box .Qa {
	max-width: 800px;
	margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid #c8c8c8;
}

.Qa-Box .Qa dt,
.Qa-Box .Qa dd {
  display: flex;
  align-items: baseline;
  margin: 15px 0;
}

.Qa-Box .Qa dt p {
  margin: 0;
  padding-left: 15px;
  font-size: 1.2rem;
  width: 100%;
	text-align: left;
}

.Qa-Box .Qa dd p {
  margin: 0;
  padding-left: 15px;
	font-size: 1.2rem;
  width: 100%;
	text-align: left;
}

.Qa-Box .Qa:last-of-type {
  border-bottom: none;
}

.Qa-Box .Qa dt::before {
  content: "Q";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #6699b7;
  width: 2em;
  height: 2em;
	border-radius: 50%;
}

.Qa-Box .Qa dd::before {
  content: "A";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #d65556;
  width: 2em;
  height: 2em;
	border-radius: 50%;
}

@media screen and (max-width: 960px) {
  .Qa-Box {
    width: 95%;
  }
}


/*お問い合わせ・パンフレット*/
.iryou-contact{
	display: flex;
	gap:30px;
	margin: 50px auto 100px;
	justify-content: center;
}
.iryou-contact a{
	font-size: 2rem;
	font-weight: 700;
	text-decoration: none;
	color: #fff;
}
.iryou-contact img{
	height: 150px;
	margin: 0 auto;
}
.contact-inquiry img{
	width: 150px;
}
.contact-inquiry,.contact-pamphlet{
	background-color: #FF9854;
	width: 300px;
	height: 300px;
	padding: 20px;
	border-radius: 20px;
	transition: background-color 0.5s ease-in-out; /* 背景色をゆっくり変化 */
	transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-inquiry:hover,.contact-pamphlet:hover{
	background-color: #FFC263;
transform: scale(1.05); /* 拡大 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* 影を強調 */
}
@media screen and (max-width: 960px){
	.iryou-contact{
	display: block;
		justify-content: center;	
}
	.contact-inquiry,.contact-pamphlet{
	width: 280px;
	height: 150px;
		margin: 20px auto;
	
}
	.iryou-contact a{
display: flex;
		text-align: center;
		font-size: 1.2rem;
		line-height: 2rem;
		
}
	.iryou-contact img{
	height: 90px;
	margin: 0 auto;
		padding-top: 30px;
}
.contact-inquiry img{
	width: 50px;
}
}