﻿/****************************************************************************/
/************************2021.12.23****************************************************/
/****************************************************************************/
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;
}
h2{
	padding: 5px 5px 5px 20px;
	border-radius: 4px;
	border: 0px solid #f02099;
	background-color: #86df0a; /*************#eafdcf***見出しの背景色*******************/
	color: #ffffff;　 /********見出し文字*******************/
	margin-top:60px;
	font-size:20px;
}　　
h3{
	padding: 5px 5px 5px 20px;
	border-radius: 4px;
	border: 1px solid #32e650; /*************#eafdcf***見出しの色枠*******************/
	background-color: #eafdcf; /*************#eafdcf***見出しの色*******************/
	color: #fdfdff;/*************#eafdcf***見出しの文字色*******************/
	margin-top:20px;
	font-size:22px;
}
body {background: rgb(250, 246, 246);}　/******************本体 背景色 *********#9cf *************/
block {
    padding: 20px;
    background: #fff;
    border: 4px #14d7e5 solid;
    position: relative;
    z-index: 10;
}
/****************************************************************************/
/****************** jQuery smooth-scroll*****固定********************************/
/****************************************************************************/
* { box-sizing: border-box }

.main {
  position: relative;
  max-width: 960px;
  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: #1d81e6; /********#4A6988*************************/
  z-index: -1;
}

.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: rgb(20, 8, 8);
  text-transform: uppercase;
  font-size: 1.3em;
  display: inline-red;
}

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

section h2 {
  color: rgb(211, 12, 12);  /************* fff *****h2 見出しの色　***********************/
  text-align: center;
  font-size: 40px;
  text-transform: uppercase;
}

#ahome { background-color: #0d85e7; }

#a100 { background-color: #0f9eca; }

#a200 { background-color: #dd8585; }

#a300 { background-color: #0e6369; }

#a400 { background-color: #df1f1f; }

#a500 { background-color: #0a8882; }

#a600 { background-color: #12704c; }

#a700 { background-color: #f3a022; }

#a000 { background-color: #0b7a75; }

/*******************************************************************/
/*******************************************************************/
/*******************************************************************/
/*** マウスオーバー時に画像を拡大・縮小させるエフェクト*************/
/*******************************************************************/
.moimg2 {
	overflow: hidden;
	width: 350px;
	height: 240px;
}
.moimg2 img {
        width: 350px;
	display: block;
	transition: 0.5s;
}
.moimg2 img:hover {
	transform: scale(2.0, 2.0);
}
/*******************************************************************/
/***gallery-container**ok*/
/*******************************************************************/
.gallery-container {
  width: 860px;
  margin-left: auto;
  margin-right: auto;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns:(1fr)[4];
  grid-template-columns: repeat(4, 1fr);
  grid-gap: .5em
}

.gallery-img {
  display: block;
  max-width: 100%;
  cursor: pointer
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.8);
  display: -ms-flexbox;
  display: flex;
  z-index: 1
}

.lightbox-container {
  position: relative;
  margin: auto;
  background: #fff;
  padding: 1em;
  border-radius: .2em
}

.close-modal {
  background: tomato;
  color: #fff;
  position: absolute;
  width: 1.8em;
  height: 1.8em;
  text-align: center;
  line-height: 1.8em;
  top: -.9em;
  right: -.9em;
  border-radius: 50%;
  cursor: pointer
}

.lightbox-description {
  text-align: center;
  font-size: 1.1em
}

.lightbox-navigation {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-size: .9em;
  opacity: .8
}

.lightbox-navigation__button {
  text-decoration: none;
  color: tomato
}
/*******************************************************************/
/*******************************************************/
/*********************** boxString *********************************/
.box5 {
    padding: 0.5em 1em; /******************************/
    margin: 1em  0;              /*************1********0*********/
    border: double 5px #4ec4d1; /***5px***************************/
}
.box5 p {
    margin: 10; /***********10*******************/
    padding: 20; /**************0****************/
}
/*********************** 背景が上下左右に動くのBOX定義 **************/
.box {
  position   : relative;
  max-width  : 960px;                   /* 背景の大きさに変更 */
  height     : 200px; /********ヘッダー上下サイズ**200********************/
  margin     : auto;
  background : #ffffff;
  font-size: 50px; /*************追加**************************/
 }
/* --- 背景が上下左右に動くの背景定義 ----------------------- */
.box::before {
  display    : block;
  content    : "";
  position   : absolute;
  top        : 0;
  right      : 0;
  bottom     : 0;
  left       : 0;
  background-image : url(https://alfarnet.com/88-0/image/star.jpg);  /* 使用する画像を指定****URLのみ可*****/
  animation  : bgAnime 15s linear infinite;
}
@keyframes bgAnime {
   0% { background-position: 0 0 }
                /* 使用する画像幅と画像高さのpxに変更ください */
 100% { background-position: 900px -103px } /*****100*************************/
}

/* --- 前面の文字定義（サンプルのため変更してください） ----- */
.boxString{
  position   : absolute;
  display    : inline-block;
  padding    : 10px;                             /* 半透明の高さサイズ 10px ***/
  background : rgba (0, 127, 255, 0.3);          /* 半透明の青 */
  color      : #fff;
  top        : 47%;  /*位置　 文字の高低中央寄せ 47*/
  left       : 48%;  /*位置　 中央寄せ 48*/
  transform  : translate(-50%,-50%);
}
/*******************************************************************/
/**************************************************/
/***********************************/
/*******content-wrap**写真を並べる**************/
/*******content-wrap**写真を並べる**************/
/***********************************/
.xxxcontents-wrap {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}
.contents-wrap:nth-child(odd) {
	flex-direction: row-reverse;
}

.contents-text {
	width: 60%; /*flex: 2;*/
}
.contents-img {
	width: 100%; /*flex: 1;*/
}

.contents-text h2 {
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.contents-img img {
	display: block;
	width: 98%; /*******/
	height: auto;
}

@media screen and (max-width: 568px){
	.contents-wrap,
	.contents-wrap:nth-child(odd)  {
		flex-direction: column;
	}

	.contents-text,
	.contents-img {
		width: 60%; /*flex: 1;*/
	}

	.contents-text {
		padding: 0.3rem;
	}

	.contents-text h2 {
		text-align: center;
	}
}
/**********************************/
/**************************************/
/*****************/
/**************************************/
/*************************************/
/*************************************/      
.a:hover img {
  position:relative;
  top:5px;
  left:10px;
  }
  
  #menu li {
    list-style-type: none;
    width: 800px;
    margin: 0;
    padding: 0;
    border-top: 1px dotted #777;
  }
  #menu a {
    text-decoration: none;
    display: block;
    padding:2px 10px;
  }
  #menu a:hover {
    background: #fff;
  }
  div.imgArea p {    
      display: table-cell;    
      vertical-align: middle;    
      margin: 0;    
  }    
/**********************************/
/***********************************************/
/*** 画像を左に配置する*右配置不可**Webのあいラボ**ok**/
img{
  float: left;
  margin: 0 20px 10px 0;
}
/*************************************************/
/********* サムネイル画像付きの一覧 ****************/
/*************************************************/
article {
	display: flex;
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 5px;
	box-sizing: border-box;
	box-shadow: 0 0 5px #999;
}
	article figure {
		margin-right: 20px;
		width: 300px;
		height: 300px;
	}
		article figure img {
			min-width: 100px;
			max-width: 100%;
			vertical-align: top;
		}
/****************************************************************/
/**BIG*DEEPER*** https://copypet.jp/codedescription/676/#about ***/
/*************************横並びのメニューレスポンシブ対応***********/
ul.topnav {
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style-type: none;
	background-color: #16b169;
}
ul.topnav li {
	float: left;
}
ul.topnav li a {
	display: block;
	padding: 12px 10px;　/******14px****16px*文字間隔******ok***********************************************/
	text-align: center;
	text-decoration: none;
	color: white;
  font-size: 23px; /******DEEP MENU 文字サイズ*******追加**20210622***************/
}
ul.topnav li a:hover:not(.active) {
	background-color: #2166f1;
}
ul.topnav li a.active {
	background-color: #000000;/******DEEP MENU 文字色***************/
}
ul.topnav li.right {
	float: right;
}
@media screen and (max-width: 480px) {
	ul.topnav li.right, ul.topnav li {
		float: none;
	}
}
/****************https://blog.maromaro.co.jp/archives/6068**********************************/
.sssample01 a{
width: 180px;
padding:15px;
margin:0 0 10px;
color:#ffffff;
font-size: 15px;
line-height: 120%;
text-align: center;
text-decoration: none;
background: #1B73BA;
display: block;
position:relative;
-webkit-border-radius: 24px;
-moz-border-radius: 24px;
border-radius: 24px;
-webkit-box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
-moz-box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
-webkit-transition: 0.3s ease-out;
-moz-transition: 0.3s ease-out;
-o-transition: 0.3s ease-out;
transition: 0.3s ease-out;
}
.sample01 a:hover{
background:#ddd;
letter-spacing:0.1em;
}


