@charset "utf-8";

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/**
 * ***************************************
 * ページ全体に関わるCSSの設定
 * ***************************************
 */
html *,
::before,
::after {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

html {
	font-size: 14px;
}
@media (min-width: 835px) {
html {
	font-size: 16px;
}
}

body {
	font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  	color: #1c1c1c;
	-webkit-animation: fadeIn 2s ease 0s 1 normal;
    animation: fadeIn 2s ease 0s 1 normal;
	line-height: 1.6;
	padding-top: 44px;/*header固定した場合コンテンツが被らないように*/
	line-break: strict;
}

@media (min-width: 835px) {
body {
	padding-top: 134px;/*header固定した場合コンテンツが被らないように*/
}
}

/* 以下フェードインのアニメーション */
@-webkit-keyframes fadeIn {
	 0% {opacity: 0}
	100% {opacity: 1}
}
    
@keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}
/* 以上フェードインのアニメーション */

a {
  text-decoration: none;
}

ul, ol, dd {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}

button {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}
p {
	margin: 0;
	padding: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;/* 画像下のスペースを消す */
}

.mb {
	display: block;
}

@media (min-width: 835px) {
.mb {
	display: none;
}
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
	border-radius: 0;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	-moz-appearance: button;
	     appearance: button;
	border: none;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	cursor: pointer;
	font-style: normal;
}

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;
}

/**
 * ***************************************
 * headerに関わるCSSの設定
 * ***************************************
 */

.header {
	width: 100%;
	position: fixed;
	z-index: 999;
	background: #fff;
	top: 0;
    left: 0;
}

.header__container {
	width: 100%;
	margin: 0 auto;
}
@media (min-width: 835px) {
.header__container {
	width: 90%;
	max-width: 1366px;
}
}

.header__list {
	height: 44px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

@media (min-width: 835px) {
.header__list {
	height: 134px;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
}

.header__item {
	font-size: 1rem;
	line-height: 44px;
	height: 44px;
	text-align: center;
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
}

@media (min-width: 835px) {
.header__item {
	background: #fff;
	height: 50px;
	line-height: 50px;
	-webkit-box-flex: 0;
	    -ms-flex: 0 1 190px;
	        flex: 0 1 190px;
}
	
.header__item:not(:first-child) {
		margin-left: 16px;
}
}

.header__item a {
	display: block;
}

@media (min-width: 835px) {
.header__item a {
	-webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	        box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
}
}

.header__item a:link,
.header__item a:visited,
.header__item a:active {
	color: #1c1c1c;
}

.header__item a:hover {
	background: #71869a;
	color: #fff;
}

.header__item--active {
	background: #71869a;
	color: #fff;
}

.header__item--first-visit {
	background: #fff;
	color: #1c1c1c;
}

@media (min-width: 835px) {
.header__item--first-visit {
	-webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	        box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
}
}

/**
 * ***************************************
 * heroに関わるCSSの設定
 * ***************************************
 */

.hero {
	width: 100%;
}

.hero img {
	width: 100%;
}

/**
 * ***************************************
 * mainに関わるCSSの設定
 * ***************************************
 */

.main__container {
	text-align: center;
	margin: 0 auto;	
}

.main__title {
	text-transform: uppercase;
}

.main__text p:not(:last-child) {
	margin-bottom: 1rem;
}

/**
 * ***************************************
 * footerに関わるCSSの設定
 * ***************************************
 */

.footer {
	width: 100%;
	text-align: center;
}

.footer__address-area {
	background-image: url(../img/haikei.jpg);
	background-size: 120px;
	padding: 50px 0;
}
@media (min-width: 835px) {
.footer__address-area {
	background-size: 160px;
	padding: 100px 0;
		
}
}

.footer__card {
	background: #fff;
	display: inline-block;
	font-style: normal; 
	padding: 20px;
	-webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	        box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
}

@media (min-width: 835px) {
.footer__card {
	padding: 45px;
}
}

.footer__address-name {
	font-size: 1.2rem;
	line-height: 1.2;
	margin-bottom: 15px;
}

@media (min-width: 835px) {
.footer__address-name {
	font-size: 1.8rem;
	line-height: 1;
	margin-bottom: 25px;
}
}

.footer__address {
	font-size: 0.8rem;
	margin-bottom: 15px;
	line-height: 1.2;
}

@media (min-width: 835px) {
.footer__address {
	font-size: 1.2rem;
	margin-bottom: 25px;
}
}

.copy-right {
	background: #33516e;
	height: 40px;
	color: #fff;
	padding-top: 4px;
}

@media (min-width: 835px) {
.copy-right {
	height: 80px;
}
}

/**
 * ***************************************
 * sliderに関わるCSSの設定
 * ***************************************
 */

.slider {
	padding-top: 40px;
}

@media (min-width: 835px) {
.slider {
	max-width: 1366px;
	padding-top: 60px;
}
}

/**
 * ***************************************
 * page-topに関わるCSSの設定
 * ***************************************
 */

.page-top {
	width: 70px;
	margin: 45px 0;
}

@media (min-width: 835px) {
.page-top {
	width: 86px;
	margin: 100px 0;
}
}

/**
 * ***************************************
 * tel-linkに関わるCSSの設定
 * ***************************************
 */

.tel-link {
	display: inline-block;
	background: #33516e;
	border-radius: 4px;
	color: #fff;
	font-size: 1.2rem;
	text-transform: uppercase;
	padding: 8px 16px;
	line-height: 1.6;
}

.tel-link a:link, .tel-link a:visited, .tel-link a:active {
	color: #fff;
}

/**
 * ***************************************
 * TOPページのみに関わるCSSの設定
 * ***************************************
 */

.top .main__container {
	margin: 30px auto 40px;
}

@media (min-width: 835px) {
.top .main__container {
	margin: 30px auto 60px;
}
}

/**
 * ***************************************
 * 業務内容ページのみに関わるCSSの設定
 * ***************************************
 */

.works .main {
	background-image: url(../img/deco-works-left.jpg), url(../img/deco-works-right.jpg);
	background-size: 50%;
	background-repeat: repeat-y; 
	background-position: left top, right top;
}

.works .main__container {
	padding-top: 30px;
	width: 75%;
}

@media (min-width: 835px) {
.works .main__container {
	padding-top: 100px;
	width: 55%;
}
}

.works .main__title {
	border-bottom: 2px solid #33516e;
	display: inline-block;
	margin-bottom: 30px;
	font-size: 1.2rem;
}

@media (min-width: 835px) {
.works .main__title {
	margin-bottom: 50px;
}
}

.works .main__text {
	text-align: left;
}

.works .space {
	height: 60px;
}

@media (min-width: 835px) {
.works .space {
	height: 100px;
}
}

.works .main__photo {
	margin: 30px auto;
}

@media (min-width: 835px) {
.works .main__photo {
	margin: 50px auto;
}
}

/**
 * ***************************************
 * あいさつページのみに関わるCSSの設定
 * ***************************************
 */

.greeting .main {
	background-image: url(../img/haikei.jpg);
	background-size: 120px;
	padding: 30px 0;
}

@media (min-width: 835px) {
.greeting .main {
	background-size: 160px;
	padding: 50px 0 60px;
}
}

.greeting .main__container {
	width: 88%;
	background: #fff;
	-webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	        box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	padding: 35px 6% 0;
}

@media (min-width: 835px) {
.greeting .main__container {
	width: 73%;
	padding: 60px 9%;
}
}

.greeting .main__title {
	border-bottom: 2px solid #33516e;
	margin-bottom: 20px;
	font-size: 1.2rem;
}

@media (min-width: 835px) {
.greeting .main__title {
	margin-bottom: 50px;
}
}

.greeting .main__photo {
	margin: 0 auto 30px;
}

@media (min-width: 835px) {
.greeting .main__photo {
	margin: 0 auto 50px;
}
}

.greeting .main__text {
	text-align: left;
	margin-bottom: 30px;
}

@media (min-width: 835px) {
.greeting .main__text {
	margin-bottom: 50px;
}
}

.profile {
	text-align: left;
}

@media (min-width: 835px) {	
.profile {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 50px 1fr;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
}
}

.profile__text {
	margin: 30px 0;
}

@media (min-width: 835px) {	
.profile__text {
	margin: 0;
	}
}

@media (min-width: 835px) {	
.profile .order1 {
	-ms-grid-column: 1;
	    grid-column-start: 1; 
  	-ms-grid-column-span: 1; 
  	grid-column-end: 2;  
	-ms-grid-row: 1;  
	    grid-row-start: 1; 
	-ms-grid-row-span: 1; 
	grid-row-end: 2; 
}

.profile .order2 {
	-ms-grid-column: 1;
	    grid-column-start: 1;
  	-ms-grid-column-span: 2;
  	grid-column-end: 3; 
	-ms-grid-row: 2; 
	    grid-row-start: 2; 
	-ms-grid-row-span: 1; 
	grid-row-end: 3; 
}

.profile .order3 {
	-ms-grid-column: 2;
	    grid-column-start: 2;
  	-ms-grid-column-span: 1;
  	grid-column-end: 3;  
	-ms-grid-row: 1;  
	    grid-row-start: 1; 
	-ms-grid-row-span: 1; 
	grid-row-end: 2; 
}
}

.profile__name {
	border-bottom: 2px solid #33516e;
}

@media (min-width: 835px) {	
.profile__name {
	margin-bottom: 40px;
}
}

.profile__name .occupation {
	display: block;
	font-size: 0.8rem;
}

.profile__name [lang="en"] {
	margin-left: 1rem;
}

@media (min-width: 835px) {	
.profile__name [lang="en"] {
	margin-left: 2rem;
}
}

/**
 * ***************************************
 * 事務所案内ページのみに関わるCSSの設定
 * ***************************************
 */

.office .main {
	background-image: url(../img/haikei.jpg);
	background-size: 120px;
	padding: 30px 0;
}

@media (min-width: 835px) {
.office .main {
	background-size: 160px;
	padding: 50px 0 60px;
}
}

.office .main__container {
	width: 88%;
	background: #fff;
	-webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	        box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	padding: 35px 6% 0;
}

@media (min-width: 835px) {
.office .main__container {
	width: 73%;
	padding: 60px 9%;
}
}

.office .main__title {
	border-bottom: 2px solid #33516e;
	margin-bottom: 30px;
}

.office .section:not(.last) {
	margin-bottom: 70px;
}
@media (min-width: 835px) {
.office .section:not(.last) {
	margin-bottom: 80px;
}
}

.affiliation {
	font-size: 0.8rem;
}

.note {
	margin-top: 30px;
}

@media (min-width: 835px) {
.note {
	margin-top: 50px;
}
}

.map {
	width: 293px;
	height: 294px;
	margin: 30px auto;
}

@media (min-width: 835px) {
.map {
	width: 420px;
	height: 420px;
	margin: 80px auto;
}
}

.google-map {
	width: 268px;
	height: 249px;
}

@media (min-width: 835px) {
.google-map {
	width: 522px;
	height: 484px;
}
}

.office .tel-link {
	margin: 30px auto 0;
	font-size: 1.8rem;
}

@media (min-width: 835px) {
.office .tel-link {
	margin: 50px auto 0;
}
}

/**
 * ***************************************
 * お問い合わせページのみに関わるCSSの設定
 * ***************************************
 */

.contact .main {
	background-image: url(../img/haikei.jpg);
	background-size: 120px;
	padding: 30px 0;
	min-height: calc(100vh - 84px);
}

@media (min-width: 835px) {
.contact .main {
	background-size: 160px;
	padding: 50px 0 60px;
	min-height: calc(100vh - 214px);
}
}

.contact .main__container {
	width: 88%;
	background: #fff;
	-webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	        box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	padding: 35px 6% 30px;
}

@media (min-width: 835px) {
.contact .main__container {
	width: 73%;
	padding: 60px 9% 50px;
}
}

.main__container--send-ok {
	outline : 2px solid #33516e;
  	outline-offset : -15px;
	width: 88%;
	background: #fff;
	-webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	        box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	min-height: 442px;
	text-align: left;
}

.main__container--send-form .form-area, .main__container--send-confirm .form-area {
	padding-top: 60px;
}

@media (min-width: 835px) {
.main__container--send-form .form-area {
	padding-top: 100px;
}
}

@media (min-width: 835px) {
.main__container--send-confirm .form-area {
	padding-top: 60px;
}
}

.main__container--send-ok .main__section {
	padding: 100px 20px;
}

.contact .main__title {
	border-bottom: 2px solid #33516e;
	margin-bottom: 30px;
}

.main__container--send-ok .main__title {
	font-size: 1.2rem;
	margin-bottom: 60px;
	border: none;
}
@media (min-width: 835px) {
.main__container--send-ok .main__title {
	margin-bottom: 50px;
}
}

.contact .main__text {
	text-align: left;
}

.tel-area {
	padding: 30px 0;
}

@media (min-width: 835px) {
.tel-area {
	padding: 50px 0;
}
}

.tel-area p {
	font-size: 1.2rem;
	margin-top: 10px;
}

.contact .tel-link {
	margin: 0 auto;
	font-size: 1.8rem;
}

@media (min-width: 835px) {
.contact .tel-link {
	margin: 0 auto;
}
}

.form__error-list {
	text-align: left;
	color: #7f393c;
	margin-bottom: 30px;
	border: 1px solid #7f393c;
	padding: 20px;
}

.form__item {
	margin-bottom: 30px;
	text-align: left;
}

@media (min-width: 835px) {
.form__item {
	margin-bottom: 45px;
}
}

label {
	display: block;
	margin-bottom:0.25rem;
}

.required {
	background: #7f393c;
	border-radius: 24px;
	color: #fff;
	font-size: 0.8rem;
	padding: 4px 8px;
	margin-left: 10px;
}

input[type="text"], input[type="tel"], input[type="email"], textarea {
	width: 100%;
	border: 1px solid;
	border-radius: 2px;
	padding: 0.25rem 0.5rem;
	font-size: 1.2rem;
}

textarea {
	height: 192px;
}

.describe {
	font-size: 0.8rem;
	color: #999;
	margin-bottom: 0.25rem;
}

input[type="submit"] {
	background: #fff;
	border: none;
	font-size: 1rem;
	-webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	        box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, .25);
	text-align: center;
	padding: 8px 16px;
	color: #1c1c1c;
}

@media (min-width: 835px) {
input[type="submit"]:hover {
	background: #33516e;
	color: #fff;	
}
}

input[name="btn-back"], input[name="btn-submit"] {
	display: block;
	width: 142px;
	margin: 0 auto;
}

@media (min-width: 835px) {
input[name="btn-back"], input[name="btn-submit"] {
	display: inline-block;
	width: 142px;
	margin: 0 auto;
}
}

input[name="btn-back"] {
	margin-bottom: 30px;
}

@media (min-width: 835px) {
input[name="btn-back"] {
	margin-right: 60px;
}
}