/*
 * Base
 * -------------------------------------------------------------------
 */
/*	Reset
-------------------------------*/
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

html, body,
h1, h2, h3, h4, h5, h6,
a, p, span,
em, small, strong,
sub, sup,
mark, del, ins, strike,
abbr, dfn,
blockquote, q, cite,
code, pre,
ol, ul, li, dl, dt, dd,
div, section, article,
main, aside, nav,
header, hgroup, footer,
img, figure, figcaption,
address, time,
audio, video,
canvas, iframe,
details, summary,
fieldset, form, label, legend,
table, caption,
tbody, tfoot, thead,
tr, th, td {
  padding: 0;
  margin: 0;
  border: 0;
}

a {
  text-decoration: none;
  outline: none;
}

/*	Typography
-------------------------------*/
html {
	font-size: 62.5%;
}

* {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

/*	Layout
-------------------------------*/
article, aside, footer, header, nav, section, main {
  display: block;
}

* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
table tr th, table tr td {
  padding: 0;
  text-align: left;
  vertical-align: top;
}

ol, ul {
  list-style: none;
}

img {
  border-style: none;
  vertical-align: middle;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

img, svg {
  width: auto;
  height: auto;
}

blockquote, q {
  quotes: none;
}

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

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

label[for] {
  cursor: pointer;
}

/*	Attributes & States
-------------------------------*/
[hidden] {
  display: none !important;
}

[disabled] {
  cursor: not-allowed;
}

:focus:not(:focus-visible) {
  outline: none;
}

html {
  font-size: 62.5%;
  margin-top: 0 !important;
}

body {
  font-size: 1.6rem;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: "dnp-shuei-gothic-kin-std", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 2;
  letter-spacing: 0.08em;
  position: relative;
  overflow-x: hidden;
  overflow-y: scroll;
}
@media screen and (max-width: 768px) {
  body {
    font-size: 1.3rem;
  }
}

.flex {
  display: flex;
}
@media screen and (max-width: 768px) {
  .flex {
    display: block;
  }
}

main {
  padding-top: 70px;
}
@media screen and (max-width: 768px) {
  main {
    padding-top: 0;
  }
}
@media screen and (max-width: 1250px) {
  main {
    padding-top: 59px;
  }
}

/*
 * Module
 * -------------------------------------------------------------------
 */
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 20px 40px;
  transition: all 0.6s;
  background-color: #004986;
	color: #fff;
}
.global-nav {
    display: flex;
}
.global-nav li {
    margin-right: 15px;
}
@media screen and (max-width: 1250px) {
	.header {
		height: 100vh;
		width: 100%;
		overflow-y: scroll;
		display: block;
		top: -100vh;
		text-align: center;
	}
	.global-nav {
		display: block;
	}
	.global-nav li {
		margin-right: 0px;
		margin-bottom: 15px;
	}
}

.header.open {
  width: 100%;
  margin: 0;
  top: 59px;
  opacity: 1;
  position: fixed;
}
.header.open .humburger > .humburger__item--1 {
  background: #fff;
  transform: rotate(135deg);
  top: 28px;
}
.header.open .humburger > .humburger__item--2 {
  background: #fff;
  opacity: 0;
}
.header.open .humburger > .humburger__item--3 {
  background: #fff;
  transform: rotate(45deg);
  top: 28px;
}
.header.open .header__logo {
  text-align: center;
}

.header::-webkit-scrollbar {
  display: none;
}

.header__logo {
  box-sizing: border-box;
  top: 0;
  left: 0;
  font-family: "bigmoore", serif;
  font-size: 26px;
  line-height: 1;
}
@media screen and (max-width: 1250px) {
  .header__logo {
    text-align: center;
    font-size: 31px;
	 display:none;
  }
}

.header__inner {
  display: flex;
  z-index: 999;
}
@media screen and (max-width: 1250px) {
  .header__inner {
    display: block;
    margin: 30px auto 0;
  }
}

.header__item {
  display: block;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}
@media screen and (max-width: 1250px) {
  .header__item {
    padding: 10px;
    border-bottom: none;
    font-size: 14px;
  }
}

.humburger {
  cursor: pointer;
  right: 0;
  top: 0;
  width: 100%;
  height: 59px;
  text-align: right;
  z-index: 1000;
  position: fixed;
  background-color: #004986;
  display: none;
}
.sp_header__logo {
    text-align: justify;
    font-size: 18px;
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 1em;
	font-family: bigmoore, serif;
}
@media screen and (max-width: 1250px) {
  .humburger {
    display: block;
  }
}
.humburger__item {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all 0.5s;
  position: absolute;
  right: 20px;
}
.humburger__item--1 {
  transform: rotate(0);
  top: 20px;
}
.humburger__item--2 {
  top: 27px;
  opacity: 1;
}
.humburger__item--3 {
  transform: rotate(0);
  top: 34px;
}

.footer {
    padding: 100px 120px;
    color: white;
    background: #004986;
}
@media screen and (max-width: 768px) {
  .footer {
    padding: 40px;
  }
}

.footer__logo {
  width: 220px;
  height: 50px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .footer__inner {
    display: block;
  }
}

.footer__inner__address {
  width: 24.0833333333%;
}
.footer__inner__address p {
  font-size: 16px;
  line-height: 200%;
  letter-spacing: 1.6px;
}
.footer__inner__address p:last-of-type {
  font-size: 14px;
  letter-spacing: 1.4px;
}
@media screen and (max-width: 768px) {
  .footer__inner__address {
    width: 100%;
  }
}

.footer__inner__menu div {
  display: flex;
}
.footer__inner__menu div:last-of-type {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .footer__inner__menu div:last-of-type {
    margin-top: 0;
  }
}
@media screen and (max-width: 768px) {
  .footer__inner__menu div {
    flex-wrap: wrap;
    margin-top: 30px;
  }
}
.footer__inner__menu div a {
  padding: 0 15px;
  font-size: 16px;
  line-height: 200%;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 768px) {
  .footer__inner__menu div a {
    font-size: 14px;
    padding: 0 30px 0 0;
  }
}
.footer__inner__menu div a.sns {
  font-size: 14px;
  margin: 0 15px;
  padding: 7px 15px 7px 47px;
  color: #DF2E6E;
  border-radius: 22px;
  font-weight: bold;
  border: 1px solid #E56B8B;
  background-color: white;
  background-size: 24px 24px;
  background-position: top 9px left 16px;
  background-repeat: no-repeat;
}
.footer__inner__menu div a.sns.hotpepper {
  background-image: url(../asset/img/hotpepper_icon.svg);
}
.footer__inner__menu div a.sns.instagram {
  background-image: url(../asset/img/instagram_icon.svg);
}
@media screen and (max-width: 768px) {
  .footer__inner__menu div a.sns {
    margin: 15px 15px 0 0;
    font-size: 13px;
    padding: 5px 15px 5px 37px;
    background-size: 18px 18px;
    background-position: top 9px left 12px;
  }
}


/*
 * Content
 * -------------------------------------------------------------------
 */
.content {
    overflow: hidden;
}

.pc {
    display: block;
}
.sp {
    display: none;
}
.head-image img {
    width: 100%;
}

.content-block h2 {
	font-size: 1.6em;
	font-weight: bold;
    margin: 5vh auto;
    width: fit-content;
    position: relative;
}
.content-block h2:before, .content-block h2:after {
    content: "";
    position: absolute;
    width: 100%;
    border: 1px solid;
    top: 50%;
    max-width: 250px;
}
.content-block h2:before {
    left: -275px;
}
.content-block h2:after {
    right: -275px;
}
.problem {
    width: fit-content;
    margin: auto;
}
.problem img {
    width: 100%;
    max-width: 450px;
    margin: auto;
    text-align: center;
}

.flex-case {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
	max-width: 1200px;
    margin: auto;
}
.case {
    width: calc(100% / 2.2);
    max-width: 340px;
    text-align: center;
    margin: 40px 10px;
    font-size: 1.25em;
    line-height: 2;
    font-weight: bold;
}
.contact-banner {
    text-align: center;
    background: #004986;
    color: #fff;
    padding: 35px 0;
    margin: 50px 0 100px;
}
.contact-banner h3 {
    font-size: 1.75em;
    font-weight: bold;
}
.contact-banner a {
    color: #004986;
    font-weight: bold;
    display: block;
    background: #fff;
	position: relative;
    width: 80%;
    max-width: 450px;
    margin: 25px auto 0;
    padding: 20px 10px;
    border-radius: 100px;
    box-shadow: 0 4px 0 #e0e0e0;
	top: 0;
	transition: .2s ease-in-out;
}
.contact-banner a:hover {
    top: 9px;
    box-shadow: 0 0 #e0e0e0;
}

.content-block-full h3 {
    background: #004986;
    color: #fff;
    font-weight: bold;
    font-size: 1.45em;
    text-align: center;
    padding: 25px;
	margin-bottom: 75px;
    position: relative;
}
.content-block-full h3:before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border-top: 40px solid #ff000000;
    border-right: 40px solid #004986;
    transform: rotate(45deg);
    bottom: -15px;
    right: 50%;
}

.content-box-card {
    width: 90%;
    max-width: 850px;
    margin: 50px auto;
    padding: 20px;
    border: 3px solid #004986;
}
.content-box-card h4 {
    font-size: 1.45em;
    font-weight: bold;
	margin-bottom: 25px;
}
.flex-box {
    display: flex;
}
.content-box-card:nth-child(even) .flex-box {
    flex-direction: row-reverse;
}

.flex-box img {
    width: 100%;
    flex: 2;
    max-width: 300px;
    margin-right: 20px;
}
.content-box-card:nth-child(even) .flex-box img{
    margin-right: 0;
	margin-left: 20px;
}
.flex-box .desc {
    width: 100%;
    flex: 3;
}
.flex-box .desc p {
    margin-bottom: 20px;
}

@media screen and (max-width: 700px) {
	.case {
		width: 90%;
	}
	.flex-box, .content-box-card:nth-child(even) .flex-box {
		flex-direction: column;
	}
	.flex-box .desc {
		margin-top: 30px;
	}
	.content-box-card:nth-child(even) .flex-box img {
		margin-left: 0;
	}
}

@media screen and (max-width: 500px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
}


/* お問い合わせフォーム */
.contact-form {
    width: 80%;
    max-width: 850px;
    margin: 5vh auto;
}
.contact-form h2 {
    font-size: 1.75em;
    margin: 5vh auto;
    position: relative;
}
.contact-form h2:before {
    content: "";
    position: absolute;
    width: 10%;
    display: block;
	border: none;
    border-bottom: 1px solid;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%);
}
.contact-form h2:after{
	border: none;
}
.contact-form p {
    margin: 0;
    line-height: 1.8;
}
.contact-form ul {
    margin: 7vh auto;
    width: fit-content;
}

.flex-form {
    display: flex;
    justify-content: center;
    margin-bottom: 7vh;
}
.form-left, .form-right {
    position: relative;
}
.form-left {
    width: 30%;
}
.form-left:before {
    content: "";
    position: absolute;
    width: 100%;
    border: 1px solid #465658;
    bottom: -20px;
}
.form-left p {
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
}
.form-right:before {
    content: "";
    position: absolute;
    width: 100%;
    border: 1px solid #CCCCCC;
    bottom: -20px;
}
span.red {
    color: #fff;
    background: #004986;
    padding: 5px 15px;
    margin-right: 0.75em;
    border-radius: 10px;
    font-size: .85em;
}
.form-right {
    width: 65%;
}
.form-block  p{
    font-size: .95em;
}

.submit-btn {
    text-align: center;
}
.submit-btn input {
    color: #004986;
    border: 1px solid;
    padding: 20px 120px;
    font-size: 1.5em;
    transition: all .5s;
}
.submit-btn input:hover{
    background: #004986;
    color: #fff;
}
.form-block {
    width: 90%;
    margin: auto;
    max-width: 950px;
}
.form-block input {
    max-width: none;
    width: -webkit-fill-available;
}
input[type="radio"] {
    width: auto;
}
textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
    border: 1px solid;
    border-radius: 15px;
    width: 100%;
}

/* SPここから */
@media screen and (max-width: 1000px){
	 .flex-form {
		flex-direction: column;
	 }
	.form-left{
		width: auto;
	}
	.form-left:before{
		display: none;
	}
	 .form-right {
		width: auto;
	 }
}

@media screen and (max-width: 550px){
	 .tel h2 {
		font-size: 1.4em;
	 }
	 .tel h3 {
		font-size: 1.2em;
	 }
	.contact-form h2 {
		font-size: 1.3em;
	}
}


/*
 * フェードアニメーション
 * */

/* fadein-top */
.fadein-top {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 1.3s 0s ease-out;
}
/* fadein-bottom */
.fadein-bottom {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s 0s ease-out;
}
/* fadein-right */
.fadein-right {
    opacity: 0;
    transform: translateX(20px);
    transition: all 1s 0s ease-out;
}
/* fadein-left */
.fadein-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 1s 0s ease-out;
}
/* fadein-center */
.fadein-center {
    opacity: 0;
    transition: all 1s 0s ease-out;
}

.late_1{
    transition: all 1s .5s ease-out;
}
.late1{
    transition: all 1s 1s ease-out;
}
.late1_5{
    transition: all 1s 1.5s ease-out;
}
.late2{
    transition: all 1s 2s ease-out;
}
.late2_5{
    transition: all 1s 2.5s ease-out;
}
.late3{
    transition: all 1s 3s ease-out;
}
.late3_5{
    transition: all 1s 3.5s ease-out;
}
.late4{
    transition: all 1s 4s ease-out;
}
.late4_5{
    transition: all 1s 4.5s ease-out;
}
.late5{
    transition: all 1s 5s ease-out;
}
.late5_5{
    transition: all 1s 5.5s ease-out;
}


.shine{
	position: relative;
}

.shine:before {
    content: "";
    position: absolute;
    display: block;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
    width: 50px;
    height: 50px;
    top: -100px;
    left: -100px;
}
/* アニメーションの動作指定 */
.shine:hover::before {
	animation-name:shine-run;   /* アニメーション名の指定 */
	animation-delay:0s;   /* アニメーションの開始時間指定 */
	animation-duration: 2s;   /* アニメーション動作時間の指定 */
	animation-timing-function: ease-in;
	/* アニメーションの動き指定（徐々に早く）*/
	animation-iteration-count: infinite; 
	/* アニメーションの無限繰り返しの指定 */
}
/* アニメーションのタイミングとボックスの拡大率、角度、透過率の指定*/
@keyframes shine-run {
0% {
transform: scale(0) rotate(50deg);
/* アニメ開始時は大きさ0、50度の傾き */
opacity: 0;
/* アニメ開始時は全透過 */
}
40% {
transform: scale(1) rotate(50deg);
/* 40%まで進む間に大きさを等倍に。傾きは50度のまま*/
opacity: 1;
/* 透過しない（しっかり表示される）ように1を設定 */
}
100% {
transform: scale(250) rotate(50deg);
/* 最後は元の大きさの250倍になるようにする。傾きは50度のまま*/
opacity: 0;
/* 全透過になるようにして、徐々に消えるような変化を付ける */
}
}
/* ボタンの外の領域は非表示 */
.shine {
overflow:hidden;
}
.shine::before {
	background: linear-gradient(to right,rgba(255,255,255,0), rgba(255,255,255,0.9));
}

@media screen and (max-width: 550px){
	.shine:hover::before {
		animation-name:none;
		animation-delay:none;
		animation-duration: none;
		animation-timing-function: none;
		animation-iteration-count: none;
	}
	.shine:before {
		animation-name:shine-run;
		animation-delay:0s;
		animation-duration: 3.5s;
		animation-timing-function: ease-in;
		animation-iteration-count: infinite; 
	}
}













