@charset "UTF-8";
/*
Theme Name: Cosmo Royal
Description: 株式会社コスモ カーコーティングスクール WordPressテーマ
Author: Cosmo Royal
Version: 1.0.0
*/

/* ===========================
   Google Fonts & Icon Font
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/* custom icon */
@font-face {
	font-family: 'icomoon';
	src: url('fonts/icomoon.eot?klagb8');
	src: url('fonts/icomoon.eot?klagb8#iefix') format('embedded-opentype'),
	     url('fonts/icomoon.ttf?klagb8') format('truetype'),
	     url('fonts/icomoon.woff?klagb8') format('woff'),
	     url('fonts/icomoon.svg?klagb8#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon' !important;
	speak: never;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.icon-chevron-up:before  { content: "\e900"; }
.icon-phone:before        { content: "\e901"; }
.icon-mail:before         { content: "\e902"; }
.icon-paperplane:before   { content: "\e903"; }
.icon-envelope:before     { content: "\e905"; }
.icon-location:before     { content: "\e906"; }
.icon-home:before         { content: "\e908"; }

/* ===========================
   Reset / Base
   =========================== */
*, *::before, *::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	padding: 0;
	color: #222;
	font-size: 16px;
	line-height: 2;
	font-family: "Yu Gothic UI", "YuGothic UI", "YuGothic", "メイリオ", Meiryo, sans-serif;
	font-weight: 400;
	letter-spacing: 0.05em;
}
body p {
	font-family: "Yu Gothic UI", "YuGothic UI", "YuGothic", "メイリオ", Meiryo, sans-serif;
	font-weight: 400;
	letter-spacing: 0.05em;
}
body ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
body ul li {
	margin: 0;
	padding: 0;
	font-size: 100%;
}
body p:last-of-type {
	margin-bottom: 0;
}
body table {
	width: 100%;
	border-collapse: collapse;
}
table th, table td {
	border: 1px solid #424242;
	padding: 10px;
}
div img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
	line-height: 1;
	transition: 0.2s all linear;
}
a, a:visited, a:active, a:focus, a:hover {
	color: #222;
}
a:hover {
	text-decoration: underline;
}
a:hover img {
	opacity: 0.7;
}

/* ===========================
   Layout
   =========================== */
.pagewidth {
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}
#content {
	padding: 0;
}
.fullwidth-row {
	width: 100%;
}
.row-inner {
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}
.home-main-row .row-inner {
	max-width: 100%;
	padding: 0;
}
.col-2 {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
.col-2 > * {
	flex: 1 1 calc(50% - 20px);
	min-width: 280px;
}
.col-3 {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.col-3 > * {
	flex: 1 1 calc(33.333% - 14px);
	min-width: 240px;
}
section {
	padding: 60px 0;
}

/* ===========================
   Header
   =========================== */
#headerwrap {
	background: #fff;
	border-bottom: 1px solid #eee;
}
#header {
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: auto;
	border-bottom: none;
}
#site-logo {
	line-height: 1;
}
#site-logo a,
#site-logo a img {
	display: block;
}
#site-logo img {
	max-height: 55px;
	width: auto;
}

/* Main Nav */
#main-menu-container {
	display: block;
}
.main-menu {
	display: flex;
	align-items: center;
}
.main-menu li {
	display: inline-block;
	margin: 0 0 0 50px;
}
.main-menu li a {
	display: block;
	position: relative;
	text-align: center;
	color: #222;
	font-size: 20px;
	font-weight: bold;
	line-height: 1;
	text-decoration: none;
}
.main-menu li a:hover {
	text-decoration: none;
	opacity: 0.7;
}
.main-menu li a::after {
	content: attr(title);
	display: block;
	color: #acaec3;
	font-size: 15px;
	font-weight: 500;
	margin-top: 7px;
}

/* ===========================
   Hero Section
   =========================== */
.home-main-row {
	position: relative;
	overflow: hidden;
	min-height: 500px;
	display: flex;
	align-items: center;
	background: #0a0a1a url('images/hero-bg.jpg') center center / cover no-repeat;
}
.home-main-row::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.45);
}
.home-main-row .row-inner {
	position: relative;
	z-index: 1;
	padding: 80px 40px;
	text-align: left;
}
.main-catch {
	font-family: "Yu Gothic UI", "YuGothic UI", "YuGothic", "メイリオ", Meiryo, sans-serif;
	font-weight: 400;
	color: #fff;
	text-shadow: #000000 1px 0px 20px;
}
.main-catch .sub-line {
	display: block;
	font-size: clamp(16px, 2.5vw, 22px);
	margin-bottom: 10px;
	letter-spacing: 0.1em;
}
.main-catch .main-line {
	display: block;
	font-size: clamp(28px, 5vw, 52px);
	line-height: 1.3;
	letter-spacing: 0.05em;
}

/* ===========================
   About Section
   =========================== */
.about-section {
	background: #fff;
}
.about-section .col-2 {
	align-items: flex-start;
}
.about-section img {
	width: 100%;
	height: auto;
	display: block;
}
.big-text {
	font-weight: bold;
	font-size: 36px;
	line-height: 1.5;
	letter-spacing: -0.13em;
	margin-bottom: 20px;
}

/* ===========================
   Feature Boxes
   =========================== */
.feature-section {
	background: #f7f7f7;
	padding: 40px 0;
}
.blue-box {
	background: #1b225e;
	color: #fff;
	padding: 25px 30px;
	margin-bottom: 0;
}
.blue-box-text .module-title {
	margin: 0 0 10px;
	text-align: center;
	font-size: 20px;
	line-height: 1.5;
}
.blue-box p {
	font-size: 15px;
	line-height: 1.8;
}

/* ===========================
   Course Section
   =========================== */
.home-course-row {
	background-color: #f0f4ff;
	background-image: url('images/course-row-bg01.png'), url('images/course-row-bg02.png');
	background-repeat: no-repeat, no-repeat;
	background-position: center top, center bottom;
	background-size: 100% auto, 100% auto;
	padding: 60px 0;
}
.section-title {
	text-align: center;
	margin-bottom: 50px;
}
.section-title .main-head {
	display: block;
	color: #ff3822;
	font-size: 36px;
	font-family: 'Arial', sans-serif;
	line-height: 1;
	font-weight: bold;
}
.section-title .sub-head {
	display: block;
	color: #222;
	font-size: 16px;
	line-height: 1.6;
	padding-top: 10px;
}
.course-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-bottom: 30px;
}
.course-box {
	flex: 1 1 calc(50% - 15px);
	min-width: 280px;
	border: 1px solid #1b225e;
	padding: 29px 32px;
	background: #fff;
}
.course-box img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 20px;
}
.course-text .module-title {
	border-left: 3px solid #1b225e;
	padding-left: 10px;
	font-size: 20px;
	line-height: 1.2;
	margin-bottom: 10px;
	font-weight: bold;
}
.course-text .module-title span {
	color: #ff3822;
}
.course-text p {
	font-size: 14px;
	letter-spacing: -0.08em;
	line-height: 1.8;
}

/* ===========================
   Q&A Section
   =========================== */
.qa-section {
	background: #fff;
}
.accordion-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.accordion-list li {
	margin: 0 0 40px;
	border-bottom: 1px solid #cccccc;
	position: relative;
}
.accordion-list li::after {
	content: "+";
	color: #222;
	font-size: 20px;
	line-height: 1;
	position: absolute;
	right: 0;
	top: 10px;
	transition: 0.2s all linear;
	z-index: 0;
}
.accordion-list li::before {
	content: "";
	width: 12px;
	height: 1px;
	background: #222;
	position: absolute;
	top: 19px;
	right: 4px;
	opacity: 0;
	transition: 0.2s all linear;
	z-index: 0;
}
.accordion-list li.is-active::before { opacity: 1; }
.accordion-list li.is-active::after  { opacity: 0; }

.accordion-title-btn {
	background: none;
	border: none;
	width: 100%;
	text-align: left;
	font-size: 20px;
	line-height: 1.6;
	font-weight: 500;
	padding: 0 30px 0 0;
	margin-bottom: 10px;
	cursor: pointer;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	outline: none;
}
.accordion-title-btn::before {
	content: "Q.";
	color: #ff3822;
	font-size: 20px;
	font-family: 'Arial', sans-serif;
	flex-shrink: 0;
	line-height: 1.6;
}
.accordion-content {
	display: none;
	padding: 0 25px 15px 0;
	font-size: 16px;
	color: #222;
	position: relative;
	display: none;
	flex-direction: row;
	align-items: flex-start;
	gap: 8px;
}
.accordion-list li.is-active .accordion-content {
	display: flex;
}
.accordion-content::before {
	content: "A.";
	font-weight: 400;
	color: #1b225e;
	font-size: 20px;
	font-family: 'Arial', sans-serif;
	flex-shrink: 0;
	line-height: 1.6;
}
.accordion-content-inner {
	flex: 1;
	min-width: 0;
}
.accordion-content-inner p:first-child {
	margin-top: 0;
}
/* .accordion-list li.is-active は上の display:flex で対応 */

/* ===========================
   CTA / Apply Section
   =========================== */
.cta-section {
	background: #1b225e;
	padding: 60px 0;
	text-align: center;
	width: 100%;
}
.cta-section .font-Noto {
	font-family: "Yu Gothic UI", "YuGothic UI", "YuGothic", "メイリオ", Meiryo, sans-serif;
	font-weight: 400;
	color: #fff;
	font-size: clamp(18px, 3vw, 28px);
	margin-bottom: 30px;
}
.red-btn {
	text-align: center;
}
.red-btn a {
	display: inline-block;
	max-width: 400px;
	width: 100%;
	background: #e13019;
	color: #fff;
	padding: 20px 10px;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	position: relative;
	transition: 0.2s all linear;
}
.red-btn a::before {
	content: "";
	width: calc(100% - 4px);
	height: calc(100% - 4px);
	left: 2px;
	top: 2px;
	border: 1px solid #740000;
	position: absolute;
	box-sizing: border-box;
}
.red-btn a:hover {
	opacity: 0.7;
	text-decoration: none;
}
.red-btn a span {
	display: inline-block;
	padding: 0 25px 0 0;
	background: url('images/arrow-up-right.png') no-repeat right center;
	position: relative;
	z-index: 2;
}
.cta-note {
	color: #ccc;
	font-size: 13px;
	margin-top: 12px;
}

/* ===========================
   Footer
   =========================== */
#footerwrap {
	position: relative;
	background: #fff;
	border-top: 1px solid #eee;
	margin-top: 60px;
}
/* CTAセクション直後はmargin不要 */
.cta-section + #footerwrap {
	margin-top: 0;
}
#footer {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	border-top: none;
	clear: none;
	padding-left: 20px;
	padding-right: 20px;
}
#footer-nav {
	text-align: center;
	margin: 0 0 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
#footer-nav li {
	font-size: 14px;
	padding: 0 10px;
	margin: 0 0 5px;
}
#footer-nav li a {
	text-decoration: underline;
}
#footer-nav li a:hover {
	text-decoration: none;
}
.copyright-container {
	font-size: 12px;
}
.ft-text {
	font-size: 14px;
	position: absolute;
	right: 100px;
	bottom: 35px;
}

/* Back to Top */
#pc-backtop {
	display: block;
	position: fixed;
	z-index: 500;
	bottom: 50px;
	right: 50px;
	opacity: 0;
	transition: opacity .3s;
	width: 32px;
	height: 32px;
	font-size: 30px;
}
#pc-backtop.is-visible { opacity: 1; }
#pc-backtop.is-visible:hover { opacity: .7; }
#pc-backtop a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: #1b225e;
	border-radius: 4px;
	text-decoration: none;
}
#pc-backtop a svg { display: block; }

/* SP Footer Fixed Icons */
.sp-footer-icons-container {
	display: none;
	justify-content: space-around;
	align-items: center;
	position: fixed;
	z-index: 600;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	padding-bottom: calc(env(safe-area-inset-bottom) / 2);
	background: #4f4f4f;
}
#footer .sp-footer-icons-container a {
	display: block;
	width: 100%;
	line-height: 1;
	text-align: center;
	background-color: #fafafa;
	text-decoration: none;
	font-size: 10px;
	padding: 10px 0 6px;
	border-left: 1px solid #1f7bb6;
	color: #222;
}
#footer .sp-footer-icons-container a:first-child { border-left: 0; }
#footer .sp-footer-icons-container a.sp-footer-backtop {
	font-family: "Yu Gothic UI", "YuGothic UI", "YuGothic", sans-serif;
	letter-spacing: 0;
	font-size: 9px;
}
#footer .sp-footer-icons-container a span {
	display: block;
	font-size: 20px;
	margin-bottom: 8px;
}

/* ===========================
   Mobile Menu Button
   =========================== */
#menu-button {
	visibility: hidden;
	opacity: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	z-index: 900;
	top: 0;
	right: 0;
	width: 48px;
	height: 48px;
	background-color: #1b225e;
	cursor: pointer;
	border: none;
}
#menu-button.nav-on { visibility: visible; opacity: 1; }
#menu-button .ham-lines {
	position: relative;
	margin: 0 auto;
	width: 32px;
	height: 32px;
}
#menu-button .ham-lines span,
#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
	position: absolute;
	display: block;
	right: 0; left: 0;
	margin: 0 auto;
	width: 28px;
	height: 2px;
	background-color: #fff;
	border-radius: 1px;
}
#menu-button .ham-lines span { bottom: 15px; transition: all .25s .25s; opacity: 1; }
#menu-button .ham-lines::before,
#menu-button .ham-lines::after { content: ""; }
#menu-button .ham-lines::before { bottom: 24px; animation: menu-bar01 .75s forwards; }
#menu-button .ham-lines::after  { bottom: 6px;  animation: menu-bar03 .75s forwards; }
#menu-button.is-active .ham-lines span { opacity: 0; }
#menu-button.is-active .ham-lines::before { animation: active-menu-bar01 .5s forwards; }
#menu-button.is-active .ham-lines::after  { animation: active-menu-bar03 .5s forwards; }

@keyframes menu-bar01 {
	0%   { transform: translateY(9px) rotate(45deg); }
	50%  { transform: translateY(9px) rotate(0); }
	100% { transform: translateY(0) rotate(0); }
}
@keyframes menu-bar03 {
	0%   { transform: translateY(-9px) rotate(-45deg); }
	50%  { transform: translateY(-9px) rotate(0); }
	100% { transform: translateY(0) rotate(0); }
}
@keyframes active-menu-bar01 {
	0%   { transform: translateY(0) rotate(0); }
	50%  { transform: translateY(9px) rotate(0); }
	100% { transform: translateY(9px) rotate(45deg); }
}
@keyframes active-menu-bar03 {
	0%   { transform: translateY(0) rotate(0); }
	50%  { transform: translateY(-9px) rotate(0); }
	100% { transform: translateY(-9px) rotate(-45deg); }
}

/* ===========================
   Contact Form (CF7)
   =========================== */
.wpcf7 table tr th { width: 30%; text-align: left; }
.wpcf7 table tr th, .wpcf7 table tr td { padding: 10px 15px; }
.wpcf7 table tr td input,
.wpcf7 table tr td select,
.wpcf7 table tr td textarea {
	background-color: #f3f3f3;
	border: solid 1px #ddd;
	padding: 6px 10px;
	border-radius: 5px;
	width: 100%; max-width: 100%;
}
.wpcf7 .submit_btn { display: block; }
.wpcf7 .submit_btn input[type="submit"] { display: block; width: 250px; margin: 0 auto; }
body .wpcf7 table tr th, body .wpcf7 table tr td {
	border: 0;
	border-top: 1px solid #c2c2c2;
	padding: 15px;
	background: #fafafa;
}
body .wpcf7 table tr:first-child th,
body .wpcf7 table tr:first-child td { border-top: 0; }
body .wpcf7 table tr th {
	background: #1b225e;
	color: #fff;
	font-weight: normal;
}
body .wpcf7 table tr td input,
body .wpcf7 table tr td select,
body .wpcf7 table tr td textarea { background: #fff; border-radius: 0; }
.submit_btn { margin-top: 40px; }
body .wpcf7 .submit_btn input[type="submit"] { background: #1b225e; color: #fff; border-radius: 0; }
body .wpcf7 .submit_btn input[type="submit"]:hover { opacity: 0.7; }

/* ===========================
   Media Queries
   =========================== */
@media screen and (max-width: 1180px) {
	#pagewrap { position: relative; padding-bottom: 51px; }
	#header.header { padding-top: 0; }
	#menu-button { visibility: visible; opacity: 1; }
	#main-menu-container {
		position: fixed;
		z-index: 700;
		top: 0; left: -100vw;
		right: auto; bottom: auto;
		overflow-y: auto;
		background-color: #1b225e;
		display: block;
		width: 100vw; height: 100vh;
		transition: .3s linear;
	}
	#main-menu-container.is-active { left: 0; }
	body #main-menu-container .main-menu { padding-top: 80px; width: 100%; display: block; }
	body #footer .sp-footer-icons-container a svg { fill: #fff; height: 20px; display: block; margin: 0 auto 8px; }
	body #footer .sp-footer-icons-container a.sp-footer-tel { background: #e13019; }
}
@media screen and (max-width: 1024px) {
	body #main-menu-container { display: flex; justify-content: center; }
	.main-menu { flex-direction: column; }
	.main-menu li { display: block; margin: 50px 0; }
	.main-menu li a,
	.main-menu li a:visited,
	.main-menu li a:focus,
	.main-menu li a:hover { color: #fff; }
	.main-menu li a::after { color: #f1f1f1; }
	body #header.header { padding: 6px 0; }
	body .pagewidth { max-width: 98%; padding: 0 12px; }
	#site-logo a img { height: 36px; }
	body #pagewrap { padding-bottom: 0; }
}
@media screen and (max-width: 980px) {
	#pc-backtop { display: none; }
	#footer .sp-footer-icons-container { display: flex; }
}
@media screen and (max-width: 768px) {
	.big-text { font-size: 30px; }
	body #pc-backtop { display: none; }
	body #pagewrap { padding-bottom: 50px; }
	body #footer { padding-bottom: 20px; }
	body #footer .sp-footer-icons-container a { background-color: #1b225e; color: #fff; border-color: #fff; }
	.course-text .module-title { font-size: 18px; }
	.course-box { padding: 20px; }
}
@media screen and (max-width: 680px) {
	.big-text { font-size: 24px; line-height: 1.7; }
	body { font-size: 14px; }
	.blue-box { padding: 20px; }
	.accordion-title-btn { font-size: 18px; }
	.accordion-content { font-size: 14px; padding-right: 0; }
	.ft-text { position: static; }
	body .wpcf7 table tr th,
	body .wpcf7 table tr td { max-width: 100%; display: block; width: 100%; border: 0; }
}

/* ===========================
   Company Page (page-company.php)
   =========================== */

/* Hero */
.company-hero-row {
	position: relative;
	min-height: 200px;
	display: flex;
	align-items: center;
	background: #0a0a1a url('images/hero-bg.jpg') center center / cover no-repeat;
}
.company-hero-row::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.50);
}
.company-hero-row .row-inner {
	position: relative;
	z-index: 1;
	padding: 60px 40px;
}
.company-hero-row .row_main_t p {
	font-family: "Yu Gothic UI", "YuGothic UI", "YuGothic", "メイリオ", Meiryo, sans-serif;
	font-weight: 400;
	font-size: clamp(22px, 4vw, 38px);
	color: #fff;
	text-shadow: #000 1px 0 20px;
	margin: 0;
}

/* Company section spacing */
.company-section {
	padding: 60px 0;
	background: #fff;
}
.company-section .section-title {
	margin-top: 60px;
}
.company-section .section-title:first-child {
	margin-top: 0;
}

/* Company table (会社概要) */
.tab_info table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 50px;
}
.tab_info table tr td {
	border: none;
	border-bottom: solid 1px #c2c2c2;
	padding: 14px 16px;
	font-family: "Yu Gothic UI", "YuGothic UI", "YuGothic", "メイリオ", Meiryo, sans-serif;
	font-size: 15px;
	line-height: 1.8;
}
.tab_info table tr td:first-child {
	border-bottom: solid 1px #1b225e;
	font-weight: bold;
	vertical-align: top;
	width: 23%;
	white-space: nowrap;
}

/* Contact text */
.contact-text {
	margin-bottom: 40px;
	line-height: 1.9;
}
.contact-text a {
	text-decoration: underline;
}
.contact-text a:hover {
	text-decoration: none;
}

/* CF7フォームは body .wpcf7 table / .submit_btn スタイルで対応済み */

/* Privacy section */
.privacy-section {
	background: #f7f7f7;
	width: 100%;
	padding: 50px 0 70px;
}
.privacy-section .inline-main-title {
	border-bottom: 1px solid #b0b0b0;
	padding-bottom: 10px;
	margin-bottom: 30px;
}
.privacy-section .inline-main-title .main-head {
	display: inline-block;
	color: #ff3822;
	font-size: 25px;
	font-family: 'Arial', sans-serif;
	line-height: 1.4;
	margin-right: 20px;
	font-weight: bold;
}
.privacy-section .inline-main-title .sub-head {
	display: inline-block;
	color: #333;
	font-size: 14px;
	font-weight: normal;
	line-height: 2;
}
.privacy-text {
	max-height: 260px;
	overflow-y: auto;
	padding-right: 20px;
	font-size: 14px;
	line-height: 1.9;
	background: #fff;
	border: 1px solid #ddd;
	padding: 20px;
	box-sizing: border-box;
}
.privacy-text p {
	margin-bottom: 1em;
}
.privacy-text p:last-child {
	margin-bottom: 0;
}

/* Responsive */
@media screen and (max-width: 680px) {
	.tab_info table tr td:first-child {
		width: 30%;
	}
	.privacy-section .inline-main-title .main-head {
		display: block;
		margin-right: 0;
		margin-bottom: 4px;
	}
}
