@charset 'UTF-8';
/*--------------------
共通
---------------------*/ :root {
  --main-color: #2A2A2D;
  --bg: #f9f9d8;
}
body {
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-weight: 400;
  font-style: normal;
}
h2 {
  font-size: 26px;
  color: var(--main-color);
  font-weight: 900;
  font-style: normal;
  margin: 50px 0;
}
h3 {
  font-size: 20px;
  color: var(--main-color);
  font-weight: 600;
  font-style: normal;
}
h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--main-color);
}
p {
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: var(--main-color);
}
li {
  font-size: 16px;
}
.text-font {
  font-family: sans-serif;
  font-weight: 800;
}
.article-wrapper h2 {
  margin: 100px 0 40px 10px;
}
.article-text {
  text-indent: 20px;
  margin: 50px 0 50px;
  text-align: left;
  line-height: 25px;
}
.img-bar {
  width: 100%;
}
/*-----------
mobile header
-----------*/
header {
  background: var(--bg);
}
#hcheck {
  display: none;
}
#close {
  display: none;
}
/*PC表示時のハンバーガーメニューの消去*/
#flex-navi {
  max-height: 0;
  overflow: hidden;
  transition: 0.6s; /*メニュー表示の際にスライドするアニメーション*/
}
#flex-navi li {
  padding: 20px 30px;
  margin: 0 30px;
  font-size: 20px;
  text-align: center;
  border-bottom: solid lightgray 1px;
  background: var(--bg);
}
#flex-navi li:first-child {
  border-top: solid lightgray 1px;
}
.hover-navi li {
  position: relative;
}
.hover-navi li::after {
  background: darkgray;
}
.hover-navi li:hover::after {
  transform: scale(1, 1);
}
.hover-navi li:hover {
  font-weight: 600;
}
#open img, #close img {
  max-height: 50px;
}
#open, #close {
  width: 45px;
  top: 30px;
  cursor: pointer; /*カーソルを合わせるとポインターに変わる*/
}
#open {
  position: absolute;
  right: 26px;
}
#close {
  position: absolute;
  right: 18px;
}
#open {
  display: block;
}
#hcheck:checked ~ #close {
  display: block;
}
#hcheck:checked ~ #open {
  display: none;
}
#hcheck:checked ~ #flex-navi {
  max-height: 500px;
  /*display noneとかにしてしまうとアニメーションが表示されなくなるので高さを調整している*/
} /*メニューアイコンをクリックしたらメニューが表示される*/
/*-----------
mobile top
-----------*/
#top {
  background: var(--bg);
}
#logo-mobile {
  display: block;
  margin: 25px auto 15px;
  max-width: 400px;
}
#logo-pc {
  display: none;
  margin-top: -20px;
}
#top-image {
  display: block;
  margin: 0 auto;
  max-width: 400px;
}
#top p {
  font-weight: bold;
}
#logo-ue {
  width: 400px;
}
#clear-text {
  color: transparent;
}
.flex-inner {
  text-align: center;
}
#logo-text {
  margin: 40px 0 50px;
  text-align: center;
  line-height: 45px;
}

/*-----------
mobile about共通
-----------*/
.article-wrapper {
  width: 100%;
}
.article-title p {
  font-size: 20px;
  line-height: 35px;
}
/*-----------
mobile aboutってなに？
-----------*/
.whatz-image {
  display: block;
  width: 250px;
  margin: 30px auto;
}
.whatz-text h3, .whatz-text p {
  text-align: left;
  display: block;
  width: 80%;
  margin: 0 auto;
  line-height: 35px;
}
.whatz-text h3 {
  margin: 30px auto;
}
/*-----------
mobile about特徴#reasons
-----------*/
#reasons h2 {
  margin-top: 100px;
}
#reasons {
  background: var(--bg);
}
.reasons-box img {
  max-width: 280px;
  min-width: 200px;
  margin: 30px 10px 0;
}
.reasons-box p {
  max-width: 280px;
  min-width: 200px;
  margin: 0 auto;
  line-height: 30px;
  text-align: left;
}
#grid-reasons {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
/*-----------
mobile 申し込み方法
-----------*/
.flow-box img {
  max-width: 200px;
}
.flow-arrow img {
  display: none;
}
#flow10 {
  max-width: 200px;
}
#grid-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
}
#flow1 {
  grid-area: 1 / 1 / 2 / 2;
}
#flow3 {
  grid-area: 1 / 2 / 2 / 3;
}
#flow5 {
  grid-area: 1 / 3 / 2 / 4;
}
#flow7 {
  grid-area: 2 / 2 / 3 / 3;
}
#flow8 {
  grid-area: 3 / 3 / 4 / 4;
}
#flow9 {
  grid-area: 3 / 1 / 4 / 2;
}
#flow10 {
  grid-area: 3 / 2 / 4 / 3;
}
/*もっと詳しくみるボタン↓*/
button {
  color: #454545;
  background: transparent;
  border: 2px solid orange;
  position: relative;
  margin: 1em;
  display: inline-block;
  padding: 0.5em 1em;
  transition: all 0.3s ease-in-out;
  text-align: center;
  font-weight: bold;
}
button:before, button:after {
  content: '';
  display: block;
  position: absolute;
  border-color: orange;
  box-sizing: border-box;
  border-style: solid;
  width: 1em;
  height: 1em;
  transition: all 0.3s ease-in-out;
}
button:before {
  top: -6px;
  left: -6px;
  border-width: 2px 0 0 2px;
  z-index: 5;
}
button:after {
  bottom: -6px;
  right: -6px;
  border-width: 0 2px 2px 0;
}
button:hover:before, button:hover:after {
  width: calc(100% + 12px);
  height: calc(100% + 12px);
}
button:hover {
  color: #353535;
  background-color: #fff;
  border-color: #fff
}
.panel {
  max-width: 960px;
  text-align: center;
  position: relative;
  margin: auto;
}
/*もっと詳しくみるボタン↑*/
/*-----------
mobile footer
-----------*/
footer {
  background: var(--bg);
}
#footer-global-navi li, #footer-bottom-navi li {
  display: block;
  max-width: 200px;
  margin: 3px;
  padding: 0 0 8px 5px;
}
#footer-logo {
  width: 200px;
  margin: 0 10px 5px;
}
#sns-img img {
  width: 40px;
  margin: 0 10px 10px;
}
#footer-small {
  background: darkgray;
  text-align: center;
  padding-bottom: 5px;
}
/*-----------
無料診断ボタン
-----------*/
#entry {
  display: block;
  width: 150px;
  position: fixed;
  filter: drop-shadow(0 0 0.7rem orange);
  bottom: 15px;
  right: 15px;
}
.container {
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
}
#entry {
  transition: .9s;
  transform: rotateZ(0deg);
}
.container:hover #entry {
  transform: rotateZ(360deg);
}
/*--------------------
ここから下PC版
---------------------*/
@media screen and (min-width: 961px) {
  /*--------------------
共通
---------------------*/
  h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 22px;
  }
  p {
    font-size: 18px;
  }
  .article-title p {
  font-size: 24px;
  }
  /*-----------
PC header
-----------*/
  header {
    z-index: 9999;
  }
  #header-wrapper {
    width: 960px;
    margin: 0 auto;
    background: var(--bg);
  }
  #open, #close, #hcheck {
    display: none;
  } /*PC表示時のハンバーガーメニューの消去*/
  header {
    background: var(--bg);
    position: sticky;
    top: 0;
    height: 90px;
  }
  #logo-mobile {
    display: none;
  }
  #flex-navi {
    overflow: visible;
    transition: none; /*メニューのスライド消去*/
  }
  #flex-navi ul {
    display: flex;
    justify-content: space-between;
  }
  #flex-navi li {
    padding: 30px 0 10px;
    margin: 0;
    border-bottom: none;
  }
  nav li::after {
    position: absolute;
    bottom: 5px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: darkgray;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .4s;
  }
  nav li:hover::after {
    transform: scale(1, 1);
  }
  #flex-navi li:first-child {
    border-top: none;
  }
  .flex-header li {
    padding-right: 40px;
    line-height: 80px;
  }
  /*-----------
PC top
-----------*/
  .section-wrapper {
    width: 960px;
    margin: 0 auto;
  }
  #logo-pc {
    display: block;
    width: 450px;
  }
  #pc-flex {
    display: flex;
    justify-content: space-around;
  }
  .flex-inner p {
    padding: 10px 0 15px;
  }
  #top-image {
    margin: -20px 0 auto;
    display: block;
    text-align: center;
    max-width: 100%;
  }
  #logo-text {
    margin: 30px 0 80px;
  }
  #top-text {
	display: flex;
	flex-flow: row-reverse;
    justify-content: center;
  }



  /*-----------
PC about共通
-----------*/
  .article-wrapper {
    width: 960px;
    margin: 0 auto;
  }
  /*-----------
PC aboutってなに？
-----------*/
  .whatz-image {
    width: 300px;
    margin: 30px auto;
  }
  .whaz-text h3, .whaz-text p {
    display: block;
    max-width: 450px;
  }
  .whaz-flex {
    display: flex;
  }
  .whaz-flex-reverse {
    display: flex;
    flex-flow: row-reverse;
  }
  /*-----------
PC about特徴#reasons
-----------*/
  #grid-reasons {
    grid-template-columns: 1fr 1fr 1fr;
  }
  /*-----------
PC サービスの仕組み
-----------*/
  #grid-flow {
    max-width: 900px;
	margin: 0 auto;
  }

  .flow-box img {
    max-width: 225px;
	display: block;
	margin: 0 auto;
  }

  .flow-arrow {
	display: block;
    max-width: 150px;
	margin: 0 auto;
  }
  #flow10 {
    max-width: 250px;
  }
  #grid-flow {
    display: grid;
    grid-template-columns: repeat(8, 0.5fr);
    grid-template-rows: 1fr 0.3fr repeat(5, 0.5fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
  #flow1 {
    grid-area: 1 / 1 / 2 / 3;
  }
  #flow2 {
    grid-area: 1 / 3 / 2 / 4;
  }
  #flow3 {
    grid-area: 1 / 4 / 2 / 6;
  }
  #flow4 {
    grid-area: 1 / 6 / 2 / 7;
  }
  #flow5 {
    grid-area: 1 / 7 / 2 / 9;
  }
  #flow6 {
    grid-area: 2 / 6 / 4 / 8;
  }
  #flow7 {
    grid-area: 3 / 4 / 5 / 6;
  }
  #flow8 {
    grid-area: 6 / 6 / 8 / 8;
  }
  #flow9 {
    grid-area: 6 / 2 / 8 / 4;
  }
  #flow10 {
    grid-area: 5 / 4 / 7 / 6;
  }
  /*-----------
PC footer
-----------*/
  #footer-global-navi ul, #footer-bottom-navi ul {
    text-align: center;
  }
  #footer-global-navi li, #footer-bottom-navi li {
    display: inline-block;
    max-width: 200px;
    margin: 15px 5px 15px 8px;
    padding: 5px 0 8px 15px;
    border-left: solid darkgray 1px;
  }
  #footer-global-navi li:first-child, #footer-bottom-navi li:first-child {
    border-left: none;
  }
  #footer-logo {
    width: 300px;
  }
  #sns-img img {
    margin: 0 10px 20px;
  }
  #footer-img-wrapper {
    display: block;
    text-align: center;
  }

