@charset "UTF-8";
.photo_article {
  max-width: 1032px;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------
            Form外
---------------------------------*/
.photo_form_title {
  margin-top: 60px;
  font-size: 24px;
  font-weight: bold;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.photo_form_title::before {
  position: absolute;
  content: "";
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  aspect-ratio: 84/66;
  height: auto;
  background-image: url(../images/photo_camera.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.photo_form_block {
  display: flex;
  justify-content: left;
  align-items: flex-start;
  gap: 25px;
  padding: 16px 0;
  width: 100%;
  position: relative;
}
.photo_form_block::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  top: 0;
  left: 0;
  background-image: url(../images/photo_form_block_before.png);
  background-size: contain;
  background-position: center;
  background-repeat: repeat-x;
}

.photo_form_block_title_outer {
  width: 125px;
  flex-shrink: 0;
}

.photo_form_block_title {
  font-size: 16px;
  font-weight: 500;
  width: fit-content;
  height: 31px;
  line-height: 31px;
  border-radius: 16px;
  color: #fff;
  background-color: #DF5E21;
  padding: 0 14px;
}

.photo_form_block_text {
  padding-top: 2px;
}

.photo_form_block_main {
  display: flex;
  justify-content: left;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.photo_sample_outer {
  width: 60%;
  padding: 40px 60px 20px;
  background-color: #FAB6B6;
}
.photo_sample_outer .photo_sample_image {
  display: block;
  width: 100%;
}
.photo_sample_outer .textcenter {
  text-align: center;
}

.photo_sample_text {
  width: calc(40% - 20px);
  margin-top: 60px;
}

.photo_sample_text_sp {
  display: none;
  position: absolute;
  top: -70px;
  right: 0;
  width: 290px;
}

/*--------------------------------
              Form
---------------------------------*/
#photoForm {
  width: 100%;
  background-color: #fff;
  border-radius: 24px;
  overflow: hidden;
}

.form_open {
  width: 100%;
  background-color: rgba(250, 183, 183, 0.3);
  padding: 60px;
}

.form_closed {
  width: 100%;
  padding: 60px;
}
.form_closed input[type=text],
.form_closed input[type=email],
.form_closed input[type=tel] {
  background-color: #FFE9D0;
}

.form_open_title_outer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.form_open_title_outer .open_line {
  width: 100%;
  height: 1px;
  background-color: #2F2B29;
}
.form_open_title_outer .closed_line {
  width: 100%;
  height: 1px;
  background-image: url(../images/photo_form_item2.svg);
  background-size: contain;
  background-position: center;
  background-repeat: repeat-x;
}

.form_open_title {
  font-weight: bold;
  color: #495476;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  position: relative;
  flex-shrink: 0;
}
.form_open_title::before {
  position: absolute;
  content: "";
  width: 16px;
  aspect-ratio: 1/1;
  height: auto;
  border-radius: 8px;
  background-color: #DF5E21;
  top: 50%;
  transform: translateY(-50%);
}
.form_open_title::before {
  left: 0;
}

.form_closed_title {
  font-weight: bold;
  color: #495476;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  position: relative;
  flex-shrink: 0;
}
.form_closed_title::before, .form_closed_title::after {
  position: absolute;
  content: "";
  width: 14px;
  aspect-ratio: 1/1;
  height: auto;
  background-image: url(../images/photo_form_item1.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  top: 50%;
  transform: translateY(-50%);
}
.form_closed_title::before {
  left: 0;
}
.form_closed_title::after {
  right: 0;
}

.agree_title {
  margin-top: 80px;
  font-size: 18px;
  font-weight: 500;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.agree_title::after {
  position: absolute;
  content: "";
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 8px);
  height: 6px;
  background-color: #FAB6B6;
  z-index: 0;
}

.agree_line {
  width: 100%;
  height: 1px;
  border-bottom: dotted 1px;
}

/*----------------------
      form content
-----------------------*/
.form_block {
  width: 100%;
  margin-bottom: 30px;
}
.form_block.last {
  margin-bottom: 0;
}

.form_block_title {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 8px 13px;
  flex-wrap: wrap;
  margin-bottom: 17px;
}

.contentname {
  font-size: 20px;
  font-weight: bold;
  color: #495476;
}

.dot_title {
  width: fit-content;
  height: fit-content;
  font-size: 20px;
  color: #495476;
  line-height: 1;
  padding-left: 24px;
  flex-shrink: 0;
  position: relative;
}
.dot_title::before {
  display: block;
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-48%);
  width: 16px;
  aspect-ratio: 1/1;
  border-radius: 8px;
  background-color: #DF5E21;
}
.dot_title.form_subtitle {
  color: #2F2B29;
  font-size: 16px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}
.dot_title.nodat {
  padding-left: 0;
}
.dot_title.nodat::before {
  content: none;
}

.must_box {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 7px;
}

.must, .notmust {
  width: 62px;
  height: 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 28px;
  flex-shrink: 0;
}

.must {
  background-color: #DF5E21;
}

.notmust {
  background-color: #A4A4A4;
}

.must_text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #DF5E21;
}

.radio_btn_outer {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 18px 25px;
  flex-wrap: wrap;
}
.radio_btn_outer label {
  width: fit-content;
  padding-right: 5px;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 8px;
}
.radio_btn_outer input[type=radio] {
  display: block;
}
.radio_btn_outer .radio_text {
  font-size: 16px;
  font-weight: bold;
  color: #495476;
  line-height: 1.2;
}

input[type=text],
input[type=email],
input[type=tel] {
  width: 100%;
  height: fit-content;
  border-radius: 25px;
  background-color: #fff;
  padding: 12px 24px;
  font-size: 16px;
}

select {
  appearance: none; /* デフォルトの矢印を消す（ブラウザ依存の差をなくす） */
  -webkit-appearance: none; /* Safari用 */
  -moz-appearance: none; /* Firefox用 */
  border-radius: 25px; /* 角丸 */
  padding: 12px 38px 12px 24px; /* 上下左右の余白、右側は矢印分を広めに */
  font-size: 14px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='16' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M4 6l4 4 4-4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center; /* 矢印の位置 */
  background-size: 16px; /* 矢印の大きさ */
  cursor: pointer;
}
select:focus {
  border-color: #66afe9;
  outline: none;
  box-shadow: 0 0 3px rgba(102, 175, 233, 0.6);
}

textarea {
  width: 100%;
  height: 150px;
  border-radius: 25px;
  background-color: #fff;
  padding: 12px 24px;
  font-size: 16px;
}
textarea:disabled {
  background-color: #ececec;
}

input[type=file] {
  display: block;
  width: 320px;
  font-size: 16px;
  color: #444;
  cursor: pointer;
  margin-bottom: 17px;
}
input[type=file]::file-selector-button {
  background-color: #fff;
  width: 160px;
  height: 46px;
  border-radius: 23px;
  margin-right: 10px;
  transition: background-color 0.3s;
  cursor: pointer;
}
input[type=file]:hover::file-selector-button {
  background-color: #f0f0f0;
}

.file_text {
  font-size: 16px;
}

.submit_btn {
  width: 300px;
  height: 60px;
  color: #495476;
  background-color: #fff;
  border: solid 3px #495476;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}
.submit_btn .submit_btn_arrow {
  position: absolute;
  display: block;
  top: calc(50% - 7px);
  right: 24px;
  width: 7px;
  aspect-ratio: 6.55/13.09;
  transition: transform 0.3s;
}
.submit_btn .point_link_text {
  width: fit-content;
  line-height: 1.4;
}
.submit_btn:hover {
  background-color: #ececec;
}
.submit_btn:hover .submit_btn_arrow {
  transform: translateX(8px);
}
.submit_btn::before, .submit_btn::after {
  display: block;
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.submit_btn::before {
  background-image: url(../images/photo_form_item3.png);
  right: calc(100% + 12px);
  width: 68px;
  aspect-ratio: 72/127;
}
.submit_btn::after {
  background-image: url(../images/photo_form_item4.png);
  left: calc(100% + 11px);
  width: 95px;
  aspect-ratio: 95/76;
}
.submit_btn:disabled {
  background-color: #ececec;
}

/*----------------------------
          完了画面
-----------------------------*/
.photo_sent_title {
  width: fit-content;
  font-size: 28px;
  font-weight: 500;
  margin-left: auto;
  margin-right: auto;
}

.center {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 960px){
  .photo_form_title {
    font-size: 22px;
  }
  .photo_form_block {
    gap: 15px;
  }
  .photo_form_block_title_outer {
    width: 110px;
  }
  .photo_form_block_title {
    font-size: 14px;
    padding: 0 10px;
    height: 26px;
    line-height: 26px;
  }
  .photo_sample_outer {
    width: 45%;
    padding: 20px;
  }
  .photo_sample_text {
    width: calc(55% - 20px);
  }
  .form_open {
    padding: 60px 20px;
  }
  .form_closed {
    padding: 60px 20px;
  }
  .contentname {
    font-size: 17px;
  }
  .dot_title {
    font-size: 17px;
  }
  .must, .notmust {
    width: 46px;
    font-size: 14px;
    height: 22px;
    line-height: 22px;
  }
  .must_text {
    font-size: 14px;
  }
  .radio_btn_outer .radio_text {
    font-size: 15px;
  }
  input[type=file] {
    width: 280px;
    font-size: 14px;
  }
  input[type=file]::file-selector-button {
    width: 120px;
    height: 38px;
    margin-left: 6px;
  }
  .file_text {
    font-size: 14px;
  }
}

@media (max-width: 767px){
  .photo_form_title::before {
    bottom: calc(100% + 8px);
    width: 60px;
  }
  .photo_form_title {
    font-size: 18px;
  }
  .photo_form_block {
    flex-direction: column;
    gap: 8px;
  }
  .photo_form_block_main {
    margin-top: 80px;
  }
  .photo_sample_outer {
    margin-top: 5px;
    width: 100%;
    flex-shrink: 0;
  }
  .photo_sample_text {
    display: none;
  }
  .photo_sample_text_sp {
    display: block;
  }
  .form_open {
    padding: 40px 20px;
  }
  .form_open_title_outer {
    align-items: flex-start;
  }
  .form_open_title_outer .open_line {
    display: none;
  }
  .form_open_title_outer .closed_line {
    display: none;
  }
  .form_open_title {
    padding: 0 16px;
  }
  .form_open_title::before {
    width: 12px;
    top: 6px;
    transform: translateY(0%);
  }
  .form_closed_title {
    padding: 0 16px;
  }
  .form_closed_title::before, .form_closed_title::after {
    width: 12px;
    top: 6px;
    transform: translateY(0%);
  }
  .agree_title {
    font-size: 16px;
  }
  .form_block_title {
    margin-bottom: 10px;
  }
  .contentname {
    font-size: 14px;
  }
  .dot_title {
    font-size: 14px;
    padding-left: 18px;
  }
  .dot_title::before {
    width: 12px;
  }
  .dot_title.form_subtitle {
    font-size: 14px;
  }
  .must, .notmust {
    font-size: 10px;
    width: 32px;
    height: 20px;
    line-height: 20px;
  }
  .must_text {
    font-size: 11px;
  }
  .radio_btn_outer {
    gap: 15px 18px;
  }
  .radio_btn_outer .radio_text {
    font-size: 14px;
  }
  input[type=text],
  input[type=email],
  input[type=tel] {
    padding: 10px 16px;
    font-size: 13px;
  }
  select {
    padding: 10px 32px 10px 16px;
    font-size: 14px;
  }
  textarea {
    height: 120px;
    padding: 10px 16px;
    font-size: 13px;
  }
  .submit_btn {
    width: 170px;
    height: 48px;
    gap: 8px;
  }
  .submit_btn:hover .submit_btn_arrow {
    transform: translateX(6px);
  }
  .submit_btn::before {
    width: 54px;
  }
  .submit_btn::after {
    width: 49px;
  }
  .photo_sent_title {
    font-size: 22px;
  }
}