@charset "utf-8";

/*@header*/
.header-bg {
  width: 100%;
  position: relative;
  display: block;
}
.header-bg h1 {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  text-align: center;
  font-size: 44px;
  font-weight: normal;
  letter-spacing: 2px;
  line-height: 50px;
}
.header-bg span {
  font-size: 20px;
}

@keyframes flash {
  0%,100% {
    filter: drop-shadow(0 0 6px #ffb1d6)
  }
  50% {
    filter: none
  }
}

@media screen and (max-width:640px){
  .header-bg img {
    object-fit: cover;
    height: 250px;
    width: 100%;
  }
}

/*end@header*/

/*@section-common*/
.section-info {
  margin-top: 100px;
  margin-left: 120px;
  font-size: 14px;
  letter-spacing: 0.03rem;
  line-height: 1.8rem;
  font-weight: bold;
  list-style: circle;
  text-align: left;
}
.section-1 {
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
  /* background-color: #f27eb4; */
}
#entry {
  text-align: center;
}
#title-box{
  background-color: rgba(47, 49, 49, 1);
  width: 40%;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  z-index: 100;
  position: relative;
  margin-top: 150px;
}
.title{
  flex-direction: column;
  margin-left: 100px;
}
.section-1 h2{
  line-height: 0;
  font-size: 1.5rem;
  padding-top: 40px;
  padding-bottom: 20px;
  letter-spacing: 0.05em;
  color: #fff;
  font-weight: normal;
}
#title-box p {
  border-top: 2px solid #f07fb4;
  max-width: 30px;
  margin-left: 100px;
}
.inner {
  background-color: #fff;
  margin: 0 100px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:  0 0 3px #f07fb4;
  transform: translateY(-40px);
  text-align: center;
}

#form-btn {
  text-align: center;
}
.button {
  position: relative;
  margin-top: 50px;
  background-color: #FFF;
  display: inline-block;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  cursor: pointer;
  overflow: hidden;
  border: #f07fb4 solid 2px;
  padding: 15px 40px;
  -webkit-appearance: none;
}
.button:hover {
  color: #FFF;
  background-color: #f07fb4;
  transition: 0.5s;
}

form {
  margin: 100px 100px;
  text-align: left;
  margin-top: 50px;
  max-width: 870px;
}
tr {
  display: flex;
  flex-flow: column;
}
td .input,
td textarea {
  max-width: 870px;
  width: 870px;
}
td {
  margin-bottom: 30px;
}
td .input {
  height: 30px;
}
td textarea {
  height: 35px;
}
.checkbox-2 {
  margin-top: 30px;
  text-align: center;
}
.checkbox-1 {
  display: flex;
}
.checkbox-1 label {
  margin-left: 35px;
}
/*end@section-common*/

@media screen and (max-width:1100px) {
  .section-info {
    margin-top: 60px;
    margin-left: 50px;
    margin-right: 30px;
    font-size: 12px;
  }
  form {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 80px;
  }
  td .input,
  td textarea {
    width: 68vw;
  }
}

@media screen and (max-width:800px) {
  td .input,
  td textarea {
    width: 55vw;
  }
}

@media screen and (max-width:640px){
  .section-info {
    margin-top: 60px;
    margin-left: 30px;
    margin-right: 30px;
    font-size: 12px;
  }

  #title-box{
    width: 60%;
  }
  .title{
    flex-direction: column;
    margin-left: 30px;
  }
  .section-1 h2{
    font-size: 1.3rem;
    padding-top: 30px;
    padding-bottom: 15px;
  }
  #title-box p {
    border-top: 1.5px solid #f07fb4;
    max-width: 20px;
    margin-left: 30px;
  }
  .inner {
    margin: 0 30px;
    transform: translateY(-30px);
  }
  
  .button {
    margin-top: 35px;
    font-size: 1rem;
    border: #f07fb4 solid 2px;
    padding: 15px 40px;
    color: #000;
  }
  
  form {
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 40px;
  }
  td .input,
  td textarea {
    width: 240px;
  }
  td {
    margin-bottom: 25px;
  }
  td .input {
    height: 25px;
  }
  td textarea {
    height: 30px;
  }
  .checkbox-1 {
    display: flex;
  }
  .checkbox-1 label {
    margin-left: 15px;
  }
}

/* ==================== BLOG SINGLE PAGE ==================== */

.cts-single .archive-box {
  padding: 60px;
  background-color: #fff;
  margin: 0;
  width: 100%;
}

@media screen and (max-width: 1100px) {
  .cts-single .archive-box {
    padding: 30px;
  }
}

@media screen and (max-width: 800px) {
  .cts-single .archive-box {
    padding: 15px;
  }
}

@media screen and (max-width: 480px) {
  .cts-single .archive-box {
    padding: 0;
  }
}

.single-item {
  max-width: 800px;
}

.single-header {
  margin-bottom: 40px;
  border-bottom: 2px solid #f5f5f5;
  padding-bottom: 30px;
}

.single-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.single-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.single-date {
  font-size: 14px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-category {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.single-category .cat-link {
  display: inline-block;
  background-color: #ffb1d6;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.single-category .cat-link:hover {
  background-color: #ff99cc;
}

.single-thumbnail {
  margin: 40px 0;
  text-align: center;
}

.single-featured-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  margin: 40px 0;
  letter-spacing: 0.02em;
}

.single-content p {
  margin-bottom: 20px;
}

.single-content h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #ffb1d6;
}

.single-content h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin: 30px 0 15px 0;
}

.single-content ul,
.single-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.single-content li {
  margin-bottom: 10px;
}

.single-content a {
  color: #ffb1d6;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.single-content a:hover {
  color: #ff99cc;
}

.single-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
}

.single-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 2px solid #f5f5f5;
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.nav-previous,
.nav-next {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-navigation .nav-link {
  display: block;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-navigation .nav-link:hover {
  background-color: #ffe8f5;
  border-color: #ffb1d6;
}

.post-navigation .nav-label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.post-navigation .nav-title {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
}

.back-to-list {
  text-align: center;
}

.back-link {
  display: inline-block;
  background-color: #ffb1d6;
  color: #fff;
  padding: 14px 40px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.back-link:hover {
  background-color: #ff99cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 177, 214, 0.3);
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .cts-single .archive-box {
    margin: 0;
  }

  .single-title {
    font-size: 24px;
  }

  .single-meta {
    gap: 10px;
  }

  .single-category .cat-link {
    font-size: 11px;
    padding: 5px 12px;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .single-content {
    font-size: 15px;
  }

  .single-content h2 {
    font-size: 20px;
  }

  .single-content h3 {
    font-size: 18px;
  }
}

@media screen and (max-width: 640px) {
  .cts-single .archive-box {
    margin: 0;
  }

  .single-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .single-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .single-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .single-category {
    width: 100%;
  }

  .single-content {
    font-size: 14px;
    margin: 30px 0;
  }

  .single-content h2 {
    font-size: 18px;
    margin: 30px 0 15px 0;
  }

  .single-content h3 {
    font-size: 16px;
    margin: 20px 0 10px 0;
  }

  .back-link {
    padding: 12px 30px;
    font-size: 14px;
  }
}

/* Contact Form 7 送信ボタンのスタイル */
.wpcf7-form-control.wpcf7-submit {
  position: relative;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  cursor: pointer;
  overflow: hidden;
  border: #f07fb4 solid 2px;
  padding: 15px 40px;
  background-color: transparent;
  color: inherit;
  -webkit-appearance: none;
  transition: all 0.5s ease;
  z-index: 5;
}

.wpcf7-form-control.wpcf7-submit:hover {
  background-color: #f07fb4;
  color: #FFF;
}

.wpcf7-form-control.wpcf7-submit:active {
  background-color: #ff99cc;
}

.wpcf7-spinner {
  display: none !important;
}

/* Contact Form 7 フォーム全体のスタイル */
.wpcf7-form {
  margin: 100px 100px;
  text-align: left;
  max-width: 870px;
  font-size: 14px;
}

.wpcf7-form-control {
  font-size: 14px;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap input[type="date"],
.wpcf7-form-control-wrap textarea {
  width: 83%;
  max-width: 870px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap input[type="date"] {
  height: 30px;
}

.wpcf7-form-control-wrap textarea {
  height: 35px;
  resize: vertical;
}

.wpcf7-form-group {
  margin-bottom: 30px;
}

.wpcf7-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.wpcf7-checkbox-fields,
.wpcf7-radio-fields {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.wpcf7 p {
  margin: 0;
  padding: 0;
}

#form-btn {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

@media screen and (max-width: 1100px) {
  .wpcf7-form {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 80px;
  }

  .wpcf7-form-control-wrap input[type="text"],
  .wpcf7-form-control-wrap input[type="email"],
  .wpcf7-form-control-wrap input[type="tel"],
  .wpcf7-form-control-wrap input[type="date"],
  .wpcf7-form-control-wrap textarea {
    width: calc(68vw - 100px);
  }
}

@media screen and (max-width: 800px) {
  .wpcf7-form-control-wrap input[type="text"],
  .wpcf7-form-control-wrap input[type="email"],
  .wpcf7-form-control-wrap input[type="tel"],
  .wpcf7-form-control-wrap input[type="date"],
  .wpcf7-form-control-wrap textarea {
    width: calc(55vw - 100px);
  }
}

@media screen and (max-width: 640px) {
  .wpcf7-form {
    margin: 50px 30px;
    margin-top: 80px;
  }

  .wpcf7-form-control-wrap input[type="text"],
  .wpcf7-form-control-wrap input[type="email"],
  .wpcf7-form-control-wrap input[type="tel"],
  .wpcf7-form-control-wrap input[type="date"],
  .wpcf7-form-control-wrap textarea {
    width: 100%;
  }

  .wpcf7-form-control.wpcf7-submit {
    font-size: 0.9rem;
    padding: 12px 30px;
  }
}

