@charset "UTF-8";

/*==================================
Common - 共通
==================================*/
body {
  color: #036EB8;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  line-height: 1.8;
}

.l-wrap {
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: #000000;
  text-decoration: none;
  transition: 0.5s;
}

a:hover {
  opacity: .8;
  transition: 0.5s;
}



/*==================================
Scrollin
==================================*/
.scrollin,
.scrollins__item {
  opacity: 0;
  -webkit-transform: translate(0, 30px);
  -ms-transform: translate(0, 30px);
  transform: translate(0, 30px);
}

.scrollin.is-visible,
.scrollins__item.is-visible {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-transition: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.noscript {
  color: red;
  font-weight: 700;
  text-align: center;
  font-size: 2rem;
}


/*==================================
Utility - 共通
==================================*/
.u-bgWave {
  display: block;
  position: relative;
  padding-top: 37px;
  width: 100%;
}

.u-bgWave::before {
  content: "";
  width: 139px;
  aspect-ratio: 139 / 37;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  background: url(/charm/assets/images/wave_blue.svg) no-repeat center/contain;
}

@media only screen and (max-width: 767px) {
  .u-bgWave {
    padding-top: 26px;
  }

  .u-bgWave::before {
    width: 100px;
  }
}

.u-secTtl {
  font-size: 8rem;
  font-weight: 700;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  .u-secTtl {
    font-size: 4rem;
  }
}

.u-bg_LightGray {
  background-color: #f5f5f5;
}

.u-color_red {
  color: #E60012;
}

/* adjustment */
.sp_none {
  display: block;
}
.sp_space {
  margin: auto;
}

@media only screen and (max-width: 1199px) {
  .sp_none {
    display: none;
  }
  .sp_space {
    margin-left: 1em;
  }
}

/*==================================
header
==================================*/
.l-header_box {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-header_copy {
  color: #000000;
  letter-spacing: 1em;
  font-weight: 700;
  margin-right: -1em;
}

@media only screen and (max-width: 767px) {
  .l-header_box {
    height: 50px;
  }

  .l-header_copy {
    font-size: 1.2rem;
  }
}


/*==================================
MainVisual
==================================*/
.p-mainVisual {
  margin: 0 100px;
  position: relative;
}

/* Height-adjustment */
.p-mainVisual .slick-slide img {
  height: 70vh;

  width: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 1199px) {
  .p-mainVisual {
    margin: 0 20px;
  }
  .p-mainVisual .slick-slide img {
    height: 74vh;
  }
}

/* slick-adjustment */
.p-mainVisual_fade.slick-dotted.slick-slider {
  margin-bottom: 0;
}
.p-mainVisual_fade .slick-dots {
  z-index: 4;
  position: absolute;
  bottom: 40px;
  right: 6em;
  width: auto;

  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.p-mainVisual_fade .slick-dots li button:before {
  opacity: 0.6;
}
.p-mainVisual_fade .slick-dots li.slick-active button:before {
  opacity: 0.9;
  color: #036EB8;
}

@media only screen and (max-width: 767px) {
  .p-mainVisual_fade .slick-dots {
    bottom: 20px;
    right: 8rem;
  }
}


/* slick-control */
.p-slick_control {
  z-index: 4;
  position: absolute;
  bottom: 40px;
  right: 2em;

  line-height: 1;
  display: flex;
  justify-content: flex-end;
}
.p-slick_control > button {
  background: #036EB8;
  border-radius: 3px;
  width: calc(1em + 4px);
  height: calc(1em + 4px);
  padding: 2px;

  position: relative;
}
.p-slick_control > button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
}
.p-slick_control > button.icon-pause::after {
  background: url(/charm/assets/images/icon-pause.svg) no-repeat center/cover;
}
.p-slick_control > button.icon-play::after {
  background: url(/charm/assets/images/icon-play.svg) no-repeat center/cover;
}

.p-slick_control > *:not(:first-of-type) {
  margin-left: 10px;
}
.p-slick_control > button span {
  font-size: 0;
}

@media only screen and (max-width: 767px) {
  .p-slick_control {
    bottom: 20px;
    right: 1em;
  }
}

/*==================================
亘理の魅力
==================================*/
.p-outline {
  margin-top: -100px;
}

@media only screen and (max-width: 1199px) {
  .p-outline {
    margin-top: 50px;
  }
}

.p-outline_ttl {
  font-size: 10rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  line-height: 1;
  z-index: 3;
  filter: drop-shadow(0px 0px 2px #fff) drop-shadow(0px 0px 2px #fff) drop-shadow(0px 0px 10px #fff);
  display: block;
  padding-top: 44px;
  width: 100%;
}

.p-outline_ttl::before {
  content: "";
  width: 220px;
  aspect-ratio: 220 / 44;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  background: url(/charm/assets/images/charm_logo.svg) no-repeat center/contain;
}

.p-outline_copy {
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
}

.p-outline_box {
  padding: 40px;
  background-color: #036EB8;
}

.p-outline_txt {
  color: #fff;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .p-outline_txt {
    font-size: 2.2rem;
  }
}

.p-outline_button_box {
  text-align: center;
  position: relative;
}

.p-outline_button_box::after {
  content: "";
  width: 136px;
  height: 34px;
  position: absolute;
  top: 150px;
  left: 0;
  right: 0;
  margin: auto;
}

.p-outline_button {
  display: inline-block;
  padding: 20px 45px;
  text-align: center;
  font-weight: 700;
  border: solid 3px #036EB8;
  color:#036EB8
}

@media only screen and (max-width: 767px) {
  .p-outline {
    margin-top: 30px;
  }

  .p-outline_ttl {
    font-size: 5rem;
    padding-top: 30px;
  }

  .p-outline_ttl::before {
    width: 150px;
  }

  .p-outline_copy {
    font-size: 1.8rem;
  }

  .p-outline_box {
    padding: 20px;
  }

  .p-outline_button {
    padding: 20px;
  }
}


/*==================================
モーダルウィンドウ
==================================*/
.hide-area {
  display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before {
  background:#ccc;  
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
  background:#036EB8;   
}

/*==================================
コンテンツ
==================================*/
.c-contents:not(:first-of-type) {
  margin-top: 160px;
}

@media only screen and (max-width: 767px) {
  .c-contents:not(:first-of-type) {
  margin-top: 80px;
  }
}

.c-contents_wrap {
  padding-left: calc(100% - 720px);
  position: relative;
  overflow: hidden;
}

.c-contents_wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 720px);
  height: 600px;
  transition: transform .6s ease;
  z-index: -1;
}

.c-contents_wrap_rev {
  padding-left: 0;
  padding-right: calc(100% - 720px);
}

.c-contents_wrap_rev::before {
  left: auto;
  right: 0;
}

@media only screen and (max-width: 1199px) {
  .c-contents_wrap {
    padding-left: 0;
    padding-top: 600px;
  }

  .c-contents_wrap::before {
    width: 100%;
    aspect-ratio: 2 / 1;
  }
  
  .c-contents_wrap_rev {
    padding-right: 0;
  }
}

@media only screen and (max-width: 767px) {
  .c-contents_wrap {
    padding-left: 0;
    padding-top: 240px;
  }
  .c-contents_wrap::before {
    height: 240px;
  }
}

.c-contents_bg {
  flex: 1;
  max-height: 600px;
}

.c-contents_bg::after {
  content: "";
  display: block;
  width: 100%;
  height: 600px;
  transition: transform .6s ease;
}

.c-contents_wrap:hover::before {
  transform: scale(1.1);
}

.contents_bg01::before {
  background: url(/charm/assets/images/contents_img01.jpg) no-repeat center/cover;
}

.contents_bg02::before {
  background: url(/charm/assets/images/contents_img02.jpg) no-repeat center/cover;
}

.contents_bg03::before {
  background: url(/charm/assets/images/contents_img03.jpg) no-repeat center/cover;
}

.contents_bg04::before {
  background: url(/charm/assets/images/contents_img04.jpg) no-repeat center/cover;
}

.contents_bg05::before {
  background: url(/charm/assets/images/contents_img05.jpg) no-repeat center/cover;
}

.contents_bg06::before {
  background: url(/charm/assets/images/contents_img06.jpg) no-repeat center/cover;
}

.contents_bg07::before {
  background: url(/charm/assets/images/contents_img07.jpg) no-repeat center/cover;
}

.contents_bg08::before {
  background: url(/charm/assets/images/contents_img08.jpg) no-repeat center/cover;
}

.contents_bg09::before {
  background: url(/charm/assets/images/contents_img09.jpg) no-repeat center/cover;
}

.contents_bg10::before {
  background: url(/charm/assets/images/contents_img10.jpg) no-repeat center/cover;
}

/*==================================
コンテンツ テキストボックス
==================================*/
.c-contents_inr {
  width: 720px;
  height: 600px;
  padding: 40px 20px;
  background: #036EB8;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 1199px) {
  .c-contents_inr {
    width: 100%;
    height: auto;
  }
}

@media only screen and (max-width: 767px) {
  .c-contents_inr {
    padding: 20px;
  }
}

.c-contents_num {
  position: relative;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding-bottom: 10px;
}

.c-contents_num::after {
  content: "";
  width: 40px;
  aspect-ratio: 4 / 1;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  background: url(/charm/assets/images/wave_white.svg) no-repeat center/contain;
}

.c-contents_ttl {
  font-size: 8rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.c-contents_txt {
  color: #fff;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .c-contents_txt {
    font-size: 2.4rem;
  }
}

.c-contents_btn {
  display: inline-block;
  width: 280px;
  padding: 16px 20px;
  text-align: center;
  background-color: #fff;
  border-radius: 30px;
  font-weight: 700;
}

@media only screen and (max-width: 767px) {
  .c-contents_num {
    font-size: 2.4rem;
    padding-bottom: 7px;
  }

  .c-contents_num::after {
    width: 30px;
  }

  .c-contents_ttl {
    font-size: 3.8rem;
  }

  .c-contents_btn {
    padding: 10px ;
  }
}


/*==================================
画像スクロール
==================================*/
.p-scroll {
  display: flex;
  overflow: hidden;
}

.p-scroll_inr {
  display: flex;
  animation: loop-list 50s linear infinite;
}

.p-scroll_item {
  width: calc(100vw / 5);
}

@media only screen and (max-width: 1199px) {
  .p-scroll_item {
    width: 240px;
  }
}

.p-scroll_item img {
  width: 100%;
}


@keyframes loop-list {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(-100%);
  }
}


/*==================================
フッター
==================================*/
.l-footer_inr {
  border-top: 2px solid #036EB8;
  padding: 60px 0px;
}

.l-footer_info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.l-footer_address {
  position: relative;
  padding-left: 80px;
  margin-left: 80px;
}

.l-footer_address::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #036EB8;
}

@media only screen and (max-width: 1199px) {
  .l-footer_info {
    display: block;
  }

  .l-footer_address {
    margin: 0;
    padding: 0;
  }

  .l-footer_address::before {
    content: none;
  }
}

.copyright {
  text-align: center;
  font-size: 80%;
}

/*==================================
PageTop
==================================*/
.page-top {
  opacity: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: fixed;
  bottom: 60px;
  right: 40px;
  -webkit-transition: opacity 1s;
  -o-transition: opacity 1s;
  transition: opacity 1s;
  z-index: 4;
  filter: drop-shadow(0px 3px 6px rgba(112,112,112,0.6));
}

.page-top.is-visible {
  opacity: 1;
}

@media only screen and (max-width: 767px) {
  .page-top {
    bottom: 20px;
    right: 20px;
    width: 60px;
  }
}
