/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* =========================================================
* パンクズ
========================================================= */
div.breadcrumbs {
  max-width: 1200px;
  margin:20px auto;
}
.breadcrumbs {
    font-size: 1em;
    line-height: 20px;
    overflow: hidden;
    padding-top: 20px;
}
.sections-no-sidebars .breadcrumbs {
    padding: 20px 0;
}
/* オーバーフローした場合、改行させずに…表示 */
.breadcrumbs .grid-container {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 20px 10px 0 10px;
    }
    .sections-no-sidebars .breadcrumbs {
        padding: 20px 10px;
        border-bottom: 1px solid #eee;
    }
}
ul.main-body-list-disc {
  
  padding: 0.5em 1em 0.5em 2.3em;
}
 
ul.main-body-list-disc li {
  line-height: 1.5;
  padding: 0.5em 0;
  color: #0055B2;
}

@media (min-width: 769px) {
    nav .main-nav .mega-menu {
        position: relative;
		
		}

    nav .main-nav .mega-menu > ul {
        position: absolute;
        width:600%;
        left: 0 !important;
        display: flex;
        flex-wrap: wrap;

    }

    nav .main-nav .mega-menu > ul > li > a {
        font-weight: bold;
		font-size:16px;
    }

    nav .main-nav .mega-menu>ul>li {
        display: inline-block;
        width: 25%;
        vertical-align: top;
		left:10px;
    }
	
	/*nav .main-nav .mega-menu>ul>li::after {
        content: '';
  　　　width: 80%;
  　　　height: 1px;
 　 　　display: list-item;
 　 　　margin: 10px,20px,10px,20px;
  　　　border-bottom: 1px solid #ddd;
  　　　padding:1px;
    }*/
	
	nav .main-nav .mega-menu>ul>li::after {
		min-width: 769px
		content: '';
 		width: 80%;
  		height: 1px;
  		display: list-item;
		margin: 10px,20px,10px,20px;
  		 /*margin: 0 auto;
 border-bottom: 1px solid rgba(151, 151, 151, 0.1);*/
		border-bottom: 1px solid #ddd;
	}
    nav .main-nav .mega-menu.mega-menu-col-2>ul>li {
        width: 50%;
    }

    nav .main-nav .mega-menu.mega-menu-col-3>ul>li {
        width: 33.3333%;
    }

    nav .main-nav .mega-menu.mega-menu-col-5>ul>li {
        width: 20%;
    }

    nav .main-nav .mega-menu > ul > li:hover > a,
    nav .main-nav .mega-menu > ul > li:focus > a,
    nav .main-nav .mega-menu > ul > li[class*="current-"] > a,
    nav .main-nav .mega-menu ul ul {
        background-color: transparent !important;
        /*color: inherit;*/
		 position: absolute;
   }

    nav .main-nav .mega-menu ul .sub-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: 0 0 0;
        left: 0;
        height: auto;
        pointer-events: auto;
        transform: scale(1);
		
    }

    nav .main-nav .mega-menu ul.toggled-on .sub-menu {
        pointer-events: auto;
    }

    nav .main-nav .mega-menu .sub-menu .menu-item-has-children .dropdown-menu-toggle {
        display: none;
    }
}
/* =========================================================
* ナビゲーション
* GPマニュアル
* https://docs.generatepress.com/collection/primary-navigation/
* https://docs.generatepress.com/collection/slide-out-navigation/
========================================================= */
#primary-menu {
    width: 100%;
}
/* メニューの数に応じて調整（widthの指定無しでもOK） */
#primary-menu ul.menu > li {
    width: calc( 99.9% / 6 ); /* ナビの数で割る　ナビの仕切り線を無くす場合は100%とする */
    text-align: center;
}
/* 画面幅が小さくなったときに横幅指定解除 */
@media (max-width:1200px) {
    #primary-menu ul.menu > li {
        /* width: auto; */
    }
}
/* サブナビゲーション（子メニュー）の横幅 = カスタマイザーで指定*/
#primary-menu ul ul {
    /* width: auto; */
    white-space: nowrap;
}

/* ナビゲーションの左右の余白（20px）を削除 */
.nav-below-header .main-navigation .inside-navigation.grid-container, 
.nav-above-header .main-navigation .inside-navigation.grid-container {
    padding: 0;
}
/* ナビゲーションの上下に線 */
.main-navigation {
    /* border-bottom: 1px solid #ddd; */
	position: relative;
}
.main-navigation::before {
    content: "";
	display: block;
	width: 100%;
	height: 2px;
	/*background: #d0cfd0;
	max-width: 1400px;
	border-radius: 1px;*/
	margin: 0 auto;
}
/* 検索結果・404ページのHeaderが無い場合のナビには下線 */
.search .main-navigation,
.search-no-results .main-navigation,
.error404 .main-navigation {
    border-bottom: 1px solid #ddd;
}
/* ナビゲーション間の仕切り線 */
.main-navigation ul.menu > li::before,
.main-navigation ul.menu > li:last-child::after  {
    position: absolute;
    content: '';
    width: 1px;
    height: 20px;
    top: 11px;
    border-left: solid 2px white;
    z-index: 1;
}
.main-navigation ul ul{
	/*box-shadow:0 0 0;*/
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.main-navigation ul.menu > li::before {
    left:0px; /* 左側に仕切り線 */
	
}
.main-navigation ul.menu > li:nth-child(1)::before {
	content: none;
	
}
.main-navigation ul.menu > li:last-child::after {
    right: 0px; /* 右側に仕切り線 */
	content: none;
}
/* =========================================================
* サイドバー
========================================================= */
.sidebar .widget {
    padding: 20px;
}
/* サイドバーウィジェットのタイトル設定 */
.sidebar .widget .widget-title {
    color: #fff;
    background-color: #6ed2c9;
    text-align: center;
    line-height: 1;
    padding: 15px 0;
    margin: -20px -20px 20px -20px; /* .sidebar .widgetのpadding打ち消し */
}
/* セレクトボックスデザイン調整 */
.sidebar .widget select {
    width: 100%;
    padding: 5px;
}

/* wp show posts関係 */
.sidebar .wp-show-posts-entry-meta {
    text-align: right;
}
.sidebar .wp-show-posts-image.wpsp-image-left {
    margin-right: 15px;
}
.sidebar .wp-show-posts .wp-show-posts-entry-title {
    font-size: 15px;
    line-height: 1.4;
    font-weight: normal;
}
@media (max-width: 768px) {
    .sidebar .wp-show-posts-image.wpsp-image-left {
        float: left; /* サイドバーのWPSP（最新情報）は左寄せ維持 */
    }
}
/* =========================================================
* 1行のお知らせ what's news generate
========================================================= */
/* カテゴリ部分のデフォルト設定 */
.news-cat span {
    width: 130px; /* 合計:120px カテゴリ名称が長い場合要調整 */
    min-width: 130px;
    max-width: 130px; /* オーバーフローを…表示 */
    overflow: hidden; /* オーバーフローを…表示 */
    text-overflow: ellipsis; /* オーバーフローを…表示 */
    text-align: center;
    padding: 5px;
    background: #6ed2c9;
    color: #fff;
    font-size: 12px;
    line-height: 14px;
}
/* カテゴリ毎に背景色設定 */
.news1 span {
	display: block;
    background: #f886a8;
	width: 200px;
}
.news2 span {
	display: block;
    background: #63ace5;
	width: 200px;
}
.news3 span {
	display: block;
    background: #fdc453;
	width: 200px;
}
.news4 span {
	display: block;
    background: #7bc043;
	width: 200px;
}
.news5 span {
	display: block;
    background: #fe8d6f;
	width: 200px;
}
.news6 span {
	display: block;
    background: #dfdd6c;
	width: 200px;
}

.slider1 {
  display: flex;
  margin: 0 calc(50% - 50vw);
  width: 450vw;
  height:400px;
  overflow: hidden;
}
.slider1 ul{
	display:flex;
	padding: 0;
	margin:0;
}
.slider1 li{
	width:450px;
	list-style: none;
}
.slider1 ul:first-child {
  animation: slide1 150s -75s linear infinite;
}

.slider1 ul:last-child {
  animation: slide2 150s linear infinite;
}
.slider1 img {
	margin:20px;
	border:10px solid #FFF
}
@keyframes slide1 {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes slide2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
/* =========================================================
* フォント設定
* WEBフォントはGoogleフォントをメインで利用
* https://fonts.google.com/
========================================================= */
/* 本文はNotoを利用（サイトのテイストに応じて適宜変更可能） */
/* https://fonts.google.com/?subset=japanese */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900|Noto+Serif+JP:200,300,400,500,600,700,900&subset=japanese');

/* サンセリフ（ゴシック系） */
/* @import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700'); */
/* セリフ（明朝系） */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700');

/* 電話番号用（ゴシック系） */
/* @import url('https://fonts.googleapis.com/css?family=Ramabhadra'); */
/* 電話番号用（明朝系） */
@import url('https://fonts.googleapis.com/css?family=Source+Serif+Pro:400,600');


/* =========================================================
* 基本設定
========================================================= */
/* カスタマイザーの「Colors」で設定できないカラーはCSSで指定 */
/* キーカラー：サイトのカラーに合わせて下記色コードを一括置換してください */
.k-color, .fa { color: #6ed2c9; }
/* ボタンのFontAwesome */
a.button .fa, .top-bar .fa { color: #fff; }

/* サンセリフ（ゴシック系）、セリフ（明朝系）はサイトのテイストに合わせて調整 */

html[lang="ja"] *{
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
html[lang="ja"] nav .main-nav .mega-menu > ul > li > a {
        font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    }
html[lang="ja"] .main-navigation a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items {
        font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    }
html[lang="en"] body{
  font-family:  font-family: 'Roboto Condensed', sans-serif !important;
}
body {
  /*font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', serif;*/
    /* カーニングの設定 */
    letter-spacing: 1.5px;
    -webkit-font-feature-settings: "palt" 1;
            font-feature-settings: "palt" 1;
    -webkit-font-kerning: auto;
            font-kerning: auto;
}
@media (max-width: 768px) {
    body {
        letter-spacing: 0;
    }
}
button, input, select, textarea {
    /*font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;*/
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', serif;
	
}

/* フォント指定 */

.sans-jp  { font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif !important; }
.serif-jp { font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', serif !important; }
.sans-en  { font-family: 'Roboto Condensed', sans-serif !important; }
.serif-en { font-family: 'Playfair Display', serif !important; }
.tel {
    /* font-family: 'Ramabhadra', sans-serif; */
    font-family: 'Source Serif Pro', serif;
}

/* 見出しフォントサイズ：カスタマイザーの設定「Typography＞Headings」に合わせる */
.h0 {font-size: 34px; line-height: 1.2;}
.h1 {font-size: 30px; line-height: 1.2;}
.h2 {font-size: 26px; line-height: 1.4;}
.h3 {font-size: 22px; line-height: 1.4;}
.h4 {font-size: 20px; line-height: 1.6;}
.h5 {font-size: 18px; line-height: 1.8;}
.h6 {font-size: 16px; line-height: 1.8;}
@media (max-width: 768px) {
    .h0 {font-size: 30px;}
    .h1 {font-size: 26px;}
    .h2 {font-size: 22px;}
    h3, .h3 {font-size: 20px;} /* モバイル用の見出しサイズはGPのカスタマイザーで設定可能なのがh2まで */
    h4, .h4 {font-size: 18px;}
    h5, .h5 {font-size: 16px;}
    h6, .h6 {font-size: 16px;}
}
/* リストのインデント調整 */
ol, ul {
    margin: 0 0 1.5em 1.5em;
}

/* サイドバー有りの場合は投稿とサイドバーのウィジェットを線で囲む */
/*.blog .site-main article.post,
.archive .site-main article.post,
.single .site-main article.post,*/
.sidebar .widget,
/*.search .site-main article,
.search-no-results .site-main .inside-article,
.error404 .site-main .inside-article*/
{
    border: 1px solid #e3e3e3;
}

/* カスタマイザーの設定「Layout＞Container＞Separating Space」の値になるので広げる */
/* カスタマイザーのセパレート値（20）を上書き */
.right-sidebar.separate-containers .site-main {
    margin: 20px 40px 40px 0;
}
/* カスタマイザーのセパレート値（20）を上書き */
#main.site-main,
.separate-containers .site-main article.post {
    margin-bottom: 0px;
}
/* ページヘッダーを非表示（ElementsのHeaderを利用の場合） */
body.category .page-header,
body.tag .page-header,
body.date .page-header,
body.search .page-header {
    display: none;
}
/*polylang 表示*/
.site-header .header-widget .widget ul li {
    list-style-type: none;
    position: relative;
    margin-bottom:0;
}
.widget-title {
	
	font-size: 16px;
	
}
.em-tight {
  letter-spacing: 0.01em;
}
.site-description
{
	font-size:24px;
}