﻿body, h1, h2, h3, h4, h5, h6, blockquote, pre, hr,
dl, dd, ol, ul, figure {
    margin: 0;
    padding: 0;
}

/* --- 7. S.Yamamoto (2016/01/18) --- */
html {
    font-size: 1em;
}

body {
    font-family:"BIZ UDGothic","Lucida Grande","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3"," メイリオ",Meiryo, sans-serif;
    /*font-size:14px*/
    font-size: 0.875em;
    line-height: 1.5;
    font-weight: 300;
    color: #111;
    background-color: #fdfdfd;
    -webkit-text-size-adjust: 100%;
}
/* --- */

h1, h2, h3, h4, h5, h6,
p, blockquote, figure,
.highlight {
    margin-bottom: 5px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}

/* --- 7. S.Yamamoto (2016/01/18) --- */
a {
    /*color: #2a7ae2;*/
    color: #0000ff;
    text-decoration: none;
    font-weight: 600;
}

a:visited {
    /*color: #1756a9;*/
    color: #800080;
}

/*a:hover {*/
a:hover, a:focus {
    /*color: #111;*/
    color: #800080;
    text-decoration: underline;
}
/* --- */

/* --- JCT Add STA (2023/3/7) --- */
.kasaneru-map{
	/* position: relative; */
}
.kasaneru-map-to{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;    
    /* position: absolute;
    top: 50%;
    left: 40%; */
}
.update-info{
    display: flex;
    padding-top:30px;
    padding-bottom:30px;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}
.kasaneru-menu-select{
	display: flex;
}
.kanren-rink-info{
    display: flex;
    flex-wrap: wrap;
}
.kanren-rink-info > div{
    width: 50%;
    padding: 10px;
}
.kanren-rink-info-title{
	font-size: 1.2em;
}
.kanren-rink-info-title a{
	color:#0883FF;
}
.wagamati-menu-select-info-pict img{
	width:50%;
}
a{
	color:#111;
}
/* --- JCT Add END (2023/3/7) --- */

h3 {
    margin-top: 0.2em;
    margin-bottom: 0.6em;
}

h3 a, h3 a:visited {
    color: #3c6eb4;
}


/* --- 7. N.Mori (2016/12/20) --- */
select {
    width: 100%;
}
/* --- */


.headlines {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.headlines .headlines-body {
    padding: 5px 5px 5px 5px;
}

.headlines img {
    padding-top: 14px;
    margin-left: auto;
    margin-right: auto;
}

.headlines#devassistant1 {
    background-image: url("/static/img/noisy_grid.png") !important;
    background-repeat: repeat;
    padding-bottom: 20px;
}

.headlines#devassistant1 p, .headlines#devassistant1 h2 {
    text-align: left;
}

.headlines#devassistant2 {
    background-image: url("/static/img/noisy_grid.png") !important;
    background-repeat: repeat;
    padding-bottom: 20px;
}

.headlines#devassistant2 p, .headlines#devassistant2 h2 {
    text-align: left;
}

.rowline {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.img-circle {
    display: none;
}

/* ---N.mori 2016/12/12
.input-group {
    width: 100%;
}
*/

.rowline2 {
    display: none;
}
.media {
    text-align: left;
    padding-top:10px;
}

.link1 {
}

.link2 {
    height:160px;
}

#MenuLink1{
    display:none;
}

#MenuLink2{
    display:block;
}

/* --- 7. N.Mori (2016/12/20) ---
.projectname {
    padding: 5px 0px 0px 0px;
    font-size: 18px;
    color: #454545;
    line-height: 20px;
    margin: 0px 0px 0px 0px;
}
.projectsubname {
    color: #575757;
    font-size: 12px;
    text-align:left;
}
*/
.copyright {
    display: inherit;
    font-size: 90%;
    text-align:center;
}
.shadow {
    box-shadow: 3px 3px 4px #9a9a9a;
}
.content {
    margin: 10px 0;
    padding-bottom: 3px;
    border-radius: 10px;
}
.title {
    font-size: 1.4em;
    margin-left: 10px;
}
.search-address {
    width: 100%;
    border: 1px solid #000000;
    background-color: #eeeeee;
    padding: 5px 10px;
}
.select {
    width: 100%;
}
.navbar-form {
    margin: 0;
    padding: 0 5px 5px 5px;
}
.panel {
    padding: 0 5px;
}
.media-area {
    padding: 5px;
}
.content-div {
	background-color:#f4f4f4;
	padding-top:10px;
	padding-bottom:20px;
}

.OshiraseContent {
	color:#FF0000;
	margin:15px auto;
	width: 90%;
	max-height:85px;
	overflow: auto;
}

.media-titlebar {
    text-align: center;
    font-weight: bold;
}
.media-title {
    font-size: 1.3em;
}
/* JCT Add STA (2023/03/20) */
.media-subtitle {
    font-size: 1.5em;
    margin: 3px 0;
}
/* JCT Add END (2023/03/20) */

.border-text{
  padding: 5px 10px;
  border: 1px solid darkslateblue;
  border-radius: 18px;
}

.media-content {
    width: 90%;
    margin: 15px auto;
}
.media-image {
	/* JCT Mod STA (2023/03/20) */
    /* width: 100%;*/
    max-width: 90%;
    display:block;
    margin-left:auto;
    margin-ringht:auto;
	/* JCT Mod END (2023/03/20) */
}
.hazard-icon {
    margin-top: 5px;
    width: 50%;
    border-radius: 5px;
    -moz-border-radius: 5px;
    box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.7);
}
.hazard-name-area {
    position: absolute;
    bottom: 7px;
    left: 0;
    right: 0;
}
.hazard-name {
    background-color: rgba(255,255,255,0.8);
    font-size: 0.9em;
    font-weight: normal;
    color: #000000;
}
.left .text-white {
    background-color: #843c0c;
}
.right .text-white {
    background-color: #525252;
}
.left .content {
}
.right .content {
}
.left .media-titlebar {
}
.right .media-titlebar {
}
.text-black {
    color: #000000;
}
.text-white {
    color: #ffffff;
}
.box {
    overflow:auto;
    width: 100%;
    padding: 5px;
    margin: 0 auto;
}
.box_srcollbar {
    height: 80px;
	/* JCT Mod STA (2023/03/20)
    //background-color: #F9F9F9;
    //color: #000000;
    //margin-bottom: 20px;
	// JCT Mod END (2023/03/20) */
}
/* JCT Add STA (2023/03/20) */
.update-topic::-webkit-scrollbar {
width: 16px;
height: 20px;
}
.update-topic::-webkit-scrollbar-track {
border-radius: 5px;
}
.update-topic::-webkit-scrollbar-thumb {
background: #ACACAC;
border-radius: 5px;
width:100px;
}
/* JCT Add END (2023/03/20) */
.box_title{
    font-weight: bold;
	/* JCT Mod STA (2023/03/20) */
    /*font-size: 1.1em;*/
    font-size: 1.4em;
    /*background-color: #505050; */
    /*color: #ffffff;*/
    /*margin-top: 10px;*/
    height:120px; 
    width:10%;
    border:none;
	/* JCT Mod END (2023/03/20) */
}
.box_title2{
    border: 1px solid #ccc;
    font-weight: bold;
    font-size: 1.1em;
    background-color: #ffffff;
    color: #000000;
    margin-top: 10px;
}
.left, .right {
    padding: 0 4px 0 0;
}
.btn, li, .form-control {
    font-size: 1em;
}

.bx-wrapper img {
    display: inline-block;
}
/*
@media (min-width: 436px) and (max-width: 768px) {
    .projectsubname {
        color: #575757;
        font-size: 12px;
        text-align:center;
    }
}
*/
/* --- */
/* PC, iPad */
@media (min-width: 768px) {
    #MenuLink1{
        display:block;
    }

    #MenuLink2{
        display:none;
    }

    .rowline {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.5em;
        text-align: center;
        width:940px;
    }

    .rowline2 {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.5em;
        text-align: center;
        display: initial;
    }

    /* --- 7. N.Mori (2016/12/12) ---
    .projectname {
        color: #454545;
        font-weight: 600;
        font-size: 30px;
        line-height: 60px;
    }

    .projectsubname {
        font-size: 16px;
        text-align:center;
    }
    */
    /* --- */

    .copyright {
        display: inherit;
    }

    .img-circle {
        display: initial;
    }

    /* --- 7. N.Mori (2016/12/12) ---
   .linksubname {
        color: #505050;
        font-size: 15px;
    }

    .linkname {
        color: #505050;
        font-size: 20px;
    }
    */
    .linksubname {
        margin-left: 6%;
    }
    .linkname {
        margin-left: 4%;
    }
    /* --- */

    footer{
        color: #505050;
    }

    .linkimg-circle {
        display: initial;
    }

    .link1{
        height:215px;
    }

    .link2{
        height:120px;
    }

    .link3{
        height:80px;
    }

    /* --- 7. N.Mori (2016/12/20) --- */
    .media-title {
        font-size: 1.6em;
    }
	/* JCT Add STA (2023/03/20) */
    .media-subtitle {
        font-size: 1.6em;
    }
	/* JCT Add END (2023/03/20) */
    .left {
        padding-right: 15px;
    }
    .right {
        padding-left: 15px;
    }
    /* --- */
    #link-menu-qa { display: none; }

    #kasaneru-menu-select-info-pict-mobile { display: none; }
	/* // JCT Add STA (2023/03/20) */
    #kasaneru-menu-select-info-pict { display : flex; }
	/* // JCT Add END (2023/03/20) */
}

/* smart phone */
@media (max-width: 767px) {
    .content {
        padding: 5px;
        margin: 5px 0px;
    }
	/* // JCT Add STA (2023/03/20) */
	.content-div {
		height:auto;
	}
	/* // JCT Add END (2023/03/20) */
    .media-title {
        font-size: min(1.7em, 5.5vw);
    }
    .media-title > div {
        font-size: 0.9em;
    }

    .media-subtitle {
        font-size: min(1.7em, 5.5vw);
        margin-bottom: 5px;
    }
	/* JCT Add STA (2023/03/20) */
    .update-info{
    	display: block;
    }
    
    .box_title{
    	height:auto;
    	width:100%;
    	margin-bottom: 10px;
    	border:none;
    }
	/* JCT Add END (2023/03/20) */
    #kasaneru {
        font-size: 0.9em;
        /* margin-bottom: 5px!important; */
    }

    #wagamati {
        font-size: 0.9em;
    }
    #kasaneru-media-content { display: none; }
    #wagamati-media-content { display: none; }

    #kasaneru-title-input { font-size: 1em; }
    #wagamati-title-input { font-size: 1em; }

    #kasaneru-menu-select-info-pict { display: none; }
    /* #wagamati-menu-select-info-pict { display: none; } */

    #kasaneru-menu-select-info-pict-mobile { display: block; }

    #kasaneru > div > button {
        margin-top: 5px;
        padding: 2px 6px;
    }

    #wagamati > div > button {
        margin-top: 5px;
        padding: 2px 6px;
    }

    #link-menu-qa {
        display:inline;
        line-height: 2em;
    }
}

.hazard-icon-mobile {
    margin-top: 5px;
    width: 80%;
    border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.7);
}

.main-content {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  line-height: 30px;
}

.label-row {
  width: 100%;
  padding-left: 15px;
}

.label-title {
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding-right: 0;
}

.main-search-btn {
  background-color: #000000;
  color: #ffffff;
  border-radius: 18px;
  font-size: 1.3em;
  font-weight: normal;
  padding: 2px 0;
  cursor: pointer;
  position: relative;
  bottom: 2.5px;
  width: 200px;
}

.main-search-btn img {
  height: 25px;
  width: 25px;
  padding: 0;
  position: relative;
  left: 14px;
  top: 2.5px;
}

.main-search-btn span {
  padding: 0 0 0 20px;
  position: relative;
  left: 5px;
}

.new-function {
  padding: 15px 10px 5px 10px;
}

.text-link {
  text-decoration: underline;
}

.media-image-div {
  background-image: url("../image/kasanerumap.png");
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 200px;
}

.disaster-icon {
  padding-right:0px; 
  padding-left:0px;
}

@media (max-width: 767px) {
  .paragraph {
    line-height: 1.8em;
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .label-title {
    padding-left: 10px;
  }

  .main-search-btn-container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .main-search-btn {
    margin-top: 3px;
    width: 100%;
    min-width: 230px;
  }

  .main-search-btn img {
    left: 1.5em;
  }
  
  .main-search-btn span {
    left: 1.5em;
    font-size: min(1.2em, 5.5vw);
  }

  .new-function {
    padding-top: 5px;
    padding-bottom: 0;
  }

  .kasaneru-map{
    padding-left: 15px;
    padding-right: 15px;
  }

  .media-image-div {
    height: 160px;
  }

  .disaster-icons {
    padding: 2px 5px;
    height: 4em;
  }

  .disaster-icon {
    max-width: 8em;
    width: 25%;
    height: 6em;
  }

  .media-titlebar {
    margin-bottom: 1em;
  }
}

@media (min-width: 768px) {
  .label-sub-title {
    height:30px;
    line-height:30px;
  }

  .new-function {
    text-align: right;
    padding-right: 15px;
  }

  .kasaneru-map{
    padding: 5px 10px;
  }

  .label-title-inline {
    min-width: 215px;
    width: 35%;
    line-height: 3em;
  }

  .disaster-icons {
    width: 65%;
    position: relative;
    left: 10px;
  }

  .disaster-icon {
    width: 6.8em;
  }
}
