@charset "utf-8";

:root {
    --primary: #FF5A00;
    --primary-hover: #FF7A33;
    --accent: #FFD700;
    --bg-color: #FFF8F0;
    --text-main: #333333;
    --text-white: #FFFFFF;
    --border-radius: 16px;
    --shadow-soft: 0 4px 20px rgba(255, 90, 0, 0.15);
    --shadow-hard: 4px 4px 0px rgba(255, 90, 0, 0.2);
    --font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

main {
    font-family: var(--font-family);
    font-size: 15px;
    background-color: var(--bg-color);
    background-image: radial-gradient(#FF5A00 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--text-main);
    line-height: 1.8;
}

a {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* レイアウト */
.cp-oshilist {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 14px;
    box-sizing: border-box;
}

.cp-oshilist__background {
    width: 100%;
    overflow: hidden;
    padding-bottom: 60px;
}

/* セクション共通 */
.cp-introduction,
.cp-how-to,
.cp-awards,
.cp-period,
.cp-call-to-action,
.cp-share-campaign,
.cp-end {
    max-width: 800px;
    width: 100%;
    background-color: var(--text-white);
    border-radius: var(--border-radius);
    padding: 24px 16px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
    border: 2px solid #FFF0E0;
    position: relative;
    overflow: hidden;
}

/* 賞のセクション */
.cp-awards__intro {
    margin-bottom: 20px;
}

/* TOP */
.cp-hero {
    margin-top: 40px;
    text-align: center;
    max-width: 800px;
    width: 100%;
    background-color: var(--text-white);
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
    border: 2px solid #FFF0E0;
    position: relative;
    overflow: hidden;
}
.cp-hero__kv {
    margin-bottom: 24px;
}

.cp-hero__kv img {
    max-width: 100%;
    height: auto;
}
.cp-hero__kv {
    margin-bottom: 24px;
}

.cp-schedule {
    border-radius: 12px;
    padding: 20px;
    display: inline-block;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

.cp-schedule__item {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
}
.cp-schedule__item:last-child {
    margin-bottom: 0;
}
.cp-schedule__label {
    font-weight: bold;
    color: var(--primary);
    text-align: left;
    min-width: 0;
    padding-right: 0;
    display: block;
    margin-bottom: 6px;
}
.cp-schedule__value {
    text-align: left;
}

/* イントロダクション */
.cp-intro__title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    width: 100%;
    text-spacing-trim: trim-start;
}
.cp-intro__title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.cp-intro__text {
    font-size: 16px;
    margin-bottom: 32px;
}

.cp-intro__desc-text {
    margin-bottom: 30px;
}

.cp-intro__image {
    margin: 0 auto 32px;
    overflow: hidden;
}

.cp-intro__feature {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 100%);
    border-radius: var(--border-radius);
    padding: 24px;
    border-left: 6px solid var(--primary);
}

.cp-feature__title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 12px;
}

.cp-feature__text {
    margin-bottom: 14px;
}

.cp-feature__link {
    margin-bottom: 14px;
    margin-left: 5px;
}

.cp-feature__link a {
    color: #0048B4;
    font-weight: bold;
}
.cp-feature__link a:hover {
    border-bottom: 2px solid #0048B4;
}

/* 利用方法 */
.cp-how__step {
    display: flex;
    background: #FFFFFF;
    border: 2px solid #F0F0F0;
    border-radius: var(--border-radius);
    padding: 24px;
    align-items: center;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s;
}

.cp-step__number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-right: 0;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.cp-step__content {
    width: 100%;
    text-align: left;
}

.cp-step-arrow {
    text-align: center;
    font-size: 32px;
    color: var(--primary);
    font-weight: bold;
}
.cp-sub-attention__text {
    font-size: 11px;
    color: #777777;
    line-height: 1.2rem;
    display: inline-block;
}

.cp-how__complete {
    padding: 12px;
    border-radius: var(--border-radius);
    text-align: left;
    margin-top: 10px;
}

/* ボタン */
.cp-btn-area {
    text-align: center;
    margin: 32px 0 0;
    width: 100%;
}

.cp-btn--primary a {
    display: inline-block;
    background: var(--primary);
    color: #FFFFFF;
    font-weight: bold;
    font-size: 14px;
    padding: 16px 25px;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.3);
    border: 2px solid var(--primary);
}

.cp-btn--primary a:hover {
    transition-duration: .5s;
    text-decoration: none;
    background: #D44B00;
    border: 2px solid #D44B00;
}

/* 賞のセクション */
.cp-award-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 10px 24px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    flex-direction: row;
    text-align: center;
    gap: 8px;
}

.cp-award__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    flex-shrink: 0;
    margin-right: 16px;
}
.cp-award-item--gold .cp-award__label {
    background: var(--primary);
}
.cp-award-item--silver .cp-award__label {
    background: #DFE3E8;
    color: #222222;
}
.cp-award-item--bronze .cp-award__label {
    background: #CD7F32;
}
.cp-award__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cp-award__winners {
    font-size: 14px;
    color: #666666;
    text-align: center;
}
.cp-award__label-title {
    font-size: 16px;
    font-weight: 800;
}
.cp-award__label-points {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* 期間 */
.cp-period__table-container {
    border: 1px solid #E9E9E9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.cp-period__table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: #FFFFFF;
    border: none;
}

.cp-period__table th {
    color: var(--primary);
    font-weight: bold;
    text-align: left;
    padding: 16px 5px;
    font-size: 13px;
    width: 23%;
    vertical-align: top;
    background: #FFF8F0;
    border-bottom: 1px solid #E9E9E9;
}

.cp-period__table td {
    font-size: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #F0F0F0;
    font-size: 14px;
    line-height: 1.6;
    background: #FFFFFF;
}
.cp-period__table tr:last-child td,
.cp-period__table tr:last-child th {
    border-bottom: none;
}

.cp-period__notes {
    padding: 0;
    border-radius: 0;
    margin: 0;
}

.cp-period__table td {
    font-size: 12px;
}

.cp-notes__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cp-notes__list li {
    position: relative;
    padding-left: 1.2em;
    line-height: 1.8;
}

.cp-notes__list li::before {
    content: "・";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cp-notes__list li.cp-notes__indent {
    padding-left: 2.5em;
}

.cp-notes__list li.cp-notes__indent::before {
    content: "・";
    left: 1.2em;
}

/* 参加文言 */
.cp-cta__title {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.cp-criteria__highlight {
    color: var(--primary);
    font-weight: bold;
}

.cp-sub__title {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
    margin: 32px 0 12px;
}

/* シェア */
.cp-share__title {
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
}
.cp-share__list {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
}
.cp-share__button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}
.cp-share__button--x {
    background: #000000;
}
.cp-share__button--line {
    background: #06C755;
}
.cp-share__icon {
    fill: #FFFFFF;
    width: 28px;
    height: 28px;
}

/* コピー完了の吹き出し */
.copy-tooltip {
    position: absolute;
    bottom: 50px;
    left: 50%;
    background-color: #333333;
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.copy-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-tooltip.fade-out {
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333333;
}
.webview_attention {
    font-size: 11px;
    color: #333333;
    margin-top: 2px;
}


/* PC表示の際のレスポンシブ表示 */
@media screen and (min-width: 950px) {
    .cp-hero {
        padding: 10px 32px;
    }
    .cp-introduction,
    .cp-how-to,
    .cp-awards,
    .cp-period,
    .cp-call-to-action,
    .cp-share-campaign,
    .cp-end {
        padding: 40px 32px;
    }
    .cp-hero__kv {
        display: flex;
        justify-content: center;
        margin: 0 auto 32px;
        width: 850px;
    }
    .cp-how__step {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
        align-items: flex-start;
        text-align: left;
    }
    .cp-step__number {
        grid-column: 1;
        grid-row: 1;
        margin-right: 0;
        margin-bottom: 0;
    }
    .cp-step__content {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
    }
    .cp-btn-area {
        grid-column: 1 / 3;
        grid-row: 2;
        margin: 0;
    }
    .cp-award-item {
        text-align: left;
        gap: 0;
    }
    .cp-schedule__item {
        display: grid;
        grid-template-columns: max-content 1fr;
        column-gap: 12px;
        align-items: center;
    }
    .cp-schedule__label {
        text-align: right;
        min-width: 120px;
        padding-right: 6px;
        display: inline;
        margin-bottom: 0;
        font-size: 16px;
    }
    .cp-period__item {
        display: grid;
        grid-template-columns: max-content 1fr;
        column-gap: 12px;
        align-items: center;
    }
    .cp-period__label {
        text-align: right;
        min-width: 120px;
        padding-right: 6px;
        display: inline;
        margin-bottom: 0;
    }
    .cp-period__table th {
        font-size: 15px;
        padding: 18px 24px;
    }
    .cp-period__table td {
        font-size: 15px;
        padding: 18px 24px;
    }
}

/* SP用カラム表示 */
.cp-period__items-sp {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cp-period__item-sp {
    padding: 16px;
}

.cp-period__item-sp:last-child {
    border-bottom: none;
}

.cp-period__item-title-sp {
    color: var(--primary);
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #FFF0E0;
}

.cp-period__item-content-sp {
    font-size: 12px;
    line-height: 1.6;
}
