﻿/************************* HTML基本 ********** 2019.10.16 *******************/
/*******************************************************************/
/************************全巾設定　ok****************************/
/**************************body ***全巾設定は先頭でなければならない**********/
/****************************************************************************/
/************************ 基本CSS ****************************************************/
/****************************************************************************/
body{
font: normal 19px/1.5 Georgia, Serif;
font-size:19px;
letter-spacing:-1px;
padding: 5px; /*** 5px ***/
color:#333;
width: 960px;
margin-top:20px;
margin-right:auto;
margin-left:auto;
line-height:1.4;
}
h3{
	padding: 5px 5px 5px 20px;
	border-radius: 4px;
	border: 1px solid #32e650; /*************#eafdcf***見出しの色枠*******************/
	background-color: #81da4e; /*************#eafdcf***見出しの色*******************/
	color: #fdfdff;/*************#eafdcf***見出しの文字色*******************/
	margin-top:40px;
	font-size:22px;
}
body {background: #fff;}　
block {
    padding: 20px;
    background: rgb(21, 168, 29);
    border: 4px #d0e514 solid;
    position: relative; /***************relative****************************************************/
    z-index: 10;
}

#title { /***html 100 ********************/
  text-align: center;
}
/*******************************************************************/
/********************** Youtube Background *********************************************/
/*******************************************************************/
html, xxxx {
                font-family: 'Lato', sans-serif;
                color: #1d1d1d;
                padding: 0px;
                margin: 0px;
            }
            body { height: 40vh; }

            .example-marquee {
                position: relative;
            }

            .content {
                display: table;
                width: 60%;
                min-height: 25vh; /*********高さ巾************/
                z-index: 2;
                position: relative;
            }

            .content .inner {
                display: table-cell;
                vertical-align: middle;
                text-align: center;
                padding-left: 36px;
                padding-right: 36px;
            }

            .content .inner h1 {
                font-size: 52px;
                color: white;
                text-shadow: 0px 1px 3px rgba(0,0,0,0.5);
            }

/****************************************************************************/
/*************************************************/
/********** 埋め込み動画を幅100%に対応 *********/
/***********************************************/
.movie {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; /* 現プレイヤーでは不要？ */
    height: 0;
    overflow: hidden;
}
 .movie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*************************************************/
/**************要素の重なり ******************/
/*************************************************/
.main nav {
    height:  50px;             /* 高さ指定 */
    width:  200px;              /* 幅指定 */
    background-color: #FF5722;  /* 背景色指定 */
    position:  relative;        /* 位置指定 */
    z-index: 10;                /* 重なり順指定 */
}
.z-index_test2 {
    height:  200px;             /* 高さ指定 */
    width:  200px;              /* 幅指定 */
    background-color: #03A9F4;  /* 背景色指定 */
    position:  absolute;        /* 位置指定 */
    top: 70px;                  /* 位置指定 */
    left: 100px;                /* 位置指定 */
    z-index: 100;               /* 重なり順指定 */
}


/****************************************************************************/
/****************** jQuery smooth-scroll*************************************/
/****************************************************************************/
* { box-sizing: border-box }
.main {
  position: relative;
  max-width: 1199px;
  background-color: #ffffff; /*** HTML 背景色******* #e3e3e3 ********************/
  margin: 10px auto;
  padding: 20px 10px;
}
 .main nav {
  position: fixed;
  width: auto;
  margin-left: -20px;
  margin-top: -20px;
  padding: 10px;
  text-align: center;
  background-color: #d6c363;/*************#34495e****メニューバック*************/
  box-shadow: 0 1px 5px rgba(0,0,0,0.3);/*****(0,0,0,0.3)****************/
}
.main nav:before {
  content: "";
  display: black;
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 10px;
  height: 10px;
  -webkit-clip-path: polygon(100% 100%, 100% 0, 0 0);
  background-color: #4A6988; /********#4A6988*************************/
  z-index: 100;
}
.main ul {
  padding: 0;
  margin: 0;
}

.main nav li {
  display: inline;
  margin: 10px;
  list-style-type: none;
  width: 100%;
}

.main nav a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.1em;
  display: inline-red;
}

section {
  padding-top: 10px;
  height: 10px;
  width: 100%;
  background-color: #B2B2B2;/***** #B2B2B2 ****************/
  margin: 20px 0;
}

section h2 {
  color: #fff;  /************* fff **************/
  text-align: center;
  font-size: 30px;
  text-transform: uppercase;
}
/*--- smooth-scroll Color */

#home { background-color: #f7f6f3; }

#about { background-color: #2980b9; }

#gallery { background-color: #8e44ad; }

#info { background-color: #e67e22; }

#contacts { background-color: #e74c3c; }

/*********************************************************************************/

/***************************************************************************/
/******No-1 Flex box************https://encycolorpedia.jp/83cdc8*****************************/
/***********************************************/
.item {
  border-radius: 20px; /*10px 枠丸める*/
  background: #d6c363; /*edf 動画写真枠色16進*/
  padding: 10px; /*15px*/
  margin: 5px; /*5px*/
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
}
video {
  max-width: 100%;
  height: auto;
}
p {
  text-align: left;
}

@media ( min-width : 920px ){ /***600px*/
    .flexbox {
    display: flex;
    flex-wrap: wrap;
    }
  .item {
    width: 100%;　/*45*25% **枠の横幅***/
  }
}
/*****************https://webdesignday.jp/inspiration/technique/css/5316/**************************************************/

/******************************************************************/

/**************** wrap **********************/
/****** float with Youtube **************/
/********* Ken Takakura  ********/
.float-right{
  float:right;
  width:50%;
}
.float-left{
  float:left;
  width:50%;
}
.wrap:after{
display:block;
clear:both;
content:"";
}
/**********https://webdesignday.jp/inspiration/technique/css/5316/#HTML****************************************/
.acd-check{
  display: on; /*****none*******/
}
.acd-label{
  background: rgb(98, 182, 19);
  color: #fff;
  display: block;
  margin-bottom: 1px;
  padding: 10px;
}
.acd-content{
  border: 1px solid #333;
  height: 0;
  opacity: 0;
  padding: 0 10px;
  transition: .5s;
  visibility: hidden;
}
.acd-check:checked + .acd-label + .acd-content{
  height: 40px;
  opacity: 1;
  padding: 10px;
  visibility: visible;
}
/******************  link ************************************************/
a{
  position: relative;
  display: inline-block;
  transition: .3s;
}

a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: '';
  width: 0;
  height: 2px;
  background-color: #0cb156;
  transition: .3s;
  transform: translateX(-50%);
}

a:hover::after{
  width: 100%;
}
/******************リンクの下線を消す************************************************/
a{
  text-decoration: none;
}
/******************************************************************/

.button {
  display       : inline-block;
  border-radius : 5%;          /* 角丸       */
  font-size     : 18pt;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 12px 12px;   /* 余白       */
  background    : #000066;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  box-shadow    : 6px 6px 3px #666666;  /* 影の設定 */
  border        : 2px solid #000066;    /* 枠の指定 */
}
.button:hover {
  box-shadow    : none;        /* カーソル時の影消去 */
  color         : #000066;     /* 背景色     */
  background    : #ffffff;     /* 文字色     */
}