@charset "utf-8";

/* ================================================================
標準のCSSを変更せず、上書きしてスタイルを変更するために作成したcss
レイアウトファイル側で、標準のCSSが読み込まれた後で最後に読み込む
================================================================ */

/* フォントスタイルを変更 */
@font-face {
	font-family: "Yu Gothic";
	src: local("Yu Gothic Medium");
	font-weight: 100;
}
@font-face {
	font-family: "Yu Gothic";
	src: local("Yu Gothic Medium");
	font-weight: 200;
}
@font-face {
	font-family: "Yu Gothic";
	src: local("Yu Gothic Medium");
	font-weight: 300;
}
@font-face {
	font-family: "Yu Gothic";
	src: local("Yu Gothic Medium");
	font-weight: 400;
}
@font-face {
	font-family: "Yu Gothic";
	src: local("Yu Gothic Bold");
	font-weight: bold;
}
@font-face {
  font-family: "Segoe UI";
  src: local("Segoe UI");
  font-weight: 400;
}
@font-face {
  font-family: "Segoe UI";
  src: local("Segoe UI");
  font-weight: 500;
}
@font-face {
  font-family: "Segoe UI";
  src: local("Segoe UI Semibold");
  font-weight: 700;
}
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, YakuHanJPs, YuGothic, "Yu Gothic", "Hiragino Sans", "Noto Sans CJK JP", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans Emoji";
	min-width: initial;
}

/* 個別に指定されているフォントスタイルをリセットするため */
h2, h3, .feed .date {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, YakuHanJPs, YuGothic, "Yu Gothic", "Hiragino Sans", "Noto Sans CJK JP", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans Emoji";
}

/* ウィジェット内のブログカレンダーのスタイル調整 */
.prev-month {
  padding-right: 30px;
}
.next-month {
  padding-left: 30px;
}
.prev-month.default,
.next-month.default {
  opacity: 0;
}

/* 管理用ツールバーの下にグローバルメニューが潜り込んでしまうのを解消するため */
#TopWrap {
	position: fixed;
	top: unset;
}

/* PCビュー（1000pxまで）、コンテンツがオーバーフローしないようにwidthおよびmax-widthを調整 */
#TopWrap .wrapper {
  width: 100%;
  max-width: 1000px;
}
#Header {
  width: 100%;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#Header h1 img {
  max-width: 300px;
  max-height: 100px;
}
#Header #Description {
  padding-right: 0;
}
#About .right img {
  margin: 10px auto;
  max-width: 300px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: fit-content;
}
#About .left {
  width: auto;
  max-width: calc(100% - 320px);
}
/* タブレットビュー（1000px以下）、コンテンツレイアウトを調整 */
@media screen and (max-width: 1000px) {
	#Header {
		width: auto;
		margin: 0 10px;
	}
	#SliderBox {
		width: auto;
	}
	#News {
		float: none;
		width: auto;
		margin-bottom: 30px;
	}
	#Blog {
		float: none;
		width: auto;
	}
	.wrap {
		width: auto;
		max-width: 1000px;
		margin: 0 10px;
	}
}
/* スマホビュー（640px以下）、コンテンツレイアウトを調整 */
@media screen and (max-width: 640px) {
	#BtnMenu {
		display: block;
	}
	#BtnMenu img {
		height: 20px;
		margin: 10px 0 10px 15px;
	}
	#About .left {
		width: auto;
		max-width: 640px;
	}
	.wrap {
		margin: 0 auto;
	}
}

/* g */
#GlobalNavigation li.dropdown-item a {
  display: block;
  width: fit-content;
  padding: 30px;
}
#GlobalNavigation li a:hover {
	background: rgba(255,255,255,.3);
	transition: background-color .3s;
}
#GlobalNavigation ul.dropdown-list {
	background: #000;
	width: auto;
}
#GlobalNavigation ul.dropdown-list a {
	background: #000;
	border-top: solid 1px rgba(255,255,255,.3);
	padding: 15px 30px;/*g*/
	text-align: left;/*g*/
	width: auto;/*g*/
	min-width: 150px;/*g*/
}
#GlobalNavigation ul.dropdown-list a:hover {
	color: #fff;
	background-color: rgba(255,255,255,.3);
}
@media screen and (max-width: 640px) {
	#TopWrap {
		position: fixed;
		top: unset;
	}
	#Header {
		display: block;
		width: auto;
		height: auto;
		margin: 0 10px 10px;
		padding-top: 50px;
	}
	  #GlobalNavigation li.dropdown-item a {
    width: auto;
    padding: 5px 30px;
    text-align: left;
  }
	#GlobalNavigation > ul {
		height: max-content;
		max-height: 350px;
		overflow-y: scroll;
		overscroll-behavior: contain;
	}
	#GlobalNavigation ul.dropdown-list li:last-child a {
		border-bottom: solid 1px rgba(255,255,255,.3);
	}
	#GlobalNavigation ul.dropdown-list a {
		padding: 5px 30px 5px 50px;
		width: auto;/*g*/
	}
}

#SocialLinks li {
	margin-right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 24px;
	font-size: 2.4rem;
}
@media screen and (max-width: 640px) {
	#SocialLinks {
		margin-right: 10px;
	}
	#SocialLinks li {
		margin-right: 0px;
		width: 40px;
		height: 40px;
		border-radius: 20px;
		font-size: 2rem;
	}
}

#SocialLinks li:hover {
	background-color: rgba(255,255,255,.3);
	transition: background-color .3s;
}

#SocialLinks li a:link, #SocialLinks li a:visited {
	color: #fff;
}

#SliderBox .bx-next {
	position: absolute;
	right: -30px;
	top: calc(((100% - 25px) / 2) - 30px);
	display: block;
	width: 60px;
	height: 60px;
	background: rgba(0,0,0,.2);
	border-radius: 30px;
	text-indent: -9999em;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

#SliderBox .bx-prev {
	position: absolute;
	left: -30px;
	top: calc(((100% - 25px) / 2) - 30px);
	display: block;
	width: 60px;
	height: 60px;
	background: rgba(0,0,0,.2);
	border-radius: 30px;
	text-indent: -9999em;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
.bx-wrapper .bx-prev::after,
.bx-wrapper .bx-next::after {
	color:  #fff;
	font-size: 30px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	text-indent: 0px;
}
.bx-wrapper .bx-prev::after {
	content: "\f060";
}
.bx-wrapper .bx-next::after {
	content: "\f061";
}

#Works .bx-next {
	position: absolute;
	right: -20px;
	top: calc(120px - 20px);
	display: block;
	width: 40px;
	height: 40px;
	background: rgba(0,0,0,.2);;
	border-radius: 20px;
	text-indent: -9999em;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
#Works .bx-prev {
	position: absolute;
	left: -20px;
	top: calc(120px - 20px);
	display: block;
	width: 40px;
	height: 40px;
	background: rgba(0,0,0,.2);;
	border-radius: 20px;
	text-indent: -9999em;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
#Works .bx-prev::after,
#Works .bx-next::after {
	color:  #fff;
	font-size: 20px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	text-indent: 0px;
}
#Works .bx-prev::after {
	content: "\f060";
}
#Works .bx-next::after {
	content: "\f061";
}
#Works li h3,
#Works li h3::after {
	border-bottom: none;
}

#TopLink {
	position: fixed;
	bottom: 60px;
	right: 60px;
	left: auto;
	width: 60px;
	margin-left: 0;
}

#Page h3 {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.2;
	position: relative;
	padding-bottom: 8px;
	background: none;
	border-bottom: 2px solid #ccc;
}
#Page h3::after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 2px #000;
	bottom: -2px;
	width: 85px;
}

@media screen and (max-width: 1080px) {
	#SliderBox .bx-prev, #SliderBox .bx-next {
		display: none;
	}
	  #WorksWrap {
    width: auto;
  }
#Works .bx-next {
	position: absolute;
	right: 0px;
}
#Works .bx-prev {
	position: absolute;
	left: 0px;
}
}

.more-link a {
	position: relative;
}
.more-link a::after {
	position: absolute;
	top: 1px;
	right: 15px;
	content: "\f0da";
	display: inline-block;
	margin-right: 5px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 1.3rem;
}


/* contact　入力フィールド
-------------------- */

.form-contact table {
	width: 100%;
	max-width: 680px;
	margin: 0 auto;
}

input[type="text"], textarea, select, input[type="password"], input[type="email"] {
	margin: 3px 2px;
	padding: 6px;
	border: 1px solid #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #fff;
	font-size: 1.4rem;
}
#MailMessageMessage, 
#MailMessageEmail1, 
#MailMessageEmail2, 
#MailMessageAddress2, 
#MailMessageAddress3, 
#MailMessageRootEtc {
	width: 95%;
}
#MailMessageName1,
#MailMessageName2,
#MailMessageNameKana1,
#MailMessageNameKana2 {
	width: calc((95% / 2) - 34px);
}
@media screen and (max-width: 640px) {
	#MailMessageMessage, 
	#MailMessageEmail1, 
	#MailMessageEmail2, 
	#MailMessageAddress2, 
	#MailMessageAddress3, 
	#MailMessageRootEtc {
		width: 93%;
	}
	#MailMessageName1,
	#MailMessageName2,
	#MailMessageNameKana1,
	#MailMessageNameKana2 {
		width: calc((93% / 2) - 34px);
	}
}

/* ContactForm
-------------------- */
.submit {
	margin: 30px 0;
	text-align: center;
}
.submit input.button {
	font-weight: normal;
	border: none;
	padding: 10px;
	color: #fff;
	display: inline-block;
	cursor: pointer;
	font-size: 14px;
	letter-spacing: 1px;
	border-radius: 3px;
	background-color: #000;
}
.submit input.button:hover {
	opacity: .7;
}
.auth-captcha {
	margin: 30px 0;
	text-align: center;
}
.auth-captcha-image {
	vertical-align: middle;
}
.mail-description {
	margin-bottom: 10px;
}
#flashMessage {
	margin-bottom: 10px;
}
.form-contact table {
	border: none;
	border-top: 1px dotted #ccc;
}
.form-contact th {
	background: #fff;
	text-align: left;
}

@media screen and (max-width: 640px) {
	.form-contact table {
		box-sizing: border-box;
		list-style: none;
	}
	.form-contact tr {
		display: block;
		border-bottom: 1px dotted #ccc;
	}
	.form-contact th {
		padding: 5px 10px 0;
		margin-bottom: -10px;
	}
	.form-contact th,
	.form-contact td {
		display: list-item;
		width: auto;
		border: none;
	}
	.form-contact td textarea {
		width: 95%;
	}
	.form-contact th {
		color: inherit;
	}
}

#Footer .wrapper {
  width: auto;
  max-width: 1000px;
  margin: 0 auto;
  color: #fff;
}
#FooterInformation {
  float: left;
  width: calc(70% - 10px);
  padding-left: 10px;
}
#Footer #FooterNavigator .sub-nav ul {
  border-left: none;
  margin: 0;
  padding: 5px 0 5px 20px;
}
#FooterLogo img {
	max-width: 250px;
	max-height: 50px;
}
@media screen and (max-width: 640px) {
	  #FooterInformation {
    float: none;
    width: auto;
    text-align: center;
  }
	#Footer #FooterNavigator {
    max-width: 150px;
    margin: 0 auto;
    padding: 0 20px;
  }
	#Footer #FooterNavigator ul {
		padding: 20px 0;
	}
	#Footer #FooterNavigator li a {
		position: relative;
		background: none;
	}
	#Footer #FooterNavigator li a::after {
		position: absolute;
		top: 1px;
		right: 0px;
		content: "\f054";
		display: inline-block;
		margin-right: 5px;
		font-family: "Font Awesome 6 Free";
		font-weight: 900;
		font-size: 1.3rem;
	}
}

#TopLink {
	position: fixed;
	bottom: 60px;
	right: 60px;
	left: auto;
	margin-left: 0;
}
@media screen and (max-width: 1000px) {
	#TopLink {
	position: fixed;
	bottom: 20px;
	right: 20px;
	left: auto;
	margin-left: 0;
}
}

#TopLink img {
	display: none;
}
#TopLink a::after {
	content: "\f077";
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 2rem;
	color: #fff;
	background: rgba(0,0,0,.2);
	width: 60px;
	border-radius: 30px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#TopLink a:hover {
	text-decoration: none;
}

.widget-area div:last-child {
  margin-bottom: 0;
}

.widget-local-navi li a,
.widget-local-navi li a:hover,
.blog-widget li a,
.blog-widget li a:hover {
  background: none;
}
.widget-local-navi li.current a {
  background: none;
/*	padding: 6px 10px 6px 5px;*/
	color: #333;
}
.blog-widget li a::before, .widget-local-navi li a::before {
content: "\f0da";
  display: inline-block;
  margin-left: -1.5rem;
  padding-right: 1rem;
  color: #333;
  line-height: 0;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1.2rem;
}
.widget-local-navi li.current a {
  background: rgba(255,255,255,.7);
}

#BlogCommentName,
#BlogCommentEmail,
#BlogCommentUrl,
#BlogCommentMessage {
	width: 60%;
}

/*.more::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 1rem;
  color: #43A075;
}*/

#SliderBox .bx-pager-item a.bx-pager-link {
	border-radius: 4px;
	background: #ccc;
}

.subpage table {
  border: none;
}
.subpage th {
  background: none;
}

#ContentsNavi {
  display: flex;
  margin: 100px auto;
  width: fit-content;
  gap: 50px;
}
 #ContentsNavi .prevLink::before {
    content: "\f060";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    padding-right: 10px;
    line-height: 100%;
    display: inline-block;
    text-decoration: none;
  }
 #ContentsNavi .nextLink::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    padding-left: 10px;
    line-height: 100%;
    display: inline-block;
    text-decoration: none;
  }
/*#Works .bx-prev {
	position: absolute;
	left: 0px;
	top: 105px;
	display: block;
	width: 30px;
	height: 30px;
	background: url(../img/slider/btn_prev.png) no-repeat;
	text-indent: -9999em;
	overflow: hidden;
	background-size: cover;
}
#Works .bx-next {
	position: absolute;
	right: 0px;
	top: 105px;
	display: block;
	width: 30px;
	height: 30px;
	background: url(../img/slider/btn_next.png) no-repeat;
	text-indent: -9999em;
	overflow: hidden;
	background-size: cover;
}
*/

@media screen and (max-width: 480px) {
  html {
    margin-top: 0 !important;
  }
}

.widget-blog-calendar tr:first-child td a {
  color: #fff;
}

.widget-blog-calendar tr:first-child td a:hover {
  color: rgba(255, 255, 255, .6);
}