/* 外部スタイルシート、ファイル名：style.css */

/*　----------画面小さいとき----------　*/
@media screen and (max-width:767px) {

header {
  font-size: 15px;
  font-size: clamp(8px, 1vw, 15px);
}

main {
  font-size: 15px;
  font-size: clamp(12px, 1vw, 15px);
}

.loop_hana {
  display: flex;
  width: 100vw;
  height: 50%;
  overflow: hidden;
}

.loop_hana img {
  width: auto;
  height: 50%;
}

.stech {
 flex-direction: column;
 align-items: center;
}

.stech li {
   display: block;
   width: auto;
}

.stech img {
  width: 70%;
  height: auto;
}

.yoko ul {
  display: flex;
  flex-direction: column;
  text-align: center;
  flex-wrap: wrap;
}
.yoko li{ 
   margin: 3px auto;
   border-bottom: 2px solid #fbb369;
}

.v_con {
width: 70%;
text-align: center;
margin: auto;
padding: 4% 4% 4% 4%;/*ここで動画の周りの余白を調整*/
background: #e6e6e6;/*余白の背景色*/
}
.vman {
width: 70%;
}

.kjbox{
	border: 1px solid #fc8947;	/* 線の太さ・種類・色 */
	border-radius: 5px;
	padding: 0px 10px 10px 5px;	/* 内側の余白 */
	position: relative;
        width: 70%;
}
.kjbox img{
  width: 70%;
  height: auto;
}

}


/* ----------PC用----------　*/ 
body{
  margin: 0 calc(50% - 50vw);
　width: 100vw;
　overflow: hidden;
}

/* ヘッダ */
header{
  background: url(./images/bg_shikiri2.jpg) repeat-x;
  font-size: 20px;
  font-size: clamp(8px, 1vw, 25px);
}

/* メインメニュ */
main{
  background: #ffffff;
  max-width: 80%;
  margin: 0 auto;
  padding: 0rem;
  text-align: center;
}

aside{
  white-space: nowrap;
}

/* フッター */
footer {
  background: #fb8107;
  height:20px;
  margin: 0;
  padding: 0;
  margin-top: 3rem;  /* フッター外側上部の余白 */
  padding-top: 0.2rem;  /* フッター周りの余白 */
  text-align:center;
  font-size: 20px;
  font-size: clamp(8px, 1vw, 25px);
}

/*---　オール利用　---*/

.subtit{
   padding: 30px 0 0 0;  /* 上 | 右 | 下 | 左 */
}
.subtit img { 
  max-width: 100%;
  height: auto;
} 

  /* 画像横幅いっぱい */
.title {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.title img {
  display: block;
  width: 100%;
  height: auto;
}

/* 中央寄せ */
.cent {
  text-align: center;
}
.cent2 {
        display: flex;
        align-items: center;
        justify-content: center;
}

/* テキスト装飾解除 */
.can {
    text-align: initial;
}

/* 縦書き */
.tatekaki {
   display: flex;
   writing-mode: vertical-rl;
   align-items: center;
}

/* 飾り線 */
.line {
  height: 2px;
  border-width: 0;
  background-color: #ff7300;
  background-image: -webkit-linear-gradient(right,
  #ff8f83 5px,#ff6858 5px);
  background-image: linear-gradient(-90deg,
  #ff8f83 5px,#ff6858 5px);
  background-size: 10px 10px;
}


/*　サブページのヘッダーとメインの仕切り　*/
  .bgline {
    background: url(./images/bg_shikiri.jpg) repeat-x;
    height: 39px;
    width: 100%;
    border: 0px
  }


/*---　タイトル下のメニュー　---*/
.yoko{
  width:100%;
  background: #fb8107; 
}

.yoko ul {
   display: flex;
   margin: 0 auto;
   padding: 0 3%;
   width: 94%;
   max-width: 960px;
   list-style-type: none;
}
.yoko ul li {
   position: relative;
   width: 20%
}
.yoko ul li a {
   display: block;
   padding: 10px 10px;
   color: #fff;
   text-align: center;
   text-decoration: none;
}
.yoko ul li a:hover {
   background: #fcab5a;
}


/*--- MARUTAMAページの写真ループ ---*/
.loop_hana {
  display: flex;
  width: 100vw;
  height: 150px;
  overflow: hidden;
}

.loop_hana img {
  width: auto;
  height: 100%;
}

.loop_hana img:first-child {
  animation: loop 60s -30s linear infinite;
}

.loop_hana img:last-child {
  animation: loop2 60s linear infinite;
}

@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}




/*--------　marutama.htmlのページのみで利用　--------*/
/* ステッチボックス */

.itemcent {
    background-color: #fb8107;
    border: 2px dashed #fff;
    border-radius: 10px;
    box-shadow: 0 0 0 4px #fb9107;
    color: #fff;
    align-items: center;
    margin: 30px 30px 30px 30px;
    padding: 0;
    width: 80%; 
    text-align: center;
    display:flex;
    justify-content: center;
    list-style: none; 
}

.stech {
    margin: 1em 0;
    padding: 1em;
    width: 90%;
    display:flex;
    justify-content: center;
    list-style: none; 
}

.stech li {
  width: 100%;
}

.stech li img { 
  max-width: 100%;
  height: auto;
} 

/*--------　orange.htmlのページのみで利用　--------*/
/* テキスト装飾　ネオン文字 */

.texorg {
  text-align:center;
  line-height:0.95em;
  font-weight:bold;
  color: #ffffff;
  text-shadow: 
    0 0 0.05em #ff4500,
    0 0 0.06em #ff4500,
    0 0 0.07em #ff4500,
    0 0 0.08em #ff4500,
    0 0 0.09em #ff4500,
    0 0 0.20em #fb8107,
    0 0 0.20em #fb8107,
    0 0 0.20em #fb8107,
    0 0 0.50em #fb8107;
}

/*---　orange.htmlの写真を丸く　---*/
/* container */
.wrapper{
    width:100%;
}
.wrapper .container{
    max-width:1000px;
    margin:0px auto;
    padding:80px 0px;
}
/* content */
.wrapper .content .heading{
    margin:0px 0px 40px 0px;
    font-size: 24px;
    font-weight: normal;
    text-align: center;
}

@media (min-width: 992px) {
    .wrapper .content .list {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.wrapper .content .list-item {
    margin:50px 0px;
    padding:0px 50px;
    text-align:center;
}
@media (min-width: 992px) {
    .wrapper .content .list-item {
       margin:0px;
       width:calc(100% / 3);
    }
}
.wrapper .content .list-item .image{
    display:block;
    width:100%;
    max-width:300px;
    margin:0px auto 20px auto;
    border-radius:100%;
}
.wrapper .content .list-item .text{
    line-height:1.8rem;
    font-size:0.8rem;
    color:#666666;
}

.content img { 
  max-width: 100%;
  height: auto;
} 


/*--------　Queen.htmlのページのみで利用　--------*/

.mybox{
	background-color: #fb8107;  /* 背景色 */
        color: #ffffff;
	border-radius: 5px;
	margin: 60px 5px; /* 外側の余白 上下・左右 */
	padding: 40px 20px 20px 30px; /* 内側の余白 上・右・下・左 */
	position: relative;
	z-index: 0;
        text-align: left;
        max-width:80%;
}
.mybox:before{
	border: 1px solid #fff; /* 白い実線 */
	border-radius: 5px;
	content: '';
	display: block;
	margin: 4px;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: -1;
}
.mybox:after{
	background-color: rgba(251,233,195,0.9);  /* マステ背景色 */
	background-image: radial-gradient(#fff 20%, transparent 0), radial-gradient(#fff 20%, transparent 0); /* 水玉の色 */
	background-position: 0 0, 8px 8px;  /* 水玉の距離 */
	background-size: 15px 15px; /* 水玉の大きさ */
	border-left: 2px dotted rgba(0,0,0,0.1);
	border-right: 2px dotted rgba(0,0,0,0.1);
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	content: attr(title);
	display: block;
	padding: 5px 20px;  
	text-align: center;
        font-size: clamp(15px, 1vw, 20px);
	position: absolute;
	top: -10px;
	left: 20px;
	transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-webkit-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
        color: #000000;
}

.mybox span{
  color: #FF0000;
  font-weight: bold;
  text-shadow:
    #ffffff 0px 0px 2px, #ffffff -0px 0px 2px,
    #ffffff 0px -0px 2px, #ffffff -0px -0px 2px;
} 

/*--------　会社概要ページのみで利用　--------*/

h2 {
    text-align: center;
    margin: 0 auto;
    margin-top: 20px;
}

table {
  border-collapse: collapse;
  border-spacing: 5px;
  margin: 0 auto;
  padding: 0;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}

table tr{
  border-bottom: solid 2px white;
}

table tr:last-child{
  border-bottom: none;
}

table th{
  position: relative;
  text-align: left;
  width: 20%;
  background-color: #ff8f2d;
  color: white;
  text-align: center;
  padding: 10px 0;
}

table th:after{
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top:calc(50% - 10px);
  right:-10px;
  border-left: 10px solid #ff8f2d;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

table td{
  text-align: left;
  width: 20%;
  text-align: center;
  background-color: #fcdcbb;
  padding: 10px 0;
}


/*--------　果樹（kajyu）/みかん紹介のページで利用　--------*/

.kjbox{
	border: 1px solid #fc8947;	/* 線の太さ・種類・色 */
	border-radius: 5px;
	padding: 15px 15px 15px 10px;	/* 内側の余白 */
	position: relative;
        width: 80%;
        max-width: 450px;
}
.kjbox:before{
	background-color: rgba(255,255,255,0.7);  /* 文字部分背景色・透過度 */
	border-radius: 5px;
	content: '';
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 5px;
	z-index: -1;
}
.kjbox:after{
	background: repeating-linear-gradient(-45deg, #faba82, #faba82 5px, #fcf7f0 0, #fcf7f0 10px); /* ストライプの色 */
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -2;
}
.kjbox img{
        max-width: 100%
}

/*--------　選果ページのみで利用　--------*/
.v_con {
width: 100%;/*背景色を横幅いっぱいに広げる*/
text-align: center;
margin: auto;
padding: 4% 4% 4% 4%;/*ここで動画の周りの余白を調整*/
background: #e6e6e6;/*余白の背景色*/
}
.vman {
width: 100%;
max-width: 800px;/*PC版での最大幅*/
}