*, *:before, *:after {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: normal;
  text-decoration: none;
  box-sizing: border-box;
  font-size: 15px;
  font-size: 1.5rem;
}
a {
  text-decoration: none;
  font-size: inherit;
  color: #231815;
  transition: all 0.5s;
}
/*a:hover{
  transition-duration: 0.5s;
  opacity: 0.5;
}*/
p{
  margin: 1% 0;
}
ul, ol, dl {
  list-style: none;
}
html {
  font-size: 62.5%;
}
input[type=date],
input[type=submit]{
  -webkit-appearance: none;
  appearance: none;
}
input,
textarea{
  padding: 15px 20px;
  width: 100%;
  border: #ddd 1px solid;
  border-radius: 5px;
}
input[type=radio],
input[type=checkbox]{
  width: auto;
  padding: 0;
}
span.wpcf7-list-item{
  display: block;
}
img {
  max-width: 100%;
  height: auto;
  border:0;
}
body {
	font-family: "NotoSansJP Regular";
  color: #231815;
  background: #fff;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-weight: bold;
}
h1{
  font-size: 40px;
  font-weight: bold;
}
h3{
  font-size: 20px;
}
span{
  font-size: inherit;
  font-weight: inherit;
}
button{
  background: none;
}

.pc-only{
  display: block;
}
.sp-only{
  display: none!important;
}
@media screen and (max-width: 768px){
  input,
  textarea{
    padding: 10px;
  }
  .pc-only{
    display: none!important;
  }
  .sp-only{
    display: block!important;
  }  
}

.common {
  margin:0px auto;
  padding: 100px 0;
  width: 1000px;
  word-break: break-all;
  position: relative;
  z-index: 1;
}

main{
  transition: all 1s;
  overflow: hidden;
  margin-top: 70px;
}

@media screen and (max-width: 1045px){
  main{
    width: 100%;
    border-left: unset;
  }
}
@media screen and (max-width: 768px){
  main{
    margin-top: 60px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 769px){
  .common{
    width:90%;
  }
  h1{
    font-size: 28px;
    font-size:2.8rem;
  }
  h2{
    font-size:20px;
    font-size:2rem;
  }
}

@media screen and (max-width: 768px){
  *, *:before, *:after {
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 2;
  }
  h1{
    font-size:35px;
    font-size:3.5rem;
  }
  h2{
    font-size:28px;
    font-size:2.8rem;
  }
  /* 共通 */
  .table dt{
    padding: 5%; 
    width: 45%;   
  }
  .table dd{
    padding: 5%;
  }
  .common{
    padding: 50px 0;
    margin: 0 auto;
    width: 90%;
  }
}

/*フォント
=======================================================*/
@font-face {
  font-family: "ZenOldMincho Regular";
	src: url("/wp-content/themes/ichijohajime_hp/font/ZenOldMincho-Regular.ttf");
	font-weight: 500;
}
@font-face {
	font-family: "ZenOldMincho Bold";
	src: url("/wp-content/themes/ichijohajime_hp/font/ZenOldMincho-Bold.ttf");
	font-weight: 500;
}
@font-face {
	font-family: "ZenOldMincho Black";
	src: url("/wp-content/themes/ichijohajime_hp/font/ZenOldMincho-Black.ttf");
	font-weight: 500;
}
@font-face {
	font-family: "NotoSansJP Regular";
	src: url("/wp-content/themes/ichijohajime_hp/font/NotoSansJP-Regular.ttf");
	font-weight: 500;
}
@font-face {
	font-family: "NotoSansJP Bold";
	src: url("/wp-content/themes/ichijohajime_hp/font/NotoSansJP-Bold.ttf");
	font-weight: 500;
}

/*タイトル
=======================================================*/

@media screen and (max-width: 768px){
}

/*カラー
=======================================================*/

/*位置
=======================================================*/
.tac{
  text-align: center!important;
  margin: 0 auto;
}

/*共通アニメーション
=======================================================*/

/* スクロールありで下から上 */
.fadein1 {
  opacity : 0;
  transform: translateY(50px);
  transition: all 1.5s;
}
/* スクロールありで右から左 */
.fadein2 {
  opacity : 0;
  transform: translateX(-50px);
  transition: all 2s;
}
/* スクロールありで左から右 */
.fadein3 {
  opacity : 0;
  transform: translateX(50px);
  transition: all 2s;
}
/* スクロールありで上から下 */
.fadein4 {
  opacity : 0;
  transform: translateY(-50px);
  transition: all 1.5s;
}
/* スクロールなし下から上でフェードイン */
.no-fadein1 {
  animation-duration: 2s;
  animation-name: fadein1;
}
/* スクロールなしで上から下フェードイン */
.no-fadein2 {
  animation-duration: 2s;
  animation-name: no-fadein2;
}

@keyframes fadein1 {
  0% {
    opacity: 0;/* 透明 */
    transform: translateY(50px);
  }
  100% {
    opacity: 1;/* 不透明 */
    transform: translateY(0);
  }
}
@keyframes no-fadein2 {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*header
=======================================================*/
header{
  width:100%;
  position: fixed;
  top:0;
  left:0;
  z-index:99999;
  background: rgba(255,255,255,1);
  color:#373737;
  transition: all 0.3s ease;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}
header.is-anime{
  background: #fff;
  transition: all 0.3s ease;
}
header a{
  color:#373737;
  font-size: 20px;
  font-size: 2rem;
}
.header-inner{
  width: 98%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}
.header-logo{
  display: flex;
  align-items: center;
}
.header-logo a{
  display: block;
  height: 40px;
}
.header-logo img{
  height: 40px;
  object-fit: contain;
  margin-right: 20px;
}

@media screen and (max-width: 1045px){
  .header{
    height:60px;
  }
  .header-inner{
    padding: 10px;
    height: 60px;
  }
}
@media screen and (max-width: 768px){
}

/* ハンバーガーメニュー */
.header-sp{
  position:fixed;
  display:block;
  top:0;
  right: 0;
  z-index: 11;
}
.header-sp button,
.header-sp button span{
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}
.header-sp button{
  top:0;
  width:45px;
  height:70px;
  border:none;
  position:relative;
}
.header-sp button span{
  position: absolute;
  right: 10px;
  width: 25px;
  height: 2px;
  background-color: #666666;
  border-radius: 1px;
}
.header-sp button span:nth-of-type(1){
  top: 30%;
}
.header-sp button span:nth-of-type(2){
  top: 45%;
}
.header-sp button span:nth-of-type(3){
  top:60%;
}
.header-sp button.is-open span:nth-of-type(1){
  top: 34%;
  -webkit-transform: translateY(9px) rotate(-45deg);
  transform: translateY(9px) rotate(-45deg);
  background-color: #000;
}
.header-sp button.is-open span:nth-of-type(2){
  opacity: 0;
}
.header-sp button.is-open span:nth-of-type(3){
  -webkit-transform: translateY(-9px) rotate(45deg);
  transform: translateY(-9px) rotate(45deg);
  background-color: #000;
}
.header-nav{
  position: fixed;
  left:0;
  width:100%;
  background:#EDEEF0;
  display: none;
}
.header-nav.is-open{
  top:0;
  display: block;
  overflow-scrolling: touch;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  height: 100vh;
  z-index: 10;
}
.header-nav ul{
  width: 80%;
  margin: 0 auto;
  flex-wrap: wrap;
  margin-top: 70px;
}
.header-nav ul li{
  width: 100%;
  display: block;
  margin-right: 0;
}
.header-nav ul li a{
  color:#000;
  font-size: 16px;
  font-size: 1.6rem;
  padding: 20px 0;
  border-bottom: 1px solid #000;
  width: 100%;
  display: block;
}
.header-nav ul li a.header-nav-btn{
  background-color: #f2c3d5;
}
.header-nav ul li a.nav-btn-color{
  background-color: #f2c3d5;
  margin-left: 0;
}
.header-nav ul li a::after{
  content: unset;
}

/*上に戻るボタン
=======================================================*/

@media screen and (max-width: 768px){
}

/*ボタン
=======================================================*/
a.normal-btn{
  font-family: "ZenOldMincho Regular";
  display: block;
  font-size: 18px;
  border: 1px solid #000;
  color: #000000;
  padding: 5px 0;
  max-width: 300px;
  width: 300px;
  position: relative;
  text-align: center;
  letter-spacing: 3px;
  background: #fff;
}
a.normal-btn::before,
a.normal-btn::after{
  position: absolute;
  top: 50%;
  right: 22px;
  height: 1px;
  background: #343434;
  content: '';
  transition: all .2s linear;
}
a.normal-btn:before {
  width: 20px;
  transform: translateY(-50%);
}
a.normal-btn:after {
  width: 8px;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}
a.normal-btn:hover{
  background: #000;
  color: #fff;
}
a.normal-btn:hover::before,
a.normal-btn:hover::after{
  background: #fff;
  right: 15px;
}

@media screen and (max-width: 768px){
  a.normal-btn{
    max-width: 250px;
    width: 250px;
    font-size: 16px;
  }
}

/*お問い合わせ
=======================================================*/
.contact-ttl{
  font-family: "ZenOldMincho Black";
  font-size: 50px;
  text-align: center;
}
.contact-txt{
  text-align: center;
}
.line-btn{
  background: #00B900;
  color: #fff;
  font-family: "NotoSansJP Bold";
  border-radius: 50px;
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 50px auto;
  padding: 0px 20px;
  font-size: 17px;
}
.line-btn::before{
  content: "\f3c0";
  color: #fff;
  font-family: "Font Awesome 5 Brands";
  margin-right: 10px;
  font-size: 27px;
}
.line-btn:hover{
  background: #006600;
}
.contact-wrap label dl{
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}
.contact-wrap label dl dt{
  width: 25%;
  font-family: "NotoSansJP Bold";
  padding: 10px 0;
}
.contact-wrap label dl dt span.required{
  background: #FF4D65;
  color: #fff;
  font-size: 11px;
  padding: 2px 5px 4px 5px;
  border-radius: 6px;
  margin-left: 10px;
}
.contact-wrap label dl dd{
  width: 75%;
}
textarea::placeholder,
input::placeholder{
  color:#D9D9D9;
  font-family: "NotoSansJP Bold";
}
input[type=submit]{
  background: #535353;
  color: #fff;
  font-family: "NotoSansJP Bold";
  width: fit-content;
  margin: 0 auto;
  display: block;
}

/*確認*/
.contact-wrap-confirm.contact-wrap label dl dd{
  padding: 10px 0;
}

@media screen and (max-width: 768px){
  .contact-ttl{
    font-size: 8vw;
  }
  .contact-wrap label dl{
    flex-wrap: wrap;
  }
  .contact-wrap label dl dt{
    width: 100%;
  }
  .contact-wrap label dl dd{
    width: 100%;
  }
}


/*下部固定
=======================================================*/
.footer-float{
  display: none;
}

@media screen and (max-width: 768px){
  .footer-float{
    display: block;
    position: fixed;
    bottom:0;
    width: 100%;
    z-index: 100;
    background:rgba(0,0,0,0.4);
  }
  a.footer-float-btn{
    margin: 5px;
    display: block;
    background: linear-gradient(144deg, rgba(254, 212, 116, 1) 40%, rgba(7, 25, 41, 1) 100%);
    border-radius: 10px;
    text-align: center;
    color: #fff;
    font-size: 13px;
  }
  a.footer-float-btn span{
    font-family: "ZenOldMincho bold";
    font-size: 20px;
    margin-right: 10px;
    color: #000;
  }
}

/*footer
=======================================================*/
footer {
  text-align: center;
  background: #313131;
  padding-top: 100px;
  padding-bottom: 50px;
  color:#fff;
}
.footer-wrap{
  padding-bottom:50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1000px;
  margin: 0 auto;
}
.footer-ttl{
  width: 65%;
}
.footer-ttl img{
  object-fit: contain;
}
.footer-sns{
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.footer-sns a{
  color:#fff;
  font-family: "ZenOldMincho Regular";
}
.footer-sns a svg{
  font-size: 45px;
}
.footer-menu{
  display: flex;
  gap: 60px;
}
.footer-menu a{
  color:#fff;
  font-family: "ZenOldMincho Regular";
  display: block;
  text-align: left;
  line-height: 2.5;
  white-space: pre;
}
.footer-bottom-link{
  display: flex;
  justify-content: center;
  gap: 30px;
}
.footer-bottom-link a{
  color:#fff;
  font-size: 12px;
}
#copyright {
  padding: 5px 0;
  background: #fff;
}
p#copyright{
  margin:0;
}
#copyright small{
  font-size: 10px;
  color: #373737;
}

@media screen and (max-width: 1000px){
  .footer-wrap{
    width: 90%;
  }
}
@media screen and (max-width: 768px){
  footer{
    padding-top: 50px;
    padding-bottom: 30px;
  }
  .footer-wrap{
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-ttl{
    margin: 0 auto;
  }
  .footer-sns{
    justify-content: center;
  }
  .footer-sns a svg {
    font-size: 30px;
  }
  .footer-menu{
    gap: 50px;
    margin-top: 30px;
  }
  .footer-bottom-link{
    gap:10px;
  }
  .footer-bottom-link a{
    font-size: 9px;
  }
}