/* ========================================
   Base Styles - 共通スタイル
   ======================================== */

/* フォント設定 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/* リセットCSS */
*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Noto Sans Japanese', sans-serif;
    color: dimgrey;
}

/* 基本要素のスタイル */
a {
    text-decoration: none;
    color: dimgrey;
}

li {
    list-style: none;
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.0rem;
}

p {
    font-size: 1rem;
}

/* レスポンシブ設定 */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 6vw;
    }
    
    .information {
        width: 88vw;
        margin: 5vw 6vw;
    }
    
    .map, .open {
        width: 88vw;
        padding: 5vw;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 8vw;
    }
    
    .information {
        width: 84vw;
        margin: 4vw 8vw;
    }
    
    .map, .open {
        width: 84vw;
        padding: 4vw;
    }
    
    .social-tabs {
        width: 84vw;
        margin: 4vw 8vw;
    }
}

@media screen and (max-width: 500px) {
    h1 {
        font-size: 1.4rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    h3 {
        font-size: 1rem;
    }
    p {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 10vw;
    }
    
    .information {
        width: 80vw;
        margin: 3vw 10vw;
    }
    
    .map, .open {
        width: 80vw;
        padding: 3vw;
    }
    
    .social-tabs {
        width: 80vw;
        margin: 3vw 10vw;
    }
}

/* ========================================
   Scroll Effects - スクロールエフェクト
   ======================================== */
.effect-fade {
    opacity: 0.1;
    transform: translate(0, 50px);
    transition: all 500ms;
}

.effect-fade.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

/* ========================================
   Common Layout - 共通レイアウト
   ======================================== */
#base {
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    font-family: 'Noto Sans Japanese', sans-serif;
    color: dimgrey;
}

/* ========================================
   Layout Container - レイアウトコンテナ
   ======================================== */
.container {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 4vw;
}

/* ========================================
   Information Section - 情報セクション共通
   ======================================== */
.information {
    width: 92vw;
    margin: 6vw 4vw;
    float: left;
}

.map, .open {
    margin: 6vw 0;
    padding: 6vw;
    width: 92vw;
    height: 100%;
    float: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.map-1, .open-1 {
    margin: 2vw auto;
}

.map-3 span {
    text-decoration: underline;
}

/* ========================================
   Social Tabs - ソーシャルタブ共通
   ======================================== */
.social-tabs {
    display: block;
    margin: 6vw 0;
    padding: 0 0 6vw 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 92vw;
    height: 100%;
    float: left;
    overflow: hidden;
}

.social-tabs .tab_item {
    width: calc(100%/2) !important;
    height: 50px !important;
    border-bottom: 3px solid #1b95e0;
    background-color: #d9d9d9;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color: #565656;
    display: block !important;
    float: left !important;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
}

/* タブコンテナのクリアフィックス */
.social-tabs::after {
    content: "";
    display: table;
    clear: both;
}

.tab_item:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

.tab_content {
    display: none;
    padding: 40px 6vw;
    clear: both;
    overflow: hidden;
}

/* Twitter/ブログタブの表示制御 */
#twitter:checked ~ #twitter_content,
#blog:checked ~ #blog_content {
    display: block;
}

/*選択されているタブのスタイルを変える*/
.social-tabs input:checked + .tab_item {
    background-color: #1b95e0;
    color: #fff;
}

/* ========================================
   Blog Items - ブログアイテム共通
   ======================================== */
.blogitem {
    display: block;
    margin: 0 2vw;
    border-bottom: solid grey 1px;
}

.blogitemfeed {
    cursor: pointer;
}

.blogitemimage {
    padding: 3vw;
}

.blogitemimage img {
    width: 120px !important;
    height: 120px !important;
    object-fit: cover;
    border-radius: 8px;
}

.blogitemtitle {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 2vw;
    border-left: solid 2vw lightgrey;
}

.blogitemtext {
    padding: 3vw;
}

.blogitemdate {
    padding: 3vw;
    font-size: 0.7rem;
    text-align: right;
}

#message {
    width: 80vw;
}

/* ========================================
   Twitter Follow - Twitterフォロー共通
   ======================================== */
.tw-follow {
    margin: 3% 0;
    width: 100%;
}

#twitter-widget-0 {
    width: 100%;
    margin: 0 auto;
}

.tw-follow h3 {
    float: left;
    margin: 0 3vw 0 0;
}

.tw-follow a {
    float: left;
}

/* ========================================
   Footer - フッター共通
   ======================================== */
#footer {
    clear: both;
    text-align: center;
    line-height: 30px;
    margin: 0 4vw;
    width: 100%;
    height: 30px;
    bottom: 0;
    z-index: 500;
    float: left;
}

.copyright {
    line-height: 30px;
    margin: 0 4vw;
}