/*
Theme Name: tsuginowa
Author: BPLUST
Version: 1.0
*/

/* 共通 */
:root {
  	--main-color: #60d1ef;
	--sub-color: #03488C;
}
html, body {
  margin: 0 !important;
  height: 100%;
  background-color: var(--main-color);
}

body {
  font-family: .zen-kaku-gothic-new-regular 
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: transparent;
}

/*.problem-section, .kaiketsu, .contact, #concept, #flow, #price, #faq, #contact {
	padding: 6rem 0 !important;
}
*/
section p{
	font-size:1.15rem;
}
.container, .main-nav {
	max-width: 960px;
}

.page {
	max-width: 1200px;	
}

.text-shadow {
	color: #fff;
	text-shadow: 0 4px 24px rgba(30, 84, 127, 0.8);
	line-height: 2rem;
}

.text-blue {
	color: var(--sub-color);
}

.card-shadow, .box-shadow {
	box-shadow: 8px 8px 0px #6d9ab2 !important;
}

.btn-custom {
	color: white;
	background-color: var(--sub-color);
}

.btn-custom:hover {
	color: var(--sub-color);
	border: 1px solid var(--sub-color);
	background-color: white;
	box-shadow: none !important;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.5rem;
  line-height: 1.5;
  border-radius: 0.5rem;
}

.nowrap {
  white-space: nowrap;
}

.lh-xl {
	line-height: 2.5rem !important;
}

/* ヘッダー */
.header-top-text {
	background-color: var(--main-color);
	font-size: 14px;
	font-weight: bold;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
}

.site-header {
  	background-color: var(--main-color);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	box-shadow: 2px 2px 0 rgb(255,255,255,0.5);
	padding: 1rem 0;
}

.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-inner p {
	margin: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.site-logo img {
	max-height: 60px;
	height: auto;
	width: auto;
}

.main-nav .menu-list {
	display: flex;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav .menu-item a {
	color: white;
	font-weight: bold;
	font-size: 1rem;
	text-decoration: none;
	padding-bottom: 4px;
	position: relative;
	transition: all 0.3s ease;
}

/* ハンバーガーボタン */
.main-nav {
    position: fixed;
    top: 89px;
    left: 0;
    right: 0;
    background: var(--main-color);
    transition: transform 0.4s ease;
    z-index: 1000;
    padding: 2rem 1.5rem;
    display: none;
}

.menu-open .main-nav {
    transform: translateY(0%);
    display: block;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 35px;
    height: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s ease;
    margin-bottom: 6px;
}
.hamburger span:last-child {
    margin-bottom: 0;
}

@media (min-width: 1201px) {
    .hamburger {
        display: none;
    }

    .main-nav {
        position: static;
        transform: none !important;
        display: block !important;
        background: transparent;
        padding: 0;
    }
}

@media (max-width: 1200px){
	.menu-list {
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.menu-list li {
		margin: 0;
	}

	.menu-list li a {
		display: block;
		padding: 0.5rem 1rem;
		text-decoration: none;
	}

	.menu-list li a:hover {
		color: #007bff;
		text-decoration: underline;
	}
	
	#mainNav {
		display: none !important;
	}
	#mainNav.is-open {
		display: block !important;
	}
}

.menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-list li {
	margin: 0;
}

/* メインビジュアル */
.main-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}
.main-image-wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}
.main-image {
	width: 100%;
	height: auto;
	display: block;
}

/* お悩み */
.problem-section img {
	max-width: 50% !important;
}

@media (max-width: 767.98px) {
	.problem-section img {
		max-width: 100% !important;
	}
}

/* その悩み、つぎのわが解決します！ */
@media (max-width: 767.98px) {
	.img-fluid-sm {
    	max-width: 80%;
    	margin-left: auto;
    	margin-right: auto;
    	display: block;
  	}
}

/* ご相談ください！ */
.contact {
	background-color: #6d9ab2;
}

.btn-cta {
	color: white;
	border: solid 1px white;
}

.btn-cta:hover {
	color: white;
	border: solid 1px white;
	filter: brightness(1.2);
}

.btn-tel, .btn-tel:hover {
	background-color: var(--sub-color);
}

.btn-form, .btn-form:hover {
	background-color: #ea5c3a;
}

/* コンセプトエリア */
.bg-bubbles {
	background-image: url('https://tsuginowa.bplust.jp/inc/wp-content/themes/tsuginowa/assets/img/concept_bg.png'); 
	background-size: contain;
	background-position: top;
	background-repeat: no-repeat;
}

.card-concept {
	border-radius: 30px;
	background-color: rgb(255,255,255,0.6);
	border: none;
	margin: 10rem 0 !important;
}

.ttl-concept {
	color: var(--sub-color);
	text-shadow: 0 3px 2px rgba(30, 84, 127, 0.2);
}

.text-concept {
	text-align: center;
}

#concept p {
	line-height: 2.5rem;
}

p + p {
	margin-top: 1rem;
}

.card-circle {
	max-width: 400px;
 	aspect-ratio: 1 / 1;
 	border-radius: 50%;
 	box-shadow: 8px 8px 0px #6d9ab2;
  	background-color: #fff;
  	padding: 2rem;
  	display: flex;
  	flex-direction: column;
  	justify-content: center;
  	align-items: center;
  	text-align: center;
  	margin: 0 auto;
  	z-index: 1;
  	position: relative;
}

.card-circle p {
	font-size: 1.25rem;
	line-height: 2.25rem !important;
	margin: 1rem 0;
}

.card-overlap-l {
  	transform: translateX(50px);
}

.card-overlap-r {
  	position: relative;
  	transform: translateX(-50px);
  	z-index: 0;
}

.img-logo {
	max-height: 65px;
}

@media (max-width: 991.98px) {
	.card-overlap-l, .card-overlap-r {
		transform: translateX(0px);
	}
}

@media (max-width: 767.98px) {
	.card-concept {
		margin: 5rem 0 !important;
	}

	.card-overlap-l, .card-overlap-r {
		transform: none;
	}
	
	.bg-bubbles {
		background-position: top center;
		background-size: 55% auto;
		background-image: url('https://tsuginowa.bplust.jp/inc/wp-content/themes/tsuginowa/assets/img/concept_bg_1.png');
		background-repeat: no-repeat;
	}
	
	.text-concept {
		text-align: left;
	}
}

/* ご利用の流れ */
#flow p {
	line-height: 1.5rem;
}

#flow .fa {
    color: var(--sub-color);
}

.flow-step-box:hover {
	transform: translateY(-4px);
}

@media (max-width: 767.98px) {
	.flow-container {
		flex-direction: column;
		align-items: center;
	}
}

/* 料金について */
#price .btn-custom {
	min-height: 60px;
	width: 100%;
}

.img-support {
	max-height: 200px;
}

.custom-card-title {
	font-weight: 600;
	font-size: 1.5rem;
	color: var(--sub-color);
	padding-bottom: 0.3em;
	margin-bottom: 1rem;
	letter-spacing: 0.05em;
}

.modal-overlay {
	position: fixed;
	top: 0; left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.modal-content {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	max-width: 800px;
	width: 90%;
	box-shadow: 0 4px 20px rgba(0,0,0,0.2);
	position: relative;
	max-height: 80vh;
	overflow-y: auto;
}

.btn-close {
	position: absolute;
	top: 10px; right: 10px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
}

.custom-table {
	border-collapse: collapse;
	width: 100%;
	font-size: 16px;
}

.custom-table thead th {
	background-color: var(--sub-color);
	color: white;
	text-align: left;
	padding: 12px 16px;
	border-bottom: 2px solid #ccc;
}

.custom-table th,
.custom-table td {
	padding: 12px 16px;
	vertical-align: top;
	border-bottom: 1px solid #dcdcdc;
}

.custom-table th {
	width: 40%;
	color: var(--sub-color);
	white-space: nowrap;
	border-bottom: 1px solid #333 !important;
}

.table-note {
  margin-top: 1.5rem;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* よくある質問 */
.faq-list {
	  list-style: none;
	  padding: 0;
	  margin: 0;
}

.faq-item {
	  border: 1px solid #ddd;
	  border-radius: 8px;
	  margin-bottom: 12px;
	  overflow: hidden;
	  background: #fff;
	  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	  transition: box-shadow 0.3s ease;
}

.faq-item.open {
  	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.faq-question {
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  background: none;
	  width: 100%;
	  padding: 16px;
	  font-weight: bold;
	  font-size: 1rem;
	  border: none;
	  cursor: pointer;
	  text-align: left;
	  transition: background 0.2s;
}

.faq-question:hover {
	  background-color: #f7f7f7;
}

.q-label {
  	color: var(--sub-color);
	margin-right: 8px;
	flex-shrink: 0;
}

.q-text {
  	flex-grow: 1;
	color: var(--sub-color);
}

.toggle-icon {
	  font-size: 1.5rem;
	  color: var(--sub-color);
	  transition: transform 0.3s;
}

.faq-answer {
	  display: none;
	  padding: 16px;
	  background-color: #fafafa;
	  border-top: 1px solid #eee;
}

.faq-answer p {
	margin: 0;
}

.a-label {
	  font-weight: bold;
	  margin-right: 6px;
	  color: var(--sub-color);
}

/* フッター */
footer {
	background-color: #6D9AB2;
}

footer .container {
	max-width: 1200px !important;
}

footer img {
	max-width: 150px;
}

footer .header-inner {
	padding: 0;
}

.company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  border: none;
}

.company-table tbody tr:last-child {
  border-bottom: none;
}

.company-table th,
.company-table td {
  padding: 1rem 0;
  text-align: left;
  vertical-align: middle;
  border: none;
}

.company-table th {
	font-weight: 600;
	width: 30%;
	border-bottom: 1px solid rgb(255,255,255,0.8);
}

.company-table td {
	font-weight: 400;
	border-bottom: 1px solid rgb(255,255,255,0.4);
}

.company-table a {
	color: white;
	text-decoration: none;
}

.company-table a[target="_blank"]::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f35d";
	margin-left: 5px;
	font-size: 0.8em;
}

.company-table a:hover {
	text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 767.98px) {
	.company-table tbody tr {
		display: block;
		margin-bottom: 1rem;
		padding-bottom: 0.5rem;
	}
	.company-table th,
	.company-table td {
		display: block;
		width: 100%;
		padding: 0.25rem 0;
	}
	.company-table th {
		font-weight: 700;
		margin-bottom: 0.3rem;
		border-bottom: none;
	}
}

/* PC用縦ボタン */
.fixed-contact-buttons {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	gap: 10px;
}

.contact-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	padding: 10px 15px;
	border-radius: 10px;
	text-decoration: none;
	box-shadow: 0 3px 6px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
}

.contact-btn:hover {
	filter: brightness(1.2);
}

.contact-btn i {
	font-size: 1.5rem;
}

/* SP用横並びボタン */
.fixed-contact-buttons {
	position: fixed;
	z-index: 1050;
	display: flex;
	width: 100%;
	bottom: 0;
	left: 0;
}

/* ボタン共通 */
.contact-btn {
	flex: 1;
	display: flex;
	align-items: center;
	padding: 12px;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	font-size: 1rem;
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-btn:last-child {
	border-right: none;
}

.contact-btn i {
	font-size: 1.2rem;
	margin-right: 6px;
}

.phone-btn {
	background-color: var(--sub-color);
}

.mail-btn {
	background-color: #ea5c3a;
}

@media (min-width: 1201px) {
  .fixed-contact-buttons {
    flex-direction: column;
    max-width: 250px;
    bottom: 1rem;
    right: 1rem;
    left: auto;
  }

  .contact-btn {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .contact-btn:last-child {
    border-bottom: none;
  }
}

@media (max-width: 1200px) {
	.contact-btn {
		justify-content: center;
		border-radius: 0;
	}
	.fixed-contact-buttons {
		gap: 0;
	}
}

@media (max-width: 789px) {
	.fixed-contact-buttons small {
		display: none;
	}
}

/* 固定ページ */
.page {
	padding: 3rem 1rem ;
}

@media (max-width: 1200px) {
	.page {
		padding: 3rem;
	}

.page h1 {
	margin-bottom: 2rem !important;
}