﻿@charset "UTF-8";

/*----------------------------------------------------------------default*/
html {
    font-size: 62.5%;
}

a {
    color: #000;
    text-decoration: none;
    -webkit-transition: 0.5s;
    /*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
    transition: 0.5s;
}

p {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-size: 100%;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: top;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style-type: none;
    padding: 0;
}


table {
    border-collapse: collapse;
}

input {
    cursor: pointer;
}

/*----------------------------------------------------------------fade*/
a,
input {
    transition: .3s ease-in-out;
}

a:hover,
input:hover {
    color: #49c4ec;
    opacity: .7;
    filter: alpha(opacity=70);
}


/*===============================================================スマホ*/
body {
    margin: 0;
    padding: 0;
    background: #f5f5dc;
    color: #444;
    font-family: Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
    font-size: 1.2rem;
    text-align: left;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

header {
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 45px;
    margin: -45px 0 0;
    background: #f5f5dc;
}

header .logo {
    position: absolute;
    top: 7px;
    left: 3%;
    width: 170px;
}

header h1+i {
    display: block;
    position: absolute;
    top: 14px;
    right: 45px;
    font-size: 1.8rem;
    cursor: pointer;
}

header .menu {
    position: fixed;
    z-index: 4;
    top: 45px;
    right: 0;
    width: 250px;
    height: auto;
    background: rgba(255, 255, 255, .9);
}

header .btn-menu {
    position: absolute;
    top: -33px;
    right: 20%;
    width: 25px;
    height: 25px;
    border: 1px solid #656565;
    border-radius: 5px;
}

header .btn-menu span {
    display: block;
    position: absolute;
    left: 5px;
    width: 15px;
    border-bottom: solid 2px #656565;
}

header .btn-menu span:nth-child(1) {
    top: 6px;
}

header .btn-menu span:nth-child(2) {
    top: 12px;
}

header .btn-menu span:nth-child(3) {
    top: 18px;
}

header .header-menu {
    display: none;
}

header .header-menu .global {
    margin: 0 0 15px;
    text-align: center;
}

header .header-menu .global ul {
    text-align: left;
    margin-left: 20px;
}

header .header-menu .global li {
    border-bottom: 1px solid #959595;
}

header .header-menu .global li a {
    display: block;
    height: 45px;
    font-size: 1.5rem;
    line-height: 30px;
}



footer {
    clear: both;
    background: #2c3e4a;
    /*背景色*/
    color: #ccc;
    /*文字色*/
    font-size: 85%;
    /*文字サイズ*/
    max-width: 100%;
    margin: 0 auto;
}

footer .inner {
    display: flex;
    justify-content: center;
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    background: #2c3e4a;
}

footer .copyright {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #ccc;
    background: #2c3e4a;
    text-align: center;
}


footer .address-blk .logo {
    width: 150px;
    margin: 0 0 15px;
}


footer .address-blk p {
    margin: 0 0 15px;
    color: #ccc;
}

footer .address-blk p i {
    margin: 0 5px 0 0;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: #7da5bf;
}

footer .pr {
    display: block;
    font-size: 80%;
}


#page-top {
    display: flex;
    position: fixed;
    right: 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgb(255, 115, 0);
    color: #fff;
    font-size: 1.6rem;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/*ここから*/
main {
    margin: 45px 0 0;
}

main .inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 5px;
    background: #fff;
}

#table-s {
    padding: 10px;
}

#law-s {
    margin: 15px;
}

#laws-s p {
    font-size: 1.2rem;
    padding: 0 10px;
}

#laws-s ul {
    padding: 0 10px;
}

#law-s li {
    font-size: 1.2rem;
}


#laws-s span.b {
    color: #d95b13;
    font-size: 1.4rem;
}

/*
.laws-title1 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #d95b13;
}
*/


.inner h2 {
    margin-bottom: 3px;
    font-size: 1.5rem;
    padding-left: 5px;
    font-weight: normal;
    color: #133d4e;
    border: double #32a1ce 3px;
}

#table-s .li-first {
    margin-bottom: 3px;
    font-size: 1.2rem;
    font-weight: 200;
    color: #133d4e;
    /*文字色*/
    padding: 10px 1px 0;
    /*上、左右、下への余白*/
}

#table-s h3 {
    font-size: 1.5rem;
    color: #d95b13;
    /*文字色*/
    font-weight: normal;
    padding: 0 15px 5px;
    /*上下、左右への余白*/

}

#table-s h3::first-letter {
    border-left: 6px solid #d95b13;
    /*左側のアクセント用ラインの幅、線種、色*/
    padding-left: 10px;
    /*アクセントラインと文字の間にとる余白*/
}

#noushin-m {
    display: none;
}

#noushin-b {
    display: none;
}

/*テーブル-----------*/
table {
    border-collapse: collapse;
    font-size: 100%;
    border-spacing: 0;
}

#table-m {
    display: none;
}

#table-b {
    display: none;
}

#area-b {
    display: none;
}

#area-m {
    display: none;
}

#laws-m {
    display: none;
}

#laws-b {
    display: none;
    text-align: start;
}

/*ta1設定*/
.ta1 {
    width: 100%;
    margin-bottom: 15px;
}

.ta1,
.ta1 td,
.ta1 th {
    border: 1px solid #696969;
    /*テーブルの枠線の幅、線種、色*/
    line-height: 2;
    padding: 5px;
    /*ボックス内の余白*/
    word-break: break-all;
}


/*左側ボックス*/
.ta1 th {
    width: 6.0em;
    /*幅*/
    text-align: start;
    background: #fff;
    /*背景色：アイボリーグレー*/
    font-weight: normal;
    font-size: 1.3rem;
}

.ta1 td {
    font-size: 1.3rem;
}

.ta1 .item {
    font-size: 1.4rem;
    color: #d95b13;
}

.ta1 .rem {
    border-right-color: transparent;
}

/*各ボックスの設定*/
.tab_box {
    width: 100%;
    font-size: 1.2em;
}

.tab_box label {
    padding: 1.5em;
}


.tab_box *,
.tab-box *:before,
.tab_box *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.tab_box {
    margin: 0.5em auto;
}

.tab_box>input[type='radio'] {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.tab_box .tabpanels {
    position: relative;
    min-height: 2470px;
    /* エリアの高さ */
}

.tab_box .tabpanel {
    position: absolute;
    width: 100%;
    opacity: 0;
    padding: 0.8em 0.8em 0.3em 0.8em;
    transform: translateY(-10px);
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
}

.tab_box>input:first-child:checked~.tabpanels>.tabpanel:first-child,
.tab_box>input:nth-child(3):checked~.tabpanels>.tabpanel:nth-child(2),
.tab-box>input:nth-child(11):checked~.tabpanels {
    opacity: 1;
    transform: translateY(0px);
}

.tab_box>input:first-child:checked~.tabpanels>.tabpanel:first-child {
    border: 3px solid #1c315d;
    background: white;
}

.tab_box>input:nth-child(3):checked~.tabpanels>.tabpanel:nth-child(2) {
    border: 3px solid #6e6820;
    background: white;
}


.tab_box>label {
    position: relative;
    display: inline-block;
    padding: 0 5px;
    font-size: 1.5rem;
    margin-left: 5px;
    cursor: pointer;
    border: 1px double white;
    border-radius: 3px 3px 0 0;
    color: ivory;

}

.tab_box>input:first-child+label {
    background: #1c315d;
    font-size: 1.5rem;
    font-weight: normal;
}

.tab_box>input:nth-child(3)+label {
    background: #6b6526;
    font-size: 1.5rem;
    font-weight: normal;
}

.tab_box>label:hover {
    color: #abe7f7;
}

.tab_box>input:focus+label {
    color: #ffffff;
}

.tab_box>input:checked+label {
    margin-bottom: -1px;
}





@media print {
    header {
        display: none;
    }
}



/*------tablet----------------------------------------*/

@media all and (min-width:500px) {
    #table-s {
        display: none;
    }

    #table-b {
        display: none;
    }

    #table-m {
        display: block;
        padding: 10px;
    }

    #noushin-s {
        display: none;
    }

    #noushin-m {
        display: block;
    }

    #area-m {
        display: block;
        margin: 5px;
        font-size: 1.3rem;
    }

    #area-b {
        display: none;
    }

    #laws-s {
        display: none;
    }

    #laws-m {
        display: block;
    }

    #laws-m p {
        font-size: 1.4rem;
        padding: 0 15px;
    }

    #laws-m ul {
        padding: 0 15px;
    }

    #law-m li {
        font-size: 1.4rem;
    }



    #laws-m span.b {
        color: #d95b13;
        font-size: 1.5rem;
    }

    .ta2 {
        width: 100%;
        table-layout: fixed;
        /*固定レイアウト */
        border-collapse: collapse;
        /* 隣接する枠線を重ねる */
        border: 1px solid black;
        /* 外枠：2px,実線,黒色 */
    }

    .ta2 th {
        width: 6.8em;
        border: 1px solid black;
        /* 表内側の線：1px,実線, */
        padding: 2px;
        text-align: start;
        vertical-align: top;
        font-weight: normal;
        font-size: 1.3rem;
    }

    .ta2 td {
        font-size: 1.3rem;
        border: 1px solid black;
        /* 表内側の線：1px,実線,黒色 */
        padding: 2px;
        text-align: left;
        vertical-align: top;
    }

    .ta2 .item {
        color: #d95b13d8;
        font-size: 1.6rem;
    }

    .inner h2 {
        margin-bottom: 10px;
        font-size: 1.7rem;
        padding-left: 5px;
        font-weight: normal;
        color: #133d4e;
        border: double #32a1ce 3px;
    }

    #table-m li {
        font-size: 1.1rem;
    }

    #table-m .li-first {
        margin-bottom: 3px;
        font-size: 1.3rem;
        font-weight: 200;
        color: #133d4e;
        /*文字色*/
        padding: 10px 1px 0;
        /*上、左右、下への余白*/
    }

    #table-m h3 {
        font-size: 1.5rem;
        color: #d95b13d8;
        /*文字色*/
        padding: 0px 15px 5px;
        /*上下、左右への余白*/
    }

    #table-m h3::first-letter {
        border-left: 6px solid #d95b13d8;
        /*左側のアクセント用ラインの幅、線種、色*/
        padding-left: 10px;
        /*アクセントラインと文字の間にとる余白*/
    }


    /* 地域計画等フロー（タブレット） 　*/

    .ta4 {
        width: 100%;
        table-layout: fixed;
        /*固定レイアウト */
        border-collapse: collapse;
        /* 隣接する枠線を重ねる */
        border: 1px solid black;
        /* 外枠：2px,実線,黒色 */
    }

    .ta4 td {
        font-size: 1.4rem;
        border: 1px solid black;
        /* 表内側の線：1px,実線,黒色 */
        padding: 2px;
        text-align: center;
        vertical-align: top;
    }

    .ta4 .item {
        color: #d95b13d8;
        font-size: 1.5rem;
        text-align: left;
    }


    .ta4 .rem {
        border-bottom-color: gainsboro;
    }



    /* z-index 　*/

    .soto {
        position: relative;
        z-index: 1;
        border: 1px solid #c0c0c0;
        color: black;
        height: 35em;
        margin-bottom: 1em;
        margin-top: 2em;
    }

    .shigai {
        position: absolute;
        z-index: 3;
        border: 2px solid gray;
        color: black;
        width: 27%;
        left: 50px;
        bottom: 5em;
        height: 12em;
    }

    .green-box {
        position: absolute;
        z-index: 2;
        border: 1px solid #afeeee;
        border-radius: 10px;
        box-shadow: 0px 0px 15px #afeeee;
        color: navy;
        width: 45%;
        right: 8%;
        top: 65px;
        height: 27em;
        opacity: 0.9;
    }

    .jun-box {
        position: absolute;
        z-index: 4;
        border: 2px dotted #c0c0c0;
        color: black;
        width: 65%;
        left: 50px;
        bottom: 1em;
        height: 3.8em;
    }

    .chousei {
        position: absolute;
        z-index: 5;
        border: 2px solid #c0c0c0;
        color: black;
        width: 65%;
        left: 50px;
        bottom: 5em;
        height: 23em;
        opacity: 0.8;
    }

    .ao {
        position: absolute;
        z-index: 6;
        border: 1px solid #afeeee;
        border-radius: 5px;
        box-shadow: 0px 0px 15px #afeeee;
        background-color: #f0f8ff;
        opacity: 0.7;
        color: navy;
        width: 22%;
        right: 13%;
        top: 260px;
        height: 12em;
    }

    .seisan {
        position: absolute;
        z-index: 7;
        background-color: #adcc33;
        color: black;
        width: 10%;
        left: 80px;
        bottom: 6em;
        height: 4em;
        opacity: 0.7;
    }

    .kubun {
        position: absolute;
        z-index: 8;
        color: green;
        width: 45%;
        left: 250px;
        bottom: 8em;
        height: 8em;
    }

    .tab_box .tabpanels {
        font-size: 1.3rem;
        min-height: 2350px;
    }

}


/*===============================================================PC*/
@media all and (min-width:851px) {
    body {
        font-size: 1.3rem;
        line-height: 1.615384615;
    }

    header {
        display: flex;
        position: relative;
        width: 1024px;
        height: 60px;
        margin: 0 auto;
        padding: 15px 0;
    }

    header .logo {
        position: relative;
        top: 0;
        left: 0;
        margin: 15px 50px 0 0;
    }

    header h1+i {
        top: 40px;
        right: 0;
        font-size: 1.6rem;
    }

    header .menu {
        position: relative;
        top: 0;
        width: auto;
        background: transparent;
    }

    header .header-menu {
        display: block !important;
    }

    header .btn-menu,
    header .sub-menu {
        display: none !important;
    }

    header .header-menu .global {
        margin: 0;
        text-align: left;
    }

    header .header-menu .global ul {
        display: flex;
    }

    header .header-menu .global li {
        border: none;
    }

    header .header-menu .global li a {
        display: inline-block;
        height: 60px;
        padding: 0 20px;
        border-right: 1px solid rgba(0, 0, 0, .1);
        border-bottom: 2px solid rgba(0, 0, 0, .1);
        border-radius: 10%;
        font-size: 1.3rem;
        line-height: 60px;
    }

    /*マウスオン時*/
    header .header-menu .global a:hover,
    header .header-menu .global .current a {
        background: #2c3e4a;
        /*背景色*/
        color: #fff;
        /*文字色*/
        -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1) inset;
        /*影の設定。右・下・ぼかし幅・色(rgba)の設定。rgba値は左３つが色指定(この場合は黒)で最後の小数点が透明度。insetは内側に向かっての影。*/
        box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1) inset;
        /*同上*/
    }


    /*フッターメニュー
---------------------------------------------------------------------------*/
    /*ボックス全体*/
    #footermenu {
        display: flex;
        margin: 35px 0;
        justify-content: center;
    }

    /*１行分の設定*/
    #footermenu ul {
        margin: 0 0 0 90px;
    }

    #footermenu li {
        margin: 0 0 10px;
    }

    footer .copyright {
        padding: 20px 0;
    }

    #page-top {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    main .inner {
        width: 850px;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }


    .inner h2 {
        font-size: 1.9rem;
    }

    #table-b {
        display: block;
        text-align: center;
        margin: 0 0 20px;
    }

    #table-m {
        display: none;
    }

    #noushin-b {
        display: block;
    }

    #noushin-m {
        display: none;
    }


    #area-b {
        display: block;
        font-size: 1.5rem;
    }


    #area-m {
        display: none;
    }

    #laws-b {
        display: block;
    }

    #laws-b p {
        font-size: 1.5rem;
        padding: 0 15px;
    }

    #laws-b ul {
        padding: 0 15px;

    }

    #law-b ul li {
        font-size: 1.5rem;
    }

    .laws-title3 {
        font-size: 1.7rem;
        font-weight: 500;
        color: #d95b13;
    }

    #laws-b span.b {
        color: #d95b13;
        font-size: 1.6rem;
    }

    #laws-m {
        display: none;
    }


    .ta3 {
        width: 100%;
        table-layout: fixed;
        /*固定レイアウト */
        border-collapse: collapse;
        /* 隣接する枠線を重ねる */
        border: 1px solid black;
        /* 外枠：2px,実線,黒色 */
        font-size: 1.4rem;
    }

    .ta3 th {
        width: 8.0em;
        border: 1px solid black;
        /* 表内側の線：1px,実線, */
        padding: 2px;
        text-align: start;
        vertical-align: top;
        font-weight: normal;
    }

    .ta3 td {
        border: 1px solid black;
        /* 表内側の線：1px,実線,黒色 */
        padding: 2px;
        text-align: left;
        vertical-align: top;
    }

    /* 地域計画変更等フロー */
    .item {
        font-size: 1.5rem;
        color: #d95b13;
    }

    .ta5 {
        width: 100%;
        table-layout: fixed;
        /*固定レイアウト */
        border-collapse: collapse;
        /* 隣接する枠線を重ねる */
        border: 1px solid black;
        /* 外枠：2px,実線,黒色 */
        font-size: 1.4rem;
    }

    .ta5 th {
        width: 8.0em;
        border: 1px solid black;
        /* 表内側の線：1px,実線, */
        padding: 2px;
        text-align: center;
        vertical-align: top;
        font-weight: normal;
    }

    .ta5 td {
        border: 1px solid black;
        /* 表内側の線：1px,実線,黒色 */
        padding: 2px;
        text-align: center;
        vertical-align: top;
    }

    .ta5 .item {
        color: #d95b13d8;
        font-size: 1.5rem;
        text-align: left;
    }

    .ta5 .rem {
        border-bottom-color: gainsboro;
    }


    #table-b h2 {
        font-size: 1.9rem;
        margin: 0;
    }


    #table-b li {
        font-size: 1.4rem;
    }



    #table-b .li-first {
        margin-bottom: 3px;
        font-size: 1.5rem;
        font-weight: 200;
        color: #133d4e;
        /*文字色*/
        padding: 10px 1px 0;
        /*上、左右、下への余白*/
    }

    #table-b h3 {
        font-size: 1.4rem;
        color: #d95b13d8;
        /*文字色*/
        padding: 0px 15px 5px;
        /*上下、左右への余白*/
    }

    #table-b h3::first-letter {
        border-left: 6px solid #d95b13d8;
        /*左側のアクセント用ラインの幅、線種、色*/
        padding-left: 10px;
        /*アクセントラインと文字の間にとる余白*/
    }

    #area-b {
        margin-top: 20px;
    }

    .tab_box .tabpanels {
        min-height: 2500px;
        /* エリアの高さ */
    }

    .tab_box>label {
        padding: 0 7px;
        margin-left: 10px;
        font-size: 3.0rem;
        border-radius: 6px 6px 0 0;
        color: ivory;
    }

    .tab_box>input:first-child:checked~.tabpanels>.tabpanel:first-child {
        border: 5px solid #1c315d
    }

    .tab_box>input:nth-child(3):checked~.tabpanels>.tabpanel:nth-child(2) {
        border: 5px solid #6e6820;
    }

    #tab1-first h3 {
        font-size: 1.6rem;
    }

    #tab1-first ul li {
        font-size: 1.5rem;
    }

    #tab1-first .inside {
        font-size: 1.5rem;
    }

    #tab1-second h3 {
        font-size: 1.6rem;
    }

    #tab1-second ul li {
        font-size: 1.5rem;
    }

    #tab1-second label {
        font-size: 1.5rem;
    }

    #tab1-second .inside {
        font-size: 1.5rem;
    }


}