*{
 margin: 0;
 padding: 0;
 list-style-type: none;
 text-decoration: none;
}

html, body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    -webkit-user-select:none;
    -khtml-user-select:none;
}

img{
    vertical-align: bottom;
    touch-callout:none;
    user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    -ms-user-select:none;
    -webkit-user-select:none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-select:none;
    -khtml-user-drag: none;
}

.wrapper {
  flex: 1;
  width: 100%;
  margin: 0 auto;
}

.logo{
    display: flex;
    justify-content: center;
    margin: 10px;
}

.main_title{
    text-align: center;
    line-height: 1.2;
}

.main_title span{
    display: block;
}

.menu-contents {
  display: flex;
    justify-content: space-around;
    margin: 20px 50px 20px 50px;
}

.menu-item {
  flex: 0 0 0 calc(100%/3 - 15px);
  max-width: calc(100%/3 - 15px); /* IE11バグ対応 */
  box-shadow: 0 0 3px #aaa;
}

.menu-item h1 {
  font-weight: bold;
  text-align: center;
  font-size: 0.9rem;
  padding: 3px;
}

.menu-item h1 a {
    color: #00aced;
}

.menu-item h1 a:hover {
transform: rotate(-5deg);
color: #7fffd4;
}
    
.menu-item p {
  font-size: 0.9rem;
  padding: 10px;
  text-indent: 1rem;
  text-align: justify;
  font-feature-settings : "palt";
  line-height: 1.5rem;
  color: #555555;
}

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

figure {
    width:100%;
    max-width: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	overflow: hidden;
    height: auto;
}

figure:hover+span {
	bottom: -36px;
	opacity: 1;
}

/* Shine */
.menu-contents figure {
	position: relative;
}
.menu-contents figure::before {
	position: absolute;
	top: 0;
	left: -75%;
	z-index: 2;
	display: block;
	content: '';
	width: 50%;
	height: 100%;
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	-webkit-transform: skewX(-25deg);
	transform: skewX(-25deg);
}
.menu-contents figure:hover::before {
	-webkit-animation: shine .75s;
	animation: shine .75s;
}

@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}
@keyframes shine {
	100% {
		left: 125%;
	}
}

.description{
    /* max-width: 1040px; */
    margin: 30px auto;
    padding: 0 30px;
}
.description p{
    text-indent: 1rem;
    text-align: justify;
    font-feature-settings : "palt";
    margin: 1em 0rem 1em 0rem;
    line-height: 1.7rem;
    color: #555555;
}


.c_search{
    display: flex;
    justify-content:center;
    padding: 1.5em 0em 0em 0em;
}

.g_wrap{
    width: 300px;
}

.c_search * {
    box-sizing: border-box;
	margin: 0!important;
}

.c_search .gsc-control-cse{
    background: none;
    border: none;
    padding: 0;
}

/* .c_search .gsc-input-box {
	border-left: 0;
} */

.c_search table.gsc-input {
	height: 100%;
}

.c_search td.gsc-input {
    height: 100%;
    padding-right: 0!important;
}

.c_search .gsib_a {
    height: 100%;
    padding: 3.4px 10px;
}

.c_search input.gsc-input {
    display: block;
    font-size: 16px;
    height: 100%!important;
    -webkit-appearance: none;
}

.c_search .gsib_b {
    height: 100%;
}
.c_search .gsst_b {
    height: 100%;
    padding: 0;
}
.c_search .gsst_a {
    display: block;
    height: 100%;
    padding: 0;
    text-decoration: none;
}
.c_search .gscb_a {
    align-items: center;
    /* color: #000!important; */
    display: flex;
    font-size: 14px;
    height: 100%;
    justify-content: center;
    line-height: 1;
    width: 29px;
}
.c_search td.gsc-search-button {
    height: 100%;
}

/* 検索ボタンのサイズ変更 */
.c_search .gsc-search-button-v2 {
    align-items: center;
    border: none;
    border-radius: 0;
    display: flex;
    height: 100%;
    justify-content: center;
    margin-left: 0;
    padding: 7px;
    width: 31px;
}
.c_search .gsc-search-button-v2:hover {
    opacity: 0.5;
}
.c_search .gsc-search-button-v2:focus{
    border: none;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

@media screen and (min-width:768px) and ( max-width:1366px) {
    /* iPad用検索フィールドの高さが変わるのを固定 */
    .c_search .gsc-input-box {
        border-radius: 0;
        height: 100%;
        padding: 0;
    }
    
    /* iPad用検索ボタンの外周の角の丸み変更 */
    .c_search .gsc-search-button-v2 {
        border-radius: 0 0px 0px 0;
    }
    
    /* iPad用検索ボタンのサイズ変更 */
    .c_search .gsc-search-button-v2 svg {
        display: block;
        height: 13px;
        width: 13px;
    }
    
    }


@media screen and (max-width : 766px) {

.main_title{
    font-size: 1.5rem;
    margin-bottom: 1em;
}

.menu-contents{
    flex-flow: column;
    margin: 10px;
}
    
.menu-item {
  flex: 0 0 0 100%;
  max-width: 100%; /* IE11バグ対応 */
  box-shadow: 0 0 3px #aaa;
  margin-bottom: 15px;
}
    
.menu-item:last-child{
    margin-bottom: 0;
}
    
.description{
    margin: 10px;
    padding: 0;
}

.description{
    padding: 0 0.5em 0 0.5em;
}

.c_search{
    padding: 0em 0em 0.5em 0em;
}

.g_wrap{
    width: 265px;
}

/* SP用検索フィールドの高さが変わるのを固定 */
.c_search .gsc-input-box {
    /* border-radius: 0; */
    height: 100%;
    padding: 0;
}

/* SP用検索ボタンの外周の角の丸み変更 */
.c_search .gsc-search-button-v2 {
    border-radius: 0 6px 6px 0;
}

/* SP用検索ボタンのサイズ変更 */
.c_search .gsc-search-button-v2 svg {
    display: block;
    height: 13px;
    width: 13px;
}

}