/*
Theme Name: JCS SHIORI Theme
Theme URI: https://example.com/jcs-shiori
Author: You
Version: 1.0
Description: JCS 35th Anniversary One Page Theme
Template: blankslate
*/

/* 全体のスタイル */
body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fdfdfc;
    color: #002147;
}

.coming-soon-container {
	margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fdfdfc;
    color: #002147;
	text-align: center;
}
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-nav {
    display: flex;
	justify-content: flex-end;
    align-items: right;
	column-gap: 12px;
	padding-right: 16px;
	margin-right: 20px;
}

.main-nav a {
    margin-left: 16px;
    text-decoration: none;
    color: #002147;
	white-space: nowrap; 
	font-size: 15px;
}
.side_fix {
	position: fixed;
	top: 85%;
	right: 3px;
	z-index: 10;
	display: flex;
	align-items: center;
	background-color: rgba(0,33,71,0.8);
	padding: 10px;
}

.side_fix p {
	font-size: 18px; 
	color: #F8F9FA;
	margin: 0;
}

body .slideshow-link {
  color: #002147;
}

body a.slideshow-jump {
  background-color: #ffffff;  
  color: #002147;            
  text-decoration: none;     
  padding: 16px 20px 16px 40px;
  border-radius: 30px;
  border: 2px solid #002147;
  display: inline-flex;      
  align-items: center;
  outline: 2px solid #ffffff;
  font-size: 20px;
  margin-top: 24px;
}

.chat-icon {
	width: 20px;
	height: 20px;
	margin-right: 8px;
}

.chat-icon .icon-path {
	fill: #fff;
}

.chat-icon rect {
	fill: transparent;
}

.hero {
	background: url("img/foundation-ceremony/foundation-ceremony-2025-hero.jpg") no-repeat center center/cover;
	color: white;
	padding: 180px 24px 120px;
    position: relative;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: rgba(0,33,71,0.45);
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.hero-caption {
    font-size: 14px;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 8px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 32px;
}

ruby {
  ruby-position: under;
}

rt {
  font-size: 20px !important;
  margin-top: 10px;
  color: gray;
  text-align: space-around;
}

/* Greetingセクション */
.greeting {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 24px;
}

.greeting-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.greeting-content {
    flex: 1;
}

.greeting-content h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    color: #002147;
    margin-bottom: 24px;
}

.greeting-content p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1em;
}

.greeting-content p:last-child {
    margin-bottom: 0;
}

.greeting-content strong {
    font-weight: bold;
}

.greeting-image {
    flex: 1;
}

.greeting-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.mobile-br {
	display: none;
}

/* Scheduleセクション */
.schedule {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 24px;
}

.schedule h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    color: #002147;
    margin-bottom: 40px;
}

.schedule-day {
    margin-bottom: 40px;
}

.schedule-day:last-child {
    margin-bottom: 0;
}

.schedule-day h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #002147;
}

.schedule-container {
    display: flex;
    gap: 24px;
}

/* スケジュール画像 */
.schedule-image {
    flex: 0 0 300px;
}

.schedule-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.schedule-images {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.image-wrapper {
    flex: 1;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* タイムライン */
.schedule-timeline {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	font-size: 17px;
}

.timeline-item {
    display: flex;
    padding: 12px 20px;
    /*border-bottom: 1px solid #eee;*/
}

/*.timeline-item:last-child {
    border-bottom: none;
}*/

.timeline-item .time {
    min-width: 120px;
}

/* スケジュール詳細 */
.schedule-details {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.schedule-course {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.schedule-course:last-child {
    border-bottom: none;
}

.schedule-course h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #002147;
}

.timeline-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
    font-size: 17px;
}

.event a {
	color: #4682B4;
	text-decoration: underline;
}

.event a:visited {
	color: #4682B4;
}

.note {
    color: #666;
    font-size: 15px;
    margin: 8px 0 0 0;
    display: block;
}

/* Aboutセクション */
.about {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 24px;
}

.about h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    color: #002147;
    margin-bottom: 40px;
    text-align: left;
}

.about-container {
    display: flex;
    gap: 32px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-content {
    flex: 2;
    font-size: 14px;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5em;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content span {
    font-size: 16px;
    font-weight: bold;
    color: #002147;
}

.about-signature {
    text-align: right;
    margin-top: 2em;
}

.about-signature p {
    margin-bottom: 0.5em;
}

.about-signature p:last-child {
    margin-bottom: 0;
}

/* Giftsセクション */
.gifts {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 24px;
}

.gifts h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    color: #002147;
    margin-bottom: 40px;
    text-align: left;
}

.gifts-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.gifts-image {
    flex: 1;
}

.gifts-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.gifts-content {
    flex: 1;
}

.gifts-title {
    font-size: 16px;
    margin-bottom: 16px;
}

.gifts-title strong {
    font-weight: bold;
}

.gifts-description {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* Downloadsセクション */
.downloads {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 24px;
}

.downloads h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    color: #002147;
    margin-bottom: 40px;
    text-align: left;
}

.downloads-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px dotted #ccc;
}

.download-item a:visited {
	color: #fff;
}

.download-item a:hover {
	color: #ffcc00; /* ホバー時に黄色に変更（好みに応じて変更可能） */
    text-decoration: underline; /* ホバー時に下線を追加 */
}

.download-item:last-child {
    border-bottom: none;
}

.download-title {
    font-size: 16px;
    color: #002147;
}

.download-button {
    background: #002147;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background: #003366;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .logo img {
        height: 24px;
    }

    .logo span {
        font-size: 20px;
        //font-family: 'Noto Serif JP', serif;
        //font-weight: bold;
    }


/* ゲストブックのカスタムデザイン */
.gwolle-gb-entry {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.gwolle-gb-entry-author {
    font-weight: bold;
    color: #0077be;
}

.gwolle-gb-entry-content {
    font-size: 16px;
    line-height: 1.5;
}



/* 通常のリンクの色を変更 */
a {
    color: #ffffff; /* 白色に変更（好みに応じて変更可能） */
    text-decoration: none; /* 下線を削除 */
}

/* 訪問済みリンクの色を変更 */
a:visited {
    color: #002147; /* 訪問後も同じ色に */
}

/* ホバー時の色を変更 */
a:hover {
    color: #ffcc00; /* ホバー時に黄色に変更（好みに応じて変更可能） */
    text-decoration: underline; /* ホバー時に下線を追加 */
}

.side_fix a:hover {
	color: #fff;
	text-decoration: underline;
}

ul {
    list-style: none; /* 点を非表示 */
    padding-left: 0; /* 左側の余白を削除 */
    margin: 0; /* 余白を調整 */
}

li {
    list-style: none; /* 個別のliにも適用 */
}

/* レスポンシブ対応：画面幅768px以下の場合 */
@media only screen and (max-width: 768px) {
.site-header {
        padding: 8px 12px; /* パディングを縮小 */
        flex-wrap: wrap;
        column-gap: 8px; /* 要素間の間隔を縮小 */
    }

    .logo {
        flex: 0 0 auto;
    }

    .logo img {
        height: 17px; /* ロゴサイズを少し小さく */
    }

    .logo span {
        font-size: 13px; /* ロゴの文字サイズを縮小 */
    }
	
.main-nav {
        width: 100%;
		padding-right: 15px !important;
		margin-right: 0 !important;
		justify-content: flex-end;
		column-gap: 5px;
        /*overflow: visible; /* スクロールを無効化 */
    }

    .main-nav a {
        margin-left: 0; /* マージンを削除 */
        padding: 4px 6px; /* パディングを縮小 */
        font-size: 10px; /* フォントサイズを縮小 */
        background: transparent; /* 背景色を削除 */
        border-radius: 0; /* 角丸を削除 */
    }

    .main-nav a:hover {
        background: transparent; /* ホバー時の背景色を削除 */
        text-decoration: underline; /* ホバー時に下線を表示 */
    }
	
	.side_fix {
	width: 100%
	position: fixed;
	top: 90%;
	right: 3px;
}
	.side_fix p {
		font-size: 13px;
	}

body a.slideshow-jump {           
  text-decoration: none;     
  padding: 7px 15px 7px 35px;         
  border-radius: 20px;
  border: 2px solid #002147;
  display: inline-flex;      
  align-items: center;
  outline: 2px solid #ffffff;
  font-size: 16px;
  margin-top: 20px;
}
	
    .chat-icon {
		width: 15px;
		height: 15px;
		margin-right: 4px;
}
   
.hero {
        padding: 120px 16px 60px;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-caption {
        font-size: 12px;
    }

    .hero-description {
        font-size: 13px;
        margin-top: 20px;
        line-height: 1.5;
    }
	
  .greeting {
        padding: 32px 12px;
    }

    .greeting-container {
        flex-direction: column;
        gap: 20px;
    }

    .greeting-content {
        width: 100%;
    }

    .greeting-content h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 16px;
    }

    .greeting-content p {
        text-align: center;
    }

    .greeting-image {
        width: 100%;
    }
	
	.mobile-br {
		display: inline;
	}
	
	.schedule {
        padding: 32px 12px;
    }

    .schedule h2 {
        font-size: 24px;
        margin-bottom: 32px;
		text-align: center;
    }

    .schedule-day h3 {
        font-size: 18px;
        margin-bottom: 16px;
		text-align: center;
    }

    .schedule-container {
        flex-direction: column;
        gap: 16px;
    }
	
	.schedule-course {
		padding: 12px;
	}

    .schedule-image,
    .schedule-images {
        flex: none;
        width: 100%;
    }

    .schedule-images {
        flex-direction: row;
    }

    .image-wrapper {
        flex: 1;
    }

	.timeline-item {
		font-size: 16px;
		padding: 3px 12px;
	}
	
    .timeline-grid {
        grid-template-columns: 100px 1fr;
        font-size: 16px;
    }
	
	.time {
		font-size: 14px;
	}
	
	.note {
		font-size: 14px;
	}
	
	.about {
        padding: 32px 12px;
    }

    .about h2 {
        font-size: 24px;
        margin-bottom: 32px;
        text-align: center;
    }

    .about-container {
        flex-direction: column;
        gap: 24px;
    }

    .about-image {
        width: 100%;
    }

    .about-content {
        width: 100%;
        font-size: 13px;
    }

    .about-content span {
        font-size: 15px;
    }

    .about-content p {
        text-align: center;
    }

    .about-signature {
        text-align: center;
        margin-top: 1.5em;
    }

    #messages {
        max-width: 100%;
        padding: 32px 12px !important;
    }
    
    /* メッセージグリッドの調整 */
    .message-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* 1列表示に変更 */
        gap: 16px !important;
        margin-top: 24px !important;
    }
    
    /* メッセージカードの調整 */
    .message-card {
        padding: 16px !important;
    }
    
    /* 見出しの調整 */
    #messages h2 {
        font-size: 24px !important;
        text-align: center !important;
        margin-bottom: 16px !important;
    }
	
	.gifts {
        padding: 32px 12px;
    }

    .gifts h2 {
        font-size: 24px;
        margin-bottom: 32px;
        text-align: center;
    }

    .gifts-container {
        flex-direction: column;
        gap: 24px;
    }

    .gifts-image {
        width: 100%;
    }

    .gifts-content {
        width: 100%;
        text-align: center;
    }

    .gifts-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .gifts-description {
        font-size: 13px;
    }
	
	.downloads {
        padding: 32px 12px;
    }

    .downloads h2 {
        font-size: 24px;
        margin-bottom: 32px;
        text-align: center;
    }

    .download-item {
        padding: 14px 0;
    }

    .download-title {
        font-size: 13px;
    }

    .download-button {
        padding: 8px 20px;
        font-size: 12px;
    }
	
	.slideshow-title {
		font-size: 24px !important;
        text-align: center !important;
        margin-bottom: 16px !important;
	}
}

