@charset "utf-8";

/*
Theme Name: アドダス
Author: アドダス
Author URI: https://addas.jp
Description: Bootstrap5@Webpack
*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Sans', sans-serif;
	line-height: 1.7;
	color: #2d3748;
	background-color: #e6e2d3;
}

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

/* webfont */

/* 異なるフォントウェイトでの使用 */
.kaisei-opti-regular {
	font-family: "Kaisei Opti", serif;
	font-weight: 400;
}

.kaisei-opti-medium {
	font-family: "Kaisei Opti", serif;
	font-weight: 500;
}

.kaisei-opti-bold {
	font-family: "Kaisei Opti", serif;
	font-weight: 700;
}



/* Header */
.header {
	background-color: #e6e2d3;
	/*color: #e6e2d3;*/
	padding: 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: 0 3px 15px rgba(139, 69, 19, 0.3);
	/* border-bottom: 3px solid #1c2940; */
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.8rem;
	font-weight: bold;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


.emergency-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #d32f2f;
	padding: 0.8rem 1.5rem;
	border-radius: 10px;
	text-decoration: none;
	color: white;
	font-weight: bold;
	transition: all 0.3s ease;
	animation: pulse 2s infinite;
	/*border: 2px solid #1c2940;*/
}

.emergency-contact:hover {
	background: #b71c1c;
	transform: scale(1.05);
}

.phone-number {
	font-size: 1.2rem;
	letter-spacing: 2px;
}

.phone-text {
	font-size: 0.9rem;
	margin-top: 2px;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
	}
}

@media (max-width: 768px) {
	.header-content {
		flex-direction: row;
		justify-content: space-between;
		gap: 1rem;
	}

	.logo {
		text-align: left;
	}

	.emergency-contact {
		position: static;
		font-size: 0.9rem;
		padding: 0.6rem 1rem;
	}

	.phone-number {
		font-size: 1rem;
	}
}


/* Hero Section */
.hero {
	background-color: #fff;
	background-size: cover;
	background-position: center;
	color: white;
	padding: 0px 0 80px;
	margin-top: 0px;
	text-align: center;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="none" stroke="%23d4af37" stroke-width="1" opacity="0.3" d="M20,20 L80,20 L80,80 L20,80 Z M30,30 L70,30 M30,40 L70,40 M30,50 L70,50 M30,60 L70,60 M30,70 L70,70"/></svg>');
	background-size: 100px 100px;
	opacity: 0.1;
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
	text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
	font-weight: bold;
}

.hero p {
	font-size: 1.3rem;
	margin-bottom: 2rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-btn {
	display: inline-block;
	padding: 1rem 2rem;
	background: #d32f2f;
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-weight: bold;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	/*  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
	border: 3px solid #1c2940; */
}

.cta-btn:hover {
	background: #b71c1c;
	transform: translateY(-3px);
	/* box-shadow: 0 8px 25px rgba(211, 47, 47, 0.6);*/
}

.cta-btn.secondary {
	background: #1c2940;
	border: 3px solid #1c2940;
	color: #fff;
}

.cta-btn.secondary:hover {
	background: #1c2940;
	color: #fff;
}

/* Section Styles */
.section {
	padding: 80px 0;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	color: #1c2940;
	margin-top: 1rem;
    margin-bottom: 0rem;
    line-height: 1.0;
	position: relative;
	font-weight: bold;
}

.section-title::after {
	content: '';
	display: block;
	width: 100px;
	height: 4px;
	background: #1c2940;
	margin: 1rem auto;
	border-radius: 2px;
}

/* Problems Section */
.problems {
	background: #fff;
}

.problems-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 3rem;
}

.problem-item {
	background: #e6e2d3;
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	/*box-shadow: 0 5px 20px rgba(139, 69, 19, 0.1);
	border: 2px solid #1c2940;*/
	transition: all 0.3s ease;
}

.problem-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.problem-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.problem-item h3 {
	color: #1c2940;
	font-size: 1.3rem;
	margin-bottom: 1rem;
	font-weight: bold;
}

/* Reasons Section */
.reasons {
	/*background: linear-gradient(135deg, #faf5f0 0%, #f5e6d3 100%);*/
}

.reasons-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 3rem;
}

.reason-item {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15);
	border-left: 5px solid #1c2940;
	transition: all 0.3s ease;
}

.reason-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(139, 69, 19, 0.25);
}

.reason-number {
	background: #1c2940;
	color: #fff;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0 auto 1rem;
	box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.reason-item h3 {
	color: #1c2940;
	font-size: 1.3rem;
	margin-bottom: 1rem;
	font-weight: bold;
}

/* Services Section */
.services {
	background: white;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 3rem;
}

.service-item {
	background: linear-gradient(135deg, #e6e2d3 0%, #f5e6d3 100%);
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
	border: 2px solid #1c2940;
	transition: all 0.3s ease;
}

.service-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.service-item h3 {
	color: #1c2940;
	font-size: 1.4rem;
	margin-bottom: 1rem;
	font-weight: bold;
	border-bottom: 2px solid #1c2940;
	padding-bottom: 0.5rem;
}

/* Pricing Section */
.pricing {
	background: #1c2940;
	color: white;
}

.pricing .section-title {
	color: #e6e2d3;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 3rem;
}

.pricing-item {
	background: #fff;
	color: #1c2940;
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	border: 3px solid #1c2940;
	transition: all 0.3s ease;
}

.pricing-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.price {
	font-size: 2rem;
	font-weight: bold;
	color: #d32f2f;
	margin: 1rem 0;
}

/* Testimonials Section */
.testimonials {
	background: white;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	margin-top: 3rem;
}

.testimonial-item {
	background: #e6e2d3;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
	border-left: 5px solid #1c2940;
	position: relative;
}

.testimonial-item::before {
	content: '"';
	font-size: 4rem;
	color: #1c2940;
	position: absolute;
	top: -10px;
	left: 20px;
	font-family: serif;
}

.customer-info {
	margin-top: 1rem;
	text-align: right;
	color: #1c2940;
	font-weight: bold;
}

/* Process Section */
.process {
	background: #e6e2d3;
}

.process-steps {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 3rem;
	flex-wrap: wrap;
	gap: 20px;
}

.process-step {
	flex: 1;
	min-width: 200px;
	text-align: center;
	position: relative;
}

.step-number {
	background: #1c2940;
	color: #fff;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0 auto 1rem;
	box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.process-step h3 {
	color: #1c2940;
	font-size: 1.2rem;
	margin-bottom: 1rem;
	font-weight: bold;
}

.step-arrow {
	position: absolute;
	right: -30px;
	top: 30px;
	font-size: 2rem;
	color: #1c2940;
}

.process-step:last-child .step-arrow {
	display: none;
}

/* FAQ Section */
.faq {
	background: white;
}

.faq-list {
	margin-top: 3rem;
}

.faq-item {
	background: #e6e2d3;
	margin-bottom: 1rem;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
	/*border: 2px solid #1c2940;*/
}

.faq-question {
	background: #1c2940;
	color: #fff;
	padding: 1.5rem;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.3s ease;
}

.faq-question:hover {
	background: #48576f;
}

.faq-answer {
	padding: 1.5rem;
	display: block;
	background: white;
}

.faq-item.active .faq-answer {
	display: block;
}

/* Company Section */
.company {
	background: #1c2940;
	color: white;
}

.company .section-title {
	color: #e6e2d3;
}

.section .company {
	padding-bottom: 40px !important;
}

.company-info {
	background: rgba(255, 248, 220, 0.95);
	color: #1c2940;
	padding: 1rem;
	border-radius: 15px;
	margin-top: 3rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	border: 3px solid #1c2940;
}
@media (min-width: 992px) {
	.company-info {
		padding: 3rem;
	}
}

.company-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

/* Contact Form Section */
.contact {
	background: #e6e2d3;
	border-top: 5px solid #1c2940;
}

.contact-form {
	max-width: 900px;
	margin: 3rem auto 0;
	background: #e6e2d3;
	padding: 1.5rem;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
}

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

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: #1c2940;
	font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 1rem;
	/* border: 2px solid #1c2940;*/
	border-radius: 5px;
	font-size: 1rem;
	background: white;
	color: #1c2940;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: #8b4513;
	box-shadow: 0 0 10px rgba(139, 69, 19, 0.2);
}

.submit-btn {
	width: 100%;
	padding: 1.5rem;
	background: #d32f2f;
	color: white;
	border: none;
	border-radius: 50px;
	font-size: 1.2rem;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	/*border: 3px solid #1c2940;*/
}

.submit-btn:hover {
	background: #b71c1c;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(211, 47, 47, 0.4);
}

/* Footer */
.footer {
	background: #1c2940;
	color: white;
	padding: 1rem 0;
	text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1.1rem;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}

	.header-content {
		flex-direction: column;
		gap: 1rem;
	}

	.process-steps {
		flex-direction: column;
	}

	.step-arrow {
		display: none;
	}

	.section-title {
		font-size: 2rem;
	}
}

/* Animation */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.header-content {
	display: flex;
	justify-content: center;
	/* センター配置 */
	align-items: center;
	position: relative;
}

.emergency-contact {
	position: absolute;
	right: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #d32f2f;
	padding: 0.8rem 1.5rem;
	border-radius: 10px;
	text-decoration: none;
	color: white;
	font-weight: bold;
	transition: all 0.3s ease;
	animation: pulse 2s infinite;
}
@media (max-width: 768px) {
	.emergency-contact {
		padding: .25rem 0.5rem;
	}
}

/* Hero Section */
.img-pc,
.img-sp {
	width: 100%;
	height: auto;
	display: none;
}

/* タブレット以上で main.jpg を表示 */
@media (min-width: 768px) {
	.img-pc {
		display: block;
	}
}

/* スマホ（タブレット未満）で main-sp.jpg を表示 */
@media (max-width: 767px) {
	.img-sp {
		display: block;
	}
}

.process-steps-vertical {
    max-width: 900px;
    margin: 3rem auto 0;
}

.process-step-vertical {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15);
    border-left: 5px solid #1c2940;
    transition: all 0.3s ease;
}

.process-step-vertical:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.25);
}

.process-step-vertical:last-child {
    margin-bottom: 0;
}

/* 左レイアウト（奇数番目）*/
.step-left {
    flex-direction: row;
}

/* 右レイアウト（偶数番目）*/
.step-right {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.step-number-vertical {
    background: #1c2940;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.step-text {
    flex: 1;
}

.step-text h3 kaisei-opti-medium {
    color: #1c2940;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.step-text p {
    color: #2d3748;
    line-height: 1.7;
    font-size: 1rem;
}

.step-image {
    flex: 0 0 200px;
    margin: 0 2rem;
}

.step-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.2);
}

.step-arrow-down {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #1c2940;
    background: #e6e2d3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(139, 69, 19, 0.2);
}

.process-step-vertical:last-child .step-arrow-down {
    display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .process-step-vertical {
        flex-direction: column !important;
        text-align: center;
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

    .step-left,
    .step-right {
        flex-direction: column !important;
    }

    .step-content {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
        order: 1;
    }

    .step-image {
        flex: none;
        margin: 0;
        width: 100%;
        max-width: 250px;
        order: 2;
    }

    .step-image img {
        height: 180px;
    }

    .step-number-vertical {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .step-text h3 kaisei-opti-medium {
        font-size: 1.2rem;
    }

    .step-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .process-steps-vertical {
        margin-top: 2rem;
    }

    .process-step-vertical {
        padding: 1rem;
        margin-bottom: 2.5rem;
    }

    .step-content {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .step-number-vertical {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .step-text h3 kaisei-opti-medium {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .step-text p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .step-image {
        max-width: 200px;
    }

    .step-image img {
        height: 140px;
    }

    .step-arrow-down {
        bottom: -20px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* FAQアイコンのスタイル */
.faq-icon {
    width: 24px;
    height: 24px;
    margin-left: 0;
    margin-right: 12px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* FAQ質問のスタイル調整 */
.faq-question {
    background: #1c2940;
    color: #fff;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.faq-question:hover {
    background: #48576f;
}

/* FAQ回答のスタイル調整 */
.faq-answer {
    padding: 1.5rem;
    display: block;
    background: white;
    display: flex;
    align-items: flex-start;
}

.faq-item.active .faq-answer {
    display: flex;
}

.representative-greeting {
	display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    /* padding: 2rem; */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-direction: column;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-icon {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }

    .faq-question,
    .faq-answer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-icon {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }

    .faq-question,
    .faq-answer {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* レスポンシブ対応のためのメディアクエリ */
@media (max-width: 768px) {
    .representative-greeting {
        flex-direction: column !important;
        text-align: center;
        gap: 1rem !important;
    }

    .representative-image {
        flex: none !important;
        align-self: center;
    }

    .representative-message h3 kaisei-opti-medium {
        font-size: 1.2rem !important;
    }

    .representative-message p {
        font-size: 0.9rem !important;
    }

    .company-table-section {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .company-table-section>div:first-child {
        flex: none !important;
        text-align: center;
    }

    .company-table-section table {
        font-size: 0.9rem !important;
    }

    .company-table-section td {
        padding: 1.0rem !important;
    }
}

@media (max-width: 480px) {
    .representative-greeting {
        padding: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .representative-message h3 kaisei-opti-medium {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .representative-message p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }

    .company-table-section table {
        font-size: 0.8rem !important;
    }

    .company-table-section ul {
        margin-left: 0.5rem !important;
    }

    .company-table-section li {
        font-size: 0.8rem !important;
    }

    .company-table-section span {
        font-size: 0.7rem !important;
    }
}







/* 幅 */
/*60px-150px*/
.py-haba01 {
	padding-top: clamp(3.75rem, 2.679rem + 5.36vw, 9.375rem);
	padding-bottom: clamp(3.75rem, 2.679rem + 5.36vw, 9.375rem);
}
.pt-haba01 {
	padding-top: clamp(3.75rem, 2.679rem + 5.36vw, 9.375rem);
}
.pb-haba01 {
	padding-bottom: clamp(3.75rem, 2.679rem + 5.36vw, 9.375rem);
}

/*30px-75px*/
.py-haba02 {
	padding-top: clamp(1.875rem, 1.313rem + 2.81vw, 4.688rem);
	padding-bottom: clamp(1.875rem, 1.313rem + 2.81vw, 4.688rem);
}
.pt-haba02 {
	padding-top: clamp(1.875rem, 1.313rem + 2.81vw, 4.688rem);
}
.pb-haba02 {
	padding-bottom: clamp(1.875rem, 1.313rem + 2.81vw, 4.688rem);
}

/*90px-180px*/
.py-haba03 {
	padding-top: clamp(5.625rem, 4.5rem + 5.63vw, 11.25rem);
	padding-bottom: clamp(5.625rem, 4.5rem + 5.63vw, 11.25rem);
}
.pt-haba03 {
	padding-top: clamp(5.625rem, 4.5rem + 5.63vw, 11.25rem);
}
.pb-haba03 {
	padding-bottom: clamp(5.625rem, 4.5rem + 5.63vw, 11.25rem);
}

.pc-only {
	display: none;
}
@media (min-width: 768px) {
	.pc-only {
		display: block;
	}
}

#toPageTop a {
  border-radius: 50%;
  width: 45px;
  height: 45px;
}

#toPageTop a:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55px;
  height: 55px;
  background-color: #000;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0, 0);
  transition: transform ease 0.4s;
}

#toPageTop a:hover:after {
  transform: translate(-50%, -50%) scale(1.1, 1.1);
}

#toPageTop a:before {
  content: "";
  position: absolute;
  z-index: 10;
  top: 55%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-style: solid;
  /*border-color: #000;*/
  border-width: 6px 0 0 6px;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: border-color ease 0.1s;
}

#toPageTop a:hover:before {
  border-color: #fff;
}

.bg-dark {
	background-color: #1c2940!important;
}
.text-kin {
	color: #e6e2d3;
}

.bg-ao {
	background-color: #326bb4;
}

/*　N-01nstyle  ================================================================================= */

.n-01n .list-news .item-date {
  color: #999;
}

.n-01n .list-news .item-title {
  display: block;
  padding-top: 10px;
  padding-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .n-01n .list-news .item-title {
    display: inline-block;
    padding-top: 0;
    margin-left: 20px;
  }
}

.n-01n .item-arw img {
  width: 20px;
    position: absolute!important;
    right: 0;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.n-01n .list-news {
    border-top: 0px;
    border-bottom: 0px;
}

.n-01n .list-news li {
  border-bottom: 2px solid #000;
}
@media (min-width: 768px) {
  .n-01n .list-news li+li {
      border-top: 0px;
  }
}

.n-01n .list-news .item-new {
  width: 40px;
    position: absolute!important;
    top: 50%;
    left: 15px;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

@media (max-width: 576px) {
  .n-01n .list-news .catname {
    min-width: 134px;
    display: block;
    margin-top: 10px;
    margin-right: 35px!important;
  }
}

.n-01n .link-btn1n {
   background-color: #fff;
   color: #000;
   text-align: center;
   display: block;
   padding-top: 20px;
   padding-bottom: 20px;
   padding-left: 20px;
   padding-right: 20px;
   width: 100%;
   display: inline-block;
   position: relative;
   overflow: hidden;
   text-align: center;
   transition: ease .2s;
}
@media (min-width: 768px) {
  .n-01n .link-btn1n {
    width: 50%;
  }
}

.n-01n .link-btn1n span {
  position: relative;
  z-index: 3;
  color:#000;
}

.n-01n .link-btn1n:hover span{
  color: #fff;
}

.n-01n .link-btn1n:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background:#d32f2f;
  border: 2px solid #d32f2f;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
}

.n-01n .link-btn1n:hover:before{
  transform-origin:left top;
  transform:scale(1, 1);
}

/* =================================================================================　N-01nstyle  */


/*　N-02nstyle  ================================================================================= */
.n-02n .link-btn1n {
   background-color: #fff;
   color: #000;
   text-align: center;
   display: block;
   padding-top: 20px;
   padding-bottom: 20px;
   padding-left: 20px;
   padding-right: 20px;
   width: 100%;
   display: inline-block;
   position: relative;
   overflow: hidden;
   text-align: center;
   transition: ease .2s;
}
@media (min-width: 768px) {
  .n-02n .link-btn1n {
    width: 50%;
  }
}

.n-02n .link-btn1n span {
  position: relative;
  z-index: 3;
  color:#000;
}

.n-02n .link-btn1n:hover span{
  color: #fff;
}

.n-02n .link-btn1n:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background:#d32f2f;
  border: 2px solid #d32f2f;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
}

.n-02n .link-btn1n:hover:before{
  transform-origin:left top;
  transform:scale(1, 1);
}

.n-02n .mark-new {
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
}

#news.n-02n .newstitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#news.n-02n .newshiduke {
  color: #000;
}

#news.n-02n .newsarrow {
  width: 20px;
  margin-left: 0;
  position: absolute;
  right: 20px;
  bottom: 20px;
  -webkit-transform: translate(0%, 0%);
  -moz-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
}

#news.n-02n .newskoumoku {
  background-color: #fff;
}

/* =================================================================================　N-02nstyle  */

/*　S-01style  ================================================================================= */

.s-01 .slider {
  max-width: 500px;
  width: 80%;
}
.s-01 .slick-img img {
  height: auto;
  width: 100%;
}

.s-01 .slick-list {
  position: relative;
}

.s-01 .slick-next.slick-arrow {
  position: absolute;
  top: 50%;
  right: 1%;
  z-index: 10;
  width: 30px;
  -webkit-transform: translate(0%,0%);
    -moz-transform: translate(0%,0%);
    -ms-transform: translate(0%,0%);
    -o-transform: translate(0%,0%);
    transform: translate(0%,0%);
}
.s-01 .slick-prev.slick-arrow {
  position: absolute;
  top: 50%;
  left: 1%;
  z-index: 10;
  width: 30px;
  -webkit-transform: translate(0%,0%);
    -moz-transform: translate(0%,0%);
    -ms-transform: translate(0%,0%);
    -o-transform: translate(0%,0%);
    transform: translate(0%,0%);
}

.s-01 .slide-dots {
  margin: 15px 0 0 0;
  padding: 0;
  text-align: center;
}
.s-01 .slide-dots li {
  display: inline-block;
  margin: 0 10px;
}
.s-01 .slide-dots li button {
  position: relative;
  text-indent: -9999px;
}
.s-01 .slide-dots li button::before {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  cursor: pointer;
  height: 13.5px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 24px;
  width: 13.5px;
}

.s-01 .slide-dots button {
  background: none;
  border: none;
  outline: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #ababab;
}

.s-01 .slide-dots li.slick-active button {
  background-color: #000;
}

.s-01 .slick-list .slick-slide {
  padding-right: 2px;
}

/* =================================================================================　S-01style  */

.m-10 {
	margin: 10px;
}

.round20 {
	border-radius: 20px;
}

.roundtop20 {
	border-radius: 20px 20px 0 0;
}

a:hover {
    color: #2d3748;
}

.bg-nbase {
	background-color: #1c2940;
}

.l-page-title.nega h1 span {
	color: #fff;
}

.l-page-title h1 {
	font-family: "Kaisei Opti", serif;
}

.btn {
	color: #fff;
    background-color: #326bb4;
}

.page-link.active, .active>.page-link {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: #326bb4;
    border-color: #326bb4;
}
.page-link {
    border: 0;
    color: #1c2940;
}

a {
    color: #1c2940;
}

.telcontact {
	background-color: #d32f2f;
	color: #fff;
	padding: 10px;
	border-radius: 10px;
}
.telcontact:hover {
	background-color: #fff;
	color: #d32f2f;
}

.header-innerbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-inner01 img {
    width: 150px;
    display: block;
}
@media (min-width: 768px) {
    .header-inner01 img {
        width: 250px;
        display: block;
    }
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-inner02,
.header-inner03 {
    
}

.line-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #326bb4;
    border-radius: 50%;
}
.line-box:hover {
    background-color: #1c2940;
}
.line-box img {
    padding: 10px;
}

.insta-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #326bb4;
    border-radius: 50%;
}
.insta-box:hover {
    background-color: #1c2940;
}
.insta-box img {
    padding: 10px;
}

.mail-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #326bb4;
    border-radius: 50%;
}
.mail-box:hover {
    background-color: #1c2940;
}
.mail-box img {
    padding: 10px;
}

.tel-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #d32d1e;
    border-radius: 50%;
}
.tel-box:hover {
    background-color: #1c2940;
}
.tel-box img {
    padding: 10px;
}

.emergency-contact2 {
    background: #d32f2f;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    color: white;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.mail-contact {
    background: #326bb4;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    color: white;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;    
}

@media (min-width: 992px) {
    .line-box {
        width: 55px;
        height: 55px;
    }
    .line-box img {
        padding: 15px;
    }
    .insta-box {
        width: 55px;
        height: 55px;
    }
    .insta-box img {
        padding: 15px;
    }
    .tel-box {
        width: fit-content;
    }
    .mail-box {
        width: fit-content;
    }
    .header-right-group {
        gap: 20px;
    }
}

.btn_back {
    display: inline-block;
    background-color: #d32f2f;
    border: 4px solid #d32f2f;
    color: #fff;
    font-size: 24px;
    padding: 15px 30px;
    border-radius: 40px;
    width: 50%;
    max-width: 300px;
    position: relative;
}
.btn_back:before {
    content: '◀︎';
    color: #fff;
    position: absolute;
    top: 50%;
    left: 10%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.btn_back:hover {
    color: #d32f2f;
    background-color: #fff;
}
.btnWr:hover .btn_back:before {
    color: #d32f2f;
}

.rounded10 {
	border-radius: 10px;
}

   .mw_wp_form .c-01 .table .mwform-tel-field input[type="text"], .mw_wp_form .table .mwform-zip-field input[type="text"] {
    width: calc((100% - 42px) / 3);
    padding: 1rem .5rem;
}

#contact .c-01 .tbl-2column tbody tr th {
    background-color: transparent;
    font-weight: 600;
}

#contact .c-01 .table-bordered th, .table-bordered td {
    border: 0;
}
#contact .c-01 .table-bordered {
    border: 0;
}

#contact .mw_wp_form .c-01 .table .form-control {
    padding: 1.5rem;
    color: #1c2940;
    background-coolor: #fff;
    border: 2px solid #1c2940;
    margin-bottom: 35px;
}

@media (min-width: 768px) {
  #contact .mw_wp_form .c-01 .table .form-control {
     margin-bottom: 0;
  }
  
 /* #contact .c-01 .tbl-2column tbody tr th, .tbl-2column tbody tr td {
    padding-bottom: 40px!important;
    padding-top: 40px!important;
    border-bottom: 1px dotted #ccc;
    vertical-align: middle;
  }*/

  #contact .c-01 .tbl-2column tbody tr, .tbl-2column tbody tr {
        border: 0;
    }
}

#contact .c-01 .form-control {
  border: 0;
}

#contact .c-01 .tbl-2column tbody tr th {
    padding: .5rem;
    width: 100%;
    display: block;
}

.tbl-2column tbody tr td {
    margin-bottom: 2rem;
    width: 100%;
    display: block;
}

#contact .c-01 .tbl-2column tbody tr th, .tbl-2column tbody tr td {
        padding: .5rem;
}

.mw_wp_form .c-01 .table .mwform-tel-field input[type="text"],
.mw_wp_form .c-01 .table .mwform-zip-field input[type="text"] {
  width: calc((100% - 44px) / 3);
}

#contact .c-01 .bg-main {
    background-color: #326bb4;
    border-radius: 10px;
}

#contact .c-01 .badge-danger {
    background-color: #dc3545;
    color: #fff;
}

#contact .c-01 .table-bordered>:not(caption)>* {
    border-width: 0;
}

#contact select {
    padding: 1.5rem;
    color: #1c2940;
    background-color: #fff;
    border: 2px solid #1c2940!important;
    width: 100%;
    border: 0;
    border-radius: 5px;
}

.fa-chevron-right:before {
    content: "▶︎";
}

.fa-chevron-left:before {
    content: "◀︎";
}