﻿

/*** for PC Browser ***/
@media (min-width:401px)
{
/* ブロック */
#BaseTable {
    background: #fff;
    min-width: auto;
}

#Middle {
    background: #fff;
    max-width: 1400px;
    min-width: auto;
    padding: 0px;
}

#ContentPane {
    width: 100%;
    margin: 0px auto;
    padding: 60px 0px;
}

#RightPane {
    display: none;
}

#ContentPane .ModuleReference {
    width: calc( 100% - 80px );
    margin: 0px 40px 60px;
}

#ContentPane .ModuleReference :is(.ModuleReference) {
    width: 100%;
    margin: 0px;
}


/* 個別 */
.oc_hero {
    width: 800px;
    margin: 0px auto 40px;
}

.oc_btn_style {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-around;
    gap: 20px;
    margin: 0px auto 40px;
}

.oc_btn_style > div {
    width: calc((100% - 40px)/3);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.oc_btn_style .oc_btn {
    background-color: rgba(0, 72, 155, 0.08);
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary);
    text-decoration: none !important;
    border-radius: 25px;
    padding: 10px 20px 12px !important;
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    transition: all 0.5s ease;
    text-indent: 0;
    text-align: center;
    justify-content: center;
    width: calc(100% - 44px);
    background-position: 1rem 10px !important;
}

.oc_btn_style .oc_btn:hover {
  background-color: var(--color-primary);
  color: #ffffff !important;
}

.oc_btn_style .oc_btn2 {
    background-color: rgba(0, 98, 83, 0.08);
    color: var(--color-secondary) !important;
    border: 2px solid var(--color-secondary);
}

.oc_btn_style .oc_btn2:hover {
  background-color: var(--color-secondary);
  color: #ffffff !important;
}


/* 開催一覧 */
.oc_list {
    background: rgba(0, 72, 155, 0.1);
    margin: 0px auto 40px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.oc_list a {
    width: calc((100% - 60px)/4);
    text-decoration: none;
}

.oc_list .oc_card {
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.5s ease;
}

.oc_list .oc_card:hover {
    background-color: rgba(0,0,0,0.05);
}

.oc_list h2 {
    background: none;
    margin: 0px !important;
    padding: 15px 0px !important;
    font-size: 120%;
    text-align: center;
}

.oc_list .oc_date {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150%;
    gap: 5px;
}

.oc_list .oc_date .month {
    color: var(--color-secondary);
}

.oc_list .oc_date .day {
    color: rgb(197 66 0);
}

.oc_list .oc_date .week {
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 60%;
    font-weight: bold;
    min-width: 35px;
    min-height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.oc_list .oc_date .ocd3 {
    background-color: var(--color-Error);
}

.oc_list .Venue {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.oc_list .Venue span {
    background-color: var(--color-primary);
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    margin: 10px auto;
}

.oc_list .Venue .ocv4 {
    background-color: var(--color-secondary);
}


/* ブロック調整 */
.ModuleSet_Standard_1975 .ModuleReference,
.ModuleSet_Standard_1977 .ModuleReference,
.ModuleSet_Standard_1979 .ModuleReference,
.ModuleSet_Standard_1982 .ModuleReference {
    margin: 0px 40px 20px !important;
}


/* rs */
.ModuleSet_Standard_1975 .faculty_card,
.ModuleSet_OC_1976 .faculty_event h2 {
    background-color: var(--color-rs);
}

.ModuleSet_Standard_1975 .faculty_card .oc_text .date1 .week {
    color: var(--color-rs);
}

.ModuleSet_Standard_1975 .faculty_card .e_pamphlet {
    border-color: var(--color-rs);
    color: var(--color-rs);
}

.ModuleSet_Standard_1975 .faculty_card .e_pamphlet:hover {
    background-color: var(--color-rs);
    color: #fff;
}


/* eng */
.ModuleSet_Standard_1977 .faculty_card,
.ModuleSet_OC_1978 .faculty_event h2 {
    background-color: var(--color-eng);
}

.ModuleSet_Standard_1977 .faculty_card .oc_text .date1 .week {
    color: var(--color-eng);
}

.ModuleSet_Standard_1977 .faculty_card .e_pamphlet {
    border-color: var(--color-eng);
    color: var(--color-eng);
}

.ModuleSet_Standard_1977 .faculty_card .e_pamphlet:hover {
    background-color: var(--color-eng);
    color: #fff;
}


/* muses */
.ModuleSet_Standard_1979 .faculty_card,
.ModuleSet_OC_1981 .faculty_event h2 {
    background-color: var(--color-muses);
}

.ModuleSet_Standard_1979 .faculty_card .oc_text .date1 .week {
    color: var(--color-muses);
}

.ModuleSet_Standard_1979 .faculty_card .e_pamphlet {
    border-color: var(--color-muses );
    color: var(--color-muses);
}

.ModuleSet_Standard_1979 .faculty_card .e_pamphlet:hover {
    background-color: var(--color-muses);
    color: #fff;
}


/* フッタ */
.oc_footer {
}

.oc_footer .oc_footer_btn {
}

.oc_footer .oc_footer_btn ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 40px auto !important;
    padding: 0px;
    gap: 20px;
}

.oc_footer .oc_footer_btn li {
    /* flex: 1; */
    margin: 0px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc_footer .oc_footer_btn a {
    border: 2px solid var(--color-primary);
    border-radius: 25px;
    padding: 10px 20px;
    text-decoration: none !important;
    font-weight: bold;
    color: var(--color-primary);
    background-color: rgba(0,72,155,0.1);
    transition: all 0.5s ease;
}

.oc_footer .oc_footer_btn a:hover {
    color: #fff;
    background-color: var(--color-primary);
}


/*問合せ*/
.Contact_Information {
    background: rgba(0,72,155,0.05);
    margin: 0px auto 40px;
    padding: 20px;
    border-radius: 10px;
}

.Contact_Information h2 {
    background: none;
    margin: 0px auto 20px !important;
    padding: 0px;
    font-size: 120%;
}

.Contact_Information .Information_adress {
    display: flex;
    gap: 20px;
    align-items: stretch;
    justify-content: flex-start;
    margin: 0px auto 20px;
}

.Contact_Information .Information_adress > div {
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    padding: 20px;
}

.Contact_Information .Information_mail {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.Contact_Information .Information_mail a {
    background: #fff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    margin: 0px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.Contact_Information .Information_mail a:hover {
    background: var(--color-primary);
    border-color: #fff;
    color: #fff;
}

div:has(> .line_link) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.line_link {
    background: url(../../../Images/list_icon_l.webp) no-repeat left center;
    padding: 5px 5px 5px 35px;
}



}
@media (orientation: portrait) and (max-width: 840px) {
.oc_hero {
    width: 100%;
}
.oc_btn_style > div {
    width: 100%;
}
.oc_list a {
    width: calc((100% - 40px)/2);
    text-decoration: none;
}
.ModuleSet_OC .ModuleReference_root {
    display: flex;
    flex-wrap: wrap;
}
.ModuleSet_OC .SetContentPane {
    width: 100%;
    column-count: 1;
}
}

/*** for Smart Phone ***/
@media (max-width:400px)
{
/* ブロック */
#BaseTable {
    background: #fff;
}

#Middle {
    background: #fff;
    width: 100%;
}

#ContentPane {
    width: 100%;
    margin: 0px auto;
    padding: 40px 10px;
}

#RightPane {
    display: none;
}

#ContentPane .ModuleReference {
    width: 100%;
    margin: 0px auto 60px;
}

#ContentPane .ModuleReference :is(.ModuleReference) {
    width: 100%;
    margin: 0px;
}


/* 個別 */
.oc_hero {
    width: 80%;
    margin: 0px auto 40px;
}

.oc_btn_style {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-around;
    gap: 20px;
    margin: 0px auto 40px;
}

.oc_btn_style > div {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.oc_btn_style .oc_btn {
    background-color: rgba(0, 72, 155, 0.08);
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary);
    text-decoration: none !important;
    border-radius: 25px;
    padding: 10px 20px 12px !important;
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    transition: all 0.5s ease;
    text-indent: 0;
    text-align: center;
    justify-content: center;
    width: calc(100% - 44px);
    background-position: 1rem 10px !important;
}

.oc_btn_style .oc_btn:hover {
  background-color: var(--color-primary);
  color: #ffffff !important;
}

.oc_btn_style .oc_btn2 {
    background-color: rgba(0, 98, 83, 0.08);
    color: var(--color-secondary) !important;
    border: 2px solid var(--color-secondary);
}

.oc_btn_style .oc_btn2:hover {
  background-color: var(--color-secondary);
  color: #ffffff !important;
}


/* 開催一覧 */
.oc_list {
    background: rgba(0, 72, 155, 0.1);
    margin: 0px auto 40px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.oc_list a {
    width: 100%;
    text-decoration: none;
}

.oc_list .oc_card {
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.5s ease;
}

.oc_list .oc_card:hover {
    background-color: rgba(0,0,0,0.05);
}

.oc_list h2 {
    background: none;
    margin: 0px !important;
    padding: 15px 0px !important;
    font-size: 120%;
    text-align: center;
}

.oc_list .oc_date {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150%;
    gap: 5px;
}

.oc_list .oc_date .month {
    color: var(--color-secondary);
}

.oc_list .oc_date .day {
    color: rgb(197 66 0);
}

.oc_list .oc_date .week {
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 60%;
    font-weight: bold;
    min-width: 35px;
    min-height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.oc_list .oc_date .ocd3 {
    background-color: var(--color-Error);
}

.oc_list .Venue {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.oc_list .Venue span {
    background-color: var(--color-primary);
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    margin: 10px auto;
}

.oc_list .Venue .ocv4 {
    background-color: var(--color-secondary);
}


/* ブロック調整 */
.ModuleSet_Standard_1975 .ModuleReference,
.ModuleSet_Standard_1977 .ModuleReference,
.ModuleSet_Standard_1979 .ModuleReference,
.ModuleSet_Standard_1982 .ModuleReference {
    margin: 0px 0px 20px !important;
}


/* rs */
.ModuleSet_Standard_1975 .faculty_card,
.ModuleSet_OC_1976 .faculty_event h2 {
    background-color: var(--color-rs);
}

.ModuleSet_Standard_1975 .faculty_card .oc_text .date1 .week {
    color: var(--color-rs);
}

.ModuleSet_Standard_1975 .faculty_card .e_pamphlet {
    border-color: var(--color-rs);
    color: var(--color-rs);
}

.ModuleSet_Standard_1975 .faculty_card .e_pamphlet:hover {
    background-color: var(--color-rs);
    color: #fff;
}


/* eng */
.ModuleSet_Standard_1977 .faculty_card,
.ModuleSet_OC_1978 .faculty_event h2 {
    background-color: var(--color-eng);
}

.ModuleSet_Standard_1977 .faculty_card .oc_text .date1 .week {
    color: var(--color-eng);
}

.ModuleSet_Standard_1977 .faculty_card .e_pamphlet {
    border-color: var(--color-eng);
    color: var(--color-eng);
}

.ModuleSet_Standard_1977 .faculty_card .e_pamphlet:hover {
    background-color: var(--color-eng);
    color: #fff;
}


/* muses */
.ModuleSet_Standard_1979 .faculty_card,
.ModuleSet_OC_1981 .faculty_event h2 {
    background-color: var(--color-muses);
}

.ModuleSet_Standard_1979 .faculty_card .oc_text .date1 .week {
    color: var(--color-muses);
}

.ModuleSet_Standard_1979 .faculty_card .e_pamphlet {
    border-color: var(--color-muses );
    color: var(--color-muses);
}

.ModuleSet_Standard_1979 .faculty_card .e_pamphlet:hover {
    background-color: var(--color-muses);
    color: #fff;
}


/* フッタ */
.oc_footer {
}

.oc_footer .oc_footer_btn {
}

.oc_footer .oc_footer_btn ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    margin: 40px auto !important;
    padding: 0px;
    gap: 20px;
}

.oc_footer .oc_footer_btn li {
    width: 100%;
    margin: 0px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc_footer .oc_footer_btn a {
    border: 2px solid var(--color-primary);
    border-radius: 25px;
    padding: 10px 20px;
    text-decoration: none !important;
    font-weight: bold;
    color: var(--color-primary);
    background-color: rgba(0,72,155,0.1);
    transition: all 0.5s ease;
}

.oc_footer .oc_footer_btn a:hover {
    color: #fff;
    background-color: var(--color-primary);
}


/*問合せ*/
.Contact_Information {
    background: rgba(0,72,155,0.05);
    margin: 0px auto 40px;
    padding: 20px;
    border-radius: 10px;
}

.Contact_Information h2 {
    background: none;
    margin: 0px auto 20px !important;
    padding: 0px;
    font-size: 120%;
}

.Contact_Information .Information_adress {
    display: flex;
    gap: 20px;
    align-items: stretch;
    justify-content: flex-start;
    margin: 0px auto 20px;
    flex-wrap: wrap;
}

.Contact_Information .Information_adress > div {
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    padding: 15px;
}

.Contact_Information .Information_mail {
    display: flex;
    align-items: center;
    justify-content: center;
}

.Contact_Information .Information_mail a {
    background: #fff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    margin: 0px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    font-size: 90%;
}

.Contact_Information .Information_mail a:hover {
    background: var(--color-primary);
    border-color: #fff;
    color: #fff;
}

div:has(> .line_link) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.line_link {
    background: url(../../../Images/list_icon_l.webp) no-repeat left center;
    padding: 5px 5px 5px 35px;
}
}
