@charset "utf-8";

/*
Theme Name: DOUSHI PARTNERS 2026
Version: 1.0
Author: 
Author URI: 
License: 
License URI:
*/


/* ***************************************************************** 
*	基本設定
* ***************************************************************** */

body {
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", HelveticaNeue, "Segoe UI", "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
font-size:1.03em;
background: #FFF;
color: #000;
line-height: 190%;
word-wrap:break-word;
overflow-wrap:break-word;
font-weight: 400;
}


/* リンク
---------------------------------------------------- */

a{
color:#00476a;
text-decoration: none;
transition: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;
}

a:hover{
color:#666;
    text-decoration: none;
}

a:active, a:focus {
outline: 0;
}


/* 画像
---------------------------------------------------- */

img{
border:0;
padding:0px;
margin:0px
}

img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding:4px;
margin: 0 0 10px 20px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 20px 10px 0;
display: inline;
}


/* フロート
---------------------------------------------------- */

.alignright { float: right; }

.alignleft { float: left; }

.right{ float: right; }

.left{ float: left; }

.clear{ clear:both; }


/* リスト
---------------------------------------------------- */

ol{
margin: 7px 0 7px 10px;
padding: 0 0 0 0;
list-style: decimal;
}

ul{
margin: 7px 0 7px 4px;
padding: 0 0 0 0;
list-style: disc;
}

li{
margin: 2px 0 2px 15px;
padding: 0;
}

li a{
transition: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;

}

li a:hover{
color:#666;
}



/* *****************************************************************
*	全体Wrapper
* ***************************************************************** */

.wrapper {
margin: auto; 
max-width: 1240px;
padding: 30px 30px 50px 30px;
}
.wrapper-home {
    margin: auto;
    max-width: inherit;
    overflow: hidden;
    padding: 0;
    width: 100% !important;
}

.head-img + .wrapper {
    margin-top: -250px;
    position: relative;
    z-index: 1;
}
.head-img-title {
	    color: #fff;
    font-size: 4em;
    margin: 0 auto;
    max-width: 1240px;
    position: relative;
    top: 75px;
    z-index: 1000;
	height:0;
	text-transform:capitalize;
    font-family: 'Josefin Sans', sans-serif;


}

#main-text {
    color: #00476a;
    font-family: 'Josefin Sans', sans-serif;
font-size: 6rem;
line-height: 5rem;
    margin: 0 auto;
    max-width: 1240px;
    z-index: 5;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
#main-text .author {
font-size: 0.5em;
margin: 2vh 0px;
}
.inviews {
   bottom: -30px;
    opacity: 0;
    position: relative;
    transform: scale(1);
    transition: all 1s ease-in-out 0s;
}
.inviews.show {
bottom:1px;
opacity:1;
    transform: scale(1);
    transition: all 1s ease-in-out 0.2s;
}

#mouse {
    background: rgba(0, 0, 0, 0) url("images/scroll-mouse.png") no-repeat scroll center bottom / contain ;
    bottom: 35px;
    display: block;
    height: 40px;
    left: 50%;
    margin: 0 0 0 -20px;
    padding: 0;
    position: absolute;
    transform: rotate(90deg);
    width: 40px;
    z-index: 8;
}
section.note {
	background-color: #fbf9f1;
	padding-right:20px;
    padding-left: 20px;
}
section {
	display:block;
	overflow:hidden;
    padding-bottom:60px;
}
section.search-wrapper,
section.news {
    padding-right:20px;
    padding-left: 20px;
}

section h2 {
font-size: 32pt;
position: relative;
padding: 1rem 0rem 0.5rem 0rem;
text-align: center;
letter-spacing: 3px;
font-family: 'Josefin Sans', sans-serif;
}

section h2:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 1px;
  background: #00476a;;
}

.slider {
}
.content-center {
	max-width:1240px;
	margin:0 auto;
}
.date {
font-size:12px;
color:#8B8B8B;
}


.news dl {
margin:0;
}

.news dt{
    clear:left;
    float:left;
    margin:0;
    padding:0;
    width:30%;
    line-height:1.5em;
}
.news dt span.tags,
.news dt .item-cat{
    width: 50%;
    float: left;
} 
.news dd{
    margin:0;
    padding:0;
    line-height:1.5em;
    width: 70%;
    float: right;
} 

ul.new-columns {
overflow:hidden;
display:block;
    margin: 0 0 50px;
}
ul.new-columns li {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    box-sizing: border-box;
    display: block;
    margin: 0;
    overflow: hidden;
    padding: 0;
    border-bottom: 1px solid #ddd;
}
ul.new-columns li h3 {
font-size: 1.1rem;
line-height: 1.6rem;
margin: 0 30px 0 0;
padding: 0;
display: inline-block;
float: left;
border: none;
}

span.tags {
    color: #B5B5B5;
    font-size: 11px;
	font-weight: normal;
    text-shadow: none;
    text-transform: uppercase;
    vertical-align: top;
}
div.archive-thumb {
    box-sizing: border-box;
    float: left;
    padding: 30px 0;
    width: 30%;
}
div.archive-thumb img {
	width:100%;
	height:auto;
}
div.archive-txt {
    box-sizing: border-box;
    padding: 30px 10px;
    overflow: hidden;
}
.column-excerpt {
    font-size: 12px;
    line-height: 1.7em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.column-excerpt a {
    text-decoration: none;
}
.column-excerpt a:hover {
    text-decoration: underline;
}
.blocks {
	    display: block;
    overflow: hidden;
}

.col4 {
    box-sizing: border-box;
    float: left;
    padding: 100px 50px;
    width: 33.333%;
	position:relative;
	   overflow: hidden;
}
.col-inner {
	    position: relative;
    z-index: 10;
}

.col6 {
    box-sizing: border-box;
    float: left;
    padding: 10px 20px;
    width: 50%;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    text-align: center;
}
a.button {
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    line-height: 1.2em;
    margin: 10px;
    min-width: 200px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    transition-delay: 0s;
    transition-duration: 150ms;
    transition-property: background, color;
    transition-timing-function: linear;
    vertical-align: bottom;
}
a.button:hover {
    background: #00476a;
    color: #fff;
}
span.button-txt::after {
    content: "";
    font-family: "FontAwesome";
    font-size: 13px;
    line-height: 19px;
    margin: 0 0 0 12px;
    vertical-align: bottom;
}

span.button-txt {
    display: inherit;
    line-height: 20px;
    padding: 15px 10px;
}
/* ***************************************************************** 
*	ヘッダー
* ***************************************************************** */

#header {
width: 100%;
    position: fixed;
    z-index: 1000;
    background:  #BABABA1A;
		transition: all 0.5s ease-in-out 0s;
    top: 0;
}
#header.shrink {
    background: #f5f5f5;
		transition: all 0.5s ease-in-out 0s;
}

.header-inner {
max-width: 1240px;
margin: 0px auto 0 auto;
padding: 0;
    height: 54px;
}

#header h1 {
text-align:center;
margin: 0;	
}

.header-text {
width: 100%;
font-size: 11px;
color: #fff;
background-color:#B3B9CD;
}

.header-text-inner {
width:1240px;
margin: -2px auto 0 auto;
padding: 0 0 0 3px;
}

.logo {
    float: left;
    margin: 0;
    padding: 13px 0 0 0;
    width: 300px;
}



/* *****************************************************************
*	トップナビゲーション
* ***************************************************************** */	

#nav {
z-index: 9999;
padding: 0;
text-align: left;
float: right;
display: all;
}

.nav-inner {
}

#nav ul {
list-style: none;
margin: auto;
}

.main-navigation {
margin: 0 auto;
position: relative;
}
.submenu-btn {
    display: none;
}
ul.nav-menu,
div.nav-menu > ul {
margin: 0;
padding: 0;
}
.nav-menu li.home-link {
    display: none;
}
.nav-menu li {
float: left;
position: relative;
margin: 0 0 0 0;
}

.nav-menu li.menu-item-home a{
    padding: 15px 20px;
}
.nav-menu li.menu-item-home a span {
	text-indent:-9999px;
	display:inline-block;
	width:0;
}
.nav-menu li.menu-item-home a:before {
  content:'\f015';
  font-family: FontAwesome;
}

.nav-menu li a {
display: block;
padding: 22px 15px 28px;
text-decoration: none;
font-size: 1rem;
line-height: 22px;
}


.nav-menu li.menu-item-has-children::after {
font-size: 13px;
width: 12px;
height: 12px;
margin: 0 6px;
vertical-align: top;
position: absolute;
top: 20px;
right: -3px;
        content: "\f0d7";
    font-family: "FontAwesome";
}
.nav-menu li.menu-item-has-children a {
    padding-right: 20px !important;
}
.nav-menu li > a {
  position: relative;
  display: inline-block;
  text-decoration: none;
    font-weight: bold;
}
.nav-menu li > a::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #333;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
.nav-menu li.current-menu-item > a::after,
.nav-menu li > a:hover::after {
  transform: scale(1, 1);
}



.nav-menu .sub-menu,
.nav-menu .children {
background: #666;
display: none;
padding: 0;
position: absolute;
z-index: 99999;
    top: 73px;
}

.nav-menu .sub-menu ul,
.nav-menu .children ul {
border-left: 0;
left: 100%;
top: 0;
}

.sub-menu li a {
    padding: 15px 10px;
}
ul.nav-menu ul a,
.nav-menu ul ul a {
color: #fff;
margin: 0;
width: 200px;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover {
background: #9B9B9B;
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul {
display: block;
background: #777;
}



.toggle {
display: none;
}

.menu-toggle {
width: 40px;
height: 40px;
}



/* *****************************************************************
*	イメージヘッダー
* ***************************************************************** */	

#top-slide-max {
width: 1240px;
max-height: auto;
overflow: hidden;
padding: 1px;
margin: 30px auto 20px auto;
}

.cycle-slideshow {
overflow: hidden;
width: 1240px;
height: auto;
margin: 0px auto;
border: 1px solid #eee;
}

#top-slide-max img { display: none }
#top-slide-max img.first { display: block }


/* ヘッダーイメージ
---------------------------------------------------- */

.header-image {
overflow: hidden;
width: 1240px;
height: auto;
margin: 0px auto;
}



/* ***************************************************************** 
*	メイン（本文）コンテンツ
* ***************************************************************** */	

#main {
margin:100px 0 0 0;
padding: 0;
}

.page-tag {
    letter-spacing: 3px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.8rem;
    color: #00476a;
    text-transform: uppercase;
    padding: 12px 0;
    line-height: 2.8rem;
}

/* ギャラリーレイアウト
---------------------------------------------------- */

li.item {
margin-bottom: 50px;
}
li.item:nth-child(3n+1) {
	clear:both;
}

li.item-gallery {
height: 200px;
}

.item-img {
margin: 0 0 10px 0;
overflow: hidden;
text-align:center;
}

.item-cat {
font-size: 0.7rem;
color: #999;
padding: 0;
margin: 0;
max-height: 65px;
overflow:hidden;
}
.item-cat a{
color: #fff;
background: #b4b4b4;
padding: 0px 3px;
text-decoration: none;
}

.item-date {
font-size: 80%;
color: #ccc;
padding: 0 0 0 0;
margin: 0 0 0 0;
}

.item h2 {
font-size: 18px;
line-height: 150%;
font-weight: normal;
letter-spacing: 0.03em;
}

.item-title {
margin: 0 0 0 0;
padding: 0px 0px 0px 0px;
border-top: 0px solid #ccc;
border-bottom: 0px solid #ccc;
}

.item-title a {
color: #444;
}

.item-title a:hover {
color: #999;
}

.item-text {
font-size: 13px;
color: #444;
line-height: 170%;
}


/* ブログ記事部分
---------------------------------------------------- */

.single-contents {
margin: 0 0 70px 0;
}

p {
line-height: 190%;
padding: 15px 0px 15px 0px;
}

/* ページタイトル
---------------------------------------------------- */

.pagedate {
font-size: 12px;
font-weight: normal;
text-align: left;
padding: 0 0 0 0;
margin: 0 0 -10px 0;
color:#999;
letter-spacing: 0.02em;
}

.breadcrumb {
margin: 0 0 30px 0;
line-height: 1.2rem;
font-size: 12px;
}
.breadcrumb div {
display: inline;
color: #999;
}
.breadcrumb span,
.breadcrumb span a {
color: #656565;
}
.breadcrumb span.divider {
font-family: "FontAwesome";
margin: 0 7px;
}
.midashi-title {
color: #333;
font-size: 16px;
font-weight: bold;
letter-spacing: 0.05em;
font-style:normal;
margin: 0px 0px 30px 0px;
padding: 0 0 3px 0;
border-bottom:1px solid #ccc;
}

.pagetitle {
color: #333;
font-size: 24px;
font-weight: 800;
letter-spacing: 0.05em;
font-style: normal;
margin: 0px 0px 80px 0px;
padding: 13px 10px 10px 0px;
font-family: sans-serif;
}

.pagetitle a {
color: #333;
transition: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;
}

.pagetitle a:hover {
color: #666;
}

.blog-title {
font-size: 28px;
font-family: san-serif;
font-weight: bold;
letter-spacing: 0.05em;
line-height: 140%;
font-style: normal;
margin: 10px 0px 20px 0px;
padding: 15px 10px 13px 0px;
border-bottom: 4mm ridge rgb(232 232 232 / 60%);
}

.blog-title a {
color:#333;
text-decoration:none;
transition: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;
}

.blog-title a:hover {
color:#666;
}


/* 見出し
---------------------------------------------------- */

h1 {
font-size: 24px;
margin: 40px 0px 20px 0px;
}

h2 {
font-size: 28px;
line-height: 130%;
font-weight: bold;
margin: 40px 0px 20px 0px;
padding: 18px 0px 15px 0px;
color: #00476a;
font-family: sans-serif;
}

h3 {
font-size: 24px;
line-height: 130%;
font-weight: 800;
padding: 5px 5px 5px 0px;
margin: 40px 0 15px 0;
color: #00476a;
font-family: sans-serif;
}

h4 {
font-size: 20px;
line-height: 130%;
font-weight: bold;
color: #555;
padding: 5px 5px 5px 15px;
margin: 30px 0 10px 0;
border-bottom:1px solid #ccc;
}

h5 {
font-size: 16px;
line-height: 1.3em;
margin: 30px 0 0px 0;
}

h6 {
font-size: 14px;
line-height: 1.3em;
margin: 30px 0 0px 0;
}



/* イメージヘッダー
---------------------------------------------------- */

.head-img {
width: 100%;
margin: 0px auto;
overflow: hidden;
position:relative;
}
.head-img img {
}



/* 記事フッター
---------------------------------------------------- */

.blog-foot {
clear:both;
font-size:75%;
text-align: left;
margin: 0px 0 50px 0;
font-weight:normal;
color:#999;
border-bottom:0px solid #ccc;
}

.blog-foot span {
color:#999;
}


/* 次の記事・前の記事
---------------------------------------------------- */

#next {
font-size: 90%;
line-height: 150%;
margin: 50px 0 20px 0;
}

.next-left {
floate: left;
text-align: left;
margin: 0 0 10px 0;
position: relative;
}

.next-left a {
padding: 20px 20px 20px 50px;
display: block;
text-decoration: none;
}
.next-left a::before {
content: "\f104";
font-family: "FontAwesome";
font-size: 60px;
vertical-align: text-bottom;
margin: -30px 0 0;
line-height: 60px;
position: absolute;
left: 0;
top: 50%;
}
.next-left a:hover {
}

.next-right {
floate: right;
text-align: right;
margin: 0 0 10px 0;
position: relative;
}

.next-right a {
padding: 20px 50px 20px 20px;
display: block;
 text-decoration: none;
}
.next-right a::after {
content: "\f105";
font-family: "FontAwesome";
font-size: 60px;
vertical-align: text-bottom;
margin: -30px 0 0;
line-height: 60px;
position: absolute;
right: 0;
top: 50%;
}

.next-right a:hover {
}


/* ページャー
---------------------------------------------------- */

.pager {
text-align:center;
margin: 50px 0 50px 0;
}

a.page-numbers,
.pager .current{
background: #e0e0e0;
border-radius:2px;
padding:2% 3%;
margin:0 2px;
}

.pager .current{
background: #ccc;
border:solid 1px 999;
color: #fff;
}
.pager a {
    text-decoration: none;
}

/* 関連記事
---------------------------------------------------- */

.similar-head {
color: #333;
font-size: 18px;
font-weight: bold;
letter-spacing: 0.05em;
font-style:normal;
margin: 0px 0px 10px 0px;
padding: 0 0 3px 0;
border-bottom:1px solid #ccc;
}

.similar ul{
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.similar li{
font-size: 14px;
margin: 0 0 0 0;
padding: 0 0 0 0;
list-style: none;
}

.similar li a{
color:#555;
display: block;
}

.similar li a:hover{
color:#888;
}

table.similar-text {
width: 100%;
color: #444;
margin: 0 0 0 0;
padding: 0 0 0 0;
border-bottom: solid 1px #ccc;
border-collapse: collapse;
border-spacing: 0;
}

table.similar-text img {
width: 150px;
}

table.similar-text th {
text-align: left;
width: 150px;
vertical-align: middle;
}

table.similar-text td {
font-size: 14px;
text-align: left;
white-space: normal;
vertical-align: middle;
}


/* コメント欄
---------------------------------------------------- */

.comment-head {
color: #333;
font-size: 18px;
font-weight: bold;
letter-spacing: 0.05em;
font-style:normal;
margin: 0px 0px 10px 0px;
padding: 0 0 3px 0;
border-bottom:1px solid #ccc;
}

.commentlist li{
list-style: none;
font-size:90%;
color:#888;
}

.commentlist {
margin: 0 0 50px 0;
padding: 0 0 0 0;
}

li.comment {
list-style: none;
font-size:90%;
color:#888;
margin: 30px 0px 30px 0px;
}

.comment p {
font-size: 14px;
}


/* WP必須
---------------------------------------------------- */

.wp-caption {
max-width:100%;
}

.wp-caption-text {
font-size:90%;
text-align: center;
}

.sticky {
}

.gallery-caption {
}

.bypostauthor {
}

/* Text meant only for screen readers. */
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
}

.screen-reader-text:focus {
background-color: #f1f1f1;
border-radius: 3px;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
color: #21759b;
display: block;
font-size: 14px;
font-size: 0.875rem;
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000; /* Above WP toolbar. */
}


/* *****************************************************************
*	サイドバー
* ***************************************************************** */

.sidebar {
width: 100%;
margin: 0px 0px 40px 0px;
padding: 10%;
box-sizing: border-box;
background: #e7e7e7;
}


.sidebar select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
font-size: 0.8rem;
border-style: none;
border-bottom-style: none;
background-color: #fff;
padding: 15px;
box-sizing: border-box;
position: relative;
background-image: url(images/down.png);
background-size: 20px;
background-repeat: no-repeat;
background-position: right 4px center;
border-bottom: 1px solid #ddd;
    width: 100%;
}

/* 新着表示
---------------------------------------------------- */

.sidebox-new {
color:#666;
margin: 0 ;
padding: 0 ;
}

.sidebox-new ul{
margin: 0;
padding: 0;
}

.sidebox-new li{
font-size: 14px;
list-style: none;
margin: 0;
padding: 0;
border-bottom: 1px solid #ddd;
}

.sidebox-new li a{
}

.sidebox-new li a:hover{
color:#999;
}


table.similar-side {
width: 100%;
color: #444;
margin: 0 0 0 0;
padding: 0 0 0 0;
border-collapse: collapse;
border-spacing: 0;
}

table.similar-side img {
width: 80px;
}

table.similar-side th {
text-align: left;
width: 80px;
vertical-align: middle;
}

table.similar-side td {
text-align: left;
white-space: normal;
vertical-align: middle;
}


/* *****************************************************************
*	フッター
* ***************************************************************** */	

#footer {
clear: both;
background: #EAEAEA;
width: 100%;
font-size: 80%;
margin: 0px auto 0px auto;
}

.footer-inner {
margin: 0px auto 0px auto;
padding: 0px 0px;
max-width: 1240px;
}

#sociallink {
text-align:center;
position: relative;
margin: 0 auto 10px auto;
padding: 0 0 0 0;
}

#copyright {
font-size: 10px;
line-height:1.5em;
color: #999;
text-align: center;
position: relative;
margin: 0;
padding: 20px;
    letter-spacing: 2px;
}



/* *****************************************************************
*	ウィジット
* ***************************************************************** */

/* 基本形
---------------------------------------------------- */

.widget{
margin: 0 0 20px 0;
}

.widget ul{
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.widget li{
list-style: none;
}

.widget li a{
color: #666;
}

.widget li a:hover{
color: #999;
}

.widget_recent_entries li a,
.widget_archive li a,
.widget_categories li a,
.widget_nav_menu li a{
margin: 0 0 0 0;
}

.textwidget, .textwidget p {
font-size: 14px;
color: #444;
line-height:180%;
margin: 0 0 0px 0;
padding: 5px 0 0 0;
}

.widget-title {
color: #333;
font-size: 18px;
font-weight: bold;
letter-spacing: 0.05em;
font-style: normal;
margin: 0px 0px 20px 0px;
padding: 13px 10px 10px 0px;
border-bottom: 1px solid #ddd;
border-top: 3px double #ddd;

}

.post-date {
font-size: 89%;
padding: 0 0 0 10px;
}


/* ウィジェットボックストップページ用
---------------------------------------------------- */

.topbox{
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.topbox ul{
floate:left;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.topbox li{
floate:left;
margin: 0 0 0 0;
padding: 7px 0px 6px 0px;
list-style: none;
border-bottom:1px solid #ddd;
}

.topbox li a{
font-size: 14px;
line-height: 160%;
color: #444;
margin: 0 0 0 0;
padding: 7px 0px 6px 0px;
list-style: none;
transition: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;
}

.topbox li a:hover{
color:#999;
}

.topbox h2{
font-size: 14px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.topbox h3{
font-size: 13px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.topbox h4{
font-size: 12px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.topbox ul.children{
margin-bottom: 0px;
display: block;
padding: 5px 0 0 0;
}

.topbox ul.children li{
padding-left: 15px;
padding-top: 5px;
border-top: 1px solid #ccc;
border-bottom: 0px solid #ccc;
}

.topbox ul.sub-menu{
margin-bottom: 0px;
display: block;
padding: 5px 0 0 0;
}

.topbox ul.sub-menu li{
padding-left: 15px;
padding-top: 5px;
border-top: 1px solid #ccc;
border-bottom: 0px solid #ccc;
}


/* ウィジェットボックスフッター用
---------------------------------------------------- */

.footerbox .widget {
margin: 0 0 0 0;
padding: 50px 0 50px 0;
}

.footerbox{
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.footerbox ul{
floate:left;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.footerbox li{
floate:left;
margin: 0 0 0 0;
padding: 7px 0px 6px 0px;
list-style: none;
border-bottom:1px solid #ddd;
}

.footerbox li a{
font-size: 13px;
line-height: 160%;
color: #444;
margin: 0 0 0 0;
padding: 7px 0px 6px 0px;
list-style: none;
transition: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;
}

.footerbox li a:hover{
color:#999;
}

.footerbox h2{
font-size: 14px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.footerbox h3{
font-size: 13px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.footerbox h4{
font-size: 12px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.footerbox ul.children{
margin-bottom: 0px;
display: block;
padding: 5px 0 0 0;
}

.footerbox ul.children li{
padding-left: 15px;
padding-top: 5px;
border-top: 1px solid #ccc;
border-bottom: 0px solid #ccc;
}

.footerbox ul.sub-menu{
margin-bottom: 0px;
display: block;
padding: 5px 0 0 0;
}

.footerbox ul.sub-menu li{
padding-left: 15px;
padding-top: 5px;
border-top: 1px solid #ccc;
border-bottom: 0px solid #ccc;
}

.footer-widget-title {
color: #333;
font-size: 16px;
font-weight: bold;
letter-spacing: 0.05em;
font-style:normal;
margin: 0px 0px 10px 0px;
padding: 0px 0 3px 0;
border-bottom:1px solid #ccc;
}


/* ウィジェットボックスシングルページ記事下用
---------------------------------------------------- */

.singlebox {
margin: 50px 0 50px 0 ;
padding: 0 0 0 0 ;
}

.single-widget-title {
color: #333;
font-size: 18px;
font-weight: bold;
letter-spacing: 0.05em;
font-style:normal;
margin: 50px 0 10px 0 ;
padding: 0 0 3px 0;
border-bottom:1px solid #ccc;
}

.singlebox .textwidget,
.singlebox .textwidget p {
font-size: 16px;
color: #444;
line-height: 170%;
margin: 0 0 0px 0;
padding: 5px 0 5px 0;
}


/* ウィジェットボックスサイドバー用
---------------------------------------------------- */

.sidebox{
margin: 0 0 0 0 ;
padding: 0 0 0 0 ;
}

.sidebox ul{
floate:left;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.sidebox li{
margin: 0 0 0 0;
padding: 7px 0px 7px 0px;
list-style: none;
border-bottom:1px solid #ddd;
}

.sidebox li a{
font-size: 13px;
color: #444;
margin: 0 0 0 0;
padding: 5px 0px 5px 0px;
list-style: none;
transition: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;
}

.sidebox li a:hover{
color:#999;
}

.sidebox h2{
font-size: 14px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.sidebox h3{
font-size: 13px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.sidebox h4{
font-size: 12px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}

.sidebox ul.children{
margin-bottom: 0px;
display: block;
padding: 5px 0 0 0;
}

.sidebox ul.children li{
padding: 5px 0 5px 15px;
border-top: 1px solid #ccc;
border-bottom: 0px solid #ccc;
}

.sidebox ul.sub-menu{
margin-bottom: 0px;
display: block;
padding: 5px 0 0 0;
}

.sidebox ul.sub-menu li{
padding: 5px 0 5px 15px;
border-top: 1px solid #ccc;
border-bottom: 0px solid #ccc;
}


/* カレンダー
---------------------------------------------------- */

table#wp-calendar {
width: 100%
}

table#wp-calendar th {
text-align: center;
}

table#wp-calendar td {
text-align: center;
}



/* *****************************************************************
*	検索フォーム＆検索結果
* ***************************************************************** */

/* 検索フォーム
---------------------------------------------------- */
.search {
    margin: 0;
}
.search input {
width:calc(100% - 80px);
padding: 10px 20px;
box-sizing: border-box;
border: 1px solid #32373c;
font-size: 1rem;
line-height: 2rem;
background-color: #efefef;
}

.search button {
width: 80px;
cursor: pointer;
background: #000;
color: #fff;
padding: 10px 0;
line-height: 2rem;
font-size: 0.8rem;
font-family: 'Josefin Sans', sans-serif;
border: 1px solid #32373c;
vertical-align: top;
}

input[type="submit"]:hover {
	background:#FF1515;	
}
input[type="submit"] {
    margin: 10px 0;
    color: #fff;
    padding: 15px 60px;
    cursor: pointer;
    background: #FF392A;
}
input[type="submit"][disabled] {
    background: #999999 none repeat scroll 0 0;
    cursor: default;
    color: #000;
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 3px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

/* 検索結果ハイライト
---------------------------------------------------- */

.search-excerpt {
font-weight: bold;
background: #FFE4E1; 
}



/* *****************************************************************
*	ボタン
* ***************************************************************** */

.btn a {
font-size: 11px;
letter-spacing: 0.1em;
color: #fff;
background: #bbb;
text-align: center;
margin: 20px 0 20px 0;
padding: 10px 10px;
}

.btn a:hover {
color: #fff;
background: #ddd;
text-decoration: none;
transition: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;
}



/* *****************************************************************
*	レスポンシブテーブル
* ***************************************************************** */

.responsive-tabel-01 table { 
width: 100%; 
}

.responsive-tabel-01 {
margin: 20px 0;
}

.responsive-tabel-01 th { 
width: 30%; 
font-size: 20px;
text-align: left;
background: #f4f4f4;
padding: 20px; 
border: 1px solid #ddd;
vertical-align: middle;
}

.responsive-tabel-01 td { 
font-size: 20px;
text-align: left;
padding: 20px; 
border: 1px solid #ddd;
vertical-align: middle;
}


@media only screen and (max-width:480px){
.responsive-tabel-01 { margin: 20px -10px; }
.responsive-tabel-01 th,
.responsive-tabel-01 td { width: 100%; display: block; border-top: none; }
.responsive-tabel-01 tr:first-child th   { border-top: 1px solid #ddd; }
}



/* *****************************************************************
*   レスポンシブ（メディアクエリ）
* ***************************************************************** */


/* PC 画面の横幅が1240px以下
---------------------------------------------------- */

@media only screen and (max-width: 1240px) {
	.head-img + .wrapper {
		margin-top:0;
	}
	.head-img-title {
		text-align:center;
		top:50px;
}
p.logo-access {
    width: auto;
}
.nav-menu li a {
padding: 22px 8px 28px;
}
}





/* Mobile (Portrait) 画面の横幅が300px~767pxまで（基本）
---------------------------------------------------- */

@media only screen and (max-width: 840px) {
    #nav {
        overflow-y: auto;
    }
    .submenu-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    display: block;
    z-index: 1000;
    background: #fff;
    font-size: 26px;
    padding: 18px 0;
    line-height: 10px;
}
.news dt span.tags, .news dt .item-cat {
width: 100%;
}
.wrapper { padding: 0 0px 50px 0px;
width: 94%;
margin: 0 auto; }
.header-inner { height: auto; margin: auto; padding: 10px 0 10px 0; }
.logo { text-align: center; }
.contact { display: none;}
#header h1, #header .logo { padding: 0 0 0 10px;float: none; margin-bottom: 0px; width: 250px; }
.header-text-inner { width: 300px; }
#nav { display: none; position: absolute; top:0; float: none; text-align:center; width: 100%; background: #e4e4e4; margin-bottom: 40px; margin-top: 0px; padding: 0; height: 100vh; }
.nav-inner { width: 100%; }
.nav-menu li a { color: #333; display: block; font-size: 15px; padding:20px 10px; text-decoration: none;}
.nav-menu li { display: block; float: none; border-bottom: 1px solid #ededed; }
.nav-menu li.home-link {
    display: block;
}
.toggle { display: block; float: right; position: fixed; top: 5px; right: 5px; z-index: 10000; }
#top-slide-max { width: 300px; }
.cycle-slideshow { width: 300px; height: auto; margin: 0 ; overflow: hidden; }
li.item { margin-bottom: 40px; }
li.item-gallery { height: 200px; }
.item-img {
    float: left;
    margin: 0 20px;
    overflow: hidden;
    width: 30%;
	}
table.similar-text img { width: 100px; }
table.similar-text th { width: 100px; }
.head-img { margin: 40px auto 20px auto;}
.pagedate { margin: -20px 0 -10px 0; }
p { font-size: 15px; }
.pager { margin: 80px 0 80px 0; }
.footer-inner { width: 300px; padding: 0px 0px;}
.mobile-display-none { display: none; }
.single-contents br { display: none; }
.page-contents { margin: 0 0 50px 0; }
#main-text {
font-size: 3.5rem;
width: 84%;
margin: 0 auto;
line-height: 3.5rem;
}
    ul.new-columns li h3 {
        margin: 0;
    }
    .column-excerpt {
        display: none;
    }
    ul.sub-menu {
        width: 100%;  
        top: 63px !important
    }
ul.sub-menu li a{
    width: 100%;
    padding: 10px !important;
    box-sizing: border-box;
}
}



/* Mobile (Portrait/iPhone6) 画面の横幅が375px〜479pxまで
---------------------------------------------------- */

@media only screen and (min-width: 375px) and (max-width: 479px) {
.header-inner { margin: auto;
padding: 10px 0;
height: auto; }
.header-text-inner { width: 336px; }
.logo { text-align:center; }
#top-slide-max { width: 336px; }
.cycle-slideshow { width: 336px; height: auto; margin: 0 ; overflow: hidden; }
.footer-inner { width: 336px; padding: 0px 0px;}
li.item {  margin-bottom: 40px; }
li.item-gallery { height: 224px; }
.item-img {  margin: 0 0 10px 0; overflow: hidden; }
.logo {
width: auto;
}

}

@media only screen and (max-width: 767px) {
ul.new-columns li,
ul.domain-list li,
.col4,
.col6 {
    width: 100%;
}
	.logo {
width: auto;
}

}


/* Mobile (Landscape) 画面の横幅が480px〜767pxまで
---------------------------------------------------- */

@media only screen and (min-width: 480px) and (max-width: 767px) {
.wrapper {  }
.header-inner { margin:auto; height: auto;}
.header-text-inner { }
.logo { text-align:center; }
#top-slide-max { }
.cycle-slideshow { height: auto; margin: 0 ; overflow: hidden; }
.footer-inner {padding: 0px 0px;}
li.item { margin-bottom: 40px; }
li.item-gallery { height: 420px; }
.item-img { margin: 0 20px; overflow: hidden; }
}



/* *****************************************************************
*   レスポンシブ（外部サービス対策用）
* ***************************************************************** */

/* Twitter Timeline
---------------------------------------------------- */

.twitter-timeline { 
width:100%; 
height: 300px; 
}


/* Facebook Like Box
---------------------------------------------------- */

div.fb_iframe_widget,
div.fb_iframe_widget iframe[style],
div.fb_iframe_widget span {
width: 100% !important;
}


/* YouTube embed
---------------------------------------------------- */

.youtube {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
margin-top: 20px;
margin-bottom: 20px;
}
.youtube iframe,
.youtube object,
.youtube embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#video {
position:relative;
}
#video::before {
width: 500px;
height: 500px;
background: #eee;
z-index: 10000;
position: absolute;
content: "";
top: 0;
left: 0;
}

.ggmap {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}





.index-box{
    margin:  100px 0;    
}
.index-box ul {
    margin: 0;
    padding: 0;
}
.index-box ul li:first-child {
    border-top: 1px solid;
}
.index-box ul li {
list-style: none;
border-bottom: 1px solid;
margin: 0;
}
.index-box ul li a:hover {
    background: #fff;
}
.index-box ul li.current_page_item {
    background: #fff !important;
}
.index-box ul li a::after {
    content: "\f105";
    font-family: "FontAwesome";
    font-size: 40px;
    line-height: 21px;
    margin: 0 0 0 12px;
    vertical-align: bottom;
    float: right;

}
.index-box ul li a {
padding: 20px 10px;
display: block;
text-decoration: none;
}

.footer-contact {
text-align: center;
margin: 100px 0 50px;
overflow: hidden;
}
.footer-contact h3 {
    border: none;   
}

.keyword-area {
    width: 97%;
    padding: 0px 10px 0px 10px;
    background-color: #e7e7e7;
    margin-top: 10px;
    font-size: smaller;
}

/*ダウンロードボタン*/

a.button-pdf {
    border: 1px solid #dc143c;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    line-height: 1.2em;
    margin: 10px;
    min-width: 200px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    transition-delay: 0s;
    transition-duration: 150ms;
    transition-property: background, color;
    transition-timing-function: linear;
    vertical-align: bottom;
}
a.button-pdf:hover {
    background: #f5f5f5;
    color: #dc143c;
}
span.button-txt-pdf::after {
    content: "";
    font-family: "FontAwesome";
    font-size: 13px;
    line-height: 19px;
    margin: 0 0 0 12px;
    vertical-align: bottom;
}

span.button-txt-pdf {
    display: inherit;
    line-height: 20px;
    padding: 5px 10px;
    color: #dc143c;
}


/* ボックスレイアウト追加 */

#main .wp-flex-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: left;
        }

        .wp-flex-box {
            flex: 1;
            min-width: 250px;
            max-width: 480px;
            border: 1px solid #e3e3e3;
            display: flex;
            flex-direction: column;
        }

        .wp-flex-header {
			background-color: #e3e3e3;
            color: #184b81;
            text-align: center;
            padding: 15px;
            font-weight: bold;
			font-size: 1.3em;
        }

        .wp-flex-content {
            flex-grow: 1;
            padding: 15px;
            display: flex;
            flex-direction: column;
            justify-content: left;
        }

        /* 1列レイアウト */
        .wp-flex-1col .wp-flex-box {
            flex: 1 1 calc(100% - 10px);
        }

        /* 2列レイアウト */
        .wp-flex-2col .wp-flex-box {
            flex: 1 1 calc(50% - 10px);
        }

        /* 3列レイアウト */
        .wp-flex-3col .wp-flex-box {
            flex: 1 1 calc(33.33% - 10px);
        }

        /* 4列レイアウト */
        .wp-flex-4col .wp-flex-box {
            flex: 1 1 calc(25% - 10px);
			max-width: calc(25% - 10px);
        }
@media (max-width: 768px) {
    .wp-flex-3col .wp-flex-box,
    .wp-flex-4col .wp-flex-box {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px); /* ← これで左右2つ並びに固定 */
    }
}

@media (max-width: 480px) {
    .wp-flex-2col .wp-flex-box,
    .wp-flex-3col .wp-flex-box,
    .wp-flex-4col .wp-flex-box {
        flex: 1 1 100%;
        max-width: 100%; /* ← 1列固定 */
    }
}

/* ボックスレイアウト　Stage2　*/
/* コンテンツ全体のスタイル */
#main .wp-content-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    padding: 10px;
}

/* 各ボックスのレイアウト */
.wp-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border: 2px solid #e3e3e3;
}

/* 左側の見出しボックス */
.wp-title-box {
    background-color: #00588b;
    color: white;
    flex: 1 1 250px;
    min-width: 200px;
    padding: 20px;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 右側のテキストボックス */
.wp-text-box {
    flex: 3 1 600px;
    min-width: 300px;
    padding: 20px;
    background-color: white;
}

/* レスポンシブ対応（画面が狭い場合は縦に並べる） */
@media (max-width: 768px) {
    .wp-box {
        flex-direction: column;
    }

    .wp-title-box {
        width: 100%;
    }

    .wp-text-box {
        width: 100%;
    }
}

.topbox-bottom{
	padding: 5px;
	background: #fefefe;
	text-decoration: none;
	font-size: 20px;
	font-family: sans-serif;
	font-weight: 600;
}

.overlay-text {
position: relative; /* 親要素（.image-container）を基準に配置 */
top: 50%; /* 上から50%の位置に配置 */
left: 50%; /* 左から50%の位置に配置 */
transform: translate(-50%, -50%); /* 要素の中心を基準に配置 */
color: #fff; /* 文字色を白に */
font-size: 22px; /* フォントサイズを調整 */
text-align: center; /* 文字を中央揃えに */
width: 80%; /* 文字が改行されるように幅を設定 */
box-sizing: border-box; /* paddingを含めて幅を計算 */
padding: 20px; /* 左右に少し余白 */
background-color: rgba(60, 160, 260, 0.9); 
letter-spacing: 0.2rem;
font-family: sans-serif;
}
