﻿@charset "UTF-8";
/*bus_toppage css*/
.irekobox {
  width: 94%;
  margin-left: 3%;
  margin-bottom: 3%;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 4px 0px #ccc;
}

.irekobox2 {
  width: 45.5%;
  margin-left: 3%;
  margin-bottom: 3%;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 4px 0px #ccc;
}

.midashi_text {
  font-size: 22px;
  font-weight: bold;
  padding: 0% 0% 2% 3%;
}

/*modal_css*/
.middle_box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;/* 要素が横に並び切れない場合に折り返す */
  /*margin: 2% 3% 3% 0%;*/
}

.middle0_box{
  width: 100%;
  margin: 3% 3% 3% 0%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1300;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);

}

.modal-content {
  margin: 0% auto;
  padding: 0px 0px 0px 0px;
  width: 100%;
  text-align: center;
}

.modal-content p {
color:#fff;
margin: 0 0 0 0;
padding: 0 0 0 0;

}

.modal-trigger,
.modal-trigger2 {
    width: 100%;
    text-align: center;
    cursor: pointer;
    background-color: #fff;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/*以下imgモーダルcss*/
.myImg {
    display: block;
    width: 65%;
    margin: 0% 17.5% 0% 17.5%;
}

.myImg2 {
    display: block;
    width: 100%;
}

@media screen and (max-width:650px) { 

.irekobox {
  width: 94%;
}
  
.myImg {
  display: block;
  width: 80%;
  margin: 0% 10% 0% 10%;
}

.irekobox2 {
  width: 94%;
 
}

.modal-content img {
  width: 90%;
}

.midashi_text {
  font-size: 18px;
}

}