@charset "utf-8";

body {
    /*	color: #444;*/
    font-size: 100%;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    height: 100%;
    line-height: 150%;
    /*letter-spacing: 1px;*/
    background-color: #FFFFFF;
}

#wrapper {}

header {
    /*border-top: 5px solid #4BC24B;*/
    background-color: #003399;
    /*background-color: #e8eef8;*/
    
    /*background-size: cover;*/
    
    /*	height: 86px;*/
    /*padding: 10px 0;*/
}
/*for PC */
@media only screen and (min-width: 751px) {
    header {
        /*スマホ用のコンテンツを非表示*/
        margin-bottom: 32px;
        border-bottom: 1px solid #666666;
    }
}

/*for SmartPhone */
@media only screen and (max-width: 750px) {
    header {
        max-height: 50px;
    }



}

#top {
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    /*min-height: 72px;*/
    /*background-image: url("../images/worldmap.png");
    background-repeat: no-repeat;
    background-position: 10px 0;
    background-size: auto 80%;*/
    
}

#top img {
    /*margin: 0 auto;*/
    vertical-align: middle;
    padding: 5px 0;
    width: auto;
    
}


#tagline {
    /*line-height: 72px;*/
    margin-left: 10px;
    color: #FFF;
}

/*for PC */
@media only screen and (min-width: 751px) {
    .sp {
        /*スマホ用のコンテンツを非表示*/
        display: none;
    }
    #top {
        width: calc(100% - 60px);
        padding: 2px 0;
    }
    #top img{
        width:auto;
    }
}

/*for SmartPhone */
@media only screen and (max-width: 750px) {
    .pc {
        display: none;
    }

    #top{
        width:calc(100% - 35px);
        padding: 2px 0;
    }
    #top img{
        height: 38px;
    }

}

/*ナビゲーションの設定*/

#top nav#pankuzu {
    max-width: 1020px;
    margin: 10px auto;
}
#top nav#pankuzu svg,#top nav#pankuzu img{
vertical-align: top;
    position: relative;
    top: -1px; /* 2px 上に移動 */
}
#top nav#pankuzu ul {
    display: flex;
}
#top nav#pankuzu li {
    position: relative;
    margin-right: 10px;
}
#top nav#pankuzu li:after {
    content: "";
    position: absolute;
    top: 25%;
    left: 100%;
    margin-left: 10px;
    width: calc(9px / 1.3);
    height: 9px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    background: #333333;
}

/*for PC */
@media only screen and (min-width: 751px) {


    nav ul {

    }

    nav li {
        float: left;
    }

    nav a:first-child li {
        margin: 0 40px 0 0;
    }

    nav a:nth-child(2) li {
        margin: 0 40px 0 0;
    }
}

/*for SmartPhone */
@media only screen and (max-width: 750px) {
    #top nav#pankuzu {
        display: none;
    }

    nav a {
        
    }

    nav ul {
        
    }

    nav li {
        padding: 8px 0;
        background-image: url(../images/li_triangle_nav_white.png);
        background-repeat: no-repeat;
        background-position: 5px center;
        padding-left: 15px;
        text-indent: 5px;
    }

    #top nav#pankuzu li {
        border-top: 1px solid #FFF;
    }
}

/* 検索ボックス、テキスト入力の設定 */
/*for PC */
@media only screen and (min-width: 751px) {
    #search_box {
        /*width: 300px;*/
        width: 100%;
    }
}

/*for SmartPhone */
@media only screen and (max-width: 750px) {
    #search_box {
        width: 100%;
    }
}

#search_box dl.search1 {
    position: relative;
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
}

#search_box {
    margin-bottom: 7px;
    /*mBtm05で対応できない数値のため*/
}

#search_box dl.search1 dt {
    margin-right: 40px;
    padding: 0 0 0 10px;
    /*input[text]のアウトラインがONの時に上下も設定*/
}

#search_box dl.search1 dt input {
    width: 100%;
    height: 36px;
    /*36px + border 2px */
    line-height: 36px;
    /*36px + border 2px */
    background: none;
    border: none;
    font-size: 1.19rem;
    */
}

#search_box dl.search1 dt input[type="text"] {
    outline: none;
}

#search_box dl.search1 dd {
    position: absolute;
    top: 0;
    right: 0;
}

#search_box dl.search1 dd button {
    display: block;
    padding: 7px;
    /*虫めがねアイコンの位置*/
    background: none;
    border: none;
}

#search_box dl.search1 dd button span {
    display: block;
    width: 21px;
    height: 21px;
    background: url('../images/icon_search.png') no-repeat scroll 0 0;
}

/*検索条件*/
form#search_option{
    
}
div#search_option_bg{
    background-color: #E7E7E7;
    padding: 15px;
    border-radius: 5px;
}
div#search_option_bg select{
    width: 100%;
    margin: 0 auto;
    height: 36px;
    padding-left: 7px;
}
#under_submit{
    background-color: #333333;
    color: #FFFFFF;
    border-radius: 20px;
    border:none;
    width: 100%;
    margin: 0 auto;
    padding: 2px 0;
    display: block;
    font-weight: bold;
    font-size: 1.19rem;
}
#radio_box{
    text-align: right;
}
#radio_box input{
    display: none;
}
#radio_box label {
    
    /*共通*/
    display:inline-block;
    padding: 6px 13px;
    border-radius: 17px;
    font-size: 1.125rem;
    /*非選択のみ*/
    background-color: #FFF;
    border: 1px solid #CCC;
    color: #CCC;
}
#radio_box input:checked + label {
    background-color: #E7E7E7;
    color: #333;
    border: none;
}

/*詳細検索*/
#advanced-search-fields{
    background-color: #E7E7E7;
    padding: 15px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}
#advanced-search-fields dl:not(:last-of-type) {
    margin-bottom: 5px;
}
#advanced-search-fields dt{
    /*display: inline-block;*
    clear: right;
    width: auto; /* 適切な幅を設定 */
    font-weight: bold;
}
#advanced-search-fields dd{
    /*display: inline-block;*/
}
#advanced-search-fields dd label{
    margin-right: 7px;
    display: block;
}

#advanced-search-fields dd label.day-checkbox {
    display: inline-block;
    margin-right: 10px; /* ラベル間の余白を設定 */
}


#toggle-advanced-search{
    position: relative;
}
.plus_button {
    position: absolute;
    /* top: 50%; */
    /* right: 20px; */
    /* transform: translateY(-50%); */
    background: #999;
    display: block;
    width: 24px;
    height: 24px;
    text-indent: 15%;
    white-space: nowrap;
    overflow: hidden;
    border-radius: 50%;
    left: 85px;
    color: white;
}
/*パンくずリストの設定*/

#bread {
    /*	border-bottom: 1px solid #CCC;
	border-top: 1px solid #CCC;*/
    /*height: 44px;*/
    line-height: 150%;
}

#pankuzu_box {
    margin: 0 auto;
    width: 100%;
    height: 24px;
    /*padding: 10px 10px;*/
    max-width: 980px;
}

#pankuzu_box #pankuzu {
    width: auto;
    float: left;
}

#pankuzu ul {
    display: flex;
}

#pankuzu li {
    margin-right: 10px;
    position: relative;
}

#pankuzu li:after {
    content: "";
    position: absolute;
    top: 25%;
    left: 100%; /* `li`の右端に配置 */
    margin-left: 10px; /* 三角形とテキストの間にスペースを設ける */
    width:calc(9px / 1.3); /*二等辺三角形 Xpx / 2;
    /*width: calc(13px / 2 * tan(60deg)); /* 正三角形の高さを計算 */
    height: 9px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    background: #333333; /* 三角形の色（黒に設定していますが、任意で変更可能） */

}

#pankuzu li:last-child:after {
    /*display: none; /* 最後の要素の後に三角形を表示しないように設定 */
}

#pankuzu li svg {
    margin-right: 3px; /* SVGと前のテキストの間にスペースを設ける */
    align-self: center; /* SVGを垂直方向で中央揃え */
    vertical-align: middle;
}

/*#pankuzu_box #pankuzu a:first-child {
    font-size: 93.75%;
    border-radius: 5px;
    background: #4BC24B;
    color: #FFF;
    padding: 3px 7px 3px 3px;
    letter-spacing: -0.1em;
}

#pankuzu_box #pankuzu a:first-child:hover {
    text-decoration: none;
    background: #72CF72;
}*/

/*コンテンツの設定*/
#contents {
    margin: 0 auto;
    margin-bottom: 10px;
    
    /*padding: 20px;
    background-color: #FFF;
    border: 1px solid #AAA;*/
}

/*for PC */
@media only screen and (min-width: 751px) {
    #contents {
        width: 980px;
        padding: 0 30px;
        
    }
}

/*for SP */
@media only screen and (max-width: 750px) {
    #contents {
        
        padding: 0 35px;
        
    }
}

/*メインの設定*/
#main{
    /*position: relative;*/
}
/*for PC */
@media only screen and (min-width: 751px) {
    #main {
        width: 640px;
    }
}

/*for SP */
@media only screen and (max-width: 750px) {
    #main {
        width: 100%;
    }
}

/*本文の設定*/
#main #page_box{
    
}
#main #page_box #honbun_en p,
#main #page_box #honbun_ja p{
    margin-bottom: 15px;
    text-indent: 15px;
}

#main #page_box .word_hint{
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #CC3300;
}
/*tipsの設定*/
.tips{
    padding: 20px;
    background-color: rgb(245 250 254);
    line-height: 130%;
    margin-top: 10px;
    margin-bottom: 10px;
}
.tips dt{
    margin-bottom: 4px;
}

.marker {
    background: linear-gradient(transparent 70%, #D5EAFB 60%);
}

/*見出しの設定*/
#main #page_box h2{
    font-size:0.9375rem;
    
}
#main #headline_box h1 {
    font-size:1.63rem;
    /*border-bottom: 3px solid #999999;*/
    /*border-left: 11px solid #CC0000;*/
    /*padding: 6px 0 3px 8px;*/
    
    margin: 0;
    
}
#main #headline_box h3{
    font-size:0.75rem;
    margin: 0;
}
#main #headline_box h1 svg{
    vertical-align: sub;
}
#main #headline_box h1 ruby rt{
    font-size:0.625rem;
}

/*次のページ*/
.arrow-btn {
    position: fixed;        /* 常に画面の同じ位置に表示 */
    top: 50%;              /* 画面の垂直中央 */
    width: 48px;           /* ボタンの幅 */
    height: 100px;          /* ボタンの高さ */
    transform: translateY(-50%); /* 垂直中央揃え */

    /* 背景画像を設定する場合 */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;

    /* タップしやすいよう少し透過しておく (hoverで変化させる) */
    opacity: 0.1;
    transition: opacity 0.2s ease;
    z-index: 9999;         /* コンテンツより前面に */
}

/* ホバーやタップ時に不透明度を上げる */
.arrow-btn:hover {
    opacity: 0.5;
}

/* 左矢印ボタン */
.arrow-left {
    left: 0;               /* 画面左固定 */
    background-image: url('arrow-left.png'); /* 左矢印のアイコン */
}

/* 右矢印ボタン */
.arrow-right {
    right: 0;              /* 画面右固定 */
    background-image: url('arrow-right.png'); /* 右矢印のアイコン */
}





/*単語*/
#words a{
    color: rgba(27, 127, 204);
}
#words dt{
    font-weight: bold;
}
#words dl{
    margin-bottom: 5px;
    line-height: 140%;
}
#words dd{
    margin-bottom: 5px;
}
/*いいね*/

#info_box {
    /* 子要素を横並びにする */
    display: flex;
    /* 左右にスペースを分配（左・右に配置） */
    justify-content: space-between;
    /* 高さ方向の揃え。好みで center や baseline に */
    align-items: center; 
    color: #666;
    padding-bottom: 8px;
}

#info_box ul {
    /* 必要に応じてリストスタイルをリセット */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 2つ目の ul（.icon-list）はアイコンと数字を縦に配置したい場合 */
.icon-list {
    display: flex;
    gap: 30px; /* アイコン同士の余白 */
}

/* アイコン + 数字を縦に表示したいなら、さらにこんな書き方も */
.icon-list li {
    text-align: center;
}

.icon-list img {
    display: block;
    margin: 0 auto;
    width: 40px;
    height: 40px;
    background: #f0f2f5;
    border-radius: 50%;
    object-fit: contain;
}

.icon-list .count {
    display: block;
    margin-top: 1px;
    font-size: 12px;
    color: #333;
}

#summary{
    line-height: 140%;
    padding: 15px 0;
}

/*タグseasontag*/
/* 親要素 */
#season {
    /* ボタンを横並びにする */
    display: flex;
    /* ボタン同士の間隔（好みに応じて変更） */
    gap: 10px;
    /* 必要に応じて中央寄せなどにする場合 */
    justify-content: left; 
    /* 上下の余白をつける */
    margin: 20px 0;
}

/* ボタン共通スタイル */
/* 通常状態 */
#season button {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    color: #333;
    font-weight: bold;
    padding: 8px 16px;
    cursor: pointer;
}

/* ホバー時 */
#season button:hover {
    background-color: #CDEFEF;
    color: #3DB8B8;
    border-color: #CDEFEF;
}

/* “現在選択中”を示すクラス */
#season button.active {
    background-color: #CDEFEF;
    color: #3DB8B8;
    border-color: #CDEFEF;
}



/*resultsの設定*/
#results ul{
    width: 100%;
    position: relative;
}
#results ul li {
    width: 100%;
    min-height: 120px;
    padding: 15px 0;
    border-bottom: 1px solid #CCC;
    
}
#results ul li svg {
    position: absolute; /* 親要素を基準に位置を指定 */
    
    right: 0;           /* 右端に揃える */
    transform: translateY(150%); /* 垂直方向の中央揃え */
}

.image-container {
    position: relative;
    width: 75px; /* 画像の横幅 */
    height: 110px; /* 画像の縦幅 */
    border-radius: 50%; /* 楕円形に切り抜き */
    /*border: 4px solid #115ec9;*/
    border: 4px solid #3498DB;
    overflow: hidden; /* 楕円形を超えた部分を隠す */
    background-position: center; /* 背景画像を中央に配置 */
    background-size: cover;
    background-repeat: no-repeat;
    
    float: left;
    margin-right: 20px;
    
    /* 光彩効果 */
    box-shadow: inset 0px 0px 20px 5px rgba(19, 107, 200, 1);
    
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#results h2{
    line-height: 130%;
    margin-bottom: 5px;
    font-size:1.31rem;
}
#results ul li dl{
    font-size:1rem;
    line-height: 165%;
}
#results ul li dl dt {
    display: inline-block;
    
    width: 110px;
    
    padding-left: 20px; /* アイコンのスペースを確保 */
    background-repeat: no-repeat;
    background-position: left 2.13px;
    background-size: 17px 17px; /* SVGのサイズを調整 */

}

#results ul li dl:first-of-type dt {
    background-image: url("../images/icon_heart_line.svg");
}
#results ul li dl:nth-of-type(2) dt {
    background-image: url("../images/icon_visitor.png");
}
#results ul li dl:nth-of-type(3) dt {
    background-image: url("../images/icon_update.svg");
    background-size: 23px;
    background-position: -2px 1px;
}

#results ul li dl dd{
    display: inline-block;
}
#results ul li dl dt img,#results ul li dl dt svg{
    padding-right: 4px;
    vertical-align: top;
}
/*ランキング・検索結果の共通設定*/

.rank_box {
    height: 100px;
    padding: 15px 0;
    position: relative;
    list-style-type: none;
}


h3,
h4,
h5 {}

#description {
    line-height: 180%;
    font-size:1.0625rem;
}
iframe.youtube-16-9{
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin-bottom: 30px;
    
}
body {
    counter-reset: rank_number;
}

/*カウンター増えないバグの対処法*/
#ranking li:before {
    color: #FFF;
    counter-increment: rank_number;
    content: counter(rank_number);
    text-align: center;
    font-weight: bold;
    opacity: 0.999;
    float: left;
    line-height: 20px;
    width: 20px;
    height: 20px;
    background-color: #CC0000;
    position: absolute;
    left: 0;
    -moz-border-radius: 2px;
}

/*youtubeの設定*/
.youtube_box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 のアスペクト比 (高さ ÷ 横幅 = 9 ÷ 16 = 0.5625) */
    overflow: hidden;
}

.youtube_box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* フレームボーダーを消す */
}
/*サイドの設定*/
/*for PC */
@media only screen and (min-width: 751px) {
    #side {
        width: 300px;
    }
}

/*for SP */
@media only screen and (max-width: 750px) {
    #side {
        width: 100%;
        margin: 0 auto;
    }

    #ad_side_top {
        width: 100%;
        clear: both;
        margin: 0 auto;
    }
}

#vlm_article_list dl{
    border: 1px solid #CCCCCC;
    margin: 15px 0;
}
#vlm_article_list dl img{
    width: 100%;
}
#vlm_article_list dd:nth-of-type(1){
    padding: 5px 15px;
    font-weight: bold;
}
#vlm_article_list dd:nth-of-type(2){
    padding: 0 15px 0 9px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
}
#vlm_article_list dd:nth-of-type(3){
    padding: 0 15px 15px 15px;
    font-size: 12px;
    line-height: 160%;
}

/*フッターの設定*/
footer {
    color: #FFF;
    clear: both;
    width: 100%;
    background: #003399;
    margin: 0 auto;
}

#footer_inner {
    max-width: 980px;
    margin: 0 auto;
}

footer nav li {
    list-style-image: none;
    padding: 10px;
}

footer nav a {
    color: #FFF;
}

footer p {
    
}

/*for PC */
@media only screen and (min-width: 751px) {
    footer p {
        margin: 10px 0;
        font-size:0.6875em;/*11px*/
        float: left;
    }
}

/*for SmartPhone */
@media only screen and (max-width: 750px) {
    footer nav {
        margin: 10px 10px 0 10px;
    }

    footer nav li {
        border-bottom: 1px solid #FFF;
    }

    footer p {
        float: right;
        line-height: 170%;
        margin-right: 10px;
        font-size:0.625em;/*10px*/
    }
    p:first-child{
        margin-top: 5px;
    }
    p:last-child{
        padding-bottom: 5px;
    }
}

