@charset "UTF-8";

/* Languageメニュー 　START*/

/* モーダルの背景 */
.modal {
    display: none; /* デフォルトでは非表示 */
    position: fixed; /* 画面に固定 */
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%; /* 全幅 */
    height: 100%; /* 全高さ */
    overflow: auto; /* スクロール可能 */
    background-color: rgba(0, 0, 0, 0.6);
}

.close_button {
    cursor: pointer;
}

/* モーダルコンテンツ */
.modal-container {
    width: 900px;          /* モーダルの幅を固定 */
    margin: 0 auto;        /* 横中央寄せ */
    position: relative;    /* 必要ならrelative */
    top: 40px;             /* 上からの距離（調整可） */
    line-height: 1.6;
}

.modal-content {
    max-width: 100%;
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    color: #000000;
    background-color: #fff;
    box-shadow: 0 1px 15px rgba(13, 13, 13, 0.4);
    align-items: center;
    font-family: "BIZ UDPGothic", "Meiryo", "メイリオ", Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", YuGothic, "游ゴシック", "ＭＳ Ｐゴシック", sans-serif;
}

ul.choose-language {
    float: none !important;
    display: flex;
    /* gap: 12px 5px; */
    margin-top: 12px !important;
    margin-bottom: 10px !important;
    justify-content: center;
}

ul.choose-language.lang_link_button {
    gap: 12px 0px;
}

ul.choose-language.lang_link_button li {
    flex: 0 0 16%;
}

ul.choose-language.lang_link_button li a {
    min-width: 80px;
}

.multilingual-portal{
    text-align: left;
}

.multilingual-portal ul li a {
    color: #fff;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    padding: 10px 5px 5px 5px;
    margin-right: 10px;
}

.multilingual-portal ul li a:hover {
    color: #fff;
    border-bottom: none;
}

.multilingual-portal {
    padding: 20px 0;
    border-bottom: 1px solid #000000;
    padding-bottom: 15px;
}

.multilingual-portal li {
    padding: 0 12px;
}

.machine-translation {
    text-align: left;
    padding: 20px 0;
}

/* Languageメニューリンクボタン 　START */
.lang_link_button a {
    display: inline-block;
    padding: 10px 10px;
    text-decoration: none;
    border: 1.5px solid #000000;
    color: #000000 !important;
    border-radius: 7px;
    width: 70%;
}

.lang_link_button a:hover {
    background-color: #1d1e1e !important;
    color: #fff !important;
    border-bottom: none;
}

.multilingual-portal a:hover {
    color: #fff !important;
    border-bottom: none;
}

.lang_link_button {
    text-align: center;
    margin: 10px 0;
    font-weight: bold;
}

.lang_link_close {
    text-align: center;
}

a.lang_link_button {
    border: 1.5px solid #000000;
    color: #000000 !important;
    border-radius: 5px;
}

.lang_link_button a:hover {
    background-color: #000;
    color: #fff;
}

a .lang_link_close {
    font-size: 1.2em;
}

ul .lang_link_close > .choose-language {
    font-size: 0.8em;
    font-weight: normal;
    padding: 0 75px;
    margin: 5px 0 5px 0 !important;
    
}

/* スマホ用調整 　START */
@media screen and (max-width: 640px) {
.lang_link_close {
    font-size: 1.1em !important;
}
.lang_link_close > .choose-language {
    font-size: 0.8em;
    font-weight: normal;
    margin-bottom: 0 !important;
    margin-top: 5px !important;
}
.lang_link_button a {
    width: 90%;
}
}
/* Languageメニューリンクボタン 　END*/

/* 閉じるボタン 　START */
.close_button {
    padding: 10px 15px;
    text-decoration: none;
    border: transparent;
    color: #fff;
    background-color: #1d1e1e;
    border-radius: 5px;
    font-size: 1.3em;
    font-weight: bold;
    border: 1.5px solid #000000;
}

.close_button:hover {
    color: #fff;
    background-color: #757575;
    border: 1.5px solid #757575;
}

.lang_headline {
    text-align: center;
    margin: 10px 0;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 2px;    /* 下線の太さ */
    text-underline-offset: 10px;       /* 下線の位置（テキストからの距離） */
}

.lang_headline_sub {
    margin: 5px 0;
    font-size: 1.3em;
    font-weight: bold;
}

.lang_p {
    margin: 0 25px;
}

.lang_close {
    text-align: center;
    margin: 10px 0;
}
/* 閉じるボタン 　END */

/* スマホ用調整 　START */
@media screen and (max-width: 640px) {
.header .head-logo-sec {
    z-index: 40001 !important;
}
.link-foreign-sp {
    position: fixed;
    top: 15px;
    right: 20%;
    -index: 100000;
}
.modal-container {
    width: 90vw;       /* 画面幅の90%に変更 */
    min-width: unset;  /* 固定幅リセット（もしあれば） */
    margin: 0 auto;
    left: 0;           /* 画面中央表示を維持 */
    right: 0;
    top: 20px;         /* 上からの距離も調整可 */
    padding: 0 10px;   /* 両端に余白 */
}
.modal-content {
    padding: 15px;
    font-size: 1em;    /* テキストサイズの微調整など */
}
.lang_headline {
    margin: 0 0 5px;
}
.multilingual-portal {
    padding: 5px 0px 10px;
}
.machine-translation {
    padding: 5px 0;
}
ul.choose-language {
    margin-bottom: 15px !important;
    gap: 0px;
    flex-wrap: wrap;
    list-style: none;
}
.lang_link_button a {
    padding: 5px 10px;
}
.lang_headline {
    text-decoration: none;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}
.lang_headline_sub {
    font-size: 1.15em;
}
.lang_p {
    margin: 0 10px;
}
.multilingual-portal li {
    padding: 0 2px;
}
ul.choose-language li {
    flex: 0 0 25%;
    min-width: 95px;
}
ul.choose-language.lang_link_button li {
    flex: 0 0 30%;
    padding: 0;
}
@media screen and (min-width: 390px) {
ul.choose-language.lang_link_button li {
    flex: 0 0 34%;
}
}
ul.choose-language.lang_link_button li a {
    min-width: 78px;
    padding: 5px;
}
ul.choose-language.lang_link_button {
    gap: 10px;
    margin: 0;
    flex-wrap: wrap;
}
}

@media screen and (min-width: 641px) {
.modal-content {
    padding: 20px 40px;
}
ul.choose-language {
    font-size: 1.15em;
}
ul.choose-language.lang_link_button {
    font-size: 1em;
    margin-left: 0;
}
.link-foreign-sp {
    display: none;
}
.lang_link_close .choose-language {
    display: flex;
    padding: 0;
    flex-wrap: wrap;
}
.lang_link_close .choose-language li {
    flex: 0 0 30%; /* 各アイテムが3分の1幅になる */
    list-style: none;
    box-sizing: border-box;
    text-align: center;  /* 中央寄せ（お好みで） */
}
}
/* スマホ用サイズ調整 　END */

/* Languageメニューアイコン調整 　START */
.link-foreign img{width:16px !important;} 
.link-foreign-sp img{width:16px !important;} 
/* Languageメニューアイコン調整 　END */

/* Languageメニュー 　END */

	
/* 市政だよりWEB版用調整　START*/

@media screen and (max-width: 640px) {
.link-foreign-sp-shiseidayori {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 100000;
}
.modal-container {
    width: 90vw;
    min-width: unset;
    margin: 0 auto;
    left: 0;
    right: 0;
    /* top: 10vh !important; */
    padding: 0 10px;
    /* line-height: 1.2 !important; */
}

.modal-shiseidayori{
    top: 10vh !important;
    line-height: 1.2 !important;
}

.lang_link_button li {
    border: none !important;
    white-space: nowrap;
    }

}

.link-foreign-shiseidayori .modal-content {
    max-width: 100%;
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    color: #000000;
    background-color: #fff;
    box-shadow: 0 1px 15px rgba(13, 13, 13, 0.4);
    align-items: center;
    font-family: "BIZ UDPGothic", "Meiryo", "メイリオ", Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", YuGothic, "游ゴシック", "ＭＳ Ｐゴシック", sans-serif;
}

ul.choose-language{
    display: flex !important;	
}

.link-foreign-shiseidayori .modal-content p{
    font-family: "BIZ UDPGothic", "Meiryo", "メイリオ", Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro ul.choose-language.lang_link_buttonW3", YuGothic, "游ゴシック", "ＭＳ Ｐゴシック", sans-serif;
    line-height: 1.5;
}

.link-foreign-shiseidayori ul.choose-language {
    float: none !important;
    display: flex;
    /* gap: 12px 5px; */
    margin-top: 12px !important;
    margin-bottom: 10px !important;
    justify-content: center;
	box-sizing: unset;
}
.link-foreign-shiseidayori ul.choose-language li{
    line-height: 1.8;
    border: none !important;
    padding-left: 0;

}
.link-foreign-shiseidayori ul.choose-language.lang_link_button li a {
    min-width: 80px;
    box-sizing: unset;
}

/* Languageメニューリンクボタン 　START */
.link-foreign-shiseidayori .lang_link_button a {
    display: inline-block;
    padding: 10px 10px;
    text-decoration: none;
    border: 1.5px solid #000000;
    color: #000000 !important;
    border-radius: 7px;
    width: 70%;
    line-height: 1.8;
}

.link-foreign-shiseidayori .lang_link_button a:hover {
    background-color: #1d1e1e !important;
    color: #fff !important;
    border-bottom: none;
    opacity: 1;
}

.link-foreign-shiseidayori .multilingual-portal a:hover {
    color: #fff !important;
    border-bottom: none;
    opacity: 1;
}

.link-foreign-shiseidayori .lang_link_close {
    text-align: center;
    box-sizing: unset;
}

/* Languageメニューリンクボタン 　END*/

/* スマホ用調整 　START */
@media screen and (max-width: 640px) {
.link-foreign-sp {
    position: fixed;
    top: 15px;
    right: 20%;
    z-index: 100000;
}
.link-foreign-shiseidayori .modal-container {
    width: 90vw;       /* 画面幅の90%に変更 */
    min-width: unset;  /* 固定幅リセット（もしあれば） */
    margin: 0 auto;
    left: 0;           /* 画面中央表示を維持 */
    right: 0;
    top: 20px;         /* 上からの距離も調整可 */
    padding: 0 10px;   /* 両端に余白 */
    box-sizing: unset;
}

link-foreign-shiseidayori .modal-content p{
    margin: 0;
    font-size: 1.0em;
    line-height: 1.5;
}

.link-foreign-shiseidayori .multilingual-portal li {
    padding: 0 2px !important;
}
.link-foreign-shiseidayori ul.choose-language li {
    flex: 0 0 25%;
    min-width: 95px;
}
.linbox-sizing: unset;k-foreign-shiseidayori ul.choose-language.lang_link_button li {
    flex: 0 0 30%;
    padding: 0;
}
.link-foreign-shiseidayori .lang_link_button a {
    width: 90%;
}
.link-foreign-shiseidayori ul .lang_link_close > .choose-language{
    padding: 0px;
}
.link-foreign-shiseidayori ul.choose-language{	
    padding: 0px;
}

@media screen and (min-width: 542px){
.link-foreign-shiseidayori ul .lang_link_close > .choose-language{
    padding: 0;
}	
}
@media screen and (min-width: 390px) {
    .link-foreign-shiseidayori ul.choose-language.lang_link_button li {
    flex: 0 0 34%;
}
}
.link-foreign-shiseidayori ul.choose-language a {
    min-width: 78px;
    padding: 5px;
}
}
/* 市政だよりWEB版用調整　END*/

/* 消費生活センター用調整　START*/

.link-foreign-sp img{
    vertical-align: middle;
}

.link-foreign-shohiseikatsu ul.choose-language.lang_link_button li a {
    min-width: 80px;
    box-sizing: unset;
}

/* Languageメニューリンクボタン 　START */
.link-foreign-shohiseikatsu .lang_link_button a {
    display: inline-block;
    padding: 10px 10px;
    text-decoration: none;
    border: 1.5px solid #000000;
    border-radius: 7px;
    width: 70%;
    box-sizing: unset;
}


.link-foreign-shohiseikatsu ul .lang_link_close > .choose-language {
    font-size: 0.8em;
    font-weight: normal;
    padding: 0 75px;
    margin: 5px 0 5px 0 !important;
    box-sizing: unset;

}

/* Languageメニューリンクボタン 　END*/

/* 閉じるボタン 　START */
.link-foreign-shohiseikatsu .close_button {
    padding: 10px 15px;
    text-decoration: none;
    border: transparent;
    border-radius: 5px;
    /*font-size: 1.3em;*/
    font-size: 2.0em;
    font-weight: bold;
}

.link-foreign-shohiseikatsu .lang_headline {
    text-align: center;
    margin: 10px 0;
    /*font-size: 1.3em;*/
    font-size: 2.0em;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 2px;    /* 下線の太さ */
    text-underline-offset: 10px;       /* 下線の位置（テキストからの距離） */
}

.link-foreign-shohiseikatsu .lang_headline_sub {
    margin: 5px 0;
    /*font-size: 1.3em;*/
    font-size: 2.0em;
    font-weight: bold;
}

.link-foreign-shohiseikatsu .lang_p {
    margin: 0 25px;
    font-size: 1.6em;
}
/* 閉じるボタン 　END */

/* スマホ用調整 　START */
@media screen and (max-width: 640px) {
.link-foreign-shohiseikatsu .lang_link_button a {
    width: 90%;
}
}

@media screen and (max-width: 640px) {
.link-foreign-shohiseikatsu .modal-container {
    width: 90vw;       /* 画面幅の90%に変更 */
    min-width: unset;  /* 固定幅リセット（もしあれば） */
    margin: 0 auto;
    left: 0;           /* 画面中央表示を維持 */
    right: 0;
    top: 20px;         /* 上からの距離も調整可 */
    padding: 0 10px;   /* 両端に余白 */
    box-sizing: unset;
}
.link-foreign-shohiseikatsu .lang_headline {
    text-decoration: none;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}
.link-foreign-shohiseikatsu .lang_headline_sub {
    /* font-size: 1.15em; */
    font-size: 1.8em;
}
.link-foreign-shohiseikatsu .lang_p {
    margin: 0 10px;
}

.link-foreign-shohiseikatsu ul.choose-language li {
    flex: 0 0 25%;
    min-width: 95px;
    box-sizing: unset;
}
.link-foreign-shohiseikatsu ul.choose-language.lang_link_button li {
    flex: 0 0 30%;
    padding: 0;
}
@media screen and (min-width: 390px) {
.link-foreign-shohiseikatsu ul.choose-language.lang_link_button li {
    flex: 0 0 34%;
}
}
.link-foreign-shohiseikatsu ul.choose-language.lang_link_button li a {
    min-width: 78px;
    padding: 5px;
    box-sizing: unset;
}
}
/* 消費生活センター用調整　END*/