/** このファイルにCSSを記載してください。画像も同一フォルダ内に、同一階層で(フォルダを作成せずに)保存してください。 **/
html {
  min-height: 100dvh;
  width: 100%;
}

@media screen and (min-width:600px) {  /* PC用メディアクエリ */
body.customize {
  border: none;
  background: linear-gradient(180deg, rgba(6,176,225,0.25) 125px, rgba(211,237,251,0.25) 35%, rgba(211,237,251,0.25) 65%, rgba(6,176,225,0.25) 100%);
  padding: 0;
  min-height: 100dvh;
  height: 100%;
  width: 100%;
}

.page__all,
.nomenu:not(.nomenu:has(.menu__wrap > .info)) .page__all {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 125px 1fr 130px;
  background: transparent;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  position: relative;
  border-radius: 0;
  padding: 0;
}
.page__inner {
  display: flex;
  background: transparent;
  align-items: start;
  width: 1000px;
  margin: 0 auto 30px;
}
.main {
  width: 760px;
  background: #fff;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.s1 .header {
  margin-bottom: 40px;
}

.nomenu:not(.nomenu:has(.menu__wrap > .info)) .main {
    width: 1000px;
    margin: 0 auto;
  }


.contents {
  gap: 25px;
}

/*　header
/-----------------------------------------------------------------*/

.header {
  background: #fff;
  margin-right: 20px;
  padding: 20px 10px;
}
.s1.nomenu:not(.s1.nomenu:has(.menu__wrap > .info)) .header__img + header {
  display: none;
}
#header__top .logo {
  display: none;
}

.original__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 125px;
  background: #fff;
  margin: 0 auto 0;
  border-top: 15px solid #0f2656;
}
.ori_head_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.original__header .ori_head_wrap .logo {
  display: block;
  width: 200px;
  height: 37px;
  margin-left: 48px;
  background: url(https://upload.axol.jp/bx/s/tokiomarine-nichido_27/mypage/1/custom/logo.png) left top / 200px auto no-repeat;
}
.original__header a {
  margin-right: 64px;
  margin-left: auto;
  color: #666;
  transition: opacity 300ms ease;
  text-decoration: none;
}
.original__header a:hover {
  opacity: 0.7;
}

/*　footer
/-----------------------------------------------------------------*/

#footer {
  position: relative;
  width: 100%;
  min-height: 118px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-top: 0 !important;
  background-color: #0f2656;
}
#entry_agreement .footer {
  border-top: none;
  padding: initial;
  text-align: initial;
}
.original__footer {
  position: relative;
  background: url(https://upload.axol.jp/bx/s/tokiomarine-nichido_27/mypage/1/custom/logo_footer.png) left top / 192px auto no-repeat;
  background-repeat: no-repeat;
  width: 1280px;
  height: fit-content;
  min-height: 50px;
  max-width: 1280px;
  margin: 50px auto 0;
  padding: 0;
  box-sizing: border-box;
}
.original__footer::before {
  content: '';
  position: absolute;
  background: url(https://upload.axol.jp/bx/s/tokiomarine-nichido_27/mypage/1/custom/logo_description.png) right top / 201px auto no-repeat;
  background-repeat: no-repeat;
  width: 201px;
  height: 20px;
  right: 0;
  top: -20px;
}
.original__footer::after {
  content: 'Copyright (c) Tokio Marine & Nichido Fire Insurance Co., Ltd.';
  position: absolute;
  right: 0;
  bottom: 10px;
  font-family: 'Lato', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  color: #fff;
  font-size: 13px;
}
#footer .ssl {
  position: absolute;
  top: 30px;
  left: calc((100% - 1280px) / 2);
  margin: 0;
  width: 1280px;
  color: #fff;
  font-size: 8.5px;
  line-height: 1.45em;
  text-align: left;
}
#entry_agreement #footer .ssl {
  max-width: 1280px;
  font-size: 8.5px;
  color: #fff;
}
/*　main
/-----------------------------------------------------------------*/
#contents__title {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 25px 10px 40px;
  color: #133d96;
  font-size: 22px;
  font-weight: bold;
  border: none;
  background: #fff;
  border-bottom: 1px dotted #808080;
  position: relative;
  &::before {
    position: absolute;
    content: '';
    border-left: 1.5px dotted #133d96;
    width: 15px;
    height: calc(100% - 10px);
    top: 0;
    left: 25px;
  }
}

/*　menu
/-----------------------------------------------------------------*/

.customize .menu__button + .menu__button {
  margin-top: 5px;
}
.header .menu li a,
.m4 .menu .menu__high a,
.m4 .menu .menu__mid a {
  padding: 14px 10px 11px;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: rgb(255,255,255);
  background: -moz-linear-gradient(to bottom, rgb(255,255,255) 0%,rgb(230,230,230) 100%);
  background: -webkit-linear-gradient(to bottom, rgb(255,255,255) 0%,rgb(230,230,230) 100%);
  background: linear-gradient(to bottom, rgb(255,255,255) 0%,rgb(230,230,230) 100%);
  box-shadow: none !important;
  transition: .1s;
  line-height: 1.5;
  color: #333;
}
.header .menu li a:hover,
.m4 .menu .menu__high a:hover,
.m4 .menu .menu__mid a:hover {
  color: #fff;
  font-weight: bold;
  background: rgb(19,61,150);
  background: -moz-linear-gradient(to bottom, rgb(19,61,150) 0%,rgb(19,88,190) 100%);
  background: -webkit-linear-gradient(to bottom, rgb(19,61,150) 0%,rgb(19,88,190) 100%);
  background: linear-gradient(to bottom, rgb(19,61,150) 0%,rgb(19,88,190) 100%);
  outline: none;
}
.header .menu li a::before {
  display: none;
}
.header .menu li a::after {
  display: none;
}
.header .menu li.menu__now a {
  color: #fff;
  border: 1px solid #ddd;
  font-weight: bold;
  background: rgb(19,61,150);
  background: -moz-linear-gradient(to bottom, rgb(19,61,150) 0%,rgb(19,88,190) 100%);
  background: -webkit-linear-gradient(to bottom, rgb(19,61,150) 0%,rgb(19,88,190) 100%);
  background: linear-gradient(to bottom, rgb(19,61,150) 0%,rgb(19,88,190) 100%);
}
.header .menu li.menu__mid a,
.header .menu li.menu__high a {
  color: #ff664b;
}
.header .menu li.menu__high.menu__now a,
.header .menu li.menu__mid.menu__now a {
  color: #fff;
}
.header .menu__sub a::before {
  content: "・";
  margin-top: 2px;
  margin-right: 0;
  font-size: 10px;
}
.m4 .menu__sub a, .m4 .menu__text a,
.m4 .menu__sub a:hover, .m4 .menu__text a:hover {
  padding: 5px 0;
}

.header .menu li .material-symbols-outlined {
  display: none;
}

.nomenu:not(.nomenu:has(.menu__wrap > .info)) .header {
    display: none;
  }


}/*　PC用メディアクエリの閉じタグ*/


/*　スマホ用メディアクエリここから
/-----------------------------------------------------------------*/
@media screen and (max-width: 599px) {

  body.customize {
    min-height: 100dvh;
    height: 100%;
  }
  .page__all {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    position: relative;
    padding: 0;
    width: 100%;
    min-height: 100dvh;
    height: 100%;
    border-radius: 0;
  }
  .page__inner {
    background: linear-gradient(rgba(6,176,225,0.25) 75px, rgba(211,237,251,0.25) 35%, rgba(211,237,251,0.25) 65%, rgba(6,176,225,0.25) 100%);
    flex: 1 0 auto;
    align-content: start;
    flex-direction: column;
  }
  .s1 .main {
    flex: 1 0 auto;
  }
  .s1 .header {
    margin: 0 auto ;
    padding: 0;
    background: url(https://upload.axol.jp/bx/s/tokiomarine-nichido_27/mypage/3/custom/img-header-message.png)right 8px top 2px / 136px 9px no-repeat,linear-gradient(#0f2656 15px,#fff 13px,#fff 100%);
    padding-top: 15px;
    height: 75px;
  }

  #header__top .logo {
    display: block;
    a {
      display: flex;
      align-items: center;
      width: 200px;
      height: 60px;
      img {
        margin-left: 10px;
        width: 140px;
        max-width: 140px;
        max-height: auto;
      }
    }
  }
  .header .logo img {
    margin-left: 10px;
    width: 140px;
    max-width: 140px;
  }
  .original__header {display: none;}
  .s1.nomenu:not(.s1.nomenu:has(.menu__wrap > .info)) .header__img + header#header__top {
    margin-top: 15px;
    display: block;
    .logo {
      display: flex;
      align-items: center;
      width: 200px;
      height: 60px;
      img {
        margin-left: 10px;
        width: 140px;
        max-width: 140px;
        max-height: auto;
      }
    }
  }

  .s1 .main {
    width: calc(100% - 30px);
    margin: 15px;
    padding-top: 10px;
    background: #fff;
  }
  #contents__title {
    margin: 0 0 10px;
    padding: 0 5px 5px;
    color: #133d96;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-bottom: 1px dotted #808080;
    background: #fff;
    &::before {display: none;}
  }
  #footer {
    position: relative;
    width: 100%;
    height: auto;
    padding: 32px 24px;
    background-color: #0f2656;
    .copyright { display: none;}
    .ssl {
      position: relative;
      margin: 0 15px;
      max-width: 100%;
      width: auto;
      box-sizing: border-box;
      color: #fff;
      font-size: 12px;
    }
  }
  #entry_agreement .footer {
    padding: 32px 24px;
  }
  .original__footer {
    position: relative;
    background: url(https://upload.axol.jp/bx/s/tokiomarine-nichido_27/mypage/1/custom/logo_footer.png) center 40px / 192px auto no-repeat;
    width: 100%;
    height: 132px;
    max-width: 100%;
    margin: 0 auto;
    &::before {
      content: '';
      position: absolute;
      background: url(https://upload.axol.jp/bx/s/tokiomarine-nichido_27/mypage/1/custom/logo_description.png) left top / 160px auto no-repeat;
      width: 160px;
      height: 17px;
      translate: -50%;
      left: 50%;
      top: 0;
    }
    &::after {
      font-size: 14px;
      top: 85px;
      text-align: center;
      content: 'Copyright (c) Tokio Marine & Nichido Fire Insurance Co., Ltd.';
      position: absolute;
      width: 100%;
      left: 0;
      top: 85px;
      text-align: center;
      font-size: 14px;
      font-family: "Lato", "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴProN W3", "Hiragino Kaku Gothic ProN", "MS PGothic", Arial, sans-serif;
      color: #fff;
      letter-spacing: 0.01em;
    }
  }

}/*SP用メディアクエリの閉じタグ*/

