html, body {
  color: #333333;
  background-color: #FFFCF2;
  font-size: 14px;
  font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","Osaka","ＭＳ Ｐゴシック",sans-serif;
  margin:0 auto;
  overflow-x: hidden;

  background-image: url("../images/67032c843853be1deace0f55.png");
  background-repeat: no-repeat;
  background-position: bottom;
}
header, main, footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
}
.wrapper{
  position: relative;
  box-sizing: border-box;
  min-height: 100vh;
  padding-bottom: 28px;
}

button {
  font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","Osaka","ＭＳ Ｐゴシック",sans-serif;
  cursor: pointer;
  user-select: none;
}

/* ヘッダー　ロゴ・ナビゲーション */
.header-logo-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
  width: 100%;
  max-width: 1170px;
  border-bottom: 1px solid #FFE3C4;
  margin-top: 10px;
  margin-bottom: 20px;
}
.header-wrapper-sp {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.logout-button-sp {
  display: none;
  justify-content: end;
  align-items: center;
  white-space: nowrap;
  color: #4E4E4E;
  font-size: 12px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  background-color: #FFFCF2;
  padding: 4px 12px;
  gap: 6px;
}
.logout-button-sp:hover {
  background-color: #FDF6E7;
}
.nav {
  display: flex;
  flex-direction: column;
  align-items: end;
  padding-bottom: 17px;
}
.logout-button {
  display: flex;
  justify-content: end;
  align-items: center;
  color: #4E4E4E;
  font-size: 12px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  background-color: #FFFCF2;
  padding: 4px 12px;
  margin-bottom: 10px;
  gap: 6px;
}
.logout-button:hover {
  background-color: #FDF6E7;
}
.nav-contents {
  list-style: none;
  padding-left: 0;
  display: flex;
  margin: 0;
  gap: 20px;
}
.nav-contents-item {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  color: #4E4E4E;
  font-size: 15px;
  font-weight: bold;
  padding: 8px 14px;
  border: none;
  border-radius: 27px;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.nav-contents-item:hover {
  background-color: #FCEDD0;
}
.nav-contents-item.active {
  background-color: #FCEDD0;
}
/* .nav {
  width: 100%;
  max-width: 1170px;
  padding: 0;
  margin-bottom: 20px;
}
.nav-contents {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  min-height: 36px;
}
.nav-contents-item {
  width: 25%;
  text-align: center;
  background: #EC8D31;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.nav-contents-item:hover {
  background: #F2B375 0% 0% no-repeat padding-box;
}
.nav-contents-item::after {
  content: "";
  width: 1px;
  height: 20px;
  background-color: #CC5F00;
  position: absolute;
  right: 0;
}
.nav-contents-item.active {
  background: #F2B375 0% 0% no-repeat padding-box;
} */



/* 吹き出しアイコン */
.contents-list-icon {
  box-sizing: border-box;
  width: 100%;
  max-width: 1170px;
  margin-bottom: 10px;
}
.contents-list-icon-main {
  box-sizing: border-box;
  text-align: center;
  min-height: 60px;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  color: #FFFFFF;
  background: #FFB631 0% 0% no-repeat padding-box;
  padding: 12px 20px;
}
.contents-list-icon-tri {
  margin:0 auto;
  width: 15px;
  height: calc(15px / 2 * tan(60deg));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: #FFB631 0% 0% no-repeat padding-box;
}



/* モーダル */
.modal-message-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 3000;
}
.modal-message {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 30%;
  left: 50%;
  width: calc(100% - 40px);
  max-width: 500px;
  min-height: 180px;
  transform: translate(-50%, -50%);
  background-color: #FFFFFF;
  border-radius: 10px;
  z-index: 3001;
}
.modal-message-header {
  display: flex;
  justify-content: flex-end;
}
.modal-message-close {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  margin-right: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.modal-message-close img {
  width: 48px;
  height: 48px;
}
.modal-message-text {
  display: flex;
  justify-content: center;
  text-align: center;
  margin:20px 20px 40px 20px;
}
.modal-message-ok {
  align-self: center;
  width: calc(100% - 20px);
  max-width: 135px;
  height: 40px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  background-color: #EB7E15;
  border: none;
  border-radius: 4px;
  margin-bottom: 20px;
  cursor: pointer;
}
.modal-message-ok:hover {
  background-color: #E37409;
}



/* フッター */
.footer-copylight {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 28px;
  background: #F7E0AC 0% 0% no-repeat padding-box;
  font-size: 12px;
  box-sizing: border-box;
  padding: 4px;
  font-family: "Meiryo";
}

footer {
  display: flex;
  align-items: center;
  height: 100%;
}
.footer-separator-line {
  width: 100%;
  max-width: 1170px;
  height: 1px;
  background: #ffe3c4 0% 0% no-repeat padding-box;
  margin-top: 40px;
}
.footer-pagetop-button {
  margin-top: 20px;
}
.footer-contents {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1170px;
}
.footer-contents-logo img {
  width: 100%;
  max-width: 500px;
  height: auto;
}
.footer-contents-nav-list {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding-left: 0;
  width: 100%;
  margin-top: 20px;
  margin-left: 20px;
}
.footer-contents-nav-list-items {
  display: flex;
  min-width: 150px;
  font-size: 11px;
  height: 25px;
  position: relative;
}
.arrow {
  background: url("../images/footer29-orange.png") no-repeat left 5px;
  width: 15px;
  height: auto;
  cursor: pointer;
}
.arrow:hover + span {
  color: #ff7802;
}
.footer-contents-nav-list-items span {
  display: inline-block;
  cursor: pointer;
  padding-top: 2px;
  padding-left: 3px;
}
.footer-contents-nav-list-items span:hover {
  color: #ff7802;
}
.footer-contents-personalinfo {
  font-size: 11px;
  margin-top: 10px;
  color: #ff7802;
  margin-top: 30px;
  margin-left: 20px;
}
.footer-contents-personalinfo span:hover {
  color: #999999;
  cursor : pointer;
}
.footer-img {
  height: 130px;
}

/* 記事詳細 */
.content-article {
  width: 100%;
  padding-bottom: 60px;
}
.content-article-img {
  width: auto;
  max-width: 720px;
  height: auto;
}
.article-img {
  width: 100%;
  height: auto;
}
.content-article-text {
  width: 100%;
  font-size: 16px;
  margin-top: 20px;
}
.content-article h2 {
  width: 100%;
  text-align: start;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  background-color: #FDF6E7;
  border-left: 4px solid #EC8D31;
  box-sizing: border-box;
  padding: 15px;
  margin-top: 20px;
  margin-bottom: 0px;
}
.content-article h3 {
  width: 100%;
  text-align: start;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  border-bottom: 2px solid #DCD9CC;
  box-sizing: border-box;
  padding: 8px 15px;
  margin-top: 20px;
  margin-bottom: 0px;
}
.content-article h4 {
  width: 100%;
  text-align: start;
  vertical-align: middle;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  background-image: url("/server/necs/images/h4_icon.png");
  background-repeat: no-repeat;
  background-position: center left;
  box-sizing: border-box;
  padding: 8px 15px;
  margin-top: 20px;
  margin-bottom: 0px;
}

.image-float-left {
  float: left;
  margin-right: 16px;
  width: fit-content;
}

.image-float-right {
  float: right;
  margin-left: 16px;
  width: fit-content;
}

.float-image {
  width: 325px;
  height: auto;
  object-fit: cover;
}

.content-article p {
  margin: 0px;
}

/* 画面幅767px以下で画像の下にテキストを配置 */
@media (max-width: 767px) {
  .content-article-img {
    width: auto;
    max-width: 100%;
    height: auto;
  }

  .image-float-left {
    margin: 0;
    float: none !important; /* 画像を上に */
  }

  .image-float-right {
    margin: 0;
    float: none !important; /* 画像を上に */
  }

  .float-image {
    width: 100%;
    max-width: 100%;
  }
}

/* 画面幅580px以下で見出しのフォントサイズを小さく */
@media (max-width: 580px) {
  .content-article h2 {
    font-size: 20px;
  }
  .content-article h3 {
    font-size: 18px;
  }
}

/* パスワードの目アイコン */
.password-wrapper {
  position: relative;
  width: 100%;
}
.password-wrapper .toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}
.password-wrapper.with-bottorm-margin .toggle-password {
  top: 35%;
}
.password-wrapper.with-right-margin .toggle-password {
  right: 20px;
}
.password-wrapper #password {
  padding-right: 36px;
}
.input-as-text {
    border: none;
    background: transparent;
    outline: none;
    color: inherit;
    font: inherit;
    box-shadow: none;
    width: calc(100% - 36px);
    padding: 0 36px 0 0;
}
/* edgeブラウザの目アイコンを非表示 */
input[type="password"]::-ms-reveal {
  display: none;
}
input[type="password"]::-ms-clear {
  display: none;
}