@charset "UTF-8";

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

img {
	max-width: 100%;
}

body {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    min-height: 100vh;      /* 画面全体を最低限の高さにする */
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "MS Mincho", serif;
    background-image: url("../image/top-back.jpg");
    background-color: rgba(255,255,255,0.3);
    background-blend-mode: lighten;
    background-attachment: fixed;
    background-size: cover;
}

.right-footer-all {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/*お問い合わせボタン*/
a.contact-btn {
	display: grid;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 15vw;
	margin: auto;
	padding: 1vw 1vw;
	font-size: 1.2vw;
	font-weight: bold;
	color: #000000;
	background-color: #FFE700; 
	border-bottom: 2px solid #27acd9;
	border-radius: 100vh;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
	transition: 0.5s;
	z-index: 150;
}
a.contact-btn:hover {
	color: #fff;
	background: #27acd9;
	border-bottom: 2px solid #fff;
	transform: translateY(3px);
}

/* サイドバーレイアウト */

main {
	position: fixed;
    width: 7%;
    height: 100vh;
    top: 0;
    left: 0;
	background-color: #FFFFFF;
	background-image: url("../image/top-back.jpg");
	background-size: cover;
    box-shadow: 0px 0px 4px 0px #666;
	z-index: 100;
}
main img {
	width: 50px;
	margin-left: 5px;
	margin-top: 20px;
}

/*スマホ版*/
@media(max-width:640px) and (orientation: portrait){
	main, .sidebar {
		display: none;
	}
}

/* 751px以上の画面幅で表示 */
@media(min-width:641px) and (orientation: portrait){
	.image-mobile {
		display: none; /* 751px以上では非表示 */
	  	}
}

/*全体ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/
.contact {
    flex: 1;  /* フッターまで空きスペースを埋める */
    display: block;
    position: relative;
    width: 93%;
    left: 7%;
    right: 0;
}

.input-form {
	width: 80%;
	margin: 2rem auto;
}

.input-form h2 {
	font-size: 2.5vw;
	color: #22A900;
	margin-left: .5rem;
	margin-bottom: -1.5rem;
}

@media(max-width:640px) and (orientation: portrait){
	.contact {
		width: 100%;
		left: 0;
	}

	.input-form {
		width: 80%;
		margin: 1rem auto;
	}
	
	.input-form h2 {
		font-size: .9rem;
		color: #22A900;
		margin-bottom: -1.5rem;
	}
}


/*上部ヘッダー*/
.top-header {
	display: block;
	height: 5rem;
	background-image: url("../image/top-obi.jpg");
	background-position: center;
	background-size: cover;
}

.top-header h1 {
	position: absolute;
	margin-left: 2rem;
	margin-top: 1rem;
	font-size: 1.7rem;
	color: white;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "MS Mincho", serif;
}

.input-form {
    width: 80%;
    margin: 2rem auto;
    min-height: 500px;  /* フォーム分の高さを確保 */
}

#form-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* フォーム高さ分を確保 */
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #22A900;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

