body{
overflow-x: hidden;
}
h2 {
margin: 24px 0;
padding: 8px 2px;
}
h3 {
padding: 8px;
margin: 16px 0;
}
h4 {
padding: 2px 8px;
margin: 16px 0;
}
h5 {
padding: 0 8px;
margin: 16px 0;
}
@media screen and (max-width: 768px) {
h2, h3, h4, h5 {
margin: 0;
}}
#BODY img {vertical-align: middle;}

#CONTENTS label {
font-family: unset;
font-size: 1.6rem;
}
#CONTENTS [type="text"],
#CONTENTS select,
#CONTENTS input,
#CONTENTS label{
font-family: unset;
font-size: unset;
line-height: 1.8;
}

#TITLEBOX {
margin-bottom: 16px;
}
#BODY ul {
padding-left: 16px !important;
list-style-type: disc !important;
list-style-position: outside !important;
padding: 0 0 0 1em;
}
#BODY ul li {
list-style-type: none;
padding: .4em .5em;
position: relative;
}
@media screen and (max-width: 767px) {
#BODY ul li {
display: inline-block;
width: 96%;
}
}
#BODY ul li:before {
background-color: #7d7b83;
border-radius: 50%;
content: '';
position: absolute;
top: 1em;
left: -0.5em;
width: 8px;
height: 8px;
}
#DEF table,
#DEF table th,
#DEF table td {
  border-color: #707070 !important;
}
#BODY table th,
#BODY table td {
  padding: 8px 10px;
}
a:hover img {
    opacity: .75;
    filter: alpha(opacity=75);
    -ms-filter: "alpha(opacity=75)";
    -khtml-opacity: .75;
    -moz-opacity: .75;
    transition: 0.5s; }
.pcnone {
	display: none;
}
@media screen and (max-width: 767px) {
.spnone {
	display: none;
}
}
.dnone {
	display: none;
}
.floatl {
	float: left;
}
.floatr {
	float: right;
}
.fclear {
	float: right;
}
.textc {
	text-align: center;
}
.textl {
	text-align: left;
}
.textr {
	text-align: right;
}
.hidebox {
	display: none !important;
}
.viewbox {
}
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
.clearfix {
    min-height: 1px;
}
* html .clearfix {
    height: 1px;
    /*&yen;*//*/
    height: auto;
    overflow: hidden;
    /**/
}
.contact-form td table,
.contact-form td table tr,
.contact-form td table tr th,
.contact-form td table tr td {
  border:none;
}
.contact-form input[type="submit"],
.contact-form input[type="text"],
.contact-form select,
.contact-form textarea,
.contact-form button {
  box-shadow: none;
  outline: none;
  box-sizing:border-box;
  font-family: 'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
}
.contact-form input[type="text"],
.contact-form textarea {
  background: #f8f8f8;
  display: block;
  font-size: 16px;
  padding: 4px 8px;
  transition: 0.8s;
  box-sizing: border-box;
  border-radius: 0;
  border: 1px solid #AFAFAF;
}
.contact-form input[type="text"] {
  min-width: 300px;
}
@media screen and (max-width: 767px) {
.contact-form input[type="text"] {
  min-width: unset;
}}
.contact-form textarea {
  width: 100% !important;
  max-width: 640px;
}

.contact-form input[type="text"]:focus,
.contact-form textarea:focus {
  background: #e9f5fb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.contact-form textarea[name="content"] {
  display: inline-block;
  width: 100%;
  height: 200px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}
::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1;
}
::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #ccc;
  opacity: 1;
}
.contact-form {
  box-sizing:border-box;
}
.contact-form table {
  box-sizing:border-box;
  width: 100%;
}
.contact-form table th,
.contact-form table td {
  position:static;
  padding: 8px 16px;
}

.contact-form table th {
  width: 300px;
  padding-left: 20px;
  background: #ffecea;
  text-align: left;
  font-size:16px;
  vertical-align:middle;
}
/*! .contact-form table tr:nth-child(3) td,
.contact-form table tr:nth-child(2) td,
.contact-form table tr:first-child td{
border:none;
}
 .contact-form table tr:last-child td{
background: #fff;
padding: 0px;
border-right: none;
} */
@media only screen and (max-width: 768px) {
.contact-form table tr:last-child td{
text-align: center;
/* !border-left: none; */
}}
.contact-form .modmesg_label img {
vertical-align: middle;
padding: 0 0 0 8px;
}

.clearfix:after,
.inner-block:after {
  clear: both;
  content: "";
  display: block;
  height: 0px;
  font-size: 0;
  visibility: hidden;
}
#CONTENTS .contact-form input[type="submit"]{
position:relative;
padding:16px 0;
background:#9A031D;
color:#fff;
min-width:270px;
border: none;
border-radius:3px;
text-align:center;
margin-top:20px;
font-size: 16px;
font-weight: bold;
cursor:pointer;
line-height:150%;
}

#CONTENTS .contact-form input[type="submit"] + [type="submit"]{
background: #ECECEC;
color: #070707;
}

#CONTENTS .contact-form input[type="submit"]:hover{
background:#9A3C4C;
}

#CONTENTS .contact-form input[type="submit"] + [type="submit"]:hover{
background: #AFAFAF;
color: #070707;
}

.input_name {
    display: flex;
    align-items: center;
}
.input_name textarea {
    width: 50px;
}
.input_name input[type="text"] {
    max-width: 230px;
    margin-left: 8px;
}
.input_name input[type="text"]:first-child {
    margin-right: 16px;
}

.contact-form .modmesg_label{
font-size: 16px;
color: #161616;
}
.contact-form .modmesg_text{
color: red;
}
.contact-form select{
padding: 4px 8px;
font-size: 16px;
}

@media only screen and (max-width: 768px) {
.contact-form table td:nth-last-child(2){
padding: 10px;
}

.contact-form table td:last-child{
padding: 15px 10px;
}

.contact-form input[type="submit"]{
max-width:90%;
margin: 24px auto 0;
}
.contact-form table th,
.contact-form table td {
  border: 1px solid #d7d7d7;
  border-width: 1px 1px 0 1px;
}
.contact-form input[type="text"],
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
}
.contact-form  textarea[name="content"] {
  display: inline-block;
  width: 100%;
  height: 200px;
}

.contact-form .txt-required {
  margin-bottom: 30px;
}
.contact-form .txt-required:before {
  position: absolute;
  top: 2px;
  left: 0;
}
.contact-form table,
.contact-form table tbody,
.contact-form table tr,
.contact-form table th,
.contact-form table td{
  display: block;
  width: 100%;
  border-bottom: none;
  box-sizing:border-box;
}
.contact-form table {
  border-bottom: 1px solid #d7d7d7;
  font-size: 14px;
}
.contact-form table th {
  padding: 8px 15px;
}
.contact-form table td {
  width: 100%;
}
.contact-form table textarea {
  width: 100%;
  height: 200px;
}

.input_name {
        display:block;
 }
.input_name input[type="text"] {
max-width: 100%;
margin:0;
}
.input_name input[type="text"]:first-child {
margin-bottom: 16px;
}
}
/*ヘッドライン*/
a.to_ichiran {
    display: block;
    position: absolute;
    bottom: -90px;
    left: 50%;
    box-sizing: border-box;
    transform: translateX(-50%);
    width: 100%;
    max-width: 320px;
    padding: 10px;
    background: #28749F;
    font-size:1.6rem;
    color: #fff;
    text-align: -webkit-center;
}

a.to_ichiran:hover{
opacity: 0.8;
color: #fff;
}

@media only screen and (max-width: 768px) {
a.to_ichiran{
bottom: -68px;
}
}

.headline_linkbox{
padding:0 ;
border-bottom:1px solid #AFAFAF;
faont-size:1.6rem;
}

.headline_linkbox br{
display: none;
}

.headline_linkbox>div {
width:auto !important;
padding:18px 8px 20px 0;
}
.headline_linkbox>div:nth-child(2) {
padding: 0 0 20px;
}
.headline_linkbox img{
vertical-align:middle;
}

@media only screen and (max-width: 768px) {
.headline_linkbox img:first-child{
margin: 0 0 8px 12px;
}
}

.headline_linkbox .floatclear{
padding: 0;
}

a.headline_link{
margin-left: 8px;
text-decoration:revert;
color:#070707;
font-size:1.6rem;
text-decoration: none;
}

a.headline_link:hover{
color:#0058DC;
text-decoration:revert
}
.headline_title span {
    display: block;
    width: 100%;
    max-width: 95px;
    text-align: center;
}

a.to_rss {
    display: block;
    padding: 4px 0 3px;
    height: 28px;
    width: 100%;
    max-width: 95px;
    margin-bottom: 5px;
    border: 1px solid #9AE4E6;
    background: #fff;
    box-sizing: border-box;
    line-height: 120%;
    vertical-align:middle;
    font-size: 1.6rem;
    color: #070707;
}

.headline_linkframe {
box-sizing:border-box;
overflow-y:scroll;
width:100%;
height:350px;
padding:0 8px;
background:#fff;
font-size: 1.6rem;
border: 1px solid #ccc;
border-radius: 3px;
}
.headline_linkframe_hauto {
box-sizing:border-box;
width:100%;
margin-bottom: 40px;
height:auto;
padding:8px;
background:#fff;
font-size: 1.6rem;
border: 1px solid #ccc;
border-radius: 3px;
}
@media only screen and (max-width: 768px) {
.headline_linkbox{
margin: 0;
padding: 20px 0px 18px 0px;
}


.headline_linkbox div:nth-child(2) {
    float: none !important;
}

.headline_linkbox>div{
margin-left: 0 !important;
padding: 0px 8px 0px 0;
}

a.headline_link{
display: block;
margin-left:0 !important;
padding: 0;
}
}

#CONTENTS input[type="submit"]{
padding: 8px 0;
background: #F5F1F1;
color: #070707;
min-width: 240px;
border: 1px solid #707070;
border-radius: 3px;
text-align: center;
margin: 0 auto 32px;
font-size: 16px;
font-weight: nomal;
cursor: pointer;
line-height: 150%;
display: block;
font-family: unset;
}

#CONTENTS input[type="submit"] + [type="submit"]{
background: #ECECEC;
color: #070707;
}

#CONTENTS input[type="submit"]:hover{
background:#AFAFAF;
}

#CONTENTS input[type="submit"] + [type="submit"]:hover{
background: #AFAFAF;
color: #070707;
}
aside select,
#CONTENTS input[type="text"] {
width: 91%;
}
@media only screen and (max-width: 768px) {
#CONTENTS input[type="text"] {
width: 100%;
}}


/*フォーム*/

#CONTENTS input,
#CONTENTS  button,
#CONTENTS  textarea,
#CONTENTS  select {
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

#CONTENTS input, 
#CONTENTS button,
#CONTENTS  textarea,
#CONTENTS  select {
	font-size: 100%;
	background: #ffffff;
	border: 1px solid #999999;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック  Medium', meiryo, sans-serif;
}
#CONTENTS select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url(/img/usr/default/Dy5-V-h0tc-1.png);
  background-size: 24px 100%;
  background-repeat: no-repeat;
  background-position: center right;
  padding-right: 32px;
}
#CONTENTS select::-ms-expand {
  -webkit-appearance: none;
  appearance: none;
}
#CONTENTS input:focus,
#CONTENTS textarea:focus {
	box-shadow: 0 0 3px #3B82CC;
	border: 1px solid #3B82CC;
}

#CONTENTS select {
    vertical-align: middle;
}

/* ラジオボタンとチェックボックスのスタイルけ変更*/

#CONTENTS  input[type="radio"],
#CONTENTS  input[type="checkbox"] {
    display: inline-block;
    margin-right: 6px;
}

#CONTENTS input[type="radio"] + label, #CONTENTS input[type="checkbox"] + label {
    cursor: pointer;
    display: inline-block;
    line-height: 30px;
    margin-right: 12px;
    position: relative;
}
@media (min-width: 1px) {
#CONTENTS input[type="radio"], #CONTENTS input[type="checkbox"] {
    display: none;
    margin: 0;
}
#CONTENTS input[type="radio"] + label,#CONTENTS input[type="checkbox"] + label {
    padding: 0 0 0 24px;
}
#CONTENTS input[type="radio"] + label::before,#CONTENTS input[type="checkbox"] + label::before {
    background-color: white;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 18px;
    left: 0;
    margin-top: -9px;
    position: absolute;
    top: 50%;
    width: 18px;
}
#CONTENTS input[type="radio"] + label::before {
    border: 2px solid #c2ced2;
    border-radius: 30px;
}
#CONTENTS input[type="checkbox"] + label::before {
    border: 2px solid #c2ced2;
}
#CONTENTS input[type="radio"]:checked + label::after,#CONTENTS input[type="checkbox"]:checked + label::after {
    box-sizing: border-box;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
}
#CONTENTS input[type="radio"]:checked + label::after {
    background: #19c5ff none repeat scroll 0 0;
    border-radius: 8px;
    height: 8px;
    left: 5px;
    margin-top: -4px;
    width: 8px;
}
#CONTENTS input[type="checkbox"]:checked + label::after {
    border-bottom: 3px solid #12b4eb;
    border-left: 3px solid #12b4eb;
    height: 8px;
    left: 3px;
    margin-top: -8px;
    transform: rotate(-45deg);
    width: 16px;
}
}
/*-- ラジオボタンとチェックボックスのスタイルけ変更  end --*/
.enkaku td,
.enkaku th,
.enkaku tr,
.enkaku table {
  border:none !important;
}
#BODY .enkaku td {
padding: 16px 16px;
}
  .enkaku > table tr {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
@media screen and (max-width: 768px) {
 #BODY .enkaku tr td {

}}
  .enkaku tr td:first-child {
    width: 200px;
    float: left;
    /*! margin-top: 20px; */
    color: #666 !important;
    font-weight: 600;
  }
@media screen and (max-width: 768px) {
  .enkaku tr td:first-child {
    border-left: 2px #e5e5d1 solid !important;
    width: 100%;
    border-bottom: 1px #e5e5d1 dashed !important;
}}
  .enkaku td:nth-child(2) {
    width: 60%;
    float: left;
    border-left: 2px #e5e5d1 solid !important;
    padding-left: 30px;
  }
@media screen and (max-width: 768px) {
  #BODY .enkaku td:nth-child(2) {
    width: 90%;
    padding: 16px 16px 24px;
}}
  .enkaku td:nth-child(2):before {
    content: '';
    width: 12px;
    height: 12px;
    background: #ef857d;
    position: absolute;
    left: 227px;
    top: 18px;
    border-radius: 100%;
  }
@media screen and (max-width: 768px) {
 .enkaku td:nth-child(2):before {
left: -5px;
}}
/*-- サイドメニューなし沿革  end --*/
.enkaku_overseas td,
.enkaku_overseas th,
.enkaku_overseas tr,
.enkaku_overseas table {
  border:none !important;
}
#BODY .enkaku_overseas td {
padding: 16px 16px;
}
  .enkaku_overseas > table tr {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
@media screen and (max-width: 768px) {
 #BODY .enkaku_overseas tr td {

}}
  .enkaku_overseas tr td:first-child {
    width: 100px;
    text-align:right;
    float: left;
    /*! margin-top: 20px; */
    color: #666 !important;
    font-weight: 600;
  }
@media screen and (max-width: 768px) {
  .enkaku_overseas tr td:first-child {
    border-left: 2px #e5e5d1 solid !important;
    width: 100%;
    text-align:left;
    border-bottom: 1px #e5e5d1 dashed !important;
}}
  .enkaku_overseas td:nth-child(2) {
    width: 60%;
    float: left;
    border-left: 2px #e5e5d1 solid !important;
    padding-left: 30px;
  }
@media screen and (max-width: 768px) {
  #BODY .enkaku_overseas td:nth-child(2) {
    width: 90%;
    padding: 16px 16px 24px;
}}
  .enkaku_overseas td:nth-child(2):before {
    content: '';
    width: 12px;
    height: 12px;
    background: #ef857d;
    position: absolute;
    left: 127px;
    top: 18px;
    border-radius: 100%;

  }
@media screen and (max-width: 768px) {
 .enkaku_overseas td:nth-child(2):before {
left: -5px;
}}
/*-- サイドメニューなし沿革 end --*/

.schcnd {
margin: 24px 0 16px 0;
border-bottom: 1px solid #ccc;
color: #707070;
font-weight: 500;
}
.schcnd p {
padding: 8px 0;
margin: 0;
font-weight: 500;
font-size: 21px;
color: #070707;
}
.ichiranpage_box .modmesg_text{
margin-bottom: 24px;
}

.sptable table td{
padding: 16px;
box-sizing: border-box;
font-size: 16px;
font-weight: normal;
}
.sptable table tr td:first-child{
width: 20%;
background: #ECECEC;
}

@media only screen and (max-width: 768px) {
.sptable table td{
display: block;
width: 100% !important;
}
.sptable table tr td:first-child{
padding: 10px;
}
.sptable table tr td{
box-sizing: border-box;
border-color: #AFAFAF;
}
}
.syspathul li {
margin: 0 8px;
}
.pathbox ul.syspathul li:first-child {
margin-left: 0;
}
