/*
Theme Name: シンワハウス見積システム オリジナルテーマ
Theme URI: http://www.shinwahouse.jp/mitsumori/
Description: シンワハウス様専用の自動見積・PDF生成システムテーマ。
Author: 株式会社ベルファスト
Version: 1.0.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Structure
# Header
# Primary Nav
# Content
	## Posts and Pages
	## Content Navigation
	## Comments
# Sidebar
	## Widgets
# Footer
# Infinite Scroll
# Media
	## Captions
	## Galleries
# Responsive
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

html {
	font-family: 'Noto Sans JP', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	scroll-behavior: smooth;
}

#top{
  scroll-margin-top: 100px; /* ヘッダーの高さ */
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body {
	color: #303135;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-wrap: break-word;
}

nav,
label,
input {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Noto Sans JP', sans-serif;
	line-height: 1.25;
	color: #2d2e33;
}

p {
	margin: 0 0 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 15px;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background-color: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

.widget ul,
.widget ol {
	margin: 0;
	padding: 0 0 0 1em
}

.comments-area ol {
	list-style: none;
	padding: 0
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
	vertical-align: bottom;
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	font-family: 'Noto Sans JP', sans-serif;
	margin: 0 0 1.5em;
	width: 100%;
	font-size: 14px;
}

table th {
	border-bottom: 2px solid;
	padding: 10px;
	text-align: left
}

table td {
	padding: 10px 10px 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

label {
	font-size: 14px;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background-color: #e6e6e6;
	padding: 8px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 8px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
	color: #253e80;
}

a:hover,
a:focus,
a:active {
	color: #253e80;
}

a:focus {
	outline: thin dotted;
}

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

.sidebar-1 a {
	text-decoration: none
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

.screen-reader-text {
	display: none;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.wrapper:before,
.wrapper:after,
.navigation:before,
.navigation:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.wrapper:after,
.navigation:after {
	clear: both;
}

/*--------------------------------------------------------------
# Structure
--------------------------------------------------------------*/

.wrapper {
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
}

.site-content {
	padding-bottom: 70px
}

.page-template-full-width .content-area,
.post-template-full-width .content-area {
	width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
	text-align: center;
	min-height: 136px !important;
	padding: 50px 0;
}

.site-title {
	margin: 0;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 300;
	font-size: 30px;
	line-height: 1.2
}

.site-title a {
	text-decoration: none;
	color: #253e80;
}

.site-description {
	color: #8e8e8e;
	margin: 0
}

/*--------------------------------------------------------------
# Primary Nav
--------------------------------------------------------------*/

.menu-1 {
	background-color: #253e80;
	font-size: 14px;
	margin-bottom: 50px
}

.menu-1 {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.menu-1 ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.menu-1 li {
	float: left;
	position: relative;
}

/* Align the navigation with the rest of the content. */
.menu-1 .nav-menu > li:first-child {
	margin-left: -20px
}

.menu-1 a {
	display: block;
	text-decoration: none;
}

.menu-1 ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	left: -999em;
	z-index: 99999;
}

.menu-1 ul ul ul {
	left: -999em;
	top: 0;
}

.menu-1 ul ul a {
	width: 200px;
	text-align: left;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.menu-1 ul ul li {
	background-color: #182b5f;
}

.menu-1 li:hover,
.menu-1 li.focus {
	background-color: #182b5f
}

.menu-1 ul li:hover > ul,
.menu-1 ul li.focus > ul {
	left: auto;
}

.menu-1 ul ul li:hover > ul,
.menu-1 ul ul li.focus > ul {
	left: 100%;
}

.menu-1 a {
	padding: 20px;
	color: rgba(255, 255, 255, 0.8);
}

.menu-1 .sub-menu li:hover {
	background-color: #0c1a40
}

.menu-1 li.page_item_has_children > a:after,
.menu-1 li.menu-item-has-children > a:after {
	content: '\25bc';
	font-size: 7px;
	vertical-align: 1px;
	padding-left: 5px;
	opacity: .75
}
.menu-1 li li.page_item_has_children > a:after,
.menu-1 li li.menu-item-has-children > a:after {
	content: '\25b6';
	font-size: 7px;
	vertical-align: 1px;
	padding-left: 5px;
	opacity: .75
}

/* Small menu. */
.menu-toggle {
	display: none
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.content-area {
	max-width: 1040px;
}

.post-thumbnail {
	margin-bottom: 16px
}

.entry-header {
	margin-bottom: 16px
}

.entry-title {
	font-size: 30px;
	margin: 0;
}

.entry-title a {
	text-decoration: none;
	color: black;
}

.entry-meta {
	font-size: 14px;
	color: #929292
}
.entry-meta a {
	color: #929292;
	text-decoration: none
}

.edit-link {
	float: right;
}

.page .edit-link {
	float: none;
}

.entry-footer {
	border-bottom: 1px solid #e4e4e4;
	border-top: 1px solid #e4e4e4;
	padding: 20px 0;
	margin: 0 0 50px;
	font-size: 14px;
}

.entry-footer span {
	display: block;
}
.entry-footer a {
	text-decoration: none;
	color: #303135
}

.comments-closed .entry-footer {
	margin-bottom: 0;
}

.more-link {
	text-decoration: none;
}

/*--------------------------------------------------------------
## Posts and Pages
--------------------------------------------------------------*/

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.blog .hentry {
	margin: 0 0 3em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

/*--------------------------------------------------------------
## Archives
--------------------------------------------------------------*/

.archive-header {
	margin-bottom: 25px;
}

.archive-header .archive-title {
	font-size: 16px
}

.archive-header .archive-description {
	font-size: 16px;
	border-bottom: 1px solid #e4e4e4;
}

.archive .post {
	margin-bottom: 50px;
	border-bottom: 1px solid #e4e4e4;
	padding-bottom: 26px;
}

/*--------------------------------------------------------------
## Content Navigation
--------------------------------------------------------------*/

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.post-navigation,
.posts-navigation {
	margin-bottom: 25px;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.nav-links a {
	text-decoration: none;
	color: #303135;
}

.post-navigation .nav-links a  {
	font-weight: bold
}
.post-navigation .nav-links a span {
	text-decoration: underline;
	font-weight: normal
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comments-area .comment-body {
	border-bottom: 1px solid #e4e4e4;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.comments-area ul.children {
	margin: 0 0 0 25px;
	padding: 0;
	list-style: none;
}

.comments-area .children .comment-body  {
	padding: 0 0 25px 0;
	margin: 25px 0;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.comment-meta {
	margin-bottom: 16px
}

.comment-meta a {
	text-decoration: none
}
.comment-author a {
	color: #303135;
	text-decoration: none;
	font-weight: bold;
}

.comment-author img {
	float: left;
	margin-right: 10px;
}

.comment-author cite {
	font-style: normal;
	color: #303135;
	font-weight: bold
}

.comment-metadata a {
	color: gray;
	font-size: 14px;

}

.logged-in-as a {
	text-decoration: none;
	color: gray;
	font-size: 14px
}

.comment-reply-link {
	text-decoration: none
}

#cancel-comment-reply-link {
	text-decoration: none;
	color: #bb0404;
	font-weight: normal;
	font-style: italic;
	float: right;
}

.comment-respond input {
	width: 100%;
}

.comment-form-author {
	width: 47.5%;
	float: left;
	margin-right: 5%;
}
.comment-form-email {
	width: 47.5%;
	float: left;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/

.sidebar-1 {
	width: 300px;
	float: right;
	font-size: 14px;
}

/*--------------------------------------------------------------
## Widgets
--------------------------------------------------------------*/

.widget {
	margin: 0 0 25px;
}

.widget-title {
	margin-top: 0;
	margin-bottom: .5em
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer .site-info {
	padding: 30px 0;
}

.ft-logo{
	width: 160px;
	float: left;
	margin-right: 20px;
}

ul.ft-nav{
	list-style: none;
	display: flex;
	margin: 0 10px 0 0;
	padding: 0;
	float: left;
}
ul.ft-nav li{
	font-size: 13px;
	border-right: solid 1px #111;
	padding: 0 10px;
}
ul.ft-nav li:last-of-type{
	border-right: none;
}

ul.ft-nav li a{
	text-decoration: none;
	color: #111;
	transition: .3s;
}

ul.ft-nav li a:link{color: #111;}
ul.ft-nav li a:active{color: #555;}
ul.ft-nav li a:hover{color: #555;}
ul.ft-nav li a:visited{color: #111;}

.ft-copyright{
	color: #666;
	font-size: 9px;
	display: block;
	padding-top: 3px;
}

@media screen and (max-width: 1035px){
	.ft-logo{
		float: none;
		margin-left: auto;
		margin-right: auto;
		width: 200px;
		
	}
	ul.ft-nav{
		float: none;
		margin: 20px auto;
		max-width: 540px;
	}
	.ft-copyright{
		text-align: center;
	}
}

@media screen and (max-width: 640px){
	ul.ft-nav{
		flex-direction: column;
		padding: 0;
		max-width: 640px;
	}
	ul.ft-nav li{
		font-size: 14px;
		border-right: none;
		border-bottom: solid 1px #e6e6e6;
		padding: 15px 0;
		text-align: center;
	}
	ul.ft-nav li:last-of-type{
		border-right: none;
	}
}

/*--------------------------------------------------------------
# Infinite Scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	font-size: 14px
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

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

	#site-menu {
		display: none;
	}

	.menu-1 {
		background: none
	}

	.menu-1 a {
		border-top: 1px solid rgba(255, 255, 255, 0.10);
	}

	.menu-toggle {
		color: white;
		margin: 0 auto;
		width: 100%;
    border: 0;
    border-radius: 0;
	}

	.toggled .menu-toggle {
		color: white;
		margin: 0 auto
	}

	/* Small menu. */
	.menu-toggle,
	.menu-1.toggled #site-menu {
		display: block;
	}

	.menu-1 li {
		float: none;
	  width: 100%;
	}

	.menu-1 ul ul {
		position: relative;
		float: none;
		left: auto;
		display: none
	}

	.menu-1 ul li:hover > ul,
	.menu-1 ul li.focus > ul {
		display: block;
	}

	.menu-1 ul ul a {
		width: 100%;
	}

	.menu-1 ul ul ul {
		left: auto
	}

	.menu-1 ul ul li:hover > ul,
	.menu-1 ul ul li.focus > ul {
		left: auto;
	}

}

@media screen and (max-width: 1040px) {
	.site-content,
	.content-area,
	.sidebar-1 {
		width: 100%;
		float: none
	}

	.site-content,
	.site-info {
		padding: 0 20px;
	}

	.menu-1 .nav-menu > li:first-child {
	  margin-left: 0;
	}
}

:root {
	--primary-color: #005bac; /* シンワハウス様のメインカラーに調整してください */
	--accent-color: #f39800;  /* アクセントカラー */
	--header-height: 70px;
	--header-h: 80px; 
}

/* =========================
   Header layout
========================= */
.sh-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #d9d9d9;
}

.sh-header__inner{
  display:flex;
  align-items:stretch;
  min-height: 84px; /* PCの見た目に合わせて調整OK */
}

/* Left block */
.sh-header__left{
  width: 90px;              /* SPの左青ブロック幅っぽく */
  background:#233a8f;         /* 青 */
  display:flex;
  transition: .3s;
}

.sh-header__left:hover{background:#2c4f92}
.sh-header__left:active{background:#2c4f92}

.sh-backtotop{
  color:#fff;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:2px;
  width:100%;
  font-weight:700;
  line-height:1.05;
  font-size:14px;
}

.sh-backtotop:link{color:#fff;}
.sh-backtotop:active{color:#fff;}
.sh-backtotop:hover{color:#fff;}
.sh-backtotop:visited{color:#fff;}

/* Center logo */
.sh-header__center{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 10px 12px;
}
.sh-logo img{
  display:block;
  height: 34px;  /* ロゴの見た目に合わせて調整 */
  width:auto;
  transition: .3s;
}

.sh-logo img:hover{opacity: 0.7;}
.sh-logo img:active{opacity: 0.7;}

/* Right */
.sh-header__right{
  width: 130px; /* PCの電話ブロック含めて */
  display:flex;
  align-items:stretch;
  justify-content:flex-end;
}

@media screen and (max-width: 440px){
	.sh-header__left {width: 84px;}
	.sh-header__right{width: 120px;}
}
@media screen and (max-width: 430px){.sh-header__right{width: 110px;}}
@media screen and (max-width: 420px){.sh-header__right{width: 100px;}}
@media screen and (max-width: 410px){.sh-header__right{width: 90px;}}
@media screen and (max-width: 400px){
	.sh-header__right{width: 80px;}
}

/* Tel (PC only-ish) */
.sh-tel{
  background:#233a8f;
  color:#fff;
  text-decoration:none;
  display:none; /* SPは非表示、PCで表示 */
  flex:1;
  padding: 10px 14px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  transition: .3s;
}

.sh-tel:hover{background:#2c4f92}
.sh-tel:active{background:#2c4f92}

.sh-tel__label{ font-size:12px; font-weight:400; }
.sh-tel__num{ font-size:16px; font-weight:400; white-space:nowrap; }
.sh-tel__num small{ font-size:12px; font-weight:400; }

.sh-tel:link{color: #fff;}
.sh-tel:hover{color: #fff;}
.sh-tel:active{color: #fff;}
.sh-tel:visited{color: #fff;}

/* Burger */
.sh-burger{
  width: 84px;               /* SP右側のボタン領域 */
  border:0;
  background:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.sh-burger__lines{
  display:inline-flex;
  flex-direction:column;
  gap:7px;
}
.sh-burger__lines i{
  display:block;
  width: 34px;
  height: 2px;
  background:#233a8f;
}
.sh-sr{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  border:0;
}

/* =========================
   Drawer (Drop from top)
========================= */
.sh-drawer{
  position: fixed;
  inset: 0;
  /* display 切替はアニメできないので使わない */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
  z-index: 9999;
}

.sh-drawer.is-open{
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.sh-drawer__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

/* パネル：上から降りる */
.sh-drawer__panel{
  position: absolute;
  left: 0;

  width: 100%;
  /* 画面全体を覆うなら 100% */

  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);

  display: flex;
  flex-direction: column;

  transition: transform .45s cubic-bezier(.4,0,.2,1);
  
}

.sh-drawer.is-open .sh-drawer__panel{
  transform: translateY(0);
}

/* Head */
.sh-drawer__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:5px 16px;
  border-bottom:1px solid #e6e6e6;
}

.sh-drawer__title{
  font-weight:800;
  letter-spacing:.06em;
}

.sh-drawer__close{
  border:0;
  background:transparent;
  font-size:45px;
  line-height:1;
  cursor:pointer;
}

/* Nav list */
.sh-drawer__nav{
  padding: 12px 16px 24px;
  overflow:auto;
}

.sh-nav{
  list-style:none;
  margin:0;
  padding:0;
  font-size: 16px;
}

.sh-nav a{
  display:block;
  padding: 14px 6px;
  border-bottom:1px solid #eee;
  text-decoration:none;
  color:#111;
  font-weight:700;
}

/* =========================
   PC breakpoint
========================= */
@media (min-width: 960px){
  .sh-header__inner{ min-height: 96px; }

  .sh-header__left{ width: 120px; }

  /* PCでは電話を表示 */
  .sh-tel{ display:flex; }

  /* PCではハンバーガーを非表示 */
  .sh-burger{
	display:none;
  }
}

.content-title{
	/* 方眼紙模様に必須のスタイル */
	background-image: linear-gradient(0deg, transparent calc(100% - 1px), #c3daeb calc(100% - 1px)),
					linear-gradient(90deg, transparent calc(100% - 1px), #c3daeb calc(100% - 1px));
	background-size: 16px 16px;
	background-repeat: repeat;
	background-position: center center;
	box-sizing: border-box;
	padding: 70px 0;
	text-align: center;
	justify-content: center;
}

.page-title{
	text-align: center;
	display: inline-block;
	background: #fff;
	border: #2c3c92 solid 2px;
	padding: 15px 100px;
	color: #2c3c92;
	font-size: 1.5em;
}
@media screen and (max-width: 525px){
	.page-title{
		display: block;
		padding: 15px 40px;
		width: 90%;
		font-size: 1.3em;
		margin: auto;
	}
}
html.is-drawer-open,
body.is-drawer-open{
  overflow: hidden;
}

/* =========================
   Estimate section
========================= */

:root{
  --sh-blue:#243a86;  /* デザインの濃紺寄せ */
  --sh-text:#111;
  --sh-border:#d7d7d7;
  --sh-bg:#fff;
}

.sh-container{
  width:min(1040px, 90%);
  margin:0 auto;
  padding:0;
}

.sh-estimate{
  padding: 70px 0;
  background: #EFEFEF;
  margin-bottom: 40px;
}

.sh-estimate__head{
  display:flex;
  align-items:flex-start;
  gap: 18px;
}

.sh-estimate__icon{
  flex:0 0 auto;
  width: 80px;
  height: 80px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.sh-estimate__icon img{
  max-width:100%;
  height:auto;
  display:block;
}

.sh-estimate__lead{
  flex:1 1 auto;
  min-width:0;
}

.sh-estimate__title{
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--sh-blue);
  letter-spacing: .02em;
}

.sh-estimate__bullets{
  margin: 0;
  padding-left: 1.25em;
  color: var(--sh-text);
  font-size: 16px;
  line-height: 1.9;
}

.sh-estimate__bullets li{
  margin: 0;
}

.sh-estimate__subhead{
  margin: 35px 0 22px;
  font-size: 22px;
  font-weight: 800;
  color: var(--sh-blue);
  letter-spacing: .02em;
}

/* Cards grid (PC: 3 columns) */
.sh-estimate__cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.sh-card{
  background: var(--sh-bg);
  border: 2px solid var(--sh-border);
  border-radius: 16px;
  overflow:hidden;
  transition: .3s;
}

.sh-card__media{
  padding: 22px 22px 6px;
  display:flex;
  justify-content:center;
}

.sh-card__media img{
  width: 92%;
  max-width: 320px;
  height:auto;
  display:block;
}

.sh-card__body{
  padding: 12px 22px 22px;
  text-align:center;
}

.sh-card__title{
  margin: 8px 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--sh-text);
  text-decoration: none !important;
}

a.sh-card .sh-card__title{
	text-decoration: none !important;
}

a.sh-card__title{
	text-decoration: none !important;
}

.sh-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: min(190px, 100%);
  height: 35px;
  border-radius: 999px;
  background: var(--sh-blue);
  color:#fff;
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing:.04em;
  transition: .3s;
}

/* Hover (PC) */
@media (active:active){
	.sh-card__btn:hover{ background: #2c4f92; color: #fff;}
}
	
@media (hover:hover){
	.sh-card__btn:hover{ background: #2c4f92; color: #fff;}
	.sh-card:hover{ box-shadow: 0 12px 30px rgba(0,0,0,.10); }
}

/* =========================
   SP layout
   - 上：アイコン＋タイトルは横並び維持
   - 箇条書きはデザインに寄せて行間を広め
   - カードは縦積み＆中身を横並び（左画像 / 右：タイプ名＋ボタン）
========================= */

@media (max-width: 768px){
  .sh-estimate{
	padding: 28px 0 42px;
  }

  .sh-estimate__icon{
	width: 50px;
	height: 72px;
  }

  .sh-estimate__title{
	font-size: 24px;
	margin-bottom: 10px;
  }

  .sh-estimate__bullets{
	padding-left: 0;
	font-size: 14px;
	line-height: 2.0;
	list-style: none;
  }

  .sh-estimate__subhead{
	font-size: 16px;
	margin: 28px 0px 22px;
  }

  .sh-estimate__cards{
	grid-template-columns: 1fr;
	gap: 16px;
  }

  .sh-card{
	border-radius: 18px;
  }

  /* SPカードは中身を横並びにして、XDの雰囲気に寄せる */
  .sh-card{
	display:flex;
	align-items:center;
	gap: 14px;
	padding: 14px 14px;
  }

  .sh-card__media{
	padding: 0;
	width: 120px;
	flex:0 0 auto;
	justify-content:flex-start;
  }

  .sh-card__media img{
	width: 120px;
	max-width: none;
  }

  .sh-card__body{
	padding: 0;
	text-align:left;
	flex:1 1 auto;
  }

  .sh-card__title{
	margin: 0 0 10px;
	font-size: 20px;
	text-decoration: none !important;
  }
  
  
  
  .sh-card__btn{
	width: 100%;
	max-width: 260px;
	height: 40px;
  }
}

.contact-wrap{
	background-image: url('./img/bg-contact.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	box-sizing: border-box;
	padding: 50px 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.contact-box{
	max-width: 540px;
	width: 90%;
	background-color: #fff;
	padding: 40px;
	box-sizing: border-box;
}

.contact-box p{
	width: 80%;
	margin: auto;
}

@media (max-width: 768px){
	.contact-box{
		padding: 30px;
	}
	
	.contact-box p{
		width: 100%;
	}
}

@media (max-width: 640px){
	.contact-box{padding: 25px;}
}

@media (max-width: 540px){
	.contact-wrap{
		padding: 30px 0;
	}
	
	.contact-box{padding: 20px;}
}

@media (max-width: 480px){
	.contact-box{padding: 15px;}
}

/* =========================
   Back To Top Button
========================= */
#shinwa-backtotop{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  background: #fff;
  border: 2px solid #9a9a9a;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 999;
}

#shinwa-backtotop .arrow{
  font-size: 14px;
  line-height: 1;
}

#shinwa-backtotop .text{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* 表示状態 */
#shinwa-backtotop.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* SP微調整 */
@media screen and (max-width: 640px){
  #shinwa-backtotop{
	right: 16px;
	bottom: 16px;
	width: 56px;
	height: 56px;
  }
  #shinwa-backtotop .text{
	font-size: 12px;
  }
}

body{
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
a{text-decoration: none !important;}

.l-404 {
  padding: 80px 20px;
  text-align: center;
}

.p-404 h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.p-404 p {
  margin-bottom: 30px;
}

.p-404 .btn {
  display: inline-block;
  padding: 12px 30px;
  background: #003a8f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* デフォルト（PC） */
.notfound-text {
  text-align: center;
}

.notfound-text br {
  display: none;
}

/* スマホのみ */
@media screen and (max-width: 768px) {
  .notfound-text {
	text-align: center;
  }

  .notfound-text br {
	display: inline;
  }
}