@charset "utf-8";

/* ========================================================
   オープンキャンパス 2026 — Event Page Styles
   ======================================================== */

:root {
	--oc-primary:      #1558a8;
	--oc-primary-dark: #0c3d7a;
	--oc-primary-light:#deeafb;
	--oc-accent:       #2196f3;
	--oc-orange:       #f59c1a;
	--oc-orange-dark:  #d4830e;
	--oc-text:         #2c3e50;
	--oc-text-light:   #5d7283;
	--oc-white:        #fff;
	--oc-gray-bg:      #f5f7fa;
	--oc-light-blue:   #e8f1fc;
	--oc-border:       #c4d9f5;
	--oc-radius:       8px;
}

.oc-page {
	color: var(--oc-text);
	text-align: left;
}
.oc-page .sec {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 30px;
	box-sizing: border-box;
}

/* --------------------------------------------------------
   Hero
-------------------------------------------------------- */
.oc-hero {
	background: linear-gradient(140deg, #092651 0%, #1558a8 55%, #2a80d8 100%);
	color: #fff;
	padding: 80px 0 70px;
	position: relative;
	overflow: hidden;
}
.oc-hero::before {
	content: '';
	position: absolute;
	top: -60px; right: -80px;
	width: 500px; height: 500px;
	background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
	border-radius: 50%;
	pointer-events: none;
}
.oc-hero::after {
	content: '';
	position: absolute;
	bottom: -40px; left: -60px;
	width: 350px; height: 350px;
	background: radial-gradient(circle, rgba(245,156,26,0.07) 0%, transparent 65%);
	border-radius: 50%;
	pointer-events: none;
}
.oc-hero .sec { position: relative; z-index: 1; }

.oc-hero-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 40px;
	align-items: center;
}
.oc-hero-photo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 6px;
	width: 320px;
	border-radius: var(--oc-radius);
	overflow: hidden;
	flex-shrink: 0;
}
.oc-hero-photo img {
	width: 100%; height: 150px;
	object-fit: cover;
	display: block;
}
.oc-hero-photo img:first-child {
	grid-column: 1 / 3;
	height: 200px;
}

.oc-event-badge {
	display: inline-block;
	background: rgba(255,255,255,0.15);
	border: 1.5px solid rgba(255,255,255,0.55);
	border-radius: 30px;
	padding: 5px 18px;
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin-bottom: 18px;
}
.oc-hero-title {
	font-size: 5.2rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1.0;
	margin: 0 0 14px;
	text-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.oc-hero-title span {
	display: block;
	font-size: 2.4rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-top: 6px;
	opacity: 0.9;
}
.oc-hero-catch {
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.7;
	opacity: 0.88;
	margin: 0 0 36px;
	letter-spacing: 0.04em;
}
.oc-hero-info {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 30px;
	background: rgba(255,255,255,0.1);
	border-radius: var(--oc-radius);
	padding: 20px 24px;
	border: 1px solid rgba(255,255,255,0.2);
	backdrop-filter: blur(4px);
}
.oc-hero-info dl {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.oc-hero-info dt {
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	opacity: 0.7;
}
.oc-hero-info dd {
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.35;
}

/* --------------------------------------------------------
   Lead
-------------------------------------------------------- */
.oc-lead {
	padding: 70px 0;
	background: var(--oc-white);
	text-align: center;
}
.oc-lead-headline {
	font-size: 2.8rem;
	font-weight: 700;
	color: var(--oc-primary);
	margin: 0 0 20px;
	letter-spacing: 0.04em;
}
.oc-lead-desc {
	font-size: 1.55rem;
	line-height: 2.0;
	color: var(--oc-text-light);
	max-width: 820px;
	margin: 0 auto;
}

/* --------------------------------------------------------
   Chirashi
-------------------------------------------------------- */
.oc-chirashi {
	background: var(--oc-gray-bg);
	padding: 60px 0;
}
.oc-chirashi img {
	width: 100%;
	max-width: 900px;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: var(--oc-radius);
	box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/* --------------------------------------------------------
   Section Title (shared)
-------------------------------------------------------- */
.oc-sec-ttl {
	text-align: center;
	margin: 0 0 50px;
}
.oc-sec-ttl h2 {
	font-size: 2.6rem;
	font-weight: 700;
	color: var(--oc-primary);
	display: inline-block;
	position: relative;
	padding-bottom: 15px;
	margin: 0;
}
.oc-sec-ttl h2::after {
	content: '';
	position: absolute;
	bottom: 0; left: 50%;
	transform: translateX(-50%);
	width: 50px; height: 3px;
	background: var(--oc-orange);
	border-radius: 2px;
}
.oc-sec-ttl .en {
	display: block;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--oc-orange);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-top: 10px;
}

/* --------------------------------------------------------
   Timetable
-------------------------------------------------------- */
.oc-timetable {
	padding: 70px 0;
	background: var(--oc-light-blue);
}

.oc-timetable-note {
	text-align: center;
	font-size: 1.4rem;
	color: var(--oc-text-light);
	margin: -30px 0 40px;
}

.oc-tt-group {
	margin-bottom: 40px;
}
.oc-tt-group:last-child { margin-bottom: 0; }

.oc-tt-group-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--oc-white);
	background: var(--oc-primary);
	padding: 14px 22px;
	border-radius: var(--oc-radius) var(--oc-radius) 0 0;
	margin: 0;
}
.oc-tt-group-title .badge {
	display: inline-block;
	font-size: 1.1rem;
	font-weight: 700;
	background: var(--oc-orange);
	padding: 3px 12px;
	border-radius: 20px;
}

.oc-tt-grid {
	background: var(--oc-white);
	border-radius: 0 0 var(--oc-radius) var(--oc-radius);
	overflow: hidden;
	border: 1px solid var(--oc-border);
	border-top: none;
}
.oc-tt-row {
	display: grid;
	grid-template-columns: 140px 1fr;
	border-bottom: 1px solid var(--oc-border);
}
.oc-tt-row:last-child { border-bottom: none; }

.oc-tt-time {
	padding: 20px 16px;
	background: var(--oc-light-blue);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--oc-primary);
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-right: 1px solid var(--oc-border);
}
.oc-tt-content {
	padding: 18px 22px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.oc-tt-content h4 {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--oc-text);
	margin: 0;
}
.oc-tt-content p {
	font-size: 1.3rem;
	color: var(--oc-text-light);
	margin: 0;
	line-height: 1.65;
}
.oc-tt-day2 {
	display: inline-block;
	font-size: 1.1rem;
	font-weight: 700;
	background: var(--oc-orange);
	color: var(--oc-white);
	padding: 2px 10px;
	border-radius: 4px;
	margin-left: 8px;
	vertical-align: middle;
}

/* --------------------------------------------------------
   Free Programs (自由参加)
-------------------------------------------------------- */
.oc-free-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	background: var(--oc-white);
	border-radius: 0 0 var(--oc-radius) var(--oc-radius);
	border: 1px solid var(--oc-border);
	border-top: none;
	padding: 20px;
}
.oc-free-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: var(--oc-gray-bg);
	border-radius: var(--oc-radius);
	padding: 16px 18px;
	border-left: 4px solid var(--oc-accent);
}
.oc-free-item.accent-orange { border-left-color: var(--oc-orange); }
.oc-free-item h4 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--oc-text);
	margin: 0;
}
.oc-free-item .time-label {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--oc-primary);
}
.oc-free-item p {
	font-size: 1.25rem;
	color: var(--oc-text-light);
	margin: 0;
	line-height: 1.6;
}
.oc-free-item .catch {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--oc-primary);
	line-height: 1.55;
}
.oc-dummy {
	display: inline-block;
	margin-top: 4px;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--oc-orange-dark);
}

/* --------------------------------------------------------
   Department Experience
-------------------------------------------------------- */
.oc-dept {
	padding: 70px 0;
	background: var(--oc-white);
}
.oc-dept-intro {
	text-align: center;
	font-size: 1.55rem;
	color: var(--oc-text-light);
	margin: -25px 0 45px;
	line-height: 1.8;
}
.oc-dept-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}
.oc-dept-card {
	background: var(--oc-gray-bg);
	border-radius: var(--oc-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border-top: 4px solid var(--oc-primary);
	transition: transform 0.25s, box-shadow 0.25s;
}
.oc-dept-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.oc-dept-card .dept-thumb {
	width: 100%; height: 110px;
	object-fit: cover;
	display: block;
}
.oc-dept-card .dept-body {
	padding: 16px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.oc-dept-card h3 {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--oc-primary);
	margin: 0;
	line-height: 1.4;
}
.oc-dept-card p {
	font-size: 1.2rem;
	color: var(--oc-text-light);
	margin: 0;
	line-height: 1.65;
	flex-grow: 1;
}
.oc-dept-card a {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--oc-primary);
	text-decoration: none;
	border-bottom: 1.5px solid var(--oc-primary);
	display: inline-block;
	padding-bottom: 2px;
	transition: opacity 0.2s;
}
.oc-dept-card a:hover { opacity: 0.7; }

/* Department card accent colors */
.oc-dept-card.dept-ai   { border-top-color: #ffc107; }
.oc-dept-card.dept-ai h3  { color: #b08800; }
.oc-dept-card.dept-robot { border-top-color: #ff7043; }
.oc-dept-card.dept-robot h3 { color: #c84820; }
.oc-dept-card.dept-semi  { border-top-color: #42a5f5; }
.oc-dept-card.dept-semi h3  { color: #1565c0; }
.oc-dept-card.dept-energy { border-top-color: #66bb6a; }
.oc-dept-card.dept-energy h3 { color: #2e7d32; }
.oc-dept-card.dept-chem  { border-top-color: #ab47bc; }
.oc-dept-card.dept-chem h3  { color: #7b1fa2; }

/* --------------------------------------------------------
   Entry (registration)
-------------------------------------------------------- */
.oc-entry {
	padding: 70px 0;
	background: var(--oc-gray-bg);
}
.oc-entry-box {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
	background: linear-gradient(135deg, var(--oc-primary-dark) 0%, var(--oc-primary) 100%);
	border-radius: 12px;
	padding: 50px 40px;
	color: var(--oc-white);
}
.oc-entry-box .entry-head {
	font-size: 2.4rem;
	font-weight: 700;
	margin: 0 0 8px;
}
.oc-entry-box .entry-sub {
	font-size: 1.4rem;
	opacity: 0.85;
	margin: 0 0 28px;
	line-height: 1.7;
}
.oc-entry-box .entry-detail {
	background: rgba(255,255,255,0.1);
	border-radius: var(--oc-radius);
	padding: 16px 20px;
	text-align: left;
	margin: 0 0 28px;
	font-size: 1.35rem;
	line-height: 2.0;
}
.oc-entry-box .entry-detail strong { font-weight: 700; }
.oc-btn-apply {
	display: inline-block;
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--oc-primary);
	text-decoration: none;
	background: var(--oc-white);
	padding: 16px 52px;
	border-radius: 50px;
	transition: all 0.25s;
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.oc-btn-apply:hover {
	background: #f0f6ff;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* --------------------------------------------------------
   Access
-------------------------------------------------------- */
.oc-access {
	padding: 70px 0;
	background: var(--oc-white);
}
.oc-access-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: start;
}
.oc-access-info h3 {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--oc-primary);
	margin: 0 0 16px;
}
.oc-access-info address {
	font-style: normal;
	font-size: 1.4rem;
	line-height: 1.8;
	color: var(--oc-text);
	margin: 0 0 20px;
}
.oc-access-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.oc-access-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 1.4rem;
	line-height: 1.65;
	color: var(--oc-text);
}
.oc-access-list .icon {
	font-size: 1.6rem;
	flex-shrink: 0;
	margin-top: 1px;
}
.oc-access-map {
	border-radius: var(--oc-radius);
	overflow: hidden;
	border: 1px solid var(--oc-border);
}
.oc-map-link {
	display: block;
	text-decoration: none;
	height: 100%;
}
.oc-map-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 300px;
	background: var(--oc-light-blue);
	border-radius: var(--oc-radius);
	border: 2px dashed var(--oc-border);
	transition: background 0.2s;
}
.oc-map-link:hover .oc-map-placeholder {
	background: #d8e9fc;
}
.oc-map-placeholder .map-icon {
	font-size: 3.6rem;
}
.oc-map-placeholder .map-text {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--oc-primary);
}
.oc-map-placeholder .map-addr {
	font-size: 1.3rem;
	color: var(--oc-text-light);
}
.oc-access-link {
	display: inline-block;
	margin-top: 16px;
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--oc-primary);
	text-decoration: none;
	border-bottom: 1.5px solid var(--oc-primary);
	transition: opacity 0.2s;
}
.oc-access-link:hover { opacity: 0.7; }

/* --------------------------------------------------------
   Note
-------------------------------------------------------- */
.oc-note {
	padding: 50px 0;
	background: var(--oc-light-blue);
}
.oc-note h3 {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--oc-primary);
	margin: 0 0 18px;
}
.oc-note-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.oc-note-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 1.4rem;
	color: var(--oc-text);
	line-height: 1.7;
}
.oc-note-list li::before {
	content: '▶';
	color: var(--oc-primary);
	font-size: 1.1rem;
	flex-shrink: 0;
	margin-top: 3px;
}

/* --------------------------------------------------------
   Contact
-------------------------------------------------------- */
.oc-contact {
	padding: 60px 0;
	background: var(--oc-white);
}
.oc-contact-box {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}
.oc-contact-box .contact-from {
	font-size: 1.3rem;
	color: var(--oc-text-light);
	margin: 0 0 6px;
}
.oc-contact-box .contact-name {
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--oc-text);
	margin: 0 0 18px;
}
.oc-contact-box .contact-tel {
	display: block;
	font-size: 2.4rem;
	font-weight: 700;
	color: var(--oc-primary);
	text-decoration: none;
	margin: 0 0 8px;
	letter-spacing: 0.05em;
}
.oc-contact-box .contact-hours {
	font-size: 1.25rem;
	color: var(--oc-text-light);
	margin: 0 0 22px;
}
.oc-btn-mail {
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--oc-white);
	text-decoration: none;
	background: var(--oc-primary);
	padding: 14px 40px;
	border-radius: 50px;
	transition: background 0.25s;
}
.oc-btn-mail:hover {
	background: var(--oc-primary-dark);
}

/* ========================================================
   Responsive (SP: 767px)
   ======================================================== */
@media screen and (max-width:767px) {
	.oc-page .sec { padding: 0 20px; }

	/* Hero */
	.oc-hero { padding: 50px 0 44px; }
	.oc-hero-inner {
		grid-template-columns: 1fr;
	}
	.oc-hero-photo { display: none; }
	.oc-hero-title { font-size: 3.6rem; }
	.oc-hero-title span { font-size: 1.8rem; }
	.oc-hero-catch { font-size: 1.4rem; }
	.oc-hero-info dd { font-size: 1.5rem; }

	/* Lead */
	.oc-lead { padding: 50px 0; }
	.oc-lead-headline { font-size: 2.0rem; }
	.oc-lead-desc { font-size: 1.4rem; }

	/* Section title */
	.oc-sec-ttl { margin: 0 0 30px; }
	.oc-sec-ttl h2 { font-size: 1.9rem; }

	/* Timetable */
	.oc-timetable { padding: 50px 0; }
	.oc-tt-row { grid-template-columns: 100px 1fr; }
	.oc-tt-time { font-size: 1.2rem; padding: 14px 10px; }
	.oc-tt-content { padding: 14px 16px; }
	.oc-tt-content h4 { font-size: 1.4rem; }
	.oc-free-grid { grid-template-columns: 1fr 1fr; }

	/* Dept */
	.oc-dept { padding: 50px 0; }
	.oc-dept-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

	/* Entry */
	.oc-entry { padding: 50px 0; }
	.oc-entry-box { padding: 36px 22px; }
	.oc-entry-box .entry-head { font-size: 1.8rem; }
	.oc-btn-apply { font-size: 1.5rem; padding: 14px 36px; }

	/* Access */
	.oc-access { padding: 50px 0; }
	.oc-access-grid { grid-template-columns: 1fr; }
	.oc-access-map iframe { height: 240px; }

	/* Contact */
	.oc-contact-box .contact-tel { font-size: 2.0rem; }
}

@media screen and (max-width:480px) {
	.oc-hero-title { font-size: 2.8rem; }
	.oc-dept-grid { grid-template-columns: 1fr; }
	.oc-free-grid { grid-template-columns: 1fr; }
}
