@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
/*
ホーム:共通レイアウト
#home01 セクション：緊急情報／ライフイベントから探す
#home02 セクション：新着情報／キーワード検索
#home03 セクション：バナー（観光ガイド・ふるさと納税）
#home04 セクション：由良町について アイコン付きリスト 人口世帯数
#home05 セクション：もしもの時は
#home06 セクション：関連リンク
*/
/*
  カラーパレット
------------------------------- */
:root {
 /* light color */
 --light-purple: #EEEEFD;
 --light-skyblue: #EAF3FE;
 --light-green: #EBF8FA;
 --light-pink: #FDEEEE;
 --light-orange: #FEF6EA;
 --light-yellow: #F7FCED;
 --light-blue: #E7F0FB;
 /* Basic */
 --c-purple: #8560B0;
 --c-blue: #1F7CAD;
 --c-blue2: #0C59A9;
 --c-green: #1B8087;
 --c-green2: #35853F;
 --c-red: #C24440;
 --c-oranege: #F08300;
 --c-white: #FFFFFF;
 --c-gray: #E7F1FB;
 --c-gray2: #A8ACB3;
 --c-text: #2E3437;
 /* Shadows */
 --shadow-card: 0 10px 30px -5px rgba(10, 25, 47, 0.08);
 --shadow-card-hover: 0 20px 35px -5px rgba(10, 25, 47, 0.15);
 --shadow-navy-glow: 0 8px 25px -5px rgba(10, 25, 47, 0.25);
 --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
 /* font */
 --f-tight: "Yu Gothic UI", "游ゴシック UI", "Meiryo UI", "メイリオ", sans-serif;
}

/*-------------------------------*/
/* ホーム:共通レイアウト
-------------------------------*/
@media print, screen and (min-width:769px) {
 section[id^="home0"] { padding-top: 60px; padding-bottom: 50px;}
 #home01 { padding-bottom: 28px;}
 .home #lifeEvent { margin-bottom: 30px;}
 #home02 { padding-top: 14px;}
}
/* hidden Logo */
#homeLogo { position: absolute; top: -1px; left: -1px; height: 1px; width: 1px; overflow: hidden; margin: 0 !important; padding: 0 !important;}
#homeLogo .noread { height: auto; max-width: 100%; margin: -1px;}
/*スライドショー　キャッチコピー*/
.caption {  display: flex;  align-items: center;  justify-content: center;}
.catch_main {  font-family: "Noto Serif JP", serif;  font-optical-sizing: auto;  font-weight: 500;  font-style: normal;  color: #FFF;  text-shadow: 0 3px 8px rgba(18, 44, 114, .6);  text-align: center;}
.catch_main > p:first-of-type { font-size: 2.7rem;  margin-bottom: 12px;  line-height: 1.42em;}
.catch_main > p:nth-of-type(2),.catch_main > p:last-of-type { font-family: "Noto Sans JP", sans-serif;  font-size: 1.8rem;  margin-bottom: 4px;  line-height: 1em;}
.catch_main > p:last-of-type { display: block;  font-size: 0.86rem;}
@media print, screen and (min-width:769px) {
  .catch_main > p:first-of-type { font-size: 5.2rem;  margin-bottom: 24px;}
  .catch_main > p:nth-of-type(2) { font-size: 3.5rem; margin-bottom: 8px;}
  .catch_main > p:last-of-type { font-size: 1.8rem; }
}

/* #home01 セクション：緊急情報／ライフイベントから探す
-------------------------------*/
#home01 { position: relative; overflow: hidden; padding-top: 20px; background: url("../images/home/bg_sec1.jpg") no-repeat; background-size: cover; background-position: right;}
#home01::after { content: ""; position: absolute; bottom: 0; display: block; height: 10px; width: 100vw; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 28" width="100%" height="28" preserveAspectRatio="none"><path d="M -106.66666666666667 28 Q -80 28 -53.33 14 Q 0 -14 53.33 14 Q 80 28 106.67 28 Q 133.33 28 160 14 Q 213.33 -14 266.67 14 Q 293.33 28 320 28 Q 346.67 28 373.33 14 Q 426.67 -14 480 14 Q 506.67 28 533.33 28 Q 560 28 586.67 14 Q 640 -14 693.33 14 Q 720 28 746.67 28 Q 773.33 28 800 14 Q 853.33 -14 906.67 14 Q 933.33 28 960 28 Q 986.67 28 1013.33 14 Q 1066.67 -14 1120 14 Q 1146.67 28 1173.33 28 Q 1200 28 1226.67 14 Q 1280 -14 1333.33 14 Q 1360 28 1386.67 28 L 1280 28 L 0 28 Z" fill="%23ffffff"></path></svg>'); background-size: 150% 10px; z-index: 2;}
@media print, screen and (min-width:769px) { #home01 { padding-top: 48px;}
 #home01::after { height: 28px; background-size: 100% 28px;}
}
#home01.inverse-black, #home01.inverse-blue { background: none;}

/* 緊急情報 */
#boxEmergency { display: flex; margin: 0px auto 20px; padding: 0; background: var(--light-pink); color: var(--c-text); border-radius: 10px; border: 2px solid var(--c-red); flex-direction: column; flex-wrap: wrap;}
#emMidashi { display: flex; background-color: var(--c-red); justify-content: center; align-items: center;}
#boxEmergency h2 { position: relative; display: inline-block; line-height: 1; font-size: 1.8rem; margin: 0; padding: 16px 0 14px 40px; text-align: center; color: #FFF; background: url("../images/home/ico_beacon.svg") no-repeat 0 10px; background-size: 28px 28px;}
#boxEmergency #emBox { color: var(--c-text); margin: 12px 24px;}
#boxEmergency #emBox p:last-of-type { margin-bottom: 0;}
@media print, screen and (min-width:769px) {
 #boxEmergency { display: flex; width: 100%; flex-direction: row; border-radius: 5px; flex-wrap: nowrap; margin: 0px auto 48px;}
 #emMidashi { max-width: 24%; width: 100%; justify-content: flex-start;}
 #boxEmergency h2 { font-size: 2.8rem; margin: 30px; padding: 8px 0 8px 65px; background-position: 12px 50%; background-size: 35px 35px;}
 #boxEmergency #emBox { display: flex; flex-flow: wrap; align-items: center; margin: 20px; font-size: 112.5%; width: 100%;}
 #boxEmergency #emBox *:last-child { margin-bottom: 0;}
}
/* #home02　セクション：新着情報／キーワード検索
-------------------------------*/
/* 新着情報 */
#home02 { margin-top: 10px;}
#home02 h2 { margin: 0 0 10px; color: #FFF; border-radius: 0; text-align: center; background-color: var(--c-blue2); border-radius: 8px 8px 0 0;}
#home02 #keywordBox h2 { background-color: var(--c-gray); color: var(--c-blue2);}
#infoArea .col2 li a { background-color: transparent; color: var(--c-text);}
#infoArea > div { display: flex;}
.post-date { display: block; width: 100%; color: var(--c-blue2); background-color: transparent;}
#infoBox, #keywordBox { display: inline-block; width: 100%; margin-bottom: 20px; border: solid 1px var(--c-blue2); border-radius: 10px 10px 0 0;}
#keywordBox { margin-bottom: 20px;}
#keywordBox li a { padding: 10px;}
#infoBox ul { margin: 0 10px 20px; max-height: 380px; overflow-y: auto; color: var(--c-text); background-color: #FFF;}
#infoBox li { margin-left: 0px; margin-bottom: 0; padding: 8px 10px; border-bottom: 1px dashed var(--c-gray2);}
#infoBox ul li::after { content: none !important;}
.topicsLink a { position: relative; display: block; width: 300px; margin: 0 auto 20px; padding: 14px 10px 14px 10px; background-color: var(--c-gray); color: var(--c-blue2); border: 1px solid var(--c-blue2); font-size: 1.8rem; font-weight: 700; text-align: center; border-radius: 50px; text-decoration: none;}
.topicsLink a:hover { color: var(--c-text); background-color:#FFF;}
.topicsLink a::after { content: ""; position: absolute; display: block; top: 0; bottom: 0; margin: auto; right: 30px; width: 28px; height: 12px; background-image: url("../images/icon_arrow_r.svg"); background-repeat: no-repeat;}
@media print, screen and (min-width:769px) {
 #keywordBox li a { font-size: 1.8rem;}
 #keywordBox .ulImg.bnr2 { gap: 20px;}
 #keywordBox .ulImg.bnr2 li { width: calc((100% - 20px) / 2); margin-bottom: 0;}
 #infoArea { margin-bottom: 40px;}
 #infoArea .col2:first-of-type { width: 57.2%; padding-right: 42px; margin-right: 0;}
 #infoArea .col2:last-of-type { width: 42.8%;}
 #infoBox, #keywordBox { margin-bottom: 0;}
 #home02 h2 { font-size: 3rem;}
 #home02 h3 { font-size: 2.4rem;}
 #infoArea .col2 li a { font-size: 1.8rem;}
}
/* キーワード検索 */
#keywordInner { color: var(--c-text); margin: 30px 24px 0;}
#keywordInner h3 { text-align: center;}
#keywordInner h3::before { display: none;}
#keywordInner.inverse-black, #keywordInner.inverse-blue { border: 2px solid #FFF !important;}
#keywordInner .searchBox { display: inline-block; width: 100%; margin-bottom: 24px;}
#keywordBox form.gsc-search-box { border: 1px solid var(--c-gray2) !important; border-width: 2px !important;}
#keywordInner .gsc-input { background-position: 10px 55% !important; height: 100% !important;}
#keywordBox form.gsc-search-box .gsib_b { background: url("../images/ico_search_blue.svg"); background-repeat: no-repeat; background-position: center; cursor: pointer;}
.pressLink { position: relative; background-color: var(--c-blue2); border-radius: 10px; margin-bottom: 20px; color: #FFF; border-radius: 10px; font-size: 2rem; text-align: center;}
.pressLink > a { position: relative; display: block; text-decoration: none; color: #FFF; top: 0; bottom: 0; margin: auto; padding: 24px 0; border-radius: 10px; font-size: 2rem;}
.pressLink::after { content: ""; position: absolute; display: block; top: 0; bottom: 0; margin: auto; right: 24px; width: 28px; height: 12px; background-image: url("../images/icon_arrow_r_wh.svg"); background-repeat: no-repeat;}
@media print, screen and (min-width:769px) {
 #keywordInner .searchBox, #keywordInner .gsc-input-box,
 #keywordInner .gsc-search-button-v2 { height: 60px !important;}
 #keywordInner form.gsc-search-box { padding-bottom: 0;}
 #keywordInner input.gsc-input { padding: 15px 10px !important; font-size: 125% !important;}
 #keywordInner .searchBox table td.gsc-search-button { width: 60px !important; border-left: 1px solid var(--c-gray2) !important;}
 .pressLink { max-width: 400px; margin: 0 auto 30px !important;}
}
/* #home03　セクション：ガイド
-------------------------------*/
#home03 { background: url("../images/home/bg_sec2.jpg") no-repeat; background-size: cover; background-position: bottom;}
/* #home04　セクション：由良町について
-------------------------------*/
#home04 { margin-top: 20px; padding: 0; background: url("../images/home/bg_sec3.jpg") no-repeat; background-size: cover; background-position: top;}
#mapYura { text-align: center;}
#jinkou { max-width: 560px; margin: 0 auto;}
@media print, screen and (min-width:769px) {
 #home04 { margin-top: 80px; margin-bottom: 20px; padding: 50px 0; padding-bottom: 32px;}
}
.aboutList2 { display: block; margin-left: 0;}
.aboutList2 li { margin-left: 0;}
.aboutList2 a { padding: 2px 0 0 12px; position: relative;}
.aboutList2 a::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; height: 24px; margin: auto 0; border-radius: 50px; background-color: var(--c-blue2); color: var(--c-text);}
.aboutList2 li::after, .aboutList.inverse-black li::after, .aboutList.inverse-blue li::after, .aboutList2.inverse-black li::after, .aboutList2.inverse-blue li::after { content: none !important;}
@media print, screen and (min-width:769px) {
 .aboutList2 { display: flex; gap: 20px; font-size: 2rem; margin-left: 0;}
 .aboutList2 li { width: calc((100% - 20px) / 2); margin-left: 0;}
}
/* 人口世帯数 */
#mapYura img { border: solid 1px var(--c-blue); border-radius: 5px;}
#boxPopulation { position: relative;}
#boxPopulation h3 { margin-bottom: 10px;}
#boxPopulation h3 + p { text-align: center; font-size: 87.5%;}
#boxCity { display: flex; gap: 2%; flex-wrap: wrap; margin: 0;}
#boxCity li { display: flex; justify-content: space-between; align-items: center; padding: 5px 0 5px 0px; margin: 0 0 5px 0; white-space: nowrap; list-style: none; position: relative; width: 49%;}
#boxCity li .txtBox { margin-left: 5px; width: 100%; font-weight: bold;}
#boxCity li::after { content: none !important;}
#boxCity li::before { content: ""; position: absolute; top: 2px; left: 2px; width: 30px; height: 30px;}
#boxCity #ico_population::before { background: url("../images/home/ico_popuration.svg") no-repeat 0 0;}
#boxCity #ico_male::before { background: url("../images/home/ico_male.svg") no-repeat 0 0;}
#boxCity #ico_female::before { background: url("../images/home/ico_female.svg") no-repeat 0 0;}
#boxCity #ico_hold::before { background: url("../images/home/ico_setai.svg") no-repeat 0 0;}
#boxCity [id^="ico_"] { padding-left: 30px;}
/* #home05　セクション：もしもの時は
-------------------------------*/
#home05.inverse-black li, #home05.inverse-blue li { border: 2px solid #FFF !important;}
#home05.inverse-black li::after, #home05.inverse-blue li::after, #magBox li::after { content: none !important;}
@media print, screen and (min-width:769px) {
 #home05 h2 { margin-top: 0;}
}
#magBox, #magBox li { margin-left: 0;}
#magBox { display: block; margin-bottom: 0;}
#magBox li { margin-bottom: 20px; padding: 24px 16px 20px; background: url("../images/home/bg_koho01.jpg"); background-repeat: no-repeat; background-size: cover; border: solid 1px var(--c-gray2); border-radius: 5px; text-align: center;}
#magBox li:last-of-type { background: url("../images/home/bg_koho02.jpg"); background-repeat: no-repeat; background-size: cover; margin-bottom: 0;}
#magBox li a { display: block;}
#magBox li img { display: block; margin: 0 auto 16px;}
#magBox li > a { display: block; margin: 0 auto 16px; background-color: #FFF; color: var(--c-blue2); font-size: 2.4rem; border-radius: 5px;}
#magBox li > .mb00 a { background-color: rgba(255,255,255,0.7);}
@media print, screen and (min-width:769px) {
 #magBox { display: flex; gap: 20px;}
 #magBox li { width: calc((100% - 20px) / 2); margin-bottom: 0;}
 #magBox li a span { width: 100%;}
}
/* #home06　セクション：関連リンク
-------------------------------*/
#home06 { padding-top: 20px;}
#relatedLinks, #relatedLinks li { margin-bottom: 0; margin-left: 0;}
#relatedLinks { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px;}
#relatedLinks li { width: calc((100% - 10px) / 2);}
#relatedLinks li::after { content: none !important;}
#relatedLinks li a { display: block;}
#relatedLinks li a img { display: block;}
@media print, screen and (min-width:769px) {
 #relatedLinks { gap: 20px;}
 #relatedLinks li { width: calc((100% - 20px * 3) / 4); margin-bottom: 20px;}
}
