body {
	font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
}

body:not(.kahuna-landing-page) #container {
	max-width: calc( 1160px - 4em );
}

#container:not(.kahuna-landing-page) .main {
	padding-top: 0;
	padding-bottom: 2.5em;
	padding-left: 8px;
	padding-right: 8px;
}

.widget-container {
	margin: 0;
	padding: 0;
}

/* ヘッダー　ロゴ */
#branding .identity {
	float: left;
	margin-left: 0;
}

img.custom-logo {
	width: 192px;
	height: 36px;
}

@media screen and (max-width: 1080px) {
#branding .identity {
	padding-left: 0.5em;
}
}

@media screen and (max-width: 481px) {
#branding .identity {
	padding-left: 0;
}
}

@media (max-width: 700px) {
.identity {
	position: static;
}
img.custom-logo {
	position: absolute;
	top: 5px;
	left: 5px;
}
.cryout #branding {
	margin-right: 3em;
	display: block;
}
}

/* ヘッダー　メニュー */
#access > div > ul > li > a > span {
	position: relative;
	display: inline-block;
	line-height: 2.5em;
	font-size: 14px;
}

#access a {
	display: block;
	padding: 0 0.6em;
	text-decoration: none;
	transition: .3s color ease-out;
}

#access ul li {
	padding: 0 0.6em;
}

@media (max-width: 1080px) {
#access > div > ul > li > a > span {
	font-size: 13px;
}
#access a {
	padding: 0 0.5em;
}		
#access ul li {
	padding: 0;
}
}

@media (max-width: 940px) {
#access > div > ul > li > a > span {
	font-size: 10px;
}
#access a {
	padding: 0 0.4em;
}
}

@media (max-width: 800px) {
#nav-toggle {
	display: block;
	position: fixed;
	line-height: 50px;
	background-color: #000;
	opacity: 0.5;
	height: 50px;
}

#site-header-main {
 	position: fixed;
	line-height: 50px;
}

#masthead #site-header-main .header-fixed #site-header-main-inside {
	position: absolute;
	top: -50px;
 }

.mobile-fixed #nav-toggle {
	background-color: #001b30;
	opacity: 0.85; 
	line-height: 50px;
	height: 50px;
}
}

@media (min-width: 801px) {
#nav-toggle {
	display: none;
 
  }
#mobile-menu {
	display: none;
}
}

#mobile-menu {
	display: block;
	position: fixed;
	z-index: 999999;
	overflow-y: auto;
	overflow-x: hidden;
	top: 0;
	right: 0;
	bottom: 0;
	line-height: 2em;
	width: 50%;
	height: 100%;
	padding: 2em;
	background-color: #001b30;
	color: #fff;
	opacity: 1;
}

#mobile-menu li {
	border-bottom: 1px solid #474748;
}

#mobile-menu li:last-child {
	border-bottom: none;
}

#mobile-menu li a {
	display: block;
    position: relative;
}

#mobile-menu li a:active:before {
    content: "";
	position: absolute;
	left: 0;
	bottom: 10px;
	width: 100%;
	height: 4px;
	background: #f15a24;
}

#mobile-menu a span {
	display: inline-block;
	color: #fff;
}

[class^="icon-"]::before, [class*=" icon-"]::before {
	font-family: 'iconmeta';
	font-style: normal;
	font-weight: normal;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: inherit;
	cursor: inherit;
	font-size: inherit;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #f53b07;
}

#site-header-main-inside {
	margin: 0 auto;
	width: 100%;
	max-width: 1080px;
	height: 50px;
	font-size: 14px;
	padding-left: 0;
	padding-right: 0;
}

@media screen and (max-width: 481px) {
#site-header-main-inside {
	padding-left: 0.5em;
}
}

#site-header-main {
	display: inline-block;
	top: 0;
	z-index: 101;
	width: 100%;
	margin: 0 auto;
	vertical-align: top;
	border-bottom: 1px solid transparent;
	-webkit-transition: all .2s linear;
	transition: all .2s linear;
}

.kahuna-menu-center #access {
	display: table;
	float: left;
	margin: 0 auto;
}

#site-header-main {
	position: fixed;

}

#masthead {
	position: relative;

}

/* ハンバーガーメニュー三本線　色指定 */
#nav-toggle {
	opacity: 0.8;
}
#nav-toggle .icon-menu::before {
	color: #fff;
}

/* パンくず */
#breadcrumbs-container-inside {
	width: 100%;
	max-width: 1080px;
}

#breadcrumbs-container #breadcrumbs-nav {
	width: 100%;
	padding: 0.3em 0;
}

#breadcrumbs {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 12px;
	text-transform: uppercase;
}

#breadcrumbs-nav a {
	font-size: 12px;
}

#site-wrapper > #breadcrumbs-container #breadcrumbs-container-inside {
	padding-left: 0;
	padding-right: 2.5em;
}

@media screen and (max-width: 1080px) {
#site-wrapper > #breadcrumbs-container #breadcrumbs-container-inside {
	padding-left: 0.5em;
}
}

/* フッター */
.cryout #colophon .footer-one .widget-container {
	width: 65%;
	margin: 0 auto;
	padding-top: 25px;
}

.footer-widget-inside .wp-block-columns {
    margin-bottom: 0;
}

.footer-widget-inside .ft { 
	color: #fff;
	font-size: 14px;
	line-height: 1.1;
	margin-right: 20px;
	padding-top: 7px;
}

.footer-widget-inside .ft p { 
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	margin-bottom: 0.6em;
}

.footer-widget-inside .ft p a { 
	color: #fff;
}

.footer-widget-inside .ft li a {
	list-style-type: none;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	margin-bottom: 0.6em;
}

.footer-widget-inside .ft br {
	display: none;
}

.footer-widget-inside .wp-block-image .aligncenter {
	padding-top: 7px;
}

.footer-widget-inside .ft p.ft-large { 
	font-size: 18px;
}

.footer-widget-inside .ft-center { 
	text-align: center;
	margin-top: 1em;
	padding-left: 2em;
}

.footer-widget-inside .ft-col ul {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}
	
.footer-widget-inside .ft-col li:first-child::after {
    content: " /";
	padding-right: 0.3em;
}

@media (hover: hover) {
.footer-widget-inside .ft a:hover {
	color: #f15a24;
}
}

@media (hover: none) {
.wp-block-columns.is-layout-flex {
    gap: 1em;
}
	
.footer-widget-inside .ft p {
	margin-bottom: 0.8em;	
}
	
.footer-widget-inside .ft a:active {
	color: #f15a24;
}

.footer-widget-inside .ft li { 
	padding-left: 0.5em;
}
	
.footer-widget-inside .ft li a {
    position: relative;
    display: block;
    padding: 0.4em 0 0.4em 16px;
    color: #fff;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;		
}

.footer-widget-inside .ft li a::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
	width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
	
.footer-widget-inside .ft-col ul {
	display: flex;
	flex-direction: column;
}
	

.footer-widget-inside .ft-col li:first-child {
	border-top: 1px solid #474748;
	padding-top: 1em;
}

.footer-widget-inside .ft-col li:first-child::after {
    content: "";
	padding-right: 0;
}
}

#colophon .footer-one .widget-container .footer-widget-inside a[href $='.pdf'] {
background: none;
padding: 0;
background-size: auto;
}

#colophon .footer-one .widget-container .footer-widget-inside .copy {
	text-align: center;
	color: #a9a9a9;
	padding-left: 2em;
}

@media only screen and (max-width: 1024px) {
.cryout #colophon .footer-one .widget-container {
	width: 80%;
}	
}

@media only screen and (max-width: 900px) {
.cryout #colophon .footer-one .widget-container {
	width: 95%;
	padding: 1em 0 0 0;
}

.footer-widget-inside .ft li br {
	display: block;
}
}

@media only screen and (max-width: 800px) {
.cryout #colophon .footer-one .widget-container {
	width: 100%;
	margin-bottom: 0;
}

.footer-widget-inside .ft br {
	display: none;
}

.footer-widget-inside .wp-block-image img {
	width: 85%;
}

.footer-widget-inside .wp-block-image .aligncenter {
	margin-right: 0;
	margin-left: 0;
	text-align: left;
}

.footer-widget-inside .wp-block-image .alignright {
	float: none;
	margin-left: 0;
	text-align: left;
    margin: 1em 0.5em 1em;
}
	
.footer-widget-inside .ft-center { 
	text-align: left;
	margin-top: 0;
	padding-left: 0;
}

.footer-widget-inside .ft-center br {
	display: block;
}
	
#colophon .footer-one .widget-container .footer-widget-inside .copy {
	text-align: left;
	padding-left: 0;
}
}


#footer-top .footer-inside {
	display: none;
}


/* リンク */
a {
	text-decoration: none;
}

.entry-content a:not([class]) {
	text-decoration: none;
	color: #000;
	font-size: 16px;
	vertical-align: top;
}


@media (hover: hover) {
.entry-content a:hover {
	color: #f15a24;
}
}

@media (hover: none) {
.entry-content a:active {
	color: #f15a24;
}
}

/* 言語切替 */
.entry-content > .trans {
	display: flex;
	width: 1080px;
	height: 30px;
	align-items: center;
	justify-content: flex-start;
	font-size: 13px;
	margin: 0;
	padding: 0;
}

.entry-content > .trans a {
	font-size: 13px;
}

/* 見出し 海外安全　国際交流 */
h3 {
	font-size: 1.6em;
	-webkit-font-feature-settings: "palt";
	-moz-font-feature-settings: "palt";
	font-feature-settings: "palt";
}

/* サーチ 検索結果 */
#content-masonry {
	width: 100%;
	max-width: 1080px;
	margin-top: 0.5em;
}

#content-masonry article.hentry {
	width: 100%;
	max-width: 1080px;
	margin-bottom: 0;
	border-bottom: 1px #eee solid;
}

#content-masonry article:first-child {
	margin-top: 0.5em;
}

@media (max-width: 800px) {
#content-masonry article.hentry {
	margin-bottom: 0;
}
}

.main #content-masonry article.hentry {
	margin-bottom: 0.5em;
}

.content-masonry .entry-title {
    position: relative;
    padding-left: 15px;
}

.content-masonry .entry-title:before { 
    content: "";
    position: absolute;
    top: 18px;
    left: 1px;
    transform: translateY(-50%);
    width: 0px;
    height: 0px;
    border: 0.3em solid transparent;
    border-left: 0.5em solid #5580aa;
}

.content-masonry .entry-title a {
    border-bottom: none;
	font-size: 16px;
}

.content-masonry .entry-meta a {
    border-bottom: none;
	font-size: 13px;
}

.content-masonry .entry-title a:link, .content-masonry .entry-title a:visited, .content-masonry .entry-meta a:link, .content-masonry .entry-meta a:visited {
	color: #000;
}

@media (hover: hover) {
.content-masonry .entry-title a:hover, .content-masonry .entry-meta a:hover {
	color: #f15a24;
}
}

.content-masonry .entry-title a:active, .content-masonry .entry-meta a:active {
	color: #f15a24;
}

@media (hover: none) {
.content-masonry .entry-title a {
    display: block;
}
.content-masonry .entry-title a:active, .content-masonry .entry-meta a:active {
	color: #f15a24;
}
}

.content-masonry .entry-meta span {
	display:inline-block;
	padding-top: 3px;
	border-bottom: 0;
}

.content-masonry .entry-meta {
	margin-bottom: 0;
	padding-bottom: 0;
}

.content-masonry .entry-meta .icon-metas::before {
	color: #666;
	font-size: 12px;
}

.content-masonry .entry-meta .category-metas {
	padding-left: 2px;
}

.content-masonry article.hentry .article-inner header.entry-header .post-thumbnail-container, .content-masonry .entry-utility {
	display: none;	
}

.content-masonry .entry-content>*:not(p) {
	display: none;
}

.content-masonry .entry-content p:not(:nth-child(4)), .content-masonry .entry-content img {
	display: none;
}

.content-masonry .entry-content {
	width: 100%;
	max-width: 1080px;
	overflow: hidden;
	padding-top: 5px;
	margin-bottom: 0;
	padding-bottom: 0;
}

.content-masonry .entry-content p:nth-child(4) {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
    color: #666;
	font-size: 13px;
}

.content-masonry .entry-content p:nth-child(4) a {
	font-size: 13px;
}

@media only screen and (max-width:540px){
.kahuna-magazine-one #content-masonry article.hentry {
    width: 98%;
}

.entry-meta > span {
    margin-right: 0.5em;
}

.content-masonry .entry-meta .bl_categ, .content-masonry .entry-content p {
	padding-left: 15px;
}
}

/* 過去の投稿　新しい投稿　ボタンのテキスト変更 */
#nav-old-below {
	width: 100%;
	max-width: 1080px;
	margin-right: 6%;
}

#nav-old-below .nav-previous a, #nav-old-below .nav-next a {
	width: 80px;
	height: 20px;
	display: block;
	color: transparent;
	font-size: 10px;
	white-space: nowrap;
	overflow: hidden;
	background: #5580aa;
	border-radius: 3px;
	padding-top: 3px;
	padding-left: 6px;
}

#nav-old-below .nav-previous a:before {
	content: "次へ / next";
}

#nav-old-below .nav-next a:before {
	content: "前へ / prev";
}

#nav-old-below .nav-previous a:before, #nav-old-below .nav-next a:before {
	color: #fff;
	font-size: 13px;
	padding-right: 1em;
}

@media (hover: hover) {
#nav-old-below .nav-previous a:hover:before, #nav-old-below .nav-next a:hover:before {
	display: block;
	color: rgba(255,255,255,0.7);
}
}

@media (hover: none) {
#nav-old-below .nav-previous a:active:before, #nav-old-below .nav-next a:active:before {
	display: block;
	color: rgba(255,255,255,0.7);
}
}

/* サーチ 検索虫眼鏡　色指定 */
#access i.icon-search::before, #mobile-menu i.icon-search::before {
	color: #fff;
}

/* サーチ 検索窓 */
#access .menu-search-animated .searchform {
    max-width: 100%;
}

.menu-main-search .icon-cancel {
	right: 1em;	
}

#access .menu-search-animated .searchform input[type="search"].s {
	color: #000;
	background-color: #fff;
}

/* メールフォーム未入力エラー英文追記 */
.mw_wp_form form .error:after {
	content:"/ Please input.";
	padding-right: 2px;
}

/* トップへ戻る 位置と色とサイズ変更 */
#toTop {
	right: 0;
	bottom: 0;
	width: 50px;
	height: 50px;
	border: 1px solid;
	background-color: rgba(38, 102, 162, 0.3);
}

button#toTop { border-color: #fff; }

a#toTop:hover { background-color: rgba(38, 102, 162, 0.4); border-color: #fff;　border: 1px solid; }

.icon-back2top::before {
	font-size: 30px;
	color: #fff;
}

@media (max-width: 800px) {
.cryout .footer-inside a#toTop {background-color: rgba(38, 102, 162, 0.3); } 
.cryout .footer-inside a#toTop:hover { background-color: rgba(38, 102, 162, 0.4); opacity: 1;} 
.footer-inside #toTop {
	position: fixed;
	top: auto;
	right: 0;
	left: auto;
	margin: auto;
}
} 

/* cookie承諾バナーのリンクカラーとレスポンシブ */
#cookie-notice {
	align-items: start;
}

.cookie-notice-container .cn-text-container {
	padding-top: 0;
}

.cookie-notice-container .cn-text-container .cookie-txt {
	display: inline-block;
}

.cookie-txt a {
	text-decoration: underline;
	color: #fff;
	font-size: 13px;
}

@media (max-width: 700px) {
.cookie-notice-container .cn-text-container .cookie-txt {
	display: inline;
}
	
.cookie-notice-container .cn-text-container {
	text-align: left;
}
} 
