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

body {
  font-family: sans-serif;
  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;
  }
}

.bgWrap {
  position: relative;
  background-image: url(../img/bg-kamifubuki.png);
  background-size: 100%;
  background-repeat: repeat-y;
}

.bg {
  position: relative;
  padding: 274px 0 94px;
}

.bg::before, .bg::after {
  content: '';
  position: absolute;
  top: 0;
  width: 134px;
  height: 100%;
  background-size: 100%;
  background-repeat: repeat-y;
  z-index: 2;
}

.bg::before {
  background-image: url(../img/bg-nawa-l.png);
  left: 0;
}

.bg::after {
  background-image: url(../img/bg-nawa-l.png);
  right: 0;
  transform: scaleX(-1);
  background-position: right 300px;
}

.wrapper {
  width: 90vw;
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 60px 60px 0 0;
  opacity: 0;
  transition: opacity 3s ease;
  box-shadow: 0 0 30px white;
}

.wrapper.active {
  opacity: 1;
}

/* ヘッダー
 * --------------------------------------------------------*/
.head {
  text-align: center;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  transform: translateY(-192px);
  position: relative;
  z-index: 3;
}

.head img {
  width: 80%;
  max-width: 413px;
  position: relative;
  transform: translateX(56px);
}

/*本文
 * --------------------------------------------------------*/
.inner {
  padding: 0 2em;
}

.title {
  font-size: 35px;
  margin: -102px auto 60px;
  letter-spacing: calc((40 / 1000) * 1em);
  line-height: 2;
  width: fit-content;
  font-family: "A1 Gothic B";
}

.title br {
  display: block;
}

.title span {
  display: inline-block;
  text-indent: 2em;
}

.text {
  width: fit-content;
  max-width: calc(100% - 180px);
  margin: 0 auto;
  overflow: hidden;
  font-family: "A1 Gothic M";
  font-size: 19px;
  line-height: 2.2;
}

.text p {
  margin-bottom: 2em;
}

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

.sign {
  text-align: right;
  margin: 0 auto;
  overflow: hidden;
  font-family: "A1 Gothic R";
  line-height: 1.85;
  font-size: 15px;
  margin: 0 1em;
}

@media (min-width: 767px) {
  .sign {
    font-size: 19px;
    margin-right: 60px;
  }
}

.sign img {
  width: 50%;
  max-width: 240px;
  margin: 1em 0 3em;
}

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

@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: initial;
    border-radius: 0;
  }
  .bg {
    padding: 45vw 0 47px;
  }
  .bg::before, .bg::after {
    width: 54px;
  }
  .wrapper {
    position: relative;
    width: 100vw;
  }
  .wrapper::before, .wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 53px;
    height: 100%;
    background-size: 100%;
    background-repeat: repeat-y;
    z-index: 1;
  }
  .wrapper::before {
    background-image: url(../img/bg-kamifubuki-l.png);
    left: 30px;
  }
  .wrapper::after {
    background-image: url(../img/bg-kamifubuki-r.png);
    right: 30px;
  }
  .inner {
    padding: 0 90px;
  }
  .title {
    font-size: 5vw;
    margin: -15vw auto 5vw;
  }
  .head {
    transform: translateY(-26vw);
  }
  .head img {
    width: 57.21vw;
    transform: translateX(6vw);
  }
  .text {
    font-size: 15px;
    max-width: 100%;
  }
  #footer .home {
    width: 100%;
    margin: 10px 0 0;
    text-align: center;
    height: 30px;
  }
  .copyright {
    text-align: left;
    padding-left: 20px;
    margin-bottom: 10px;
  }
}

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