﻿

/*** for PC Browser ***/
@media (min-width:401px)
{
/* =========================================
   1. 共通スタイル (PC / Smart Phone 共通)
   ========================================= */

/* ペイン基本設定 */
#BaseTable {
    min-width: auto;
}

#Middle {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: none;
    padding: 0px;
}

#ContentPane {
    margin: 0px;
    padding: 0px;
    height: auto;
}

#RightPane {
    display: none;
}

#Header {
    background: none !important;
    min-height: auto !important;
    z-index: 1000;
}

/* モジュール基本設定 */
.ModuleSet_Standard_1008 {
    position: relative;
    overflow: hidden;
    background-color: #000;
    width: 100%;
    height: 100dvh;
    min-height: 500px;
}

.ModuleSet_Standard_1008 .ModuleReference_root {
    position: relative;
    z-index: 2;
    width: 100%;
}

.ModuleSet_Standard_1033 {
    width: 100%;
}

/* キャッチコピー / テキスト基本設定 */
.main_words {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 25dvh;
    width: clamp(220px, 40vw, 300px);
    height: auto;
    margin: 0;
    padding: 0;
}

.main_words img {
    width: 100%;
    height: auto;
    display: block;
}

/* ピックアップキーワード基本設定 */
.pickup_keywords {
    position: absolute;
}

.pickup_keywords ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.pickup_keywords ul li {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    margin: 0px 15px 15px 0px;
}

.pickup_keywords ul li a {
    color: #fff;
    padding: 7px 15px;
    display: block;
}

/* インフォメーション基本設定 */
#ContentPane .PickUp_Switching .ModuleReference {
    width: 100%;
}

.PickUp_Switching h2 {
    display: none;
}

.PickUp_Switching .list_type {
    list-style: none;
    margin: 0px;
    padding: 25px 50px;
}

.PickUp_Switching .list_type li {
    padding: 20px 10px 20px;
    border-top: 1px solid #ccc;
    margin: 0px 0px 5px 0px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.PickUp_Switching .list_type li:last-child {
    border-bottom: 1px solid #ccc;
}

.PickUp_Switching .list_type .CreatedDate {
    color: var(--color-primary);
    font-weight: bold;
}

.PickUp_Switching .list_type .R_Contents {
    flex: 1;
    background: url(../../../Images/list_icon_001.png) no-repeat left center;
    padding: 0px 0px 0px 15px;
    margin: 0px;
}

.Credit {
    text-align: right;
    margin: 0px auto;
    padding: 20px 0px;
}

/* アイコンカテゴリ */
.PickUp_Switching .Groupicon {
    color: #fff;
    padding: 3px 10px;
    border-radius: 5px;
    text-align: center;
}

.PickUp_Switching .icon-t1 { background: var(--color-primary); }
.PickUp_Switching .icon-t2 { background: var(--color-rs); }
.PickUp_Switching .icon-t3 { background: var(--color-eng); }
.PickUp_Switching .icon-t4 { background: var(--color-secondary); }

/* スライド背景アニメーション共通定義 */
.ModuleSet_Standard_1008::before,
.ModuleSet_Standard_1008::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-size: cover;
    background-position: center;
    will-change: opacity;
}

.ModuleSet_Standard_1008::before {
    opacity: 1;
    animation: fadeBg1 30s ease-in-out 3 forwards;
}

.ModuleSet_Standard_1008::after {
    opacity: 0;
    animation: fadeBg2 30s ease-in-out 3 forwards;
}

@keyframes fadeBg1 {
    0%, 35.71% { opacity: 1; }
    50% { opacity: 0; }
    85.71% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeBg2 {
    0%, 35.71% { opacity: 0; }
    50% { opacity: 1; }
    85.71% { opacity: 1; }
    100% { opacity: 0; }
}

/* ペイン */
#HeaderPane,
#Middle,
#ContentPane,
#FooterPane {
    width: 100%;
}

/* モジュール調整 */
#BaseTable .ModuleSet_Standard_1008 .ModuleReference_root {
    width: 100%;
}

#BaseTable .ModuleSet_Standard_1033 .ModuleReference_root {
    width: 1100px;
    margin: 60px auto;
    padding: 0px;
}

.ModuleSet_Standard_1033 .SetContentPane {
    width: 1100px;
}

/* トップ用AI調整 */
.AI_search {
    top: calc((100dvh / 2) - 65px);
}

.__ModuleBody .AI_search {
    position: relative;
    top: auto;
    left: auto;
}

/* キャッチ */
.main_words {
}

.pickup_keywords {
    top: calc((100dvh / 2) + 35px);
    left: calc((100dvw / 4) + 15px);
}

/* インフォ */
#ContentPane .PickUp_Switching .ModuleReference {
    margin: 40px auto;
}

#Footer .footer_block {
    padding: 30px 0px 0px;
}

#Footer .footer_block li.add_top {
    display: block;
}

.Credit {
    width: 1100px;
}

/* スライド画像設定 (PC) */
.ModuleSet_Standard_1008::before {
    background-image: image-set(
        url('../../../Images/sakyu_base.webp') type('image/webp'),
        url('../../../Images/sakyu_base.jpg') type('image/jpeg')
    );
}

.ModuleSet_Standard_1008::after {
    background-image: image-set(
        url('../../../Images/TottoriUniversity.webp') type('image/webp'),
        url('../../../Images/TottoriUniversity.jpg') type('image/jpeg')
    );
}



}
@media (min-height: 601px) and (max-height: 735px) {
.main_words {
    width: 200px;
}
}

@media (min-height: 501px) and (max-height: 601px) {
.main_words {
    width: 180px;
    top: 20dvh;
}
}

@media (max-height: 500px) {
.main_words {
    top: 50px;
    width: 180px;
}
}
@media (max-width: 1140px) {
#BaseTable .ModuleSet_Standard_1033 .ModuleReference_root {
    width: 100%;
    margin: 60px auto;
    padding: 0px;
}
.ModuleSet_Standard_1033 .SetContentPane {
    width: 100%;
}
.Credit {
    width: 100%;
}
}

/*** for Smart Phone ***/
@media (max-width:400px)
{
/* =========================================
   1. 共通スタイル (PC / Smart Phone 共通)
   ========================================= */

/* ペイン基本設定 */
#Middle {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: none;
}

#ContentPane {
    margin: 0px;
    padding: 0px;
    height: auto;
}

#RightPane {
    display: none;
}

#Header {
    background: none !important;
    min-height: auto !important;
    z-index: 1000;
}

/* モジュール基本設定 */
.ModuleSet_Standard_1008 {
    position: relative;
    overflow: hidden;
    background-color: #000;
    width: 100%;
    height: 100dvh;
}

.ModuleSet_Standard_1008 .ModuleReference_root {
    position: relative;
    z-index: 2;
    width: 100%;
}

.ModuleSet_Standard_1033 {
    width: 100%;
}

/* キャッチコピー / テキスト基本設定 */
.main_words {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 25dvh;
    width: clamp(200px, 40vw, 300px);
    height: auto;
    margin: 0;
    padding: 0;
}

.main_words img {
    width: 100%;
    height: auto;
    display: block;
}

/* ピックアップキーワード基本設定 */
.pickup_keywords {
    position: absolute;
}

.pickup_keywords ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0px;
    padding: 0px;
    gap: 15px;
}

.pickup_keywords ul li {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    margin: 0px;
}

.pickup_keywords ul li a {
    color: #fff;
    padding: 7px 15px;
    display: block;
}

/* インフォメーション基本設定 */
#ContentPane .PickUp_Switching .ModuleReference {
    width: auto;
}

.PickUp_Switching h2 {
    display: none;
}

.PickUp_Switching .inside_b .list_type {
    list-style: none none outside;
    margin: 10px auto;
    padding: 10px 0px;
}

.PickUp_Switching .list_type li {
    padding: 10px;
    border-top: 1px solid #ccc;
    margin: 0px 0px 5px 0px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.PickUp_Switching .list_type li:last-child {
    border-bottom: 1px solid #ccc;
}

.PickUp_Switching .list_type .CreatedDate {
    width: 100%;
    color: var(--color-primary);
    font-weight: bold;
}

.PickUp_Switching .list_type .R_Contents {
    width: 100%;
    background: url(../../../Images/list_icon_001.png) no-repeat left center;
    padding: 0px 0px 0px 15px;
    margin: 0px;
}

#Footer .footer_block {
    padding: 30px 0px 0px;
}

.Credit {
    text-align: center;
    margin: 0px auto;
    padding: 20px 0px;
}

/* アイコンカテゴリ */
.PickUp_Switching .Groupicon {
    color: #fff;
    padding: 3px 10px;
    border-radius: 5px;
    text-align: center;
}

.PickUp_Switching .icon-t1 { background: var(--color-primary); }
.PickUp_Switching .icon-t2 { background: var(--color-rs); }
.PickUp_Switching .icon-t3 { background: var(--color-eng); }
.PickUp_Switching .icon-t4 { background: var(--color-secondary); }

/* スライド背景アニメーション共通定義 */
.ModuleSet_Standard_1008::before,
.ModuleSet_Standard_1008::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-size: cover;
    background-position: center;
    will-change: opacity;
}

.ModuleSet_Standard_1008::before {
    opacity: 1;
    animation: fadeBg1 30s ease-in-out 3 forwards;
}

.ModuleSet_Standard_1008::after {
    opacity: 0;
    animation: fadeBg2 30s ease-in-out 3 forwards;
}

@keyframes fadeBg1 {
    0%, 35.71% { opacity: 1; }
    50% { opacity: 0; }
    85.71% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeBg2 {
    0%, 35.71% { opacity: 0; }
    50% { opacity: 1; }
    85.71% { opacity: 1; }
    100% { opacity: 0; }
}

/* ペイン (320px固定から100%に変更し、ハミ出しを防止) */
#HeaderPane,
#Middle,
#ContentPane,
#FooterPane {
    width: 100%;
}

/* モジュール調整 */
#BaseTable .ModuleSet_Standard_1008 .ModuleReference_root {
    width: 100%;
}

.ModuleSet_Standard_1033 {
    width: 100%;
    content-visibility: auto;
    contain-intrinsic-size: auto 100dvh;
}

#BaseTable .ModuleSet_Standard_1033 .ModuleReference_root {
    width: 100%;
    margin: 40px auto;
    padding: 0px;
}

.ModuleSet_Standard_1033 .SetContentPane {
    width: 100%;
}

/* トップ用AI調整 */
.AI_search {
    position: absolute !important;
    top: calc((100dvh / 2) - 50px);
    left: 10px;
    width: calc(100% - 20px);
    z-index: 30050;
}

.ai-input {
    width: calc(100% - 24px);
    padding: 0px 12px;
    display: flex;
    align-items: center;
    min-height: 55px;
}

.ai-input span {
    color: #fff;
    padding: 5px 25px 5px 30px;
    font-size: medium;
    background-image: url(../../../Images/search_q.png), url(../../../Images/search_btn.png);
    background-repeat: no-repeat;
    background-position: left center, right center;
    background-size: 20px;
}

/* キャッチ */
.main_words {
}

/* キーワード */
.pickup_keywords {
    top: calc((100dvh / 2) + 40px);
    left: 10px;
    width: calc(100% - 20px);
    max-width: 300px;
}

.pickup_keywords ul li a {
    font-size: small;
}

.Credit {
    width: 100%;
    max-width: 300px;
}

/* スライド画像設定 (SP) */
.ModuleSet_Standard_1008::before {
    background-image: image-set(
        url('../../../Images/sakyu_base_w400.webp') type('image/webp'),
        url('../../../Images/sakyu_base_w400.jpg') type('image/jpeg')
    );
}

.ModuleSet_Standard_1008::after {
    background-image: image-set(
        url('../../../Images/TottoriUniversity_w400.webp') type('image/webp'),
        url('../../../Images/TottoriUniversity_w400.jpg') type('image/jpeg')
    );
}

#Footer .footer_block li.add_top {
    display: block;
}
}
