/********** Template CSS **********/
:root {
    --primary: #1B74BE;
    --light: #F8F8F8;
    --dark: #252525;
}

html {
  scroll-padding-top: 100px;
}


h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
}

/* キーメッセージの追加 */
.key-message-container {
		color:#ffffff;
		line-height: 1.5;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        text-align: left; /* テキストを左寄せ */
        z-index: 1; /* 他の要素の前面に表示 */
        padding-left: 0px; /* 画面の端から少し余白を持たせる */
    }
	
	
    .display-6 {
        font-size: 1.5rem;
        font-weight: bold;
        line-height: 2.0;
        color: #fff;
        text-align: left;
        background: rgba(27, 116, 190, 0.7); /* 背景色を半透明の黒に設定 */
        padding: 30px; /* テキストの周囲に余白を追加 */
        border-radius: 10px; /* 角を丸くする */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* ボックスシャドウを追加 */
        display: inline-block;
    }
	
    /* 文字のアニメーション */
    .animate-text {
        opacity: 0;
        animation: fadeInSlideLeft 1.5s ease-out forwards;
    }

    @keyframes fadeInSlideLeft {
        0% {
            opacity: 0;
            transform: translateX(-50px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

/* 左サイドに固定するボタンのスタイル */
.sidebar-buttons {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.sidebar-buttons .btn-primary {
    background-color: #1B74BE;
    border-color: #1B74BE;
    color: #fff;
    border-radius: 0; /* ボタンの角を丸くしない */
    width: 200px; /* サイドバー風のボタンの幅 */
    margin: 10px 0; /* ボタン間の余白 */
    transition: all 0.4s;
}

.sidebar-buttons .btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
    color: #fff;
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}

.project .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 80%;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    transition: .5s;
}

.owl-dots .owl-dot.active {
	background-color: #FFFFFF;	
}

.owl-dot.active {
	background-color: #FFFFFF;	
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

/* スマホサイズ用のレイアウト調整 */
@media (max-width: 576px) {

    .testimonial-item {
        margin-bottom: 20px;
    }
    
    .owl-dots {
        flex-direction: column;
    }
    
    .owl-dot {
        margin-bottom: 10px;
    }
}



/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.number-circle {
    width: 30px;
    height: 30px;
    background-color: #1B74BE;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0; /* 縦横比を維持 */
}

li.d-flex.align-items-start.mb-3 {
    display: flex;
    align-items: flex-start;
}

li.d-flex.align-items-start.mb-3 span:last-child {
    flex-grow: 1; /* テキストに残りのスペースを割り当て */
    margin-left: 10px; /* 必要に応じてスペースを調整 */
}


    .ml-3 {
        margin-left: 10px;
    }
    ul.list-unstyled {
        text-align: left; /* 文字を左寄せにする */
        padding: 40px 10px;
    }
	

    li.mb-3 {
        margin-bottom: 20px; /* リスト項目の間に余白を追加 */
    }
	
    .step-box {
        width: 200px;
        height: 50px;
        background-color: #808080;
        color: white;
        border-radius: 5px; /* 角丸の横長四角 */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        margin: 0 50px; /* 各ステップ間のスペース */
        padding: 10px; /* テキストとボックスの間に余白を追加 */
        text-align: center; /* テキストを中央揃え */
		border: none;
    	cursor: pointer;

    }

/* アクティブな角丸長四角のスタイル */
.owl-dot.active .step-box {
    background-color: #1B74BE; /* アクティブなボタンの背景色を緑に変更 */
}


.youkou {
	padding: 80px 40px;
	background-color: #f8fbff;
}

.youkou h2 {
    position: relative;
    margin-bottom: 0.2rem;
    padding: 1rem 0;
    border-bottom: 5px solid;
    color: #333;
    font-size: 26px;
    font-weight: bold;
    width: 60%; /* h2要素の幅を画面の40%に設定 */
    margin-left: auto; /* 水平方向に中央揃え */
    margin-right: auto; /* 水平方向に中央揃え */
}

.youkou h2:before {
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 100%; /* 線をh2要素の幅に合わせる */
    border-bottom: 1px solid;
    content: '';
}

/* テーブル全体のスタイル */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

/* テーブルヘッダーのスタイル */
.table thead th {
    background-color: #343a40;
    color: #ffffff;
    font-weight: bold;
    border-bottom: 2px solid #dee2e6;
    text-transform: uppercase;
    padding: 15px;
}

/* テーブルセルのスタイル */
.table td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

/* 背景色の変更 */
.bg-light {
    background-color: #e9ecef;
}

/* 交互に背景色を変える */
.table tbody tr:nth-child(odd) td {
    background-color: #f1f3f5;
}

/* 強調表示 */
.text-primary {
    color: #1B74BE;
    font-weight: bold;
}

/* セル内のテキスト調整 */
.table td {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* セルのホバー効果 */
.table-hover tbody tr:hover {
    background-color: #dfe4ea;
}

/* カード風の角丸効果 */
.table {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* テーブルの枠線 */
.table-bordered td, .table-bordered th {
    border: 1px solid #dee2e6 !important;
}

/* テキスト中央揃え */
.text-center {
    text-align: center;
}

/* レスポンシブ対応 */
.table-responsive {
    overflow-x: auto;
}

.container-custom {
    padding-left: 20px;
    padding-right: 20px;
}

.square {
    width: 100%;
    padding-top: 65%; /* アスペクト比を1:1にするため */
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
	box-shadow: 8px 8px 0 #1B74BE;

}

.square img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%; /* 少し大きめにしてトリミング効果を強調 */
    height: 100%;
    object-fit: cover; /* 画像を正方形に収める */
    transform: translate(-50%, -50%);
	filter: saturate(100%) hue-rotate(10deg) brightness(110%) contrast(110%);
}

.img-fluid {
    width: 100%;
    height: auto; /* 画像のアスペクト比を維持 */
}


/* デフォルトレイアウト - 小さい画面向け */
@media (max-width: 767.98px) {
    .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 15px; /* 少し余白を追加 */
    }
}

/* タブレットサイズ向け */
@media (min-width: 768px) and (max-width: 991.98px) {
    .col-md-3 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        margin-bottom: 15px; /* 少し余白を追加 */
    }
}

/* 中程度以上の画面向け */
@media (min-width: 992px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* カード全体をフレックスボックスとして設定 */
.row.g-5 {
    display: flex;
    flex-wrap: wrap;
}

/* カードごとの高さを揃える */
/* カード全体をフレックスボックスとして設定 */
.row.g-5 {
    display: flex;
    flex-wrap: wrap;
}

/* カードごとの高さを揃える */
.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: #f8f9fa; /* 背景色を再設定 */
    border: 1px solid #e0e0e0; /* 必要に応じてボーダーを追加 */
    padding: 20px; /* 内側の余白を再設定 */
}

/* カードの高さを最大化 */
.col-12.col-md-6 {
    display: flex;
    align-items: stretch;
}

.contact-card .row.g-4 {
    flex-grow: 1;
}


.small-text {
        font-size: 1.5rem; /* 小さい文字サイズを設定 */
    }
	
	
	/* スピナーの表示 */
#spinner {
    z-index: 9999; /* 最前面に表示 */
    animation: fadeOut 1s ease-out 2s forwards; /* フェードアウトアニメーションを2秒後に開始 */
}

/* スピナーの色やサイズの調整 */
.spinner-border {
    border-width: 0.25rem;
    border-color: #3498db transparent #3498db transparent; /* 青色のスピナー */
    animation: spinner-rotate 1s linear infinite;
}

/* スピナーの回転アニメーション */
@keyframes spinner-rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* フェードアウトアニメーション */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}
.slider {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%; /* 5つのスライドが横に並ぶ */
    height: 100%;
    animation: slideAnimation 25s infinite;
}

.slide {
    flex: 0 0 100%; /* 各スライドが画面全体を占める */
    background-size: cover;
    background-position: center;
}

@keyframes slideAnimation {
    0% {
        transform: translateX(0%);
    }
    15% {
        transform: translateX(0%);
    }
    20% {
        transform: translateX(-100%);
    }
    35% {
        transform: translateX(-100%);
    }
    40% {
        transform: translateX(-200%);
    }
    55% {
        transform: translateX(-200%);
    }
    60% {
        transform: translateX(-300%);
    }
    75% {
        transform: translateX(-300%);
    }
    80% {
        transform: translateX(-400%);
    }
    95% {
        transform: translateX(-400%);
    }

}


.key-message-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    z-index: 10;
    width: 80%;
    color: #ffffff;
}

.yohaku{
    padding-top: 100px;
    margin-top: 100px;
}

.arrow::before {
    content: "↓";
    display: block;
    text-align: center;
    font-size: 1.2em;
    color: #1B74BE; /* 矢印の色を設定 */
    margin-bottom: 5px; /* 矢印とテキストの間にスペースを追加 */
}

/* リストの罫線をなくす */
.list-group-item {
    border: none; /* 罫線を削除 */
}

#shutsugan {
    background-image: url(img/haikei.jpg) !important;/* ここに背景にしたい写真のURLを指定してください */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.professor-list li {
    margin-bottom: 1rem;
}

.professor-list span {
    font-size: 0.9em;
    color: #6c757d; /* Bootstrap's text-muted color */
}

.teikei {
	padding-top: 50px;
}

.full-width-banner {
    background-color: #1B74BE;
    height: 150px;
    color: white;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

   .form-group {
        margin-bottom: 1.5rem; /* 設問の余白を広くする */
    }

    .custom-input {
        border-radius: 8px; /* 角丸 */
        background-color: #f8f9fa; /* グレー背景 */
        border: 1px solid #ced4da; /* ボーダー */
    }

    .custom-input:focus {
        border-color: #80bdff; /* フォーカス時のボーダーカラー */
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); /* フォーカス時の影 */
    }
	
.custom-border {
    width: 50.33%; /* 画面の1/3の幅 */
    border-bottom: 2px solid #1B74BE; /* 2pxのボーダー、色は#1B74BE */
    margin: 0 auto; /* ボーダーを中央に配置 */
    padding: 50px 0px 50px 0px;
    margin-bottom: 50px;
}

.paad{
    padding: 50px;
    align-items: center;
    justify-content: center;
}

#messageBox {
    display: none; /* 初期状態では非表示 */
    position: fixed; /* 固定位置で画面に表示 */
    top: 20px; /* 画面上部に表示 */
    left: 50%;
    transform: translateX(-50%); /* 中央揃え */
    background-color: #f44336; /* アラート風の赤色 */
    color: white; /* 文字色を白に */
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    z-index: 1000; /* 他の要素の上に表示 */
}

.left-box,
.right-box {
  flex: 1 1 calc(50% - 1rem);
  background-color: white;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* アスペクト比 16:9 */
    overflow: hidden;
  }
  
  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 動画がコンテナに収まるように調整 */
  }

  .videopad{
    padding: 0px 30px 0px 30px;
  }

  .sabtitle{
    padding-top: 100px;
    text-align: center;
  }

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}


/* ラベルのスタイル */
.info-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #6c757d; /* text-secondaryの色 */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-color: #dee2e6 !important; /* 下線の色を確実に */
}

.info-label .bi {
    font-size: 1rem;
    position: relative;
    top: -1px;
}

.points h4 {
    font-weight: bold;
}

.points ul li {
   line-height: 1.6;
   margin-bottom: 0.75rem !important;
}
.points ul li:last-child {
   margin-bottom: 0 !important;
}
.points ul li .bi {
   flex-shrink: 0;
}

.info-label {
    font-size: 0.9rem; /* ラベルのフォントサイズ */
    /* text-transform: uppercase; */ /* 大文字にする場合 */
    letter-spacing: 0.5px; /* 文字間隔 */
}

.info-label .bi {
    font-size: 1rem; /* ラベル内アイコンのサイズ */
    vertical-align: middle; /* アイコンとテキストの垂直位置を中央揃え */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .main-info h3 {
        font-size: 1.6rem; /* スマホ表示で少し調整 */
    }
    .date-time .fs-5 {
        font-size: 1.1rem !important; /* スマホ表示で少し調整 */
    }
    .lecturer-name.fs-5 {
        font-size: 1.15rem !important; /* スマホ表示で少し調整 */
    }
}


.date-time {
    font-size: 1.2em;
    font-weight: bold;
    color: #d9534f; /* 赤系 */
    margin-bottom: 20px;
}

.organizer, .lecturer {
    margin-bottom: 15px;
}

.organizer p, .lecturer p {
    margin: 5px 0;
}


.points {
    flex: 1;
    min-width: 280px;
    background-color: #e7f3ff; /* 薄い青 */
    padding: 20px;
    border-radius: 5px;
    border-left: 5px solid #0056b3;
}

.points h4 {
    margin-top: 0;
    font-size: 1.2em;
    color: #0056b3;
}

.points ul {
    padding-left: 20px;
    margin: 0;
}

.points li {
    margin-bottom: 10px;
}

.webinergaiyou{
    padding: 30px 30px 10px 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    h1 { font-size: 1.6em; }
    h2 { font-size: 1.3em; }
    .event-details {
        flex-direction: column; /* Stack elements vertically */
    }
    .accordion-toggle { font-size: 1em; }
    th, td { padding: 8px; }
}

@media (max-width: 480px) {
    body { padding: 10px; }
    .container { padding: 10px 15px; }
    h1 { font-size: 1.4em; }
    h2 { font-size: 1.1em; }
    .date-time { font-size: 1.1em; }
    .points ul { padding-left: 15px; }
    th, td { font-size: 0.9em; }
}

.webinergaiyou h1,
.webinergaiyou h2 {
  text-align: left; /* テキストを中央揃え */
  margin-left: auto;  /* 中央揃えのためのマージン */
  margin-right: auto; /* 中央揃えのためのマージン */
}

/* メインタイトル (h1) のスタイル */
.webinergaiyou h1 {
  font-size: clamp(1.5rem, 3vw, 2.0rem); /* 画面幅に応じてサイズ変更 (最小, 推奨, 最大) */
  font-weight: 700;                     /* 太字 (Bold) */
  color: #2c3e50;                       /* 濃いめのブルーグレー（例） */
  margin-bottom: 2.5rem;                /* サブタイトルとの間隔（狭め） */
  padding-bottom: 0.5rem;               /* 下線との間隔 */
  border-bottom: 2px solid #3498db;     /* 下にアクセントカラーの線（例: 青） */
  display: inline-block;                /* 下線の幅をテキスト幅に合わせる */
  letter-spacing: 1px;                  /* 文字間隔を少し広げる */

}

/* サブタイトル (h2) のスタイル */
.webinergaiyou h2 {
  margin-top: 2rem;                     /* 上部の余白 */
  font-size: clamp(1.1rem, 3vw, 1.6rem); /* h1より小さく、画面幅で調整 */
  font-weight: 400;                     /* 通常の太さ */
  color: #2e2e2e;                       /* 少し落ち着いたグレー（例） */
  line-height: 1.5;                     /* 行間を少し広げる */
}

.lecturer-photo {
    /* display: inline-block; */ /* Flexアイテムになるので不要 */
    width: 100px;         /* 横並びにするので少し小さめに調整（例） */
    height: 100px;        /* 幅と同じ */
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff; /* 枠線の太さ調整 */
    background-color: #f8f9fa;
  }
  
  /* --- Lecturer Info Layout (Flexbox Container) --- */
  .lecturer-info {
    /* d-flex, align-items-center, mt-3 はHTML側で指定済み */
    /* 必要であれば gap プロパティで間隔を指定しても良い */
    /* gap: 1rem; */ /* ms-3 の代わりに使用する場合 */
  }
  
  /* 講師の名前と役職のテキスト */
  .lecturer-name {
    /* 必要に応じてスタイル調整 */
  }
  .lecturer-title {
    /* 必要に応じてスタイル調整 */
  }
  
  .footercss{
	  font-size: 80%;
  }

  .alert-custom-info {
    /* メインカラー(#1B74BE)を非常に薄くした色を背景に */
    background-color: #e8f1f8; 
    
    /* メインカラーを少し暗くした色をテキストに */
    color: #0e3a5f;
  
    /* 枠線もメインカラーを薄くした色に */
    border-color: #d1e3f3;
  }
  
  /* アラート内のアイコンの色をメインカラーに指定 */
  .alert-custom-info .bi-translate {
    color: #1B74BE;
  }