@charset "UTF-8";
/* CSS Document */
.hoverOp:hover {
  filter: alpha(opacity=40);
  opacity: 0.4;
}

a:link {
  color: #39b54a;
  text-decoration: none;
}

a:visited {
  color: #39b54a;
  text-decoration: none;
}

a:hover {
  color: #ff9900;
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

a img {
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

body {
  font-family: sans-serif;
  color: #444444;
  /* background-color: #FFFEE8; */
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

ul,
li {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

br {
  display: none;
}

@media (min-width: 767px) {
  br {
    display: block;
  }
}

br.sp {
  display: block;
}

@media (min-width: 767px) {
  br.sp {
    display: none;
  }
}

.hobonichi_logo {
  width: fit-content;
  margin-inline: auto;
  padding-top: 40px;
}

.bgWrap {
  position: relative;
  background: top left / 100% auto repeat-y url("../img/background_pc_2.webp");
}

.bg {
  position: relative;
  padding: 256px 0 75px;
}

.wrapper {
  position: relative;
  width: 90vw;
  max-width: 900px;
  margin: 0 auto;
  /* background-color: #fff; */
  opacity: 0;
  transition: opacity 3s ease;
}

.wrapper::before {
  content: "";
  display: block;
  width: 100%;
  height: 85px;
  background: bottom center / 100% 100% no-repeat url("../img/body_bg_pc.svg");
}

.wrapper::after {
  content: "";
  display: block;
  width: 100%;
  height: 85px;
  background: bottom center / 100% 100% no-repeat url("../img/body_bg_pc.svg");
  transform: rotate(180deg);
}

.wrapper.active {
  opacity: 1;
}

/* ヘッダー
 * --------------------------------------------------------*/
.head {
  position: absolute;
  left: 50%;
  top: -200px;
  max-width: 282px;
  width: 100%;
  transform: translateX(-50%);
}

/*本文
 * --------------------------------------------------------*/
.inner {
  padding: 36px 2em 60px 2em;
  background: #fff;
}

.title {
  display: grid;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 40px;
  letter-spacing: 0.01em;
  line-height: 1.45;
  width: fit-content;
  font-family: "Maru Antique+ Ultra";
  color: #444444;
}

.title br {
  display: block;
}

.text {
  width: fit-content;
  max-width: calc(100% - 180px);
  margin: 0 auto;
  font-family: "Maru Antique+ Medium";
  font-size: 15px;
  line-height: 2.2;
}

.text p {
  margin-top: 2.2em;
}

.text p:nth-of-type(1) {
  margin-top: 0;
}

.sign {
  text-align: right;
  overflow: hidden;
  font-family: "Maru Antique+ DemiBold";
  line-height: 1.6;
  font-size: 15px;
  margin-top: 60px;
}

.sign img {
  margin-top: 16px;
  width: 100%;
  max-width: 202px;
}

.sign br {
  display: block;
}

/*バナー
 * --------------------------------------------------------*/
.banner {
  background-color: #fff;
  padding: 30px 0;
  margin: 40px 0;
}

@media (min-width: 767px) {
  .banner {
    padding: 70px 0;
    margin: 80px 0;
  }
}

.banner ul {
  width: 90vw;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-right: auto;
  margin-left: auto;
  gap: 15px;
}

@media (min-width: 767px) {
  .banner ul {
    gap: 40px 60px;
  }
}

.banner img {
  max-width: 100%;
}

/*フッター
 * --------------------------------------------------------*/
footer {
  background-color: #3e5254;
  padding: 1px;
}

#footer {
  margin: 0 auto;
}

#footer ul {
  max-width: 750px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 18px;
  margin-top: 25px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 767px) {
  #footer ul {
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 40px;
  }
}

#footer li {
  height: 25px;
}

@media (min-width: 767px) {
  #footer li {
    height: 40px;
  }
}

#footer img {
  height: 100%;
}

#footer .home {
  margin-top: -5px;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.sign {
  font-feature-settings: "halt";
}

.title {
  font-feature-settings: "halt";
  letter-spacing: 2px;
}

@media (min-width: 767px) {
  .copyright {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

.copyright img {
  width: 90px;
}

/*タブレット対応
* --------------------------------------------------------*/
@media screen and (max-width: 842px) {
  .text {
    font-size: 16.5px;
  }
}

/*スマホ対応
* --------------------------------------------------------*/
@media only screen and (max-width: 767px) {
  .bgWrap {
    background-image: url(../img/background_sp_2.webp);
  }

  .bg {
    padding: 196px 0 47px;
  }

  .wrapper {
    position: relative;
    width: calc(100% - 36px);
  }

  .wrapper::before {
    width: 100%;
    height: 96px;
    margin-bottom: -1px;
    background: bottom center / 100% 100% no-repeat url("../img/body_bg_sp.svg");
  }

  .wrapper::after {
    width: 100%;
    height: 96px;
    margin-top: -1px;
    background: bottom center / 100% 100% no-repeat url("../img/body_bg_sp.svg");
  }

  .inner {
    padding: 52px 45px 34px;
  }

  .head {
    top: -147px;
    max-width: 258px;
  }

  .title {
    font-size: 26px;
    margin-bottom: 25px;
    /* margin: -15vw auto 5vw; */
  }

  .text {
    font-size: 16px;
    max-width: 100%;
    line-height: 2;
  }

  #footer .home {
    width: 100%;
    margin: 10px 0 0;
    text-align: center;
    height: 30px;
  }
  .copyright {
    text-align: left;
    padding-left: 20px;
    margin-bottom: 10px;
  }

  .sign {
    margin-top: 70px;
  }

  .sign img {
    margin-top: 20px;
  }
}

@media only screen and (max-width: 374px) {
  /* .bg::before,
  .bg::after {
    width: 47px;
  }
  .wrapper::before {
    left: 20px;
  }
  .wrapper::after {
    right: 20px;
  }
  .inner {
    padding: 0 20vw;
  }
  .title {
    font-size: 5.5vw;
  } */
}
