@charset "utf-8";
/*********************************************************************
旧スタイルシート打消し
*********************************************************************/

/* 共通 */

body {
    line-height: normal;
}

html[lang="en"] a#adobeImgLeft {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    vertical-align: baseline;
}

html[lang="en"] a#adobeImgLeft img {
    width: auto;
    height: auto;
}

#footer {
    border-top: none;
}

div#main {
    float: none;
}

#sub {
    float: none;
    width: 230px;
}

.wrapper, div#contents, div#pagetop, div#footer p.address {
    width: auto;
}

div#pagetop {
    line-height: normal;
}

#maincontents div.social-btn-top {
    float: none;
    margin-right: 15px;
    margin-bottom: 10px;
    padding: 0;
}

#maincontents div.social-btn-wrapper {
    float: none;
    width: auto !important;
}

#maincontents div.social-btn-top iframe {
    width: auto !important;
}

/* 自由入力欄 */

.any-area h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 10px 0px;
    padding-bottom: 0.5em;
    line-height: 1.3em;
    text-align: left;
}

.any-area h2 a:link, .any-area h2 a:visited {
    color: #a5171c;
    font-weight: bold;
}

.any-area h2 a:hover, .any-area h2 a:active {
    color: #fff;
    background: #a5171c;
    font-weight: bold;
}

.any-area h3 {
    font-size: 1.1em;
    font-weight: bold;
    margin: 10px 0px;
}

.any-area h4 {
    font-size: 1em;
    font-weight: bold;
    margin: 10px 0px;
}

.any-area h5 {
    font-size: 1em;
    font-weight: bold;
    margin: 10px 0px;
}

.any-area h6 {
    font-size: 1em;
    font-weight: bold;
    margin: 10px 0px;
}

.any-area p {
    font-size: 1em;
    margin: 5px 0px;
    margin-bottom: 1em;
}

/* TOP */

#image-slide {
    height: auto;
}

/*下層*/

body.page-index #contents-header>h2.title2 {
    line-height: 1.7;
}

body.page-index #maincontents .relatedlink-section h2 {
    border: none;
    padding: 0px 0px;
    margin: 10px 0px;
    font-size: 1em;
    font-weight: bold;
    color: #000000;
    background-color: transparent;
}

/* 3コラムの場合の制御 */

body.page-index #maincontents div.onecolumn div.sectionBody, body.page-index #maincontents div.column-three div.sectionBody, body.page-index #maincontents div.column-two div.sectionBody {
    padding: 0 10px 0 10px;
}

body.page-index #maincontents h2 {
    background: none;
    border: none;
    display: block;
    background-color: #1756bd;
    border: 1px solid #1756bd;
    margin-top: 10px;
    padding: 2px;
    color: #fff;
    font-size: 1.2857em;
    font-weight: bold;
}

body.page-index #maincontents h2 a {
    display: block;
    overflow: hidden;
    width: 100%;
    /*height: 22px;*/
    border: 2px solid #b3b3b3;
    padding: 4px 22px 4px 8px;
    line-height: 23px;
    text-decoration: none;
    color: #ffffff;
    background: #005190 url(/mofaj/files/100000032.png) center right no-repeat;
}

body.page-index #maincontents h2 span {
    display: block;
    overflow: hidden;
    width: 95%;
    /*height: 22px;*/
    border: 2px solid #b3b3b3;
    padding: 4px 22px 4px 8px;
    line-height: 23px;
    text-decoration: none;
    color: #ffffff;
    background: #005190 center right no-repeat;
}

body.page-index #maincontents h2 span {
    background: none;
    border: none;
    display: block;
    border-left: 2px solid #fff;
    padding: 4px 0;
    padding-left: 13px;
}

body.page-index #maincontents h2 a:link, body.page-index #maincontents h2 a:visited {
    color: #ffffff;
    background: #005190 url(/mofaj/files/100000032.png) center right no-repeat;
}

body.page-index #maincontents h2 a:hover, body.page-index #maincontents h2 a:active {
    color: #005190;
    background: #e6e6e6 url(/mofaj/files/100000033.png) center right no-repeat;
}

body.page-index #maincontents div.menu-section ul, body.page-index #maincontents div.column-two ul, body.page-index #maincontents div.column-three ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

body.page-index #maincontents div.menu-section div.linkarea ul, body.page-index #maincontents div.column-two div.linkarea ul, body.page-index #maincontents div.column-three div.linkarea ul, body.page-index #maincontents div.menu-section ul.list2, body.page-index #maincontents div.column-two ul.list2, body.page-index #maincontents div.column-three ul.list2 {
    padding-left: 0;
}

body.page-index #maincontents div.menu-section ul li ul, body.page-index #maincontents div.column-two ul li ul, body.page-index #maincontents div.column-three ul li ul {
    margin-bottom: 0;
    padding-left: 25px;
}

body.page-index #maincontents div.menu-section ul li.styled2, body.page-index #maincontents div.column-two ul li.styled2, body.page-index #maincontents div.column-three ul li.styled2 {
    margin-left: 0;
}

body.page-index #maincontents div.menu-section .indent01 ul li.styled2, body.page-index #maincontents div.column-two .indent01 ul li.styled2, body.page-index #maincontents div.column-three .indent01 ul li.styled2 {
    margin-left: 15px;
}

body.page-index #maincontents div.menu-section .linkarea>ul>li.styled2>ul, body.page-index #maincontents div.column-two .linkarea>ul>li.styled2>ul, body.page-index #maincontents div.column-three .linkarea>ul>li.styled2>ul {
    margin-bottom: 20px;
}

/* sp/tb */

@media screen and (max-width: 1024px) {
    body {
        min-width: 0px;
    }
    .wrapper, div#contents, div#pagetop, div#footer p.address {
        width: 100%;
        box-sizing: border-box;
    }
    /* contents */
    .index, #pagetop {
        line-height: normal;
    }
    /* footer */
    #footer {
        border-top: none;
    }
    #footer-sitemaps .wrapper, .bg-navy .wrapper {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 767px) {
    /* リンク */
    #contents a:link, #pagetop a:link {
        color: #000099;
    }
    #contents a:visited, #contents a:hover, #contents a:active, #contents a:visited:hover, #pagetop a:visited, #pagetop a:hover, #pagetop a:active, #pagetop a:visited:hover {
        color: #5533cc;
        background-color: transparent;
    }
    form#cse-search-box {
        margin-top: 17px;
    }
    #emergencyinfo>* {
        display: block !important;
    }
    #head_btn_tw {
        margin-right: 0;
    }
    html[lang="en"] #head_btn_pc, html[lang="en"] #head_btn_lang {
        text-indent: 0;
    }
    html[lang="en"] #head_btn_lang {
        width: 55px;
    }
    html[lang="en"] #head_btn_pc {
        background: #fff url(/mofaj/files/100000017.png) center center no-repeat;
        background-size: 70%;
    }
    #contents {
        padding-left: 10px !important;
        padding-right: 10px !important;
        position: static;
    }
    #page-topindex #contents {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    #contents h2 {
        line-height: 1.3em;
    }
    body.page-index #contents-header>h2.title2 {
        line-height: 1.2;
    }
    .menu-wrapper .menu-box h2.title2 {
        font-size: 1.2857em;
    }
    div#contents, div#main, div#pagetop, div#main h2, div#main .list-tab h2 a, div#main h2 span, div#main .list-tab h2 span {
        width: 100% !important;
    }
    #contents h1.title2, #contents h1 .title2, #contents h2.title2 {
        margin: 10px 0 0;
        font-size: 1.2857em;
        line-height: 1.3em;
    }
    #contents .relatedlink-section h2.title2 {
        font-size: 1em;
        margin: 10px 0;
    }
    #contents .main-section h2.title2 {
        font-size: 1.2em;
        margin: 20px 0;
    }
    #contents .topic-section h2.title2 {
        font-size: 1em;
    }
    html[lang="en"] #contents .topic-section h2.title2 {
        font-size: 1.2em;
    }
    div#pagetop a {
        background-position: 0 center;
    }
    div#footer-sitemaps a:link, div#footer-sitemaps a:visited, div#footer-sitemaps a:hover, div#footer-sitemaps a:active, html[lang="en"] div#footer-sitemaps a:link, html[lang="en"] div#footer-sitemaps a:visited, html[lang="en"] div#footer-sitemaps a:hover, html[lang="en"] div#footer-sitemaps a:active {
        color: #000099;
        text-decoration: underline;
    }
    #contents .rightalign, #maincontents .rightalign {
        margin-right: 0;
    }
    html[lang=en] #footer {
        font-size: 1em;
        background-color: #036;
    }
    html[lang=en] #footer .address, html[lang=en] #footer2 .address, html[lang=en] #footer .center, html[lang=en] #footer2 .center {
        border-top: none;
        padding-left: 2%;
        padding-right: 2%;
    }
    #page-topindex #sub {
        width: 100%;
        display: block !important;
    }
    #notice-topic ul.link-banner {
        background-color: transparent;
        box-shadow: none;
        -webkit-box-shadow: none;
    }
    body.page-list div.index2 {
        display: block;
    }
    body.page-list div.index2 .archives-wrapper {
        border: none;
    }
    body.page-list div.index2 .archives-wrapper td {
        border-top: none;
    }
    body.page-list div.index2 .archives-body .cell:first-of-type {
        border-top: 1px solid #999;
    }
}

/*********************************************************************
旧スタイルシート　自由入力
*********************************************************************/

/* 共通 */

#main .any-area img {
    max-width: 100% !important;
    height: auto !important;
}

#main .any-area #photo img[height="150"], #main .any-area .photoGroup img[height="150"] {
    height: 150px !important;
}

/*自由入力欄内部テーブル幅*/

@media screen and (max-width: 320px) {
    #main .any-area table {
        max-width: 300px;
        width: auto !important;
    }
}

@media screen and (max-width: 480px) {
    #main .any-area table {
        max-width: 440px;
        width: auto !important;
    }
}

@media screen and (max-width: 767px) {
    #main .any-area table {
        max-width: 720px;
        width: auto !important;
    }
}

@media screen and (max-width: 768px) {
    #main .any-area table {
        max-width: 580px;
        width: auto !important;
    }
    .side-off #main .any-area table {
        max-width: 748px;
    }
}

@media screen and (min-width: 1025px) {
    #main .any-area table {
        max-width: 1120px;
    }
    .side-off #main .any-area table {
        max-width: 1346px;
    }
}

/* 個別 */

/* インデックス */

#contents .menu-wrapper .menu-box .photo-box+.text ul {
    display: table;
    padding-left: 0;
}
#contents .any-area ul {
    display: table;
}

/* 報道発表 */

#page-pressrelease #main .main-section .text .any-area ol>li {
    margin-bottom: 1em;
}

#page-pressrelease #main .main-section .text .any-area ol.nonumber {
    list-style: none;
    position: relative;
    padding-left: 30px;
}

#page-pressrelease #main .main-section .text .any-area ol.nonumber li {
    position: relative;
}

#page-pressrelease #main .main-section .text .any-area ol.nonumber li span.number {
    position: absolute;
    display: block;
    overflow: visible;
    left: -2.5em;
    width: 2em;
    margin-right: 0.5em;
    text-align: right;
}

html[lang=en] #page-pressrelease #main .main-section .text .any-area ol.nonumber li {
    margin-bottom: 20px;
}

html[lang=en] #page-pressrelease #main .main-section .text .any-area ol.nonumber ul li {
    margin-bottom: 0px;
}

/* SP */

@media screen and (max-width: 767px) {
    /* ページタイトル */
    html[lang=en] body.page-index #contents-header h1.title1 {
        height: auto;
        margin: 0;
        /*padding: 1px 0;
        border-top: 1px solid #5d8dae;
        border-bottom: 1px solid #5d8dae;
        font-size: 16px;*/
        font-weight: normal;
        text-align: left;
        line-height: 1.2;
        /*background: white;*/
    }
    /* 日本語 一覧ページ 新着情報
 =========================================================================== */
    #page-list .read-text p:first-child {
        text-align: left;
    }
    #page-list .read-text hr {
        display: none;
    }
    /* 記者会見一覧 */
    #page-list #main .read-text .imgleft {
        float: none;
        width: auto;
        margin: 0;
        text-align: center;
    }
    #page-list #main .read-text .imgleft p {
        text-align: center;
    }
    #page-list #main .read-text .rightarea {
        float: none;
        width: auto;
        margin: 0;
    }
    /* 報道発表 */
    #page-pressrelease #main .main-section .text .any-area ol.nonumber {
        padding-left: 20px;
    }
    #page-pressrelease #main .main-section .text .any-area .listindent {
        margin-left: 0;
    }
    body.page-list #pressrelease ul li.date ul li a, body.page-list #news ul li a {
        background-image: none;
        border-bottom: 0;
        padding: 0;
    }
    body.page-list #pressrelease ul li.date span.head span.inner, body.page-list #news h3 span {
        border: 0;
        padding: 0;
    }
}
