@charset "utf-8";

body .sp-item {
	display: none;
}
body .pc-item {
  display: block;
}

@media screen and (max-width: 640px) {
	body {
		min-width: inherit;
		height:100%;
	}
	body .sp-item {
		display: block;
	}
	body .pc-item {
		display: none;
	}
	body .sp-item img {
		width:100%;
	}
}

/* ----------------------------------------------------
    共通
---------------------------------------------------- */

body {
	max-width: inherit;
	height: 100%;
	background-attachment: fixed;
}
.main {
	font-family: 'ヒラギノ角ゴシック','Hiragino Sans','Meiryo UI',sans-serif;
	font-weight: 400;
	line-height: 1.7;
	font-size: 20px;
	color:#333;
	background-color: #fff;
	text-align: justify;
	font-feature-settings: "palt";
	overflow-x: hidden;
	max-width: 2000px;
	margin: 0 auto;
	box-shadow: 0 0 8px #ccc;
}
img {
	margin: 0 auto;
	width: 100%;
	height: auto;
}
.inner {
	width: 724px;
	margin: 0 auto;
}

@media screen and (max-width: 640px) {
	img {
		max-width: 100%;
		height: auto;
	}
	body {
		width: 100%;
	}
	.inner {
		width: 94%;
	}
}

/* ----------------------------------------------------
    main
---------------------------------------------------- */
.sec {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}
.sec img {
	width: auto;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 640px) {
	.sec {
		height: auto;
	}
	.sec img {
		width: 100%;
		height: auto;
	}
}

/* ----------------------------------------------------
    CTA
---------------------------------------------------- */
.btn {
	transition: all .2s;
	filter: drop-shadow(5px 5px 5px rgba(153,153,153,0.75));
}
.btn-phone-pc {
	filter: none;
}
.btn:hover {
	opacity: 0.8;
	cursor: pointer;
}
.cta {
	position: relative;
}
.btns {
	position: absolute;
	width: 638.8085px;
	left: 50%;
	transform: translateX(-50%);
	bottom: 340px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.btns02 {
	bottom: 340px;
}
.btns03 {
	bottom: 350px;
}
.btns04 {
	bottom: 430px;
}
.btns05 {
	bottom: 350px;
}
.btn img {
	width: 100%;
}

	@media screen and (max-width: 640px) {
		.btn-phone-pc {
			filter: drop-shadow(5px 5px 5px rgba(153,153,153,0.75));
		}
		.btns {
			width: 83%;
			bottom: 14%;
			gap: 10px;
		}
		.btns02 {
			bottom: 14%;
		}
		.btns03 {
			bottom: 14%;
		}
		.btns04 {
			bottom: 11.5%;
		}
		.btns05 {
			bottom: 14%;
		}
	}


/* ----------------------------------------------------
    footer
---------------------------------------------------- */
.footer {
	background-color: #aa9858;
	color: #fff;
	padding: 30px 0;
	font-size: 14px;
	font-weight: 200;
	text-align: center;
	font-family: 'ヒラギノ角ゴシック','Hiragino Sans','Meiryo UI',sans-serif;
}
.footer-link {
	width: 92%;
	margin: 0 auto;
}
.footer-link a {
	color: #fff;
	text-decoration: none;
	display: inline-block;
}
.copy-right {
	margin-top: 16px;
	text-align: center;
}
.footer-about {
	margin-top: 0;
}

/* @media screen and (max-width: 640px) {} */


/* ----------------------------------------------------
    固定ボタン
---------------------------------------------------- */
.fixed-bottom-link {
	position: fixed;
	bottom: 0px;
	width: 100%;
	filter: drop-shadow(3px 3px 4px #999);
	z-index: 100;
	display: none; /* 初期状態では非表示 */
	padding: 8px 0 4px;
	background-color: rgba(255, 255, 255, 0.2);
}
.fixed-bottom-link.show {
	display: block; /* クラスが付与されたら表示 */
}
.fixed_btns {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	width: 944px;
	margin: 0 auto;
}
.fixed_btn a {
	display: inline-block;
	transition: .2s;
}
.fixed_btn a:hover {
	transform: scale(1.03);
	cursor: pointer;
}

/*フッターまでスクロールしたら消す*/
.is-hidden {
  visibility: hidden;
  opacity: 0;
}

@media screen and (max-width: 640px) {
	.fixed-bottom-link {
		bottom: 0px;
		left: 50%;
		transform: translateX(-50%);
		width: 100%;
	}
	.fixed_btns {
		width: 94%;
		padding: 10px 0;
		gap: 0;
	}
}

/* ----------------------------------------------------
    お問い合わせフォーム
---------------------------------------------------- */
.contact {
	background-color: #fff;
	padding: 48px 0 100px;
}
.page-header-title {
	font-size: 2em;
	font-weight: 600;
	color: #333;
	background-color: #F5F0E8;
	text-align: center;
	padding: 1em;
}
.contact p,
label {
	font-size: 16px;
}
.contact p {
	line-height: 1.7em;
	text-align: center;
}
.contact-form {
	text-align: left;
	margin: 40px auto 0;
}
input,
textarea,
select {
	outline: none;
	font-family: 'ヒラギノ角ゴシック','Hiragino Sans','Meiryo UI',sans-serif;
	font-size: 16px;
	font-weight: 300;
	box-sizing: border-box;
	padding: 0.8em;
	line-height: 1.5em;
	margin-bottom: 16px;
	margin-top: 2px;
	border-radius: 4px;
	border: 1px solid #CCCCCC;
	display: block;
	width: 100%;
	height: 3.2em;
}
textarea {
	width: 100%;
	margin-bottom: 60px;
	margin-top: 5px;
	border-radius: 4px;
	border: 1px solid #CCCCCC;
	height: auto;
}
button {
	cursor: pointer;
	transition: all .2s;
	display: block;
	text-align: center;
	color: #fff;
	background-color: #3cb371;
	border: none;
	font-size: 24px;
	font-weight: 400;
	padding: 16px;
	margin: 0 auto;
	width: 60%;
	border-radius: 5px;
}
button:hover {
	opacity: 0.8;
}
.badge {
	color: #fff;
	background-color: #ce5242;
	font-weight: 500;
	padding: 4px 4px 2px 4px;
	font-size: 80%;
	border-radius: 4px;
	margin-left: 4px;
	line-height: 1;
	display: inline-block;
}
:focus {
	outline: 1px solid rgb(148, 119, 81);
	border-radius: 3px;
}
::placeholder {
	color: #ccc;
	font-weight: 200;
	font-size: 16px;
}

@media screen and (max-width: 640px) {
	.page-header-title {
		font-size: 10vw;
	}
	.contact p {
		font-size: 16px;
		text-align: justify;
	}
	button {
		width: 100%;
		font-size: 20px;
		padding: 16px;
	}
	textarea {
		margin-bottom: 50px;
	}
}

/* ----------------------------------------------------
    サンクスページ
---------------------------------------------------- */
.thanks {
	text-align: center;
	background-color: #fff;
	padding: 0 0 100px;
	height: 100vh;
	box-sizing: border-box;
}
.thanks h2 {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.5;
	margin-top: 8px;
}
.thanks p {
	text-align: center;
	line-height: 27px;
	font-size: 16px;
	font-weight: 400;
	margin-top: 30px;
}
.top {
	margin-top: 60px;
}
.dli-check-circle {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
	background-color: #3cb371;
  line-height: 1;
  position: relative;
  width: calc(50px + 6px);
  height: calc(50px + 6px);
  border: 0.1em solid currentColor;
  border-radius: 50%;
  box-sizing: content-box;
	margin-top: 60px;
}
.dli-check-circle > span {
  width: 1.5em;
  height: 0.9em;
  border: 0.3em solid currentColor;
  border-top: 0;
  border-right: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(-45deg);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

/* ----------------------------------------------------
    事務所概要ページ
---------------------------------------------------- */
.about-section {
	background-color: #fff;
	padding: 48px 0 100px;
}
.about-section .inner {
	max-width: 800px;
}
.office-card {
	background-color: #ffffff;
	border: 2px solid #aa9858;
	border-radius: 12px;
	padding: 32px;
	margin-bottom: 40px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.office-card:last-child {
	margin-bottom: 0;
}
.office-name {
	font-size: 24px;
	font-weight: 600;
	color: #aa9858;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f5f0e8;
}
.representative {
	margin-bottom: 24px;
	background-color: #f5f0e8;
	padding: 16px 20px;
	border-radius: 8px;
}
.representative-title {
	font-size: 14px;
	font-weight: 500;
	color: #666;
	margin-bottom: 4px;
}
.representative-name {
	font-size: 20px;
	font-weight: 600;
	color: #333;
}
.office-location {
	margin-top: 24px;
	padding: 20px;
	background-color: #fafafa;
	border-radius: 8px;
}
.office-location:first-of-type {
	margin-top: 0;
}
.location-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 12px;
}
.location-details {
	font-size: 16px;
	line-height: 1.8;
}
.postal-code {
	color: #666;
	margin-bottom: 4px;
}
.address {
	color: #333;
	font-weight: 500;
	margin-bottom: 12px;
}
.contact-info {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.contact-info p {
	margin: 0;
	color: #333;
}
.contact-info .label {
	font-weight: 500;
	color: #666;
}
.contact-info a {
	color: #aa9858;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s;
}
.contact-info a:hover {
	color: #8a7a48;
	text-decoration: underline;
}

@media screen and (max-width: 640px) {
	.about-section {
		padding: 32px 0 80px;
	}
	.about-section .inner {
		width: 90%;
	}
	.office-card {
		padding: 20px;
		margin-bottom: 32px;
		border-radius: 8px;
	}
	.office-name {
		font-size: 20px;
		margin-bottom: 16px;
		padding-bottom: 10px;
	}
	.representative {
		padding: 12px 16px;
		margin-bottom: 20px;
	}
	.representative-title {
		font-size: 13px;
	}
	.representative-name {
		font-size: 18px;
	}
	.office-location {
		margin-top: 20px;
		padding: 16px;
	}
	.location-title {
		font-size: 16px;
		margin-bottom: 10px;
	}
	.location-details {
		font-size: 14px;
		line-height: 1.7;
	}
	.postal-code {
		font-size: 14px;
	}
	.address {
		font-size: 14px;
		margin-bottom: 10px;
	}
	.contact-info {
		flex-direction: column;
		gap: 8px;
	}
.contact-info p {
	font-size: 14px;
}
}

/* ----------------------------------------------------
    トップへ戻るボタン
---------------------------------------------------- */
.back-to-top {
	text-align: center;
	padding: 0 0 80px;
	background-color: #fff;
}
.back-to-top-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: linear-gradient(135deg, #aa9858 0%, #c4b078 100%);
	color: #fff;
	text-decoration: none;
	font-size: 18px;
	font-weight: 600;
	padding: 18px 48px;
	border-radius: 50px;
	box-shadow: 0 4px 15px rgba(170, 152, 88, 0.3);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}
.back-to-top-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}
.back-to-top-btn:hover::before {
	left: 100%;
}
.back-to-top-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(170, 152, 88, 0.4);
}
.back-to-top-btn:active {
	transform: translateY(-1px);
}
.back-to-top-btn .text {
	letter-spacing: 0.05em;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-8px);
	}
	60% {
		transform: translateY(-4px);
	}
}

@media screen and (max-width: 640px) {
	.back-to-top {
		padding: 0 0 60px;
	}
	.back-to-top-btn {
		font-size: 16px;
		padding: 16px 36px;
		gap: 10px;
	}
	.back-to-top-btn .arrow {
		font-size: 20px;
	}
}