/*-----------------------コンタクトフォーム------------------------*/
@media ( min-width : 420px ) {
#contact{
    display: block;
    text-align: center;
    width:50%;
}
}
    
/*茶インデックス実績本文*/
#actind{
    position: relative;
    color: #111;
    font-size: 1.143em;
    font-weight: bold;
    margin: 0 0 1.5em;
    padding: 0.5em 0.5em 0.5em 1.7em;
    border-bottom: 3px solid #71451F;
}
 
#actind:before{
    content: "";
    position: absolute;
    background: #ecb68a;
    top: 0;
    left: 0.4em;
    height: 12px;
    width: 12px;
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}
 
#actind:after{
    content: "";
    position: absolute;
    background:#e49758;
    top: 1.0em;
    left: 0;
    height: 8px;
    width: 8px;
    transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    -webkit-transform: rotate(15deg);
    -o-transform: rotate(15deg);
    -ms-transform: rotate(15deg);
}

/* 10.茶インデックス型の見出し */
#policy-subtitle2{
    position: relative;
    font-size: 2em;
    font-weight: bold;
    margin: 0 0 0.5em;
    padding: 0.5em 0.5em 0em 2.0em;
    border-bottom: 3px solid #71451F;
    background-color: rgba( 255, 255, 255, 0.85 )
}
 
#policy-subtitle2:before{
    content: "□";
    font-size: 100%;
    position: absolute;
    color: #9F6434;
    top: -0em;
    left: 0.3em;
    height: 12px;
    width: 12px;
}
 
#policy-subtitle2:after{
    content: "□";
    font-size: 100%;
    position: absolute;
    color: #220200;
    top: 0.3em;
    left: 0;
    height: 12px;
    width: 12px;
}

/* 11.黄インデックス型の見出し */
#policy-subtitle1{
    position: relative;
    font-size: 2em;
    font-weight: bold;
    margin: 0 0 0.5em;
    padding: 0.5em 0.5em 0em 2.0em;
    border-bottom: 3px solid #C1BBB6;
    background-color: rgba( 255, 255, 255, 0.85 )
}
 
#policy-subtitle1:before{
    content: "□";
    font-size: 100%;
    position: absolute;
    color: #AF9E8D;
    top: -0em;
    left: 0.3em;
    height: 12px;
    width: 12px;
}
 
#policy-subtitle1:after{
    content: "□";
    font-size: 100%;
    position: absolute;
    color: #676059;
    top: 0.3em;
    left: 0;
    height: 12px;
    width: 12px;
}

h2 span {
padding: 0 4px;
background: #F5F5DF;
}


/* 実績新聞一覧 */
@media ( min-width : 420px ) {
#actimg{
display:block;
float:left;
border:2px #000 solid;
margin-left:10px;
height: 300px;
width:212px;
margin-bottom:40px;
}

#heading01{
  position:relative;
  padding:9px;
  padding-left:15px;
  font-weight: bold;
  font-size: 18px;
  background-color: #ccc;
  border: 1px dashed #a5591b;
  border-left: 7px solid #a5591b;
}
}

@media ( max-width : 419px ) {
#actimg{
display:block;
float:left;
border:2px #000 solid;
margin-left:5px;
height:220px;
width:155px;
margin-bottom:30px;
}

#heading01{
  position:relative;
  padding:9px;
  padding-left:15px;
  font-weight: bold;
  font-size: 18px;
  background-color: #ccc;
  border: 1px dashed #a5591b;
  border-left: 7px solid #a5591b;
}
}

/* トップ帯
---------------------------*/
#topphoto{
margin-top:0%;
width:100%;
background-color:#fff;
}

.tphoto{
text-align: center;
}

/* タイムライン
---------------------------*/

.timeline {
  list-style: none;
}
.timeline > li {
  margin-bottom: 60px;
}

@media ( min-width : 640px ) {
 .timeline > li {
  overflow: hidden;
  margin: 0;
  position: relative;
}
 
.timeline-hako{
 margin-top:3px;
    margin-bottom: 3px;
}
    
.timeline-date {
  width: 180px;
  float: left;
  margin-top: 14px;
  font-size: 19px;
}
    
.timeline-content {
  width: 70%;
  float: left;
  border-left: 2px #86ff45 solid;
  padding-left: 30px;
  font-size: 16px;
  margin-top:-6px;
}
    
.timeline-content:before {
  content: '';
  width: 12px;
  height: 12px;
  background: #cccccc;
  position: absolute;
  left: 175px;
  top: 24px;
  border-radius: 100%;
}
 
}


@media ( max-width : 639px ) {
.timeline > li {
  overflow: hidden;
  margin: 0;
  position: relative;
}
 
.timeline-hako{
 margin-top:3px;
    margin-bottom: 3px;
}
    
.timeline-date {
  width: 250px;
  float: left;
  margin-top: 34px;
  font-size: 28px;
  font-weight: bold;
  margin-left: 18px;
  margin-bottom: 5px;
}
    
.timeline-content {
  width: 80%;
  float: left;
  border-left: 2px #86ff45 solid;
  padding-left: 5px;
  font-size: 16px;
  margin-top:-6px;
}
    
}


/*   Top 字体等    */
@media screen and (min-width: 500px){
#bgwhite{
background-color:rgba(255,255,255,0.5);
}

#top1_1{
padding-left:30px;
display: block;
font-size:20px;
}

#top1_2{
display: block;
text-align: right;
padding-right: 30px;
font-size:32px;
}

#top2_1{
margin-top:100px;
display: block;
text-align: center;
font-size:32px;
font-weight:bold;
color: #fff;
}

#top2_2{
margin-left: 10%;
margin-right: 10%;
display: block;
text-align: center;
font-size:24px;
font-weight:bold;
color: #fff;
}

#top3_1{
margin-top:100px;
display: block;
text-align: center;
font-size:32px;
font-weight:bold;
color: #000;
}

#top3_2{
margin-left: 10%;
margin-right: 10%;
display: block;
text-align: center;
font-size:24px;
font-weight:bold;
color: #000;
}

#top4_1{
margin-top:100px;
display: block;
text-align: center;
font-size:32px;
font-weight:bold;
color: #fff;
}

#top4_2{
margin-left: 10%;
margin-right: 10%;
display: block;
text-align: center;
font-size:24px;
font-weight:bold;
color: #fff;
}

#top5_1{
margin-top:100px;
display: block;
text-align: center;
font-size:32px;
font-weight:bold;
color: #000;
}

#top5_2{
margin-left: 10%;
margin-right: 10%;
display: block;
text-align: center;
font-size:24px;
font-weight:bold;
color: #000;
}

#top6_1{
margin-top:100px;
display: block;
text-align: center;
font-size:32px;
font-weight:bold;
color: #fff;
}

#top6_2{
margin-left: 10%;
margin-right: 10%;
display: block;
text-align: center;
font-size:24px;
font-weight:bold;
color: #fff;
}
}






@media screen and (max-width: 499px){
#bgwhite{
background-color:rgba(255,255,255,0.5);
}

#top1_1{
padding-left:33%;
padding-right:-3%;
margin-right: -3%;
display: block;
font-size:15px;
}

#top1_2{
display: block;
text-align: right;
padding-right: 0px;
font-size:32px;
}

#top2_1{
margin-top:10px;
margin-left: 22%;
margin-right: 22%;
display: block;
text-align: center;
font-size:32px;
font-weight:bold;
color: #fff;
}

#top2_2{
margin-left: 10%;
margin-right: 10%;
display: block;
text-align: center;
font-size:24px;
font-weight:bold;
color: #fff;
}

#top3_1{
margin-top:10px;
display: block;
text-align: center;
font-size:32px;
font-weight:bold;
color: #000;
}

#top3_2{
margin-left: 10%;
margin-right: 10%;
display: block;
text-align: center;
font-size:24px;
font-weight:bold;
color: #000;
} 

#top4_1{
margin-top:-10px;
display: block;
text-align: center;
font-size:32px;
font-weight:bold;
color: #fff;
}

#top4_2{
margin-top:-30px;
margin-left: 0%;
margin-right: 0%;
margin-bottom: 170px;
display: block;
text-align: center;
font-size:24px;
font-weight:bold;
color: #fff;
}

#top5_1{
margin-top:-30px;
display: block;
text-align: center;
font-size:32px;
font-weight:bold;
color: #000;
}

#top5_2{
margin-top:-30px;
margin-left: 10%;
margin-right: 10%;
margin-bottom: 170px;
display: block;
text-align: center;
font-size:24px;
font-weight:bold;
color: #000;
}

#top6_1{
margin-top:10px;
display: block;
text-align: center;
font-size:32px;
font-weight:bold;
color: #fff;
}

#top6_2{
margin-top: 180px;
margin-left: 10%;
margin-right: 10%;
display: block;
text-align: center;
font-size:24px;
font-weight:bold;
color: #fff;
}
}




/* button1 */
#button1{
  margin-top: 10px;
  background:skyblue;
  color:#fff;
  border:none;
  position:relative;
  font-size:1.6em;
  padding:0.6em 2.5em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
}
#button1:hover{
  background:#fff;
  color:skyblue;
}
#button1:before,#button1:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: skyblue;
  transition:400ms ease all;
}
#button1:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
#button1:hover:before,#button1:hover:after{
  width:100%;
  transition:800ms ease all;
}

/* button2 */
#button2{
  margin-top: 10px;
  background:orange;
  color:#fff;
  border:none;
  position:relative;
  font-size:1.6em;
  padding:0.6em 2.5em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
}
#button2:hover{
  background:#fff;
  color:orange;
}
#button2:before,#button2:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: orange;
  transition:400ms ease all;
}
#button2:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
#button2:hover:before,#button2:hover:after{
  width:100%;
  transition:800ms ease all;
}

/* button3 */
#button3{
  margin-top: 10px;
  background:#800000;
  color:#fff;
  border:none;
  position:relative;
  font-size:1.6em;
  padding:0.6em 2.5em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
}
#button3:hover{
  background:#fff;
  color:#800000;
}
#button3:before,#button3:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #800000;
  transition:400ms ease all;
}
#button3:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
#button3:hover:before,#button3:hover:after{
  width:100%;
  transition:800ms ease all;
}

/* button4 */
#button4{
  margin-top: 10px;
  background:#191970;
  color:#fff;
  border:none;
  position:relative;
  font-size:1.6em;
  padding:0.6em 2.5em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
}
#button4:hover{
  background:#fff;
  color:#191970;
}
#button4:before,#button4:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #191970;
  transition:400ms ease all;
}
#button4:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
#button4:hover:before,#button4:hover:after{
  width:100%;
  transition:800ms ease all;
}


/* button5 */
#button5{
  margin-top: 10px;
  background:#FF4500;
  color:#fff;
  border:none;
  position:relative;
  font-size:1.6em;
  padding:0.6em 2.5em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
}
#button5:hover{
  background:#fff;
  color:#FF4500;
}
#button5:before,#button5:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #FF4500;
  transition:400ms ease all;
}
#button5:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
#button5:hover:before,#button5:hover:after{
  width:100%;
  transition:800ms ease all;
}

/* buttonpt */
#buttonpt{
  margin-top: 10px;
  background:#4B0082;
  color:#fff;
  border:none;
  position:relative;
  font-size:1.6em;
  padding:0.6em 2.5em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
}
#buttonpt:hover{
  background:#fff;
  color:#4B0082;
}
#buttonpt:before,#buttonpt:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #4B0082;
  transition:400ms ease all;
}
#buttonpt:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
#buttonpt:hover:before,#buttonpt:hover:after{
  width:100%;
  transition:800ms ease all;
}
