@media only screen and (max-width: 768px) {
    .mainimage {
        padding-top: 20px;
    }
}

@media only screen and (max-width: 391px) {
    .mainimage p {
        font-size: 20px !important;
        height: 31.5px;
    }
}
body {
  font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Arial", sans-serif;
  -webkit-font-smoothing: antialiased;
}


/* ===============================
   基本テーブルスタイル
   =============================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  line-height: 2;
  padding: 0 20 20 0px;
}

/* ===============================
   .simple-table 用のスタイル
   =============================== */
.simple-table {
  border-collapse: collapse;
  width: 80%;
  margin-right: 10%;
  margin-left: 10%;
  height: auto;
  border: 1px solid #5c5c5c;
}
.simple-table th {
  background: #eee;
}
.simple-table th,
.simple-table td {
  text-align: center;
  padding: 1%;
  border: 1px solid #5c5c5c;
}

/* ===============================
   .ptn3clm / .ptn2clm 用のスタイル
   =============================== */
.ptn3clm {
  table-layout: fixed;
  width: 100%;
  margin-bottom: 30px;
}
.ptn3clm th {
  border-bottom: 1px solid #ccc;
  font-weight: normal;
}
.ptn3clm td,
.ptn2clm td,
.ptn3clm th {
  padding: 5px;
}
.ptn2clm {
  width: 100%;
  margin-bottom: 30px;
}
.ptn2clm tr td:nth-of-type(1) {
  width: 40%;
}

/* ===============================
   .recreation テーブル
   =============================== */
.recreation {
  margin-bottom: 30px;
}
.recreation table {
  width: 90%;
  margin: 0 auto;
}
.recreation table td {
  padding: 5px 10px;
}
.recreation table tr:nth-child(even) {
  background: #efefef;
}

/* ===============================
   .contents_table セクション
   =============================== */
.contents_table {
  margin: 0 auto;
  margin-top: 30px;
}
.contents_table .contents_table_row {
  border-top: 1px dashed #ccc;
}
.contents_table .contents_table_row:first-child {
  border-top: 0;
}
.contents_table .contents_table_row:nth-child(odd) {
  background: #fbf7f4;
}
.contents_table th {
  display: block;
  padding: 10px 10px 0 10px;
  text-align: left;
  white-space: nowrap;
  color: #f172a3;
  font-size: 17px;
  font-weight: bold;
}
.contents_table td {
  display: block;
  padding: 10px 10px 10px 10px;
}
.contents_table td .thumbnail {
  margin-bottom: 2em;
}
.contents_table td .thumbnail .text br {
  display: none;
}
.contents_table td .thumbnail .pic img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 300px;
  margin: 0 auto;
}

/* ===============================
   .nostyle_table 内部用
   =============================== */
.contents_table .nostyle_table th,
.contents_table .nostyle_table td {
  font-size: 100%;
  margin: 0;
  padding: 0;
}
.contents_table .nostyle_table th {
  width: 5em;
}

/* ===============================
   テキスト装飾
   =============================== */
.text_underline {
  text-decoration: underline;
}
.text_underline_wavy {
  text-decoration: underline wavy;
}
.link_icon {
  position: relative;
  padding: 0 0 0 1.5em;
}
.text_indent > *:not(.text_indent) {
    text-indent: 0;
}
.text_underline {
    text-decoration: underline;
}
.text_strong {
    font-weight: bold !important;
}
.text_link {
    text-decoration: underline;
    color: #f172a3;
    font-weight: bold;
    position: relative;
    padding: 0 0 0 1.2em;
    display: inline-block;
    vertical-align: top;
    text-indent: 0;
}
.text_indent {
    text-indent: -1em;
    padding-left: 1em;
    display: block;
}
/* ===============================
   .download_table セクション
   =============================== */
.download_table {
  display: table;
  border: 1px solid #e8e8e8;
  margin-bottom: 10px;
  width: 100%;
  table-layout: fixed;
  margin-top: 20px;
}
.download_table_row {
  display: table-row;
}
.download_table_head,
.download_table_text {
  display: table-cell;
  vertical-align: middle;
  border: 1px solid #e8e8e8;
  padding: 10px 10px;
}
.download_table_head_type2 {
  width: 10em;
}
.download_table_img {
  width: 40px;
  display: block;
  margin: 0 auto;
}
.download_table_img a:hover {
  opacity: .7;
}
.download_table_img img {
  width: 100%;
  height: auto;
}
thead .download_table_head {
  background: #538fde;
  color: #fff;
}
.download_table_head {
  color: #f172a3;
  background: #fbf7f4;
  font-weight: bold;
}
.download_table_text {
  text-align: center;
}

/* ===============================
   .table_document_box セクション
   =============================== */
.table_document_box {
  border: 1px solid #2d2d2d;
  padding: 20px;
  margin: 20px 0;
  position: relative;
}

.table_document_box .table_document_title {
  background: #fff;
  position: absolute;
  top: -10px;
  display: inline-block;
  padding: 0 10px;
  font-size: 100%;
  font-weight: bold;
}

.contents_table_row:nth-child(odd) .table_document_box .table_document_title {
  background: #f8c5c8;
}

@media screen and (max-width: 768px) {
    .table_document_box .table_document_title {
        top: -30px; /* PCでは -10px、スマホでは -30px（=20px上に移動） */
    }
	.table_document_box {
        margin-top: 50px;
    }
}


/* ===============================
   .table_flow_box セクション
   =============================== */
.table_flow_box {
  margin-top: 20px;
}
.table_flow_box:first-child {
  margin-top: 0px;
}
.table_flow_box dt {
  color: #fff;
  padding: 5px 10px;
  background: #f8c5c8;
  display: block;
  text-align: center;
  vertical-align: top;
  position: relative;
}
.table_flow_box dt:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: -15px;
  border-top: 10px solid #f172a3;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  width: 0;
  height: 0;
  margin: auto;
}
.table_flow_box:first-child dt:after {
  display: none;
}
.table_flow_box dd {
  max-width: 100%;
  width: 100%;
  display: inline-block;
  vertical-align: top;
  padding: 5px 10px 5px 10px;
}

/* ===============================
   レスポンシブ対応
   =============================== */
@media (min-width: 640px) {
  .contents_table th,
  .contents_table td {
    display: table-cell;
    padding: 10 25px;
  }

  .column_4 {
    width: 23%;
  }
  .column_3 {
    width: 31.3333%;
  }
  .column_2 {
    width: 48%;
  }

  .table_flow_box dt {
    width: 7.5em;
    display: inline-block;
  }
  .table_flow_box dt br {
    display: block;
  }
  .table_flow_box dd {
    max-width: calc(100% - 7.5em);
    padding: 5px 0px 5px 20px;
  }

  .corp_list .column_3 {
    width: 48%;
    margin: 2% 1%;
  }
  .corp_list .column_3:nth-child(-n+3) {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .contents_table td .thumbnail .text,
  .contents_table td .thumbnail .pic {
    display: inline-block;
    vertical-align: top;
  }
  .contents_table td .thumbnail .text br {
    display: block;
  }
  .contents_table td .thumbnail .pic {
    margin-left: 2%;
    width: 26%;
  }
}

@media (min-width: 900px) {
  .corp_list .column_3 {
    width: 29.3333%;
  }
  .corp_list .is--widelogo img {
    max-width: 100%;
    height: auto;
  }
}

@media (min-width: 960px) {
  .contents_table td .thumbnail .pic {
    margin-left: 2%;
    width: 39%;
  }

  .is--table {
    display: table;
    margin: auto;
  }
  .is--table-text {
    text-align: left;
    padding-left: .5em;
  }
}

@media (max-width: 640px) {
  .download_table_head_type2 {
    display: none;
  }
  .download_table_head .is--pcnone {
    display: block;
    font-size: 12px;
  }
	
}
.contents_list li {
    margin-top: 0.5em;
}
.liststyle_decimal {
    padding-left: 2.5em;
    counter-reset: wpp-ranking;
}
.liststyle_decimal li:before {
  content: counter(wpp-ranking,decimal);
  counter-increment: wpp-ranking;
  position: absolute;
  top: 0;
  left: -2em;
  background: #f172a3;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.6;
  text-align: center;
  color: #fff;
  box-shadow: 0px 0px 0px 3px #fff;
}

.liststyle_flow li {
  position: relative;
  margin-top: 1.5em;
  z-index: 1;
}
.liststyle_flow li:last-child .liststyle_flow_base:after, .liststyle_flow li:last-child .liststyle_flow_base:before {
  display: none;
}
.liststyle_flow li .liststyle_flow_base:before {
  content: "";
  position: absolute;
  left: -22px;
  top: 0;
  width: 6px;
  height: calc(100% + .7em);
  background: #f8c5c8;
  z-index: -1;
}
.liststyle_flow li .liststyle_flow_base:after {
  content: "";
  display: block;
  position: absolute;
  left: -27px;
  bottom: -0.9em;
  border-top: 10px solid #f8c5c8;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  width: 0;
  height: 0;
  margin: auto;
}

.text_attention {
    border: 1px red solid;
    color: red;
    padding: .25em .5em;
    background: #fff;
    display: inline-block;
}

.text_attention_black {
    border: 1px black solid;
    font-weight: bold;
    box-sizing: border-box;
    padding: .25em .5em;
    background: #fff;
    display: inline-block;
}
.contents_list li {
    margin-top: 1em;
}
.text_link:before {
    content: "";
    display: block;
    position: absolute;
    width: 1em;
    height: 1.2em;
    top: .3em;
    left: 0;
    background: url('/asset/front/images/photo/triangle_pink.png') no-repeat;
    background-size: 100% auto;
}

body {
    font-size: 15px;
    min-width: 320px;
    letter-spacing: 0.05em;
    line-height: 1.8;
}
.schedule_body {
    position: relative;
    background: #fbf7f4;
    padding: 20px 40px;
	margin-top: 30px;
}
.accordion_list li {
  border-top: 1px dashed;
}
.accordion_list li:first-child {
  border-top: 0;
}

.accordion-title {
  font-size: 16px;
  padding: 1em 1em 1em calc(1em + 27px);
  cursor: pointer;
  transition: all 200ms;
  text-indent: -27px;
  margin-top: 30px;
}
.accordion-title:hover {
  background: #f1faff;
}
.accordion-title.is--open {
  background: #f1faff;
  font-weight: bold;
}
.accordion-title span {
  transition: all 200ms;
}

.accordion-title-icon {
  font-weight: bold;
  font-size: 22px;
  color: #538fde;
  margin-right: 5px;
  line-height: 1;
}

.accordion-text-icon {
  font-weight: bold;
  font-size: 22px;
  color: #de5353;
  margin-right: 5px;
  line-height: 1;
}

.accordion-text {
  display: none;
  background: #FFF1F2;
}
.accordion-text p {
  padding: 1em 1em 1em calc(1em + 22px + 27px);
  margin-bottom: 0;
  text-indent: -27px;
  font-size: 14px;
  border-top: 1px solid #ccc;
}
.accordion-content {
  display: none;
  background: #f6faff;
  padding: 31px 20px;
  position: relative;
  box-shadow: 2px 2px 2px #dfe4ea inset, -2px -2px 2px #dfe4ea inset;
  z-index: 1;
  margin-left: -2em;
  width: calc(100% + 4em);
}

.result-accordion-body img {
  max-width: 600px;
}
.accordion-close {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 50px;
  height: 50px;
  background: #538fde;
  transition: all .2s ease-in-out;
  cursor: pointer;
}
.accordion-close::before {
  content: "";
  display: block;
  position: absolute;
  top: 14px;
  left: 23px;
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
  transition: background .2s ease-in-out;
  transform: rotate(-45deg);
}
.accordion-close::after {
  content: "";
  display: block;
  position: absolute;
  top: 14px;
  left: 23px;
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
  transition: background .2s ease-in-out;
  transform: rotate(45deg);
}
.accordion-close:hover {
  background: none;
}
.accordion-close:hover::before, .accordion-close:hover::after {
  background: #538fde;
}
.caution_body {
    padding: 30px;
    background: #fbf7f4;
	margin-top: 30px;
}
.caution_section {
  margin-top: 2.5em;
}

.caution_title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: .5em;
  color: #f172a3;
}

.field .caution_text {
  font-size: 100%;
  margin-top: .5em;
}
.field .caution_text:first-child {
  margin-top: 0;
}

.caution_item {
  padding-left: 1em;
  position: relative;
  margin-top: 1.5em;
  line-height: 1.8;
}
.caution_item:first-child {
  margin-top: 0;
}
.caution_item:before {
  content: "";
  display: block;
  position: absolute;
  top: .6em;
  left: 0;
  margin: auto;
  width: .5em;
  height: .5em;
  background: #f172a3;
  border-radius: 5px;
}
.text_strong_red span {
    display: inline-block;
    position: relative;
    z-index: 1;
    font-weight: bold;
    color: #de0011;
	margin-top: 20px;
}
@media (min-width: 640px) {
    .text_strong_red span::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 50%;
        background: #fcff4a;
        z-index: -1;
    }
}
.field .caution_intro {
    font-size: 100%;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 1em;
}
.text_small {
    font-size: 80%;
}
.bnr_list {
  display: flex;
  gap: 75px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}
.bnr_item.only-img {
  position: relative;
  overflow: hidden; /* 擬似要素がはみ出さないように */
}

.bnr_item.only-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)); /* 白い半透明グラデーション */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* クリックを邪魔しないように */
}

.bnr_item.only-img:hover::before {
  opacity: 1;
}

.schedule_minpop {
  position: relative;
  width: 100%;
  height: auto;
}

.schedule_minpop img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 180px;
  height: auto;
  z-index: 10;
}

@media (max-width: 767px) {
  .schedule_minpop {
    position: relative;
    margin: 20px auto 0;
    display: block;
    text-align: center;
  }

  .schedule_minpop img {
    position: static; /* absoluteを解除 */
    display: inline-block;
    width: 150px;
    z-index: auto;
  }
}

.prize {
  color: #f172a3;
  font-weight: bold;
}
.prize_type {
  font-weight: bold;
}
@media (max-width: 767px) {
  .bnr_list {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }

  .bnr_item.only-img img {
    width: 100%;
    max-width: 320px; /* スマホで見やすいサイズに調整 */
  }
}

h2.ttlCenter {
    margin-bottom: 40px;
    align-items: center;
    background-color: #fff;
    border: 1px solid #614a3f;
    border-radius: 50px;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    justify-content: center;
    padding: 5px 60px;
    position: relative;
    color: #614a3f;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    font-family: "HiraginoKakuGothicPro-W6", Helvetica;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
}

/* スマホ向けにさらに調整 */
@media (max-width: 768px) {
    h2.ttlCenter {
        font-size: 18px;
        padding: 10px 20px;
    }
}

.photo-wrapper {
    display: flex;
    justify-content: center;
}

h1.photo {
    margin-top: 70px;
	text-align: left;
    color: #614a3f;
    font-size: 36px;
    font-weight: 600;
    font-family: "HiraginoKakuGothicPro-W6", Helvetica !important;
    max-width: 90%;
}

/* スマホ向け（画面幅が768px以下） */
@media (max-width: 768px) {
    h1.photo {
        font-size: 24px;
    }
}
@media screen and (max-width: 768px) {
    section.detail.field.clearfix::after {
        content: none;
        display: none;
    }
}
section.detail.field {
  width: 100%;
  max-width: 1088px;
  margin: 70px auto;
  padding: 0 15px; /* スマホ用に左右に余白を足す場合 */
}

@media (max-width: 767px) {
  section.detail.field {
    margin-bottom: 20px; /* 必要に応じて調整 */
  }
}
section.application.field {
  width: 100%;
  max-width: 1088px;
  margin: auto;
  padding: 0 15px; /* スマホ用に左右に余白を足す場合 */
}

@media (max-width: 767px) {
  section.application.field {
    margin-bottom: 50px; /* 必要に応じて調整 */
  }
}
section.reward.field {
  width: 100%;
  max-width: 1088px;
  margin: 70px auto;
  padding: 0 15px; /* スマホ用に左右に余白を足す場合 */
}

@media (max-width: 767px) {
  section.reward.field {
    margin-bottom: 20px; /* 必要に応じて調整 */
  }
}
section.schedule.field {
  width: 100%;
  max-width: 1088px;
  margin: 70px auto;
  padding: 0 15px; /* スマホ用に左右に余白を足す場合 */
}

@media (max-width: 767px) {
  section.schedule.field {
    margin-bottom: 20px; /* 必要に応じて調整 */
  }
}
section.faq.field {
  width: 100%;
  max-width: 1088px;
  margin: 70px auto;
  padding: 0 15px; /* スマホ用に左右に余白を足す場合 */
}

@media (max-width: 767px) {
  section.faq.field {
    margin-bottom: 20px; /* 必要に応じて調整 */
  }
}
section.document.field {
  width: 100%;
  max-width: 1088px;
  margin: 70px auto;
  padding: 0 15px; /* スマホ用に左右に余白を足す場合 */
}

@media (max-width: 767px) {
  section.document.field {
    margin-bottom: 20px; /* 必要に応じて調整 */
  }
}
section.attention.field {
  width: 100%;
  max-width: 1088px;
  margin: 70px auto;
  padding: 0 15px; /* スマホ用に左右に余白を足す場合 */
}

@media (max-width: 767px) {
  section.attention.field {
    margin-bottom: 40px; /* 必要に応じて調整 */
  }
}