@charset "UTF-8";


/* ===============================================
エンディングノート：共通
=============================================== */
#note-kv,
#note-what,
#note-worry,
#note-fp,
#note-plus,
#note-trial,
#note-flow,
#note-form,
#note-link,
#note-footer,
#note-link {
  font-family: "Noto Sans JP",
    sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  min-width: 1024px;
}

#note-contact {
  font-family: "Noto Sans JP",
    sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
}

.note-container {
  max-width: 1000px;
  margin: 0 auto;
}

.note-title {
  text-align: center;
  margin: 0 auto;
}

.note-title p {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  padding: 4px 140px;
  color: #ef8200;
  border: 3px solid #ef8200;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 1.2px;
}


.note-title--02 p {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  padding: 4px 100px;
  background: #ef8200;
  color: #fff;
  border: none;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 1.2px;
}

.note-title--03 p {
  padding: 4px 80px;
  background: #fff;
}

.note-pc-only {
  display: block;
}

.note-sp-only {
  display: none;
}

#content-body-wrapper {
    margin-bottom: 0;
}


@media screen and (max-width: 1280px) {
  .note-container {
    padding: 0 2%;
  }
}

@media screen and (max-width: 767px) {

  #note-kv,
  #note-what,
  #note-worry,
  #note-fp,
  #note-plus,
  #note-trial,
  #note-flow,
  #note-form,
  #note-link,
  #note-footer {
    min-width: 320px;
  }

  .note-container {
    padding: 0 5%;
  }

  .note-pc-only {
    display: none;
  }

  .note-sp-only {
    display: block;
  }

  .note-title p {
    font-size: 22px;
    padding: 1px 0;
    width: 100%;
    border-radius: 10px;
  }

  .note-title--02 p {
    width: 90%;
    padding: 2px 0;
  }

  .note-title--03 p {
    width: 90%;
    padding: 2px 0;
  }
}
section a:hover {
  text-decoration: none !important;
}

/* ===============================================
エンディングノート：KV
=============================================== */
#note-kv {
  position: relative;
}
#note-kv img {
  width: 100%;
}

@media screen and (max-width: 767px) {
  #note-kv .kv_img {
    object-fit: cover;
    width: 100%;
    height: calc(100vh - 60px);
    height: calc(100svh - 60px);
  }
}

@media (orientation: landscape) and (max-width: 767px) {
  #note-kv .kv_img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
  }
}


#kizuna-header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}
#kizuna-header.fixed {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
#kizuna-header .inner {
  display: flex;
  max-width: 1024px;
  margin: 0 auto;
  justify-content: right;
  align-items: center;
  position: relative;
}
#kizuna-header .inner .tel {
  display: flex;
  width:260px;
  background: #fff;
  padding:15px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 5px 0 rgba(0,0,0,0.2);
}
#kizuna-header .inner .tel img {
  width: 100%;
}
#kizuna-header .inner .tel span {
  background: #ef8200;
  color: #fff;
  display: block;
  padding: 5px 10px;
  line-height: 1;
  height: 20px;
  margin-top: 10px;
  margin-right: 10px;
}
#kizuna-header .inner .menu-bar, #kizuna-header .inner .menu-tel {
  display: none;
}
#kizuna-header #kizuna-navi.fixed {
  width: 100%;
  position: fixed;
  top: 0;
  margin: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0px 6px rgba(239, 130, 0, 0.25);
}
#kizuna-header .navi {
  background: #ef8200;
  margin: 15px auto 0;
}
#kizuna-header .navi ul {
  display: flex;
  justify-content: center;
  max-width: 1024px;
  margin: 0 auto;
}
#kizuna-header .navi ul li {
  font-size: 16px;
  line-height: 1;
  width: 14%;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
#kizuna-header .navi ul li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
#kizuna-header .navi ul li a {
  display: block;
  color: #fff;
  font-weight: bold;
  padding: 20px 10px;
  text-align: center;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
#kizuna-header .navi ul li a:hover {
  text-decoration: none;
  background-color: #fff000;
  color: #ef8200;
}

@media screen and (max-width: 767px) {
  #kizuna-header {
    width: 100%;
  }
  #kizuna-header .inner {
    position: relative;
    align-items: flex-end;
    height: 45px;
  }
  #kizuna-header .inner .logo {
    padding: 0 10px;
  }
  #kizuna-header .inner .logo a {
    height: 45px;
    display: block;
  }
  #kizuna-header .inner .logo a img {
    max-width: 140px;
    height: auto;
  }
  #kizuna-header .inner .tel {
    display: none;
  }
  #kizuna-header .inner .menu-bar, #kizuna-header .inner .menu-tel {
    background-color: #ef8200;
    border: 1px solid #fff;
    display: block;
    z-index: 300;
    right: 20px;
    top: 48px;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    padding: 9px;
  }
  #kizuna-header .inner .flexR {
    position: fixed;
    top: 64px;
    right: 0;
    z-index: 10;
  }
  #kizuna-header .inner .menu-bar {
    margin: 0 10px;
  }
  #kizuna-header .inner .menu-bar.active, #kizuna-header .inner .menu-tel.active {
    background-color: #c66a05;
  }
  #kizuna-header .inner .menu-bar img {
    width: 20px;
    vertical-align: bottom;
  }
  #kizuna-header .inner .menu-tel img {
    width: 20px;
    vertical-align: bottom;
  }
  #kizuna-header .inner .menu-tel img.on {
    transform: rotate(90deg);
  }
  #kizuna-header .inner .menu-tel #menu-conts_tel a {
    text-align: center;
  }
  #kizuna-header .inner .menu-tel #menu-conts_tel img {
    width: auto;
  }
}

@media screen and (max-width: 767px) {
  #menu-conts_tel {
    display: none;
    background: #c66a05;
    position: absolute;
    top: 40px;
    left: calc(40px - 100vw);
    width: 100vw;
    box-sizing: border-box;
    padding: 32px 8%;
    z-index: 101;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.2);
  }
  #menu-conts_tel a {
    display: block;
    color: #fff;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid #fff;
    text-align: left;
    padding: 5px;
    border-bottom: none;
  }
}
/* ===============================================
エンディングノート：どんなもの？
=============================================== */
#note-what .head {
  font-weight: 700;
  height: 97px;
  position: relative;
  background: #ef8200;
  text-align: center;
}

#note-what .head::after {
  position: absolute;
  content: "";
  background: url(../images/arrow.png) no-repeat center center/contain;
  width: 84px;
  height: 45px;
  bottom: -44px;
  left: 50%;
  transform: translateX(-50%);
}

#note-what h1 {
  color: #fff;
  font-size: 30px;
  position: relative;
  height: 100%;
  line-height: 97px;
  display: inline-block;
}

#note-what h1::before,
#note-what h1::after {
  content: "";
  position: absolute;
  width: 252px;
  height: 244px;
  bottom: 0;
}

#note-what h1::before {
  background: url(../images/head_01.png) no-repeat center center/contain;
  left: -240px;
}

#note-what h1::after {
  background: url(../images/head_02.png) no-repeat center center/contain;
  right: -240px;
}

#note-what .body {
  position: relative;
  padding: 95px 0 120px;
  overflow: hidden;
}

#note-what .body::before {
  position: absolute;
  content: "";
  background: url(../images/bg_circle.png) no-repeat center center/cover;
  width: 62vw;
  height: 62vw;
  z-index: 0;
  left: -30%;
  top: 50%;
  transform: translateY(-50%);
}

#note-what .wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#note-what .pic {
  width: 330px;
  height: 295px;
}

#note-what img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: contain;
}

#note-what .desc {
  width: calc(100% - 380px);
}

#note-what .title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
}

#note-what .title span {
  color: #ef8200;
}

#note-what p {
  margin: 20px 0 30px;
  letter-spacing: -0.5px;
}

#note-what .subtitle {
  color: #003b83;
  display: inline-block;
  padding-left: 60px;
  position: relative;
  font-weight: 700;
}

#note-what .subtitle::before,
#note-what .subtitle::after {
  position: absolute;
  content: "";
  background: #003b83;
  width: 50px;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
}

#note-what .subtitle::before {
  left: 0px;
}

#note-what .subtitle::after {
  right: -60px;
}

#note-what ul {
  display: flex;
  margin: 14px 0 0 20px;
}

#note-what li {
  background: #fbe0bf;
  border-radius: 50px;
  padding: 2px 14px;
  font-weight: 700;
  margin-right: 14px;
}

#note-what li:last-child {
  margin-right: 0px;
}

@media screen and (max-width: 1280px) {

  #note-what h1::before,
  #note-what h1::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 222.7px;
    bottom: 0;
  }

  #note-what h1::before {
    left: -200px;
  }

  #note-what h1::after {
    right: -200px;
  }

  #note-what p {
    margin: 24px 0 24px;
    letter-spacing: -0.5px;
  }

  #note-what .pic {
    width: 300px;
    height: 268.1px;
  }

  #note-what .desc {
    width: calc(100% - 340px);
  }
}

@media screen and (max-width: 767px) {
  #note-what .head {
    height: 88px;
  }

  #note-what .head::after {
    width: 40px;
    height: 21.4px;
    bottom: -21.4px;
  }

  #note-what h1 {
    display: block;
    width: 100%;
    font-size: 4.5vw;
  }

  #note-what h1::before,
  #note-what h1::after {
    content: "";
    position: absolute;
    width: 50.6vw;
    height: 49.8vw;
    bottom: 88px;
  }

  #note-what h1::before {
    left: 0px;
  }

  #note-what h1::after {
    right: 0px;
  }

  #note-what .body {
    padding: 60px 0 0px;
  }

  #note-what .body::before {
    display: none;
  }

  #note-what .wrapper {
    flex-direction: column;
    justify-content: flex-start;
  }

  #note-what .pic {
    width: 60%;
    height: 100%;
    margin: 0 auto;
  }

  #note-what .desc {
    width: 100%;
    padding: 50px 0;
  }

  #note-what .title {
    font-size: 22px;
  }

  #note-what p {
    margin: 30px 0 40px;
  }

  #note-what .subtitle {
    text-align: center;
    width: 100%;
    padding-left: 0px;
  }

  #note-what .subtitle::before {
    left: 0px;
  }

  #note-what .subtitle::after {
    right: 0px;
  }

  #note-what ul {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
    row-gap: 10px;
    margin: 14px 0 0 0px;
  }

  #note-what li {
    margin-right: 0px;
    width: 40%;
    text-align: center;
  }

  #note-what li:last-child {
    margin-right: 0px;
  }
}

@media (orientation: landscape) and (max-width: 767px) {}

/* ===============================================
エンディングノート：こんなご不安は有りませんか？
=============================================== */
#note-worry {
  background: #f7f7f7;
  padding: 90px 0;
  border-top: 2px solid #b4b4b4;
  position: relative;
}

#note-worry::before {
  position: absolute;
  content: "";
  background: url(../images/worry_arrow.png) no-repeat center center/contain;
  width: 84px;
  height: 45px;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
}

#note-worry .title {
  font-size: 40px;
  font-weight: 700;
  padding-left: 90px;
  position: relative;
}

#note-worry .title::before {
  height: 4px;
  width: 70px;
  background: #000;
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

#note-worry ul {
  display: flex;
  justify-content: space-between;
}

#note-worry li {
  width: calc(33% - 20px);
  border: 2px solid #b4b4b4;
  background: #fff;
  border-radius: 7px;
  margin: 40px 0;
  padding: 20px 20px 0 20px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (max-width: 1280px) {
  #note-worry li {
    padding: 20px 10px 0 20px;
  }
}

@media screen and (max-width: 767px) {
  #note-worry {
    padding: 80px 0 40px;
  }

  #note-worry::before {
    background: url(../images/worry_arrow_sp.png) no-repeat center center/contain;
    width: 40px;
    height: 21px;
    bottom: -21px;
  }

  #note-worry .title {
    font-size: 18px;
    padding-left: 40px;
  }

  #note-worry .title::before {
    height: 2px;
    width: 32px;
    background: #000;
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  #note-worry ul {
    flex-direction: column;
    padding: 20px 10%;
  }

  #note-worry li {
    width: 100%;
    margin: 20px 0;
  }
}

/* ===============================================
エンディングノート：ファイナンシャルプランナー
=============================================== */
#note-fp {
  background: #ef8200;
  position: relative;
  padding: 90px 0 0 0;
  border-bottom: 2px solid #fff;
}

#note-fp::after {
  position: absolute;
  content: "";
  background: url(../images/fp_arrow.png) no-repeat center center/contain;
  width: 84px;
  height: 45px;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
}

#note-fp .title {
  font-size: 26px;
  text-align: center;
  line-height: 1.9;
  color: #fff;
}

#note-fp .title span {
  background: #fff;
  color: #ef8200;
  font-size: 32px;
  font-weight: 700;
  padding: 0 24px 0 24px;
  margin-right: 10px;
  position: relative;
}

#note-fp .title span::after {
  position: absolute;
  content: "※";
  color: #ef8200;
  top: 0px;
  font-size: 18px;
  right: 5px;
}

#note-fp .small {
  text-align: right;
  margin-top: 7px;
  color: #fff;
  padding-right: 160px;
  font-size: 14px;
}

#note-fp .visual {
  text-align: center;
  width: 90%;
  margin: 40px auto 0;
  position: relative;
}

#note-fp .visual::before {
  position: absolute;
  content: "";
  background: url(../images/fp_line.png) no-repeat center center/contain;
  width: 867px;
  height: 91px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

#note-fp .visual img {
  width: 100%;
}

#note-fp .container {
  background: #fff;
  width: 95%;
  margin: -2px auto 0;
  position: relative;
}

#note-fp .titlearea {
  padding: 50px 0 0 0;
}

#note-fp .subtitle {
  text-align: center;
  margin: 20px 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

#note-fp .subtitle span {
  color: #75a242;
}

#note-fp ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px 40px;
  margin: 45px 0 2.9vw;
}

#note-fp li {
  width: calc(33% - 10px);
  background: #fff2de;
  margin-bottom: 20px;
  text-align: center;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#note-fp li p {
  font-size: 26px;
  font-weight: 700;
}

#note-fp li .pic {
  width: 180px;
  height: 141.3px;
  margin: 0 auto;
}

#note-fp li .pic--last {
  margin: 0 auto 20px;
}

#note-fp li img {
  width: 100%;
}

@media screen and (max-width: 767px) {
  #note-fp {
    padding: 70px 0 0 0;
  }

  #note-fp::after {
    width: 40px;
    height: 21.4px;
    bottom: -21.4px;
  }

  #note-fp .title {
    font-size: 4.1vw;
    text-align: left;
    line-height: 1.7;
    font-weight: 700;
  }

  #note-fp .title span {
    font-size: 4vw;
    padding: 0 12px 0 3px;
    margin: 10px 5px 10px 0;
    display: inline-block;
    position: relative;
  }

  #note-fp .title span::after {
    position: absolute;
    content: "※";
    color: #ef8200;
    top: 0px;
    font-size: 12px;
    right: 2px;
  }

  #note-fp .small {
    text-align: left;
    font-size: 12px;
    padding-right: 0;
    line-height: 1.4;
  }

  #note-fp .visual {
    width: 100%;
    margin: 60px 0 0 0;
  }

  #note-fp .visual::before {
    width: 100%;
    top: -20px;
  }

  #note-fp .container {
    width: 90%;
  }

  #note-fp .titlearea {
    padding: 40px 0 0 0;
  }

  #note-fp .subtitle {
    font-size: 4.1vw;
  }

  #note-fp ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 0 40px 0;
    margin: 30px 0 5.4vw;
  }

  #note-fp li {
    width: calc(50% - 8px);
    padding: 10px 0 0 0;
  }

  #note-fp li p {
    font-size: 3.6vw;
    line-height: 1.4;
  }

  #note-fp li .pic {
    width: 65%;
    height: auto;
    margin: 0 auto 5px;
  }

}



/* ===============================================
エンディングノート：さらに充実のサポート内容
===============================================*/
#note-plus {
  padding: 75px 0 85px;
  text-align: center;
}

#note-plus .title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

#note-plus .title .top {
  position: relative;
  display: inline-block;
}

#note-plus .title .top::before,
#note-plus .title .top::after {
  position: absolute;
  top: 0.5rem;
  height: 2.4rem;
  content: '';
}


#note-plus .title .top::before {
  border-left: solid 4px;
  left: -20px;
  transform: rotate(-30deg);
}

#note-plus .title .top::after {
  border-right: solid 4px;
  right: -23px;
  transform: rotate(30deg);
}

#note-plus .btm span {
  font-size: 18px;
  vertical-align: super;
  padding-left: 2px;
}

#note-plus ul {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 10px;
}

#note-plus li {
  width: calc(33% - 10px);
  border: 3px solid #b4b4b4;
  border-radius: 7px;
}

#note-plus li p {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0;
}

#note-plus .cap {
  font-size: 14px;
  text-align: right;
}

@media screen and (max-width: 767px) {
  #note-plus {
    padding: 35px 0 45px;
  }

  #note-plus .title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.4;
  }

  #note-plus .title .top::before,
  #note-plus .title .top::after {
    position: absolute;
    top: 0rem;
    height: 1.3rem;
    content: '';
  }

  #note-plus .title .top::before {
    border-left: solid 2px;
    left: -15px;
    transform: rotate(-30deg);
  }

  #note-plus .title .top::after {
    border-right: solid 2px;
    right: -13px;
    transform: rotate(30deg);
  }

  #note-plus .btm {
    position: relative;
  }

  #note-plus .btm span {
    font-size: 14px;
    position: absolute;
    top: -10px;
  }

  #note-plus ul {
    margin: 20px 0 10px;
  }

  #note-plus li {
    width: calc(33% - 5px);
    border: 2px solid #b4b4b4;
    border-radius: 5px;
  }

  #note-plus li p {
    font-size: 2.7vw;
    margin: 7px 0 0 0;
  }

  #note-plus li img {
    width: 100%;
  }

  #note-plus .cap {
    font-size: 3.2vw;
    text-align: right;
  }
}

/* ===============================================
エンディングノート：トライアルパック
=============================================== */
#note-trial {
  padding: 125px 0 90px 0;
  background: #ffefd6;
  border-top: 3px solid #ef8200;
  position: relative;
}

#note-trial::before {
  position: absolute;
  content: "";
  background: url(../images/trial_arrow.png) no-repeat center center/contain;
  width: 84px;
  height: 45px;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

#note-trial .pic {
  margin: 40px 0;
}

#note-trial .pic img {
  width: 100%;
}

@media screen and (max-width: 1280px) {
  #note-trial {
    padding: 125px 5% 90px 5%;
  }
}

@media screen and (max-width: 767px) {
  #note-trial {
    padding: 65px 0 40px 0;
  }

  #note-trial::before {
    background: url(../images/trial_arrow_sp.png) no-repeat center center/contain;
    width: 40px;
    height: 21.4px;
    top: -3px;
  }

  #note-trial .pic {
    margin: 30px 0;
  }
}

/* ===============================================
エンディングノート：お申し込み後の流れ
=============================================== */
#note-flow {
  background-size: auto auto;
  background-color: rgba(239, 239, 239, 1);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 1) 5px, rgba(255, 255, 255, 1) 8px);
  position: relative;
  padding: 110px 0 60px;
}

#note-flow ul {
  max-width: 738px;
  margin: 65px auto;
}

#note-flow li {
  display: flex;
  align-items: center;
  height: 100px;
  width: 100%;
  margin-bottom: 80px;
  position: relative;
}

#note-flow li::after {
  position: absolute;
  content: "";
  background: url(../images/flow_arrow.png) no-repeat center center/contain;
  width: 40px;
  height: 50.5px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -60px;
}

#note-flow li:last-child:after {
  display: none;
}

#note-flow li .num {
  background: #ef8200;
  font-family: "Outfit",
    sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 74px;
  width: 100px;
  height: 100%;
  display: grid;
  place-content: center;
  color: #fff;
}

#note-flow li p {
  background: #fff;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  padding-left: 24px;
}

#note-flow .pic {
  position: absolute;
  right: -50px;
}

@media screen and (max-width: 767px) {
  #note-flow {
    padding: 70px 0 25px;
  }

  #note-flow ul {
    max-width: 738px;
    margin: 35px auto;
  }

  #note-flow li {
    height: 102px;
    margin-bottom: 50px;
  }

  #note-flow li::after {
    width: 28px;
    height: 35px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -35px;
  }

  #note-flow li .num {
    font-size: 28px;
    width: 35px;
  }

  #note-flow li p {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 16px;
  }

  #note-flow .pic {
    display: none;
  }

}

@media screen and (max-width: 400px) {
  #note-flow li p {
    font-size: 3.9vw;
  }
}

/* ===============================================
エンディングノート：お申込みはこちら
=============================================== */
#note-form {
  background: #ef8200;
  position: relative;
}

#note-form .container {
  max-width: 803px;
  margin: 0 auto;
  height: 100%;
  position: relative;
  padding: 80px 0;
}

#note-form .container::before,
#note-form .container::after {
  position: absolute;
  content: "";
  width: 252px;
  height: 243.8px;
  bottom: 0;
}

#note-form .container::before {
  background: url(../images/head_01.png) no-repeat center center/contain;
  left: -140px;
}

#note-form .container::after {
  background: url(../images/head_02.png) no-repeat center center/contain;
  right: -140px;
}

#note-form .contents {
  background: url(../images/form_bg.png) no-repeat center center/contain;
  height: 398px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px;
}

#note-form .title {
  font-size: 32px;
  font-weight: 900;
  position: relative;
}

#note-form .title span {
  background: linear-gradient(180deg, #fff, #fff 75%, #ffff00 75%, #ffff00 100%);
  display: inline-block;
}

#note-form .title::after {
  position: absolute;
  content: "";
  background: url(../images/form_pen.png) no-repeat center center/contain;
  width: 79px;
  height: 105px;
  top: -20px;
  right: -90px;
}

#note-form .btn {
  width: 570px;
  height: 85px;
  margin: 40px 0;
}

#note-form .btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: #e60012;
  border: 3px solid transparent;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 85px;
  text-align: center;
  transition: .3s;
}

#note-form .btn a:hover,
#note-form .btn a:active {
  transition: .3s;
  opacity: .6;
}

#note-form .btn img {
  width: 47px;
  height: 47px;
  object-fit: contain;
  padding-left: 10px;
}

#note-form .wrapper {
  display: flex;
  column-gap: 30px;
}

#note-form .wrapper a {
  display: flex;
  align-items: center;
  transition: .3s;
  border-bottom: 1px solid #000;
  line-height: 1.5;
}

#note-form .wrapper a:hover,
#note-form .wrapper a:active {
  opacity: .6;
  transition: .3s;
}

#note-form .wrapper a img {
  width: 18px;
  object-fit: contain;
  padding-left: 10px;
}

@media screen and (max-width: 1280px) {
  #note-form .container::before {
    left: -100px;
  }

  #note-form .container::after {
    right: -100px;
  }
}

@media screen and (max-width: 767px) {
  #note-form .container {
    max-width: 100%;
    padding: 60px 5% 90px;
    overflow: hidden;
  }

  #note-form .container::before,
  #note-form .container::after {
    position: absolute;
    content: "";
    width: 139px;
    height: 134px;
    bottom: 0;
  }

  #note-form .container::before {
    left: -20px;
  }

  #note-form .container::after {
    right: -20px;
  }

  #note-form .contents {
    background: url(../images/form_bg_sp.png) no-repeat center center/contain;
    height: 260px;
    padding: 30px;
  }

  #note-form .title {
    font-size: 22px;
    text-align: center;
  }

  #note-form .title::after {
    display: none;
  }

  #note-form .btn {
    width: 276px;
    height: 51px;
    margin: 10px 0 15px;
  }

  #note-form .btn a {
    color: #fff;
    font-size: 22px;
    line-height: 51px;
  }

  #note-form .btn img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    padding-left: 10px;
  }

  #note-form .wrapper {
    flex-direction: column;
    column-gap: 0px;
    row-gap: 5px;
  }

  #note-form .wrapper a {
    text-decoration: none;
    text-underline-offset: 5px;
    display: flex;
    align-items: center;
    transition: .3s;
    font-size: 12px;
    width: 100%;
  }

  #note-form .wrapper a {
    width: 100%;
    justify-content: space-between;
  }

  #note-form .wrapper a img {
    width: 16px;
    object-fit: contain;
    padding-left: 10px;
  }
}

/* ===============================================
エンディングノート：さいごまで安心サービスサイト
=============================================== */
#note-link {
  padding: 60px 0 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#note-link p {
  font-size: 30px;
  color: #75a242;
  font-weight: 700;
}

#note-link .btn {
  width: 515px;
  height: 67px;
  margin: 30px 0;
}

#note-link .btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: #75a242;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 67px;
  text-align: center;
  transition: .3s;
}

#note-link .btn a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding-left: 10px;
}

#note-link .btn a:hover,
#note-link .btn a:active {
  transition: .3s;
  opacity: .6;
}

@media screen and (max-width: 767px) {
  #note-link {
    padding: 40px 0 25px;
    width: 100%;
  }

  #note-link p {
    font-size: 18px;
  }

  #note-link .btn {
    width: 90%;
    height: 45px;
  }

  #note-link .btn a {
    font-size: 16px;
  }

  #note-link .btn a img {
    width: 32px;
    height: 32px;
  }
}

/* ===============================================
エンディングノート：フッター
=============================================== */
#note-footer {
  border-top: 3px solid #b4b4b4;
  padding: 40px 0 0;
}

#note-footer .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#note-footer .wrapper .pic a {
  transition: .3s;
}

#note-footer .wrapper .pic a:hover,
#note-footer .wrapper .pic a:active {
  transition: .3s;
  opacity: .6;
}

@media screen and (max-width: 767px) {
  #note-footer {
    border-top: 2px solid #b4b4b4;
    font-size: 3vw;
    padding: 30px 0;
    margin-bottom: 60px;
  }
}

/* ===============================================
エンディングノート：お申込みはこちらから
=============================================== */
#note-contact {
  width: 60px;
  height: 277px;
  position: fixed;
  right: 0;
  top: 22%;
}

#note-contact a {
  background: #e60012;
  color: #fff;
  border-radius: 7px 0 0 7px;
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #fff;
  border-right: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: .3s;
}

#note-contact a:hover,
#note-contact a:active {
  background: #ff5e6c;
  transition: .3s;
}

#note-contact p {
  font-size: 18px;
  writing-mode: vertical-lr;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
}

#note-contact p img {
  display: none;
}

@media screen and (max-width: 767px) {
  #note-contact {
    width: 100%;
    height: 60px;
    top: auto;
    bottom: 0;
  }

  #note-contact a {
    border-radius: 0px 0px 0 0px;
    border: 0px solid #fff;
  }

  #note-contact p {
    font-size: 20px;
    writing-mode: inherit;
    display: flex;
    align-items: center;
  }

  #note-contact p img {
    display: block;
    width: 28px;
    height: 28px;
    padding-left: 5px;
    object-fit: contain;
  }
}