@charset "UTF-8";
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-size: 100%;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

input,
textarea {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th {
  text-align: left;
}

/*

変数やmixinなど、このページでも使用するものなので
globalとしてまとめて読み込みを楽にする。

各ファイルの先頭は、以下のように記述すると変数など参照できます
@use '../global' as g;

 */
/*
旧ブレークポイント
$mobile: 375px;
$tablet: 520px;
$tablet: 768px;
$desktop: 960px;
$hd: 1280px;
$wxga: 1440px;
 */
/*

変数やmixinなど、このページでも使用するものなので
globalとしてまとめて読み込みを楽にする。

各ファイルの先頭は、以下のように記述すると変数など参照できます
@use '../global' as g;

 */
* {
  min-inline-size: 0;
}

:root {
  --leading-trim: calc((1em - 1lh) / 2);
  --align-full: calc(50% - (50vw - var(--scrollbar-width, 0) / 2));
  scrollbar-gutter: stable;
  --base-bg: url('../images/photocontest/bg-texture01.png');
  --base-bg02: url('../images/photocontest/bg-texture02.png');
  --base-bg03: url('../images/photocontest/bg-texture03.png');
  --section-margin: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  color: #333;
  font-family: "Yu Gothic Medium", "Yu Gothic", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 2.2;
  position: relative;
  overflow-x: hidden;
  background: var(--base-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus {
  outline: rgb(59, 153, 252) auto 5px;
  outline-offset: 0;
}

@media (hover: hover) {
  a:hover:hover {
    cursor: pointer;
  }
}

img {
  height: auto;
  max-width: 100%;
  width: 100%;
  vertical-align: middle;
}

input {
  margin: 0;
  padding: 0;
}

textarea {
  padding: 0;
  font: inherit;
  color: inherit;
}

button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  margin: 0;
  padding: 0;
}

.l-main {
  padding-top: clamp(80px, 63.3333333333px + 4.6296296296vw, 130px);
  margin-bottom: 120px;
  background: url("../images/common/bg-page-deco.png") no-repeat right top;
  background-size: clamp(240px, 80px + 44.4444444444vw, 720px);
}

/* namespaceの衝突を避けつために明示的に as xxxx としている */
.c-prize-card {
  position: relative;
}
.c-prize-card .c-prize-card__body {
  background-color: #f5f5f5;
  box-shadow: 0px 4px 14px 0px rgba(28, 56, 111, 0.1);
  padding: 20px;
}
.c-prize-card .c-prize-card__ttl-img {
  margin-bottom: -50px;
  position: relative;
  z-index: 1;
}
.c-prize-card .c-prize-card__name {
  margin-top: 20px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS Mincho", serif;
  font-size: 24px;
  color: #1c386f;
  font-weight: 700;
  line-height: 1.5;
}
.c-prize-card .c-prize-card__name-brand {
  font-size: 20px;
  display: block;
}
.c-prize-card .c-prize-card__price {
  font-size: 20px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS Mincho", serif;
  color: #1c386f;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-prize-card .c-prize-card__price::before, .c-prize-card .c-prize-card__price::after {
  content: "";
  position: relative;
  width: 40px;
  height: 1px;
  background: url("../images/photocontest/bg-line.png") center center/contain;
  margin: 0 10px;
}
.c-prize-card .c-prize-card__price-number {
  font-size: 24px;
}
.c-prize-card .c-prize-card__people {
  background-color: #1c386f;
  border-radius: 9999px;
  display: inline-block;
  color: #fff;
  font-weight: 700;
  padding: 0 30px 2px;
}
.c-prize-card .c-prize-card__people-number {
  font-size: 20px;
}

.c-step-card {
  position: relative;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 5px;
  padding: 50px 30px 30px;
  gap: 20px;
}
.c-step-card .c-step-card__num {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url("../images/photocontest/img-method-icon-deco.png") no-repeat center center/contain;
  text-align: center;
  font-style: italic;
  font-family: "Roboto", sans-serif;
  line-height: 110%;
  color: #fff;
  font-weight: 500;
  width: 70px;
  height: 70px;
  font-size: 14px;
  gap: 5px;
  margin-top: -85px;
}
.c-step-card .c-step-card__num-inner {
  display: block;
  font-style: italic;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
}
.c-step-card .c-step-card__ttl {
  font-size: 20px;
  color: #1c386f;
  font-weight: 700;
  line-height: 1.8;
}
.c-step-card .c-step-card__txt {
  font-size: 16px;
  color: #1c386f;
  font-weight: 700;
  line-height: 1.8;
}
.c-step-card .c-step-card__note-list {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.c-step-card .c-step-card__note-item {
  text-indent: -1em;
  padding-left: 1em;
  line-height: 1.8;
}

.c-btn {
  position: relative;
  background-color: #d25843;
  border-radius: 9999px;
  width: 100%;
  display: flex;
  padding: 15px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
  box-shadow: 2px 4px 0 0 rgba(51, 68, 102, 0.3);
  text-align: center;
}
.c-btn .c-btn__text {
  flex-grow: 1;
  text-align: center;
}
.c-btn::before {
  content: "";
  position: absolute;
  right: 4px;
  top: 4px;
  border-radius: 9999px;
  border: 1px solid #fff;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
}
.c-btn svg {
  fill: #fff;
}
.c-btn svg.c-btn__arrow {
  margin-left: auto;
}
.c-btn .c-btn__line {
  text-decoration: underline;
}

.c-section-ttl {
  line-height: 1.6;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-section-ttl .c-section-ttl__decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  color: #1c386f;
  font-weight: 700;
}
.c-section-ttl .c-section-ttl__main {
  font-size: 32px;
  font-weight: 700;
  color: #1c386f;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS Mincho", serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  line-height: 1.4;
}
.c-section-ttl .c-section-ttl__main svg {
  fill: #d25843;
}
.c-section-ttl[data-modifier=invert] .c-section-ttl__decoration {
  color: #f5f5f5;
}
.c-section-ttl[data-modifier=invert] .c-section-ttl__main {
  color: #f5f5f5;
}
.c-section-ttl[data-modifier=invert] .c-section-ttl__main svg {
  fill: #f5f5f5;
}
.c-section-ttl[data-type=menu] .c-section-ttl__main {
  color: #1c386f;
  font-size: 24px;
}
.c-section-ttl[data-type=menu] .c-section-ttl__main svg {
  fill: #1c386f;
}

.p-photocontest {
  background: var(--base-bg03);
  display: flex;
  justify-content: center; /* 左右中央 */
  width: 100%;
}
.p-photocontest .p-photocontest-container {
  position: relative;
  display: flex;
  max-width: 2000px;
  width: 100%;
}
.p-photocontest .p-photocontest-container .p-photocontest__desktop {
  width: 100%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-photocontest .p-photocontest-container .p-photocontest-hero__main {
  position: fixed;
  max-width: 420px;
  padding-inline: 30px;
}
.p-photocontest .p-photocontest-container .p-photocontest-hero__nav {
  position: fixed;
  padding-inline: 30px;
}
.p-photocontest .p-photocontest-container .p-photocontest-menu {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.p-photocontest .p-photocontest-hero {
  background: url("../images/photocontest/bg-mv.jpg") no-repeat center top/cover;
  position: relative;
}
.p-photocontest .p-photocontest-hero__balloon {
  position: absolute;
  width: 50%;
  right: 0;
  top: 10px;
  transition-delay: 0.3s;
}
.p-photocontest .p-photocontest-logo {
  margin-top: 50px;
}
.p-photocontest .p-photocontest-date {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  transition-delay: 0.6s;
}
.p-photocontest .p-photocontest-date .p-photocontest-date__label {
  background-color: #1c386f;
  color: #fff;
  font-size: 20px;
  text-align: center;
  display: inline-block;
  padding: 3px 30px 4px;
  border-radius: 9999px;
  margin-bottom: -15px;
  z-index: 1;
  font-weight: 700;
}
.p-photocontest .p-photocontest-date .p-photocontest-date__range {
  display: flex;
  background-color: #f5f5f5;
  margin: 0 20px 20px;
  border-radius: 15px;
  padding: 30px 30px 20px;
  color: #1c386f;
  width: 90%;
  justify-content: center;
  font-weight: 700;
  align-items: center;
  gap: 5px;
}
.p-photocontest .p-photocontest-date .p-photocontest-date__area {
  line-height: 1.4;
}
.p-photocontest .p-photocontest-date .p-photocontest-date__day-number {
  font-size: 24px;
}
.p-photocontest .p-photocontest-about {
  background: url("../images/photocontest/bg-lead.jpg") repeat left top;
}
.p-photocontest .p-photocontest-about__inner {
  background-color: #f5f5f5;
  border-radius: 9999px;
  text-align: center;
  padding-block: 90px;
}
.p-photocontest .p-photocontest-about__ttl {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS Mincho", serif;
  font-size: 26px;
  font-weight: 700;
  color: #1c386f;
  line-height: 1.8;
}
.p-photocontest .p-photocontest-about__lead {
  margin-top: 30px;
  font-size: 16px;
  line-height: 2.2;
  font-weight: 700;
  color: #1c386f;
}
.p-photocontest .p-photocontest-prizes {
  background: url("../images/photocontest/bg-present.jpg") repeat;
  text-align: center;
  padding-block: var(--section-margin);
}
.p-photocontest .p-photocontest-prizes__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}
.p-photocontest .p-photocontest-steps {
  background: url("../images/photocontest/bg-method.jpg") repeat;
  padding-block: var(--section-margin);
}
.p-photocontest .p-photocontest-steps__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 60px;
}
.p-photocontest .p-photocontest-posts {
  background: var(--base-bg);
  padding-block: var(--section-margin);
}
.p-photocontest .p-photocontest-posts .atelu_widget__grid_list {
  margin-top: 40px;
}
.p-photocontest .p-photocontest-posts .atelu_widget__grid_item {
  width: 50% !important;
}
.p-photocontest .p-photocontest-posts .atelu_widget__grid_item_image {
  height: 176px !important;
}
.p-photocontest .p-photocontest-detail {
  background: var(--base-bg02);
  padding-block: var(--section-margin);
  display: flex;
  gap: 40px;
  flex-direction: column;
}
.p-photocontest .p-photocontest-detail__ttl {
  display: flex;
  padding: 5px 30px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 9999px;
  background-color: #1c386f;
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}
.p-photocontest .p-photocontest-detail__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.p-photocontest .p-photocontest-detail__list {
  padding-left: 2em;
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.p-photocontest .p-photocontest-detail__item {
  color: #1c386f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  list-style-type: disc;
}
.p-photocontest .p-photocontest-detail__note {
  text-indent: -1em;
  padding-left: 1em;
  line-height: 1.8;
}
.p-photocontest .p-photocontest-detail__dl {
  display: flex;
  gap: 15px;
  flex-direction: column;
}
.p-photocontest .p-photocontest-detail__dl-row {
  border-radius: 5px;
  background: #fafafa;
  padding: 8px 20px 20px;
}
.p-photocontest .p-photocontest-detail__dt {
  font-size: 20px;
  color: #1c386f;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-photocontest .p-photocontest-detail__dt::before, .p-photocontest .p-photocontest-detail__dt::after {
  content: "";
  position: relative;
  flex: 1 0 0;
  height: 1px;
  background: url("../images/photocontest/bg-line.png") center center/contain;
  margin: 0 10px;
}
.p-photocontest .p-photocontest-detail__dd {
  color: #1c386f;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}
.p-photocontest .p-photocontest-agreement {
  background: var(--base-bg);
  padding-block: var(--section-margin);
  display: flex;
  gap: 40px;
  flex-direction: column;
}
.p-photocontest .p-photocontest-agreement__text {
  font-size: 16px;
  font-weight: 700;
  line-height: 200%;
}
.p-photocontest .p-photocontest-agreement__content {
  border: 1px solid #000;
  display: flex;
  height: 400px;
  padding: 20px 20px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  line-height: 1.8;
  /* スクロールバー全体の幅 */
}
.p-photocontest .p-photocontest-agreement__content::-webkit-scrollbar {
  width: 6px;
  display: block; /* 強制的に表示 */
  right: 5px;
  top: 5px;
}
.p-photocontest .p-photocontest-agreement__content {
  /* スクロールバーの背景（溝） */
}
.p-photocontest .p-photocontest-agreement__content::-webkit-scrollbar-track {
  background: #a4a9b0;
}
.p-photocontest .p-photocontest-agreement__content {
  /* 動くパーツ（つまみ） */
}
.p-photocontest .p-photocontest-agreement__content::-webkit-scrollbar-thumb {
  background: #1c386f;
  border-radius: 5px;
}
.p-photocontest .p-photocontest-agreement__content ol {
  list-style: number;
  padding-left: 1em;
}
.p-photocontest .p-photocontest-agreement__content ul {
  list-style: disc;
  padding-left: 1em;
}
.p-photocontest .p-photocontest-agreement__content .p-photocontest-agreement__content-note {
  display: block;
  text-indent: -1em;
  padding-left: 1em;
}
.p-photocontest .p-photocontest-contact {
  padding-block: var(--section-margin);
  background: var(--base-bg02);
  display: flex;
  gap: 40px;
  flex-direction: column;
}
.p-photocontest .p-photocontest-detail__content-ttl {
  color: #1c386f;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 170%;
}

.u-container-large, .u-container-small, .u-container {
  margin-inline: auto;
  padding-inline: 30px;
}

.u-container-small {
  padding-inline: 4.1666666667vw;
}

@media screen and (min-width: 1024px) {
  .u-container-large {
    padding-inline: 12.5vw;
  }
}

.u-container-full-width {
  margin-inline: calc(50% - 50vw);
}

@media screen and (min-width: 1024px) {
  .u-container-full-width-left {
    margin-left: calc(50% - 50vw);
    width: calc(100vw + 50% - 50vw);
  }
}

@media screen and (min-width: 1024px) {
  .u-container-full-width-right {
    margin-right: calc(50% - 50vw);
    width: calc(100vw + 50% - 50vw);
  }
}

.u-visually-hidden {
  position: fixed !important;
  inset: 0 !important;
  display: block !important;
  inline-size: 4px !important;
  block-size: 4px !important;
  padding: 0 !important;
  margin: 0 !important;
  contain: strict !important;
  pointer-events: none !important;
  visibility: visible !important;
  border: none !important;
  opacity: 0 !important;
}

/* 最初は透明で、少し下に下げておく */
.js-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* クラスがついたら元の位置に戻して表示 */
.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 初期状態：少し小さく、透明にしておく */
.js-pop-in {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  /* transitionの最後に cubic-bezier を指定して弾ませる */
  transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

/* 表示状態：元のサイズに戻る */
.js-pop-in.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.u-only-desktop {
  display: none !important;
}
@media screen and (min-width: 1024px) {
  .u-only-desktop {
    display: flex !important;
  }
}

.u-main-sp {
  max-width: 400px;
  margin-inline: auto;
  flex-shrink: 0;
}
@media screen and (min-width: 640px) {
  .u-main-sp {
    border: 1px solid #000;
  }
}