@charset "utf-8";
/* CSS Document */

.box {
  background-color: #ffffff;
  border: 10px solid #2c9133;
  border-radius: 10px;
}

.box a {
  color: #1d3994;
  text-decoration: underline;
  display: block;
}
.box a:hover {
  color: #E64B19;
}

.box h1 img {
  width: 100%;
  border-bottom: 1px solid #76c870;
}

.wrap {
  background: transparent url(/special/assets/images/box_bg.gif);
  padding: 4%; 
}

.reed {
  background-color: #ffffff;
  border: 4px solid #76c870; 
  padding: 4%;
}

.reed p {
  font-size: 1.4em;
}

.articl p {
  text-align: justify;
}



h2 {
  margin-top: 3rem;
  border-bottom: none;
  letter-spacing: 0.6rem;
  font-size: 1.5em;
}

h3 {
  border-bottom: 1px solid #76c870; 
  margin-bottom: 1rem;
  color: #0f5d14;
  font-size: 1.6em;
}

.ribbon {
  display: inline-block;
  position: relative;
  padding: 15px 20px;
  color: #FFF;
  background: #2c9133; 
}

.ribbon:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);/*折り返し部分*/
}

h2.closed {
	border-bottom: 3px solid #0f5d14;
  position: relative;
	margin-bottom: 0 !important;
}
h2.closed:hover {
  cursor: pointer;
}
h2.closed::after {
  border-right: solid 4px #0f5d14; 
  border-top: solid 4px #0f5d14; 
  content: "";
  display: block;
  height: 8px;
  position: absolute;
  right: 25px;
  top: 20%;
  transform: rotate(135deg); 
  transition: transform .3s ease-in-out, top .3s ease-in-out;
  width: 8px;
}
h2.closed.open::after {
  top: 45%; 
  transform: rotate(-45deg); 
}

.accordion-content {
  display: none;
}


.articl-box {
  background-color: #fff;
  padding: 4%;
  border: 1px solid #76c870;
  margin-top: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
table, th, td {
  border: solid 1px #cccccc;
}
th {
  width: 9rem;
  padding: 0.4rem;
  text-align: center;
}
td {  
  padding: 0.4rem;
}

@media only screen and (max-width: 670px) {
th {
  width: 100%;
  display: block;
  text-align: left;
}
td {
  display: block;
  width: 100%;
}
}

.img3box {
  
}

.img3box img {
  width: 100%;
  margin-top: 6%;
}

.text-box img {
  margin-top: 6%;
  width: 100%;
}



@media only screen and (min-width: 671px) {
.reed p {
  font-size: 1.6em;
}
.articl-box h3 {
  margin-bottom: 2rem;
  font-size: 1.6em;
} 
.articl-box p {
  font-size: 1.2em;
}
.articl-box table {
  font-size: 1.2em;
}
.img3box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.img3box figure {
  width: 31%;
} 
.img3box img {
    margin-top: 10%;
}
.text-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.text-box p {
  width: 64%;
}
.text-box figure {
  width: 32%;
}  
.text-box img {
  margin-top: 0;
}
}

@media only screen and (min-width: 961px) {
.img3box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.img3box figure {
  width: 31%;
} 

}

