@charset "UTF-8";
.sub_title{
    background-color: #A8BA8A;
    width: 100%;
    height: 80px;
    text-align: center;
    padding-top: 30px;
    letter-spacing: 0.08em;
    font-size: 2rem;
}
input,
textarea{
    box-sizing: border-box;
}
input[type="text"],
input[type="email"]{
    width: 100%;
}
input[type="submit"]{
    appearance: none;
    font-weight: 400;
    color: #4A3428;
    padding: 0.2em 2em;
    background-color: #A8BA8A;
    border-radius: 10px;
    cursor: pointer;
}
input[type="submit"]:hover{
    background-color: #E6C85A;
}
textarea{
    width: 100%;
    height: 100%;
    resize: none;
}

/* フォーム全体の幅と、上下の余白 */
.contact_form {
  width: min(700px, 90%);
  margin: 80px auto 40px;
}
/* 項目と入力欄を横並び */
.contact_form .column_box > div {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
}
/* 幅をそろえる */
.contact_form dt {
  flex: 0 0 300px;
  color: #a6b88b;
  font-size: 24px;
  font-weight: bold;
}
.column_box dt{
    color: #A8BA8A;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
}
.column_box dt span{
    font-weight: normal;
    font-size: 0.85rem;
}
/* 残り幅を入力欄にめいいっぱい使用 */
.contact_form dd {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  border: 1px solid #b8bda9;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.contact_form textarea {
  display: block;
  resize: vertical;
}

/* ボタン */
.contact_submit {
  text-align: center;
}
.contact_submit input {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  background: #a6b88b;
  color: #594432;
  font: inherit;
  font-size: 24px;
  cursor: pointer;
}
.contact_note {
  text-align: center;
  font-size: 0.875rem;
  margin: 10px 0 30px;
  color: #4A2828;
}

.contact_comments {
  max-width: 700px;
  width: 90%;
  margin: 0 auto 80px;
  font-size: 0.75rem;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.06em;
}
.coco_walk {
    width: 100%;
    overflow: hidden;
    padding-top: 12px;
    box-sizing: border-box;
}
.coco_walk img {
    display: block;
    width: 180px;
    height: auto;
    animation:
        cocoWalk 10s linear infinite,
        cocoHop 0.5s ease-in-out infinite;
}       

@keyframes cocoWalk {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(100vw - 180px));
    }
}
@keyframes cocoHop {
    from {
        translate: 0 0;
    }
    to {
        translate: 0 -4px;
    }
}

@media (max-width: 700px) {
  .contact_form .column_box > div {
    flex-direction: column;
    gap: 10px;
  }
  .contact_form {
    margin: 35px auto 40px;
  }
  .contact_form dt {
    flex: auto;
    font-size: 1.1rem;
    text-align: left;
  }
  .contact_form dd {
    width: 100%;
  }
  .sub_title {
    height: 65px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contact_form .column_box > div {
     margin-bottom: 30px;
  }
  .contact_submit input {
    font-size: 1rem;
    padding: 12px 22px;
    border-radius: 10px;
  }
  figure {
    text-align: center;
    margin: 40px auto;
  }

  figure img {
    width: 120px;
    max-width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 767px) {
    .coco_walk img {
        width: 120px;
        animation-duration: 6s, 0.5s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .coco_walk img {
        animation: none;
    }
}







