/**************** 以下、スライドイン ****************/

/**************** 以下、ヘッダー ****************/
header {
  position: sticky;
  top: 0;
  z-index: 3000;
}
@media screen and (min-width: 600px) {
  header {
    height: 60px;
    background-color: rgba(255, 255, 255, 0.5);
  }
}

.header_logo {
  position: sticky;
  width: 65%;
  margin: 16px 12px 12px;
  z-index: 99999;
}
@media screen and (min-width: 600px) {
  .header_logo {
    width: auto;
    height: 26px;
    margin: 16px 32px 16px;
  }
}

button {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  vertical-align: middle;
  text-align: inherit;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}
/******************************** 以下、ハンバーガーボタンのスタイリング ********************************/
.btn {
  /* ボタンの配置位置  */
  position: fixed;
  top: 10px;
  right: 16px;
  /* 最前面に */
  z-index: 10;
  /* ボタンの大きさ  */
  width: 30px;
  height: 30px;
}
/***** 真ん中のバーガー線 *****/
.btn-line {
  display: block;
  /* バーガー線の位置基準として設定 */
  position: relative;
  /* 線の長さと高さ */
  width: 100%;
  height: 3px;
  /* バーガー線の色 */
  background-color: #fd7fc2;
  transition: 0.2s;
}
/***** 上下のバーガー線 *****/
.btn-line::before,
.btn-line::after {
  content: "";
  /* 基準線と同じ大きさと色 */
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fd7fc2;
  transition: 0.5s;
}
.btn-line::before {
  /* 上の線の位置 */
  transform: translateY(-12px);
}
.btn-line::after {
  /* 下の線の位置 */
  transform: translateY(12px);
}
/***** メニューオープン時 *****/
.btn-line.open {
  /* 真ん中の線を透明に */
  background-color: transparent;
}
.btn-line.open::before,
.btn-line.open::after {
  content: "";
  background-color: #ff30a0;
  transition: 0.2s;
}
.btn-line.open::before {
  /* 上の線を傾ける */
  transform: rotate(45deg);
}
.btn-line.open::after {
  /* 上の線を傾ける */
  transform: rotate(-45deg);
}
/**************** ここまで、ハンバーガーボタンのスタイリング ****************/
/**************** 以下、メニューのスタイリング ****************/
.menu {
  /* メニューを縦に */
  display: flex;
  flex-direction: column;
  position: fixed;
  /* メニューの位置マイナス指定で画面外に */
  top: -100vh;
  width: 100%;
  height: 100vh;
  background-color: rgba(228, 228, 228, 0.85);
  color: #333;
  transition: 0.3s;
  opacity: 0;
  padding-top: 58px;
  padding-bottom: 68px;
}
.menu-list {
  /* メニューテキスト位置をリスト内中心に */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 4px 24px;
}
.menu-list:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: #ff30a0;
  cursor: pointer;
  transition: 0.3s;
}
.menu-list a {
  border-left: #ff30a0 3px solid;
  padding: 6px 30px;
  font-size: 1.8rem;
}
.menu-spbtn {
  display: block;
  width: 100%;
  padding: 12px 28px 0;
}
.menu-spbtn a {
  display: block;
  width: 81%;
  margin: 18px auto;
  padding: 8px;
  color: #fff;
  background-color: #ff30a0;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}
/***** メニューオープン時位置0にして画面内に *****/
.menu.open {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 1;
}
/* 600px以上はハンバーガーボタン非表示、ヘッダー固定 */
@media screen and (min-width: 600px) {
  .btn {
    display: none;
  }
  .menu {
    /* メニューを横に */
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    position: fixed;
    top: 0;
    right: 12px;
    width: 60%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0);
    opacity: 1;
    padding-top: 0;
    padding-bottom: 0;
  }
  .menu-list {
    width: auto;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    font-size: 1.6rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-bottom: none;
  }
  .menu-list a {
    font-size: 1.5rem;
    border-left: none;
    padding: 0;
  }
  .menu-spbtn {
    display: none;
  }
}

@media screen and (min-width: 600px) {
  .menu_hidden {
    display: none;
  }
}

/******************************** 以下、共通部品 ********************************/
.main_title_fm {
  width: 100%;
  background-color: #fff;
  margin-bottom: 0;
  padding: 8px 20px 12px;
  border-top: 1px solid #afafaf;
  border-bottom: 1px solid #afafaf;
}
@media screen and (min-width: 600px) {
  .main_title_fm {
    margin-bottom: 20px;
    padding: 12px 20px 12px 40px;
    font-size: 2.6rem;
  }
}

.breadcrumbs {
  font-size: 1.2rem;
  font-weight: normal;
  margin-bottom: 6px;
}
@media screen and (min-width: 600px) {
  .breadcrumbs {
    font-size: 1.4rem;
    margin-bottom: 26px;
  }
}

main {
  z-index: 999;
  width: 100%;
  margin-bottom: 10px;
  padding: 0 12px;
}
@media screen and (min-width: 600px) {
  main {
    display: flex;
    flex: 1;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding: 0;
  }
}

.main_fm {
  width: 100%;
  border-radius: 12px;
  margin: 12px auto 14px;
  padding: 16px;
  background-color: #fff;
}
@media screen and (min-width: 600px) {
  .main_fm {
    width: 100%;
    border-radius: 12px;
    margin: 0 27% 60px 4%;
    padding: 52px 4% 60px;
  }
}

.sub_fm:last-child {
  margin-bottom: 0;
}

/******************************** 以下、共通テキストフレーム ********************************/
.txt_mb40 {
  margin-bottom: 40px;
}

.txt_mb60 {
  margin-bottom: 60px;
}

.txt_mb60_ml1em {
  margin-bottom: 40px;
  margin-left: 0;
}
@media screen and (min-width: 600px) {
  .txt_mb60_ml1em {
    margin-bottom: 60px;
    margin-left: 1em;
  }
}

.txt_ml1em {
  margin-left: 0;
}
@media screen and (min-width: 600px) {
  .txt_ml1em {
    margin-left: 1em;
  }
}

.txt_mb60_ml2em {
  margin-bottom: 60px;
  margin-left: 0em;
}
@media screen and (min-width: 600px) {
  .txt_mb60_ml2em {
    margin-bottom: 60px;
    margin-left: 2em;
  }
}

.txt_ml2em {
  margin-left: 0em;
}
@media screen and (min-width: 600px) {
  .txt_ml2em {
    margin-left: 2em;
  }
}

.txt {
  margin: 6px 0;
}

.txt_right {
  text-align: right;
}

/******************************** 以下、サイドバー ********************************/
aside {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 0 12px;
}
@media screen and (min-width: 600px) {
  aside {
    width: 20%;
    position: absolute;
    top: 56px;
    right: 0;
    margin: 28px 3%;
  }
}

.side_flame {
  width: 48.5%;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 12px;
  color: #ff30a0;
}
@media screen and (min-width: 600px) {
  .side_flame {
    width: 100%;
  }
}

.side_campany_flame {
  width: 100%;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 12px;
  color: #ff30a0;
}
@media screen and (min-width: 600px) {
  .side_campany_flame {
    width: 100%;
  }
}

.cpy_sub_fm {
  padding: 12px;
  width: 100%;
}
@media screen and (min-width: 600px) {
  .cpy_sub_fm {
    padding: 12px;
    width: 100%;
  }
}

.cpy_sub_title {
  width: 100%;
  padding-left: 8px;
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 2px solid #ff30a0;
}

.cpy_sub_title a {
  color: #ff30a0;
}

.cpy_sub_fm ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cpy_sub_fm li {
  width: 49%;
  margin: 0;
  padding: 4px 12px 2px 0;
  border-bottom: 1px solid #ccc;
}
@media screen and (min-width: 600px) {
  .cpy_sub_fm li {
    width: 100%;
    margin: 6px 0 0 12px;
    padding: 4px 12px 2px 0;
  }
}

.currentItem {
  background-color: #ff30a0;
}
.currentItem a {
  color: #fff;
  padding-left: 8px;
  border-left: 4px solid #ff30a0;
}

.cpy_li {
  background-color: #fff;
}

.cpy_li a {
  padding-left: 8px;
  border-left: 4px solid #ff30a0;
}

.side_img {
  width: 100%;
  border-radius: 6px;
}

/******************************** 以下、フッター ********************************/

.pagetop {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 12px;
  z-index: 99999;
}
@media screen and (min-width: 600px) {
  .pagetop {
    right: 30px;
  }
}

.pagetop a {
  display: block;
  width: 60px;
  height: 58px;
  border-radius: 60px;
  background-color: #ff30a0;
  text-align: center;
  color: #222;
  font-size: 12px;
  text-decoration: none;
  filter: alpha(opacity=50);
}
.pagetop a:hover {
  display: block;
  background-color: #ff649f;
  text-align: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  padding: 5px 10px;
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.mark_ftup {
  font-size: 4.4rem;
  line-height: 58px;
  color: #fff;
}

footer {
  text-align: center;
  background-color: #ff30a0;
  position: sticky;
}

.footer_top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 32px 12px;
  background-color: #fff;
}
@media screen and (min-width: 600px) {
  .footer_top {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 38px 42px;
  }
}

.footer_logo_mark {
  width: 100%;
  margin-bottom: 24px;
}
@media screen and (min-width: 600px) {
  .footer_logo_mark {
    width: 470px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 0;
    padding-right: 30px;
  }
  .footer_logo_mark a {
    display: flex;
    flex-wrap: nowrap;
  }
}

.footer_mark {
  width: 78px;
  padding-bottom: 18px;
}
@media screen and (min-width: 600px) {
  .footer_mark {
    width: 88px;
    padding-right: 18px;
    padding-bottom: 0;
  }
}

.footer_logo {
  width: 80%;
}
@media screen and (min-width: 600px) {
  .footer_logo {
    width: 320px;
    padding-right: 18px;
  }
}

.footer_address {
  margin-top: 24px;
  width: 100%;
  font-size: 1.4rem;
  line-height: 1.4em;
  white-space: nowrap;
}
@media screen and (min-width: 600px) {
  .footer_address {
    margin-top: 8px;
  }
}

.foot_menu {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
@media screen and (min-width: 600px) {
  .foot_menu {
    flex: 1;
    max-width: 60%;
  }
}

.foot_menu li {
  display: inline-block;
  padding-right: 4px;
  font-size: 1.2rem;
  width: 50%;
  text-align: left;
}
@media screen and (min-width: 600px) {
  .foot_menu li {
    display: inline-block;
    padding-right: 12px;
    font-size: 1.4rem;
    width: 16em;
    text-align: left;
    align-items: center;
  }
}

.mark_ft {
  font-size: 1.2rem;
  line-height: 1.1rem;
}
@media screen and (min-width: 600px) {
  .mark_ft {
    font-size: 1.4rem;
    line-height: 1.3rem;
  }
}

.copyright {
  width: 100%;
  margin: 32px 0;
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
}
