@charset "UTF-8";
/* ======================================================================
 p-ophthalmology
====================================================================== */
.sub-nav {
  background: #38271c;
  padding: 18px 0;
}
@media screen and (max-width: 767px) {
  .sub-nav {
    display: none;
  }
}

.sub-nav ul {
  text-align: center;
}

.sub-nav ul li {
  display: inline-block;
  margin: 0;
}

.sub-nav a {
  background: #38271c;
  padding: 20px 30px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: ease-out 0.3s;
}

.sub-nav a:hover {
  background: #fff;
  padding: 20px 30px;
  text-decoration: none;
  color: #38271c;
  font-weight: bold;
  transition: ease-in 0.3s;
}

.sec_1 {
  margin: 50px auto;
  padding: 30px 60px;
  max-width: 700px;
  border: 1px dotted #5c693a;
  color: #5c693a;
}
.sec_1 ul li {
  list-style: square;
  padding: 2px 0;
}
.sec_1__ttl {
  margin-bottom: 30px;
  color: #5c693a;
  text-align: center;
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 1.375;
}
@media screen and (max-width: 767px) {
  .sec_1__ttl {
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 1.2222222222;
  }
}
@media screen and (max-width: 767px) {
  .sec_1 {
    margin: 40px 40px;
    padding: 40px;
  }
}

.sec_2 {
  margin: 0 auto 30px;
  max-width: 800px;
}
@media screen and (max-width: 767px) {
  .sec_2 {
    padding: 20px;
  }
}
.sec_2__inr {
  display: flex;
}
@media screen and (max-width: 767px) {
  .sec_2__inr {
    display: block;
    color: red;
  }
}
.sec_2__txtbox p {
  font-size: 16px;
  line-height: 28px;
  color: #222;
}

.sec_3 {
  margin-top: 50px;
  background-color: #f3f3ed;
}
.sec_3__ttl {
  background-color: #38271c;
  color: #fff;
  font-size: 18px;
  font-weight: bolder;
  text-align: center;
  padding: 20px;
}
.sec_3__content {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 0;
}
.sec_3 table {
  width: 100%;
  border-collapse: collapse;
}
.sec_3 table th {
  text-align: center;
  vertical-align: middle;
  color: #fff;
  font-weight: bolder;
  background-color: #a6b5b4;
}
.sec_3 table th, .sec_3 table td {
  border: 1px solid #ddd;
  padding: 20px;
  line-height: 26px;
}
.sec_3 table td {
  padding: 20px 40px;
  background-color: #fff;
}
.sec_3__cont + .sec_3__cont {
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  .sec_3__cont + .sec_3__cont {
    margin-top: 12px;
    padding: 0 20px;
  }
}

.sec_4 {
  padding-bottom: 80px;
}
.sec_4__ttl {
  background-color: #38271c;
  color: #fff;
  font-size: 18px;
  font-weight: bolder;
  text-align: center;
  padding: 20px 0;
  margin-bottom: 50px;
}
.sec_4__cont + .sec_4__cont {
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  .sec_4__cont + .sec_4__cont {
    margin-top: 12px;
  }
}
.sec_4 dl {
  display: flex;
  flex-wrap: rap;
  padding: 12px;
}
.sec_4 dl:not(:first-child) {
  border-top: 1px dotted #999;
}
.sec_4 dt {
  font-weight: normal;
  min-width: 100px;
}
@media screen and (max-width: 767px) {
  .sec_4 {
    padding: 50px 0;
  }
}
.sec_4__img {
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
}
.sec_4__img img {
  width: 100%;
  height: auto;
}
.sec_4__cal-box {
  margin-top: 100px;
}
@media screen and (max-width: 767px) {
  .sec_4__cal-box {
    margin-top: 35px;
  }
}
.sec_4__cal-box img {
  width: 100%;
  height: auto;
}

.c_item_9 {
  padding-bottom: 0px;
}
.c_item_9__item {
  display: flex;
}
@media screen and (max-width: 767px) {
  .c_item_9__item {
    flex-direction: column;
  }
}
.c_item_9__item:nth-of-type(odd) .c_item_9__dtl {
  order: 2;
}
.c_item_9__item:nth-of-type(odd) .c_item_9__img {
  order: 1;
  margin-right: 40px;
}
@media screen and (max-width: 767px) {
  .c_item_9__item:nth-of-type(odd) .c_item_9__img {
    margin: 0 0 10px;
  }
}
.c_item_9__item:nth-of-type(even) .c_item_9__dtl {
  order: 1;
}
@media screen and (max-width: 767px) {
  .c_item_9__item:nth-of-type(even) .c_item_9__dtl {
    order: 2;
  }
}
.c_item_9__item:nth-of-type(even) .c_item___img {
  order: 2;
  margin-left: 40px;
}
@media screen and (max-width: 767px) {
  .c_item_9__item:nth-of-type(even) .c_item___img {
    order: 1;
    margin: 0 0 10px;
  }
}
.c_item_9__item + .c_item_9__item {
  margin-top: 80px;
}
@media screen and (max-width: 767px) {
  .c_item_9__item + .c_item_9__item {
    margin-top: 40px;
  }
}
.c_item_9__img {
  flex-basis: 35%;
}
.c_item_9__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c_item_9__dtl {
  flex: 1 1;
}
.c_item_9__ttl {
  margin-bottom: 0px;
  color: #38271c;
  font-weight: normal;
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 2.4166666667;
}
@media screen and (max-width: 767px) {
  .c_item_9__ttl {
    margin-bottom: 0px;
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 3.2222222222;
  }
}
.c_item_9__subttl {
  margin-bottom: 0px;
  color: #38271c;
  font-weight: normal;
  border-bottom: 1px #38271c;
  font-size: 21px;
  font-size: 2.1rem;
  line-height: 2.7619047619;
}
@media screen and (max-width: 767px) {
  .c_item_9__subttl {
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 2.25;
  }
}

.sec_5 {
  margin: 0px auto;
  padding: 0 0 80px;
  background-color: #a6b5b4;
}
.sec_5__ttl {
  background-color: #38271c;
  color: #fff;
  font-size: 18px;
  font-weight: bolder;
  text-align: center;
  padding: 20px;
  margin-bottom: 50px;
}
.sec_5__content {
  max-width: 800px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .sec_5__content {
    padding: 0 20px;
  }
}
.sec_5__subttl {
  color: #333;
  font-size: 24px;
  font-weight: bold;
  margin: 15px 0;
  height: 30px;
}
.sec_5 ul {
  list-style: none;
}
.sec_5 li {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
}
.sec_5 li span {
  padding: 20px;
}
@media screen and (max-width: 767px) {
  .sec_5 li span {
    padding: 0;
  }
}
@media screen and (max-width: 767px) {
  .sec_5 {
    padding: 50px 0;
  }
}

.sec_6 { /* フォーム */
  margin: 0 auto;
}
.sec_6__ttl {
  background-color: #38271c;
  color: #fff;
  font-size: 18px;
  font-weight: bolder;
  text-align: center;
  padding: 20px;
  margin-bottom: 50px;
}
.sec_6__content {
  max-width: 800px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .sec_6__content {
    padding: 0 20px;
  }
}
.sec_6__content .sec_6__txt {
  margin: 0 auto;
  max-width: 700px;
}
.sec_6 .wpcf7 .submit {
  text-align: center;
  padding: 30px 0;
}
.sec_6 .wpcf7-spinner {
  max-width: 24px;
}
.sec_6 .wpcf7 .recaptcha p {
  font-size: 12px;
  letter-spacing: normal;
}
.sec_6 .wpcf7 .recaptcha a {
  color: #4a85a4;
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .sec_6 {
    padding: 50px 0 0;
  }
}

/* --- Contact Form 7 カスタマイズ --- */
/* フォーム全体のスタイル */
.wpcf7 {
  max-width: 800px;
  margin: 50px auto 150px;
  padding: 25px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ラベルのスタイル */
.wpcf7 label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #555;
  margin-bottom: 5px;
}

/* 入力フィールドのスタイル */
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fafafa;
  transition: all 0.3s ease-in-out;
}

/* 入力フィールドのフォーカス時 */
.wpcf7 input[type=text]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 textarea:focus {
  border-color: #5c693a;
  background: #fff;
  outline: none;
  box-shadow: 0 0 5px #4a85a4 86, 167, 100, 0.3;
}

/* テキストエリアのサイズ調整 */
.wpcf7 textarea {
  height: 150px;
  resize: vertical;
}

/* 送信ボタン */
.wpcf7 input[type=submit] {
  width: 250px;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background-color: #376178;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

/* ホバー時の送信ボタン */
.wpcf7 input[type=submit]:hover {
  background: #4a85a4;
}

/* 送信成功・エラーメッセージ */
.wpcf7-response-output {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
}

/* 送信成功 */
.wpcf7-mail-sent-ok {
  background: #e6f7e9;
  color: #2d7a40;
  border: 1px solid #5c693a;
}