/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	width: auto;
	vertical-align:baseline;
	word-wrap: break-word;
}

body {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 17px;
    font-weight: 300;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	color:#333;
	background-color: #f5f5f5;
	overflow-x: hidden;
}

a:link, a:active, a:hover, a:focus {
    outline: none!important;
    -moz-outline-style: none;
}

img, video {
	width: 100%;
	height: auto;
	vertical-align: bottom;
	border:none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.pc {display: inline}

.sp {display: none}

.nowrap {white-space: nowrap;}

/* ヘッダー */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

h1 {
	width: auto;
	height: auto;
	margin-block-start: 0;
    margin-block-end: 0;
}

h1 img {height: 70px;}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {color: #ae4480;}

.header-right {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.auth-links {
    display: flex;
    gap: 1rem;
    align-items: center;
	white-space: nowrap;
	overflow: hidden;
}

.auth-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.auth-link:hover {
    color: #ae4480;
    background-color: #f5f5f5;
}

.auth-link.active {
    color: #ae4480;
    background-color: #d975a9;
    font-weight: 600;
}

.user-profile-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.user-profile-link:hover {
    color: #d975a9;
    text-decoration: underline;
}

.user-info {
    color: inherit;
	line-height: 1.2;
}


/* メインコンテンツ */
main {margin-top: 98px;}

/*フッター前バナーセクション*/
.banner_section {margin-top:2rem;}

.banner_wrapper {
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 15px;
}

.banner_wrapper li {width: 16.6%; height: auto;}

.banner_wrapper li a {transition: 0.6s;}

.banner_wrapper li a:hover {opacity: 0.6;}

/* フッター */
footer {
    background-color: #ae4480;
    color: #ffffff;
    text-align: center;
	margin-top: 2rem;
	padding: 2rem 20px;
}

.footer_container {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
}

.footer_container p {
	width: 100%;
	text-align: center;
	margin: 0 auto;
}

.footer_icon_wrapper, .outside_link {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0 15px;
}

.footer_icon_wrapper {
	top: 0;
	left: 0;
}

.outside_link{
	top: 0;
	right: 0;
}

.footer_button {
	display: block;
	color: #ffffff;
	text-decoration: none;
}

.footer_button {transition: 0.6s;}

.footer_button:hover {opacity: 0.6;}

.footer_button img {
	display: inline-block;
	height: 1.5em;
	width: auto;
}

/* コンタクトボタン */
.contact_box {
	position: fixed;
	right: 0;
	bottom: 80px;
	z-index: 500;
}

.contact_box ul {list-style: none;}

.contact_box li {margin-bottom: 15px; transition: 0.5s;}

.contact_box li:hover {opacity: 0.8;}

.contact_box li a {
	display: inline-block;
	width: 150px;
	padding: 10px;
}

.contact_box li button {border: none;}

.contact_01 {background: #64569d;}
.contact_02 {background: #00a65a;}
.contact_03 {background: #00a8ba;}
.contact_04 {background: #eb9754; pointer-events: none;}

.tel_popup {
	display: none;
    position: absolute;
	z-index: 1000;
	top: 0;
	left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.tel-area  {
    position: absolute;
    top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 5rem;
	background: #ffffff;
}

.close {
	position: absolute;
	top: 1rem;
	right: 1rem;
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #444;
    text-decoration: none;
    cursor: pointer;
}

.tel-number {
	font-size: 2rem;
	color: #ae4480;
}

/* ハンバーガーメニュー */
.hamburger-menu {position: relative;}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ae4480;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn:hover span {background-color: #ae4480;}

.hamburger-btn.active span:nth-child(1) {transform: rotate(45deg) translate(7px, 7px);}

.hamburger-btn.active span:nth-child(2) {opacity: 0;}

.hamburger-btn.active span:nth-child(3) {transform: rotate(-45deg) translate(6px, -7px);}

.hamburger-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 1rem 0;
    z-index: 1000;
    margin-top: 0.5rem;
    border: 1px solid #e0e0e0;
}

.hamburger-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 23px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.hamburger-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-family: inherit;
}

.hamburger-item:hover {
    background-color: #f5f5f5;
    color: #ae4480;
}

.hamburger-icon {
    color: #d975a9;
}

.hamburger-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0.5rem 0;
}

.logout-btn {color: #333 !important;}

.logout-btn:hover {
    color: #ae4480 !important;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-buttons .secondary-btn {
    flex: 1;
    max-width: 150px;
}

.form-buttons .auth-btn {
    flex: 1;
    max-width: 200px;
}

.auth-section {
    padding: 4rem 0;
    min-height: calc(100vh - 160px);
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

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

.auth-header h2 {
    color: #ae4480;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.required {
    color: #e53e3e;
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: #ae4480;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.password-requirements {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-size: 0.875rem;
}

.password-requirements p {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #333;
}

.password-requirements ul {
    margin: 0;
    padding-left: 1rem;
    color: #666;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    transform: scale(1.5);
    cursor: pointer;
}

.terms-link {
    color: #ae4480;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    background-color: #ae4480;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-btn:hover {
    background-color: #d975a9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.auth-footer p {
    color: #666;
    font-size: 0.9rem;
}

.auth-footer .auth-link {
    color: #ae4480;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer .auth-link:hover {
    text-decoration: underline;
}

/* ==================================================
==================下層ページ共通CSS====================
================================================== */
.contactus_h {min-height: 100vh;}

.thanks_text {text-align: center; padding: 200px 0;}

.thanks_text h3 {font-size: 2rem; color: #ae4480;}

.thanks_text p {line-height: 2.3; margin-top: 20px;}

h2.contents_title {
    text-align: center;
    font-size: 2rem;
    color: #333;
}

.light {height: 1.1em; width: auto;}

.bottom-page-header {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ae4480, #d975a9);
    padding: 2rem 1rem;
}

.bottom-page-header h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.bottom-page-header p {
    color: #ffffff;
    line-height: 1.6;
}

.bottom-page-wrap {
    padding-bottom: 2rem;
    min-height: calc(100vh - 200px);
}

.chat-area-wrap {
	background: #ffffff;
	padding-bottom: 2rem;
	border-radius: 18px;
}

.chat-header {
	background: #d975a9;
	border-top-left-radius: 18px;
    border-top-right-radius: 18px;
	color: #ffffff;
	padding: 1.5rem;
	text-align: center;
}

.chat-header h3 {
	font-size: 1.3rem;
}


/* レスポンシブデザイン */
@media (max-width: 768px) {

.pc {display: none}

.sp {display: inline}

h1 {padding-right: 15px;}

h1 img {height: 50px;}
	
h2.contents_title {font-size: 1.6rem;}
	
.header-right{width: 50%;}
	
nav .container {padding: 1rem 10px;}
	
.user-info {font-size: 0.9rem;}
	
main {margin-top: 86px;}
	
.bottom-page-wrap {padding-bottom: 0;}
	
.chat-header {padding: 1.5rem 0.5rem;}

.banner_wrapper {display: block;}

.banner_wrapper li {width: 70%; margin: 0 auto 15px;}
	
.banner_wrapper li.end {margin-bottom: 0;}

footer {padding: 2rem 20px 80px;}

.footer_container {position: static;}

.footer_container p {margin-top: 15px;}

.footer_icon_wrapper, .outside_link {position: static;}

.footer_icon_wrapper{margin: 0 auto;}

.outside_link {margin-top: 15px; font-size: 0.9rem}

/* コンタクトボタン */
.contact_box {
	position: fixed;
	right: 50%;
	transform: translateX(50%);
	bottom: 0;
	width: 100%;
}

.contact_box ul {display: flex; justify-content: space-around;}

.contact_box li {margin: 0;}

.contact_box li a {
	display: inline-block;
	width: 100%;
	padding: 5px;
}

.contact_04 {background: #eb9754; pointer-events: auto;}
	
}
