﻿@charset "UTF-8";

/*========================
TOPヘッダー
========================*/
.topheader{
  width:100%;
  max-width: 1420px;
  height: auto;
  margin: 0 auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:stretch;
}
.topheader_logo {
  width: 320px;
  padding: 0 0 0 32px;
  text-align: center;
}
.topheader_img {
  flex: 1;
  padding: 0 32px 0 42px;
}
@media screen and (max-width: 1240px) {
.topheader_logo {
  width:240px;
  }
}
@media screen and (max-width: 1000px) {
.topheader{
  flex-direction: column;
  }
.topheader_logo {
  width: 100%;
  padding: 0 32px 32px 32px;
  }
.topheader_img {
  padding: 0 24px 0 24px;
  }
}
@media screen and (max-width: 640px) {
.topheader_logo {
  padding: 24px 24px 24px 24px;
  }
.topheader_img {
  padding: 0 18px 0 18px;
  }
}

/* PRコメント */
.headpr {
  max-width: 12em;
  display: block;
  background-color: #A79283;
  color: #FFF;
  border-radius: 9999px;
  -webkit-border-radius: 9999px;
  -moz-border-radius: 9999px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.3em;
  line-height: 1;
  white-space: nowrap;
  font-weight: 500;
  padding: 0.3em 0.8em 0.5em;
  text-align: center;
  margin: 0 auto 6px;
}
@media screen and (max-width: 1240px) {
.headpr {
  max-width: 12em;
  font-size: 1em;
  }
}
@media screen and (max-width: 1000px) {
.spnone {
  display: none;
  }
}

/*-------------------------
スライダー画像
--------------------------*/
.topimg {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  border-radius: 42px;
  -webkit-border-radius: 42px;
  -moz-border-radius: 42px;
  position: relative;
}
@media screen and (max-width: 1000px) {
.topimg {
  height: 500px;
  border-radius: 32px;
  -webkit-border-radius: 32px;
  -moz-border-radius: 32px;
  }
}
@media screen and (max-width: 640px) {
.topimg {
  height: 360px;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  }
}
@media screen and (max-width: 480px) {
.topimg {
  height: 320px;
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  }
}


/*========================
お知らせ
========================*/
#topicswrap {
  width: 100%;
  max-width: 1420px;
  padding: 0 32px;
  margin: 0 auto;
}
@media screen and (max-width:640px) {
#topicswrap {
  padding: 0 24px;
  }
}


/*========================
SNS
========================*/
#SNSinfo {
  width: 100%;
  max-width: 1420px;
  padding: 0 32px;
  margin: 0 auto 42px;
  text-align: right;
}
@media screen and (max-width:1240px) {
#SNSinfo {
  margin: 24px auto 42px;
  }
}
@media screen and (max-width:640px) {
#SNSinfo {
  padding: 0 24px;
  text-align: center;
  }
}

#SNSinfo ul{
  margin: 0 0 12px;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: flex-end;
  align-items:flex-start;
}
#SNSinfo ul li{
  padding: 0 6px;
}
#SNSinfo ul li img{
  width: 100%;
  max-width: 68px;
}
#SNSinfo p{
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.3em;
  line-height: 1.6;
  font-weight: 500;
  color: #434A52;
}
@media screen and (max-width:640px) {
#SNSinfo ul{
  justify-content: center;
  }
}
@media screen and (max-width:480px) {
#SNSinfo ul li img{
  max-width: 48px;
  }
#SNSinfo p{
  font-size: 1.15em;
  }
}


/*========================
担当医カレンダー
========================*/
#calendar {
  width: 100%;
  max-width: 1240px;
  padding: 0 32px;
  margin: 0 auto;
}
#calendar p{
  font-size: 0.95em;
  text-align: center;
  margin-top: 12px;
}
@media screen and (max-width:640px) {
#calendar {
  padding: 0 24px;
  }
}

#calendar ul{
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items:flex-start;
}
#calendar ul li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  margin:0 24px 0 0;
}
#calendar ul li:last-child{
  margin:0 0 0 0;
}
#calendar ul li img{
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  border: 1px solid #BBB;
}
@media screen and (max-width:1000px) {
#calendar ul li{
  margin:0 18px 0 0;
  }
}
@media screen and (max-width:767px) {
#calendar ul{
  display: block;
  flex-direction: column;
  max-width: 480px;
  }
#calendar ul li{
  width: 100%;
  max-width:100%;
  margin:0 0 18px 0;
  }
}


/*========================
いまとこれからの「見る」に寄り添う。
========================*/
#topmessage {
  width: 100%;
  max-width: 1240px;
  padding: 0 32px;
  margin: 64px auto 48px;
}
#topmessage h3{
  font-size: 2.6em;
  font-weight: 700;
  font-family: 'Zen Maru Gothic', sans-serif;
  line-height: 1.5;
  color: #434A52;
  text-align: right;
}
#topmessage h3 br{
  display: none;
}
@media screen and (max-width:1000px) {
#topmessage {
  margin: 64px auto 42px;
  }
#topmessage h3{
  font-size: 2.1em;
  }
}
@media screen and (max-width:767px) {
#topmessage h3{
  font-size: 2.4em;
  text-align: center;
  }
#topmessage h3 br{
  display: block;
  }
}
@media screen and (max-width:640px) {
#topmessage {
  padding: 0 24px;
  margin: 48px auto 32px;
  }
}
@media screen and (max-width:480px) {
#topmessage h3{
  font-size: 2em;
  }
}

#topmessage ul{
  width:100%;
  margin: 42px auto 0;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items:center;
}
#topmessage ul li:first-child{
  width: 50%;
}
#topmessage ul li:first-child h4 {
  font-size: 1.5em;
  font-weight: 500;
  color: #D1788A;
  margin-bottom: 24px;
}
#topmessage ul li:first-child p{
  line-height: 2;
}
#topmessage ul li:last-child{
  width: 50%;
  padding: 0 0 0 32px;
}
#topmessage ul li:last-child img{
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
}
@media screen and (max-width:1000px) {
#topmessage ul{
  display: block;
  flex-direction: column;
  max-width: 640px;
  }
#topmessage ul li:first-child{
  width: 100%;
  }
#topmessage ul li:last-child{
  width: 100%;
  padding: 24px 0 0 0;
  }
}
@media screen and (max-width:640px) {
#topmessage ul{
  margin: 24px auto 0;
  }
#topmessage ul li:first-child h4 {
  font-size: 1.4em;
  margin-bottom: 12px;
  }
#topmessage ul li:first-child p{
  line-height: 1.8;
  }
}


/*========================
気になる目の症状お気軽にご相談ください
========================*/
#topservice {
  width: 100%;
  max-width: 1240px;
  padding: 0 32px;
  margin: 0 auto;
}
@media screen and (max-width:640px) {
#topservice {
  padding: 0 24px;
  }
}

.topservicelist {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
}
.topservicelist_text {
  width: 40%;
  text-align: right;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.8em;
  font-weight: 500;
  line-height: 1.6;
  color: #434A52;
  padding: 0 32px 0 0;
}
.topservicelist_list {
  width: 60%;
}
@media screen and (max-width:1240px) {
.topservicelist_text {
  font-size: 1.6em;
  }
}
@media screen and (max-width:1000px) {
.topservicelist {
  display: block;
  flex-direction: column;
  max-width: 640px;
  }
.topservicelist_text {
  width: 100%;
  text-align: left;
  padding: 0 0 24px 0;
  }
.topservicelist_text br {
  display: none;
  }
.topservicelist_list {
  width: 100%;
  }
}
@media screen and (max-width:640px) {
.topservicelist_text br {
  display: block;
  }
}
@media screen and (max-width:480px) {
.topservicelist_text {
  font-size: 1.4em;
  }
}

.topservicelist_list ul{
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
}
.topservicelist_list ul li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding: 0 6px 12px;
}
@media screen and (max-width:520px) {
.topservicelist_list ul{
  display: block;
  flex-direction: column;
  }
.topservicelist_list ul li{
  width: 100%;
  max-width:100%;
  padding: 0 0 12px;
  }
}

.topservicelist_list ul li a{
  position: relative;
  padding: 0 0 0 1.8em;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  font-size: 1.1em;
  text-decoration: none;
}
.topservicelist_list ul li a:before {
  position: absolute;
  top: 0.4em;
  left: 0;
  font-size: 1.6em;
  line-height: 0;
  color: #D1788A;
  font-family:"Material Symbols Rounded";
	content: "\eaaa"; /*丸囲み矢印*/
  font-variation-settings:
  'FILL' 1,
  'wght' 300
}
.topservicelist_list ul li a:hover{
  text-decoration: underline;
}


/*========================
自由診療のご案内
========================*/
#topprivate {
  width: 100%;
  padding: 48px 32px;
  margin: 42px auto 64px;
  background: #D1788A;
  color: #FFF;
}
#topprivate ul{
  width:100%;
  max-width: 1240px;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
}
#topprivate ul li{
  width: 25%;
  max-width:25%;
  width: calc(100% / 4);
  padding: 0 18px;
  border-right: 1px solid #FFF;
}
#topprivate ul li:last-child{
  border-right: none;
}
@media screen and (max-width:1240px) {
#topprivate ul{
  max-width: 840px;
}
#topprivate ul li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding: 0 18px 32px;
  border-right: none;
  }
}
@media screen and (max-width:767px) {
#topprivate {
  padding: 24px 18px;
  margin: 32px auto 64px;
  }
#topprivate ul{
  max-width: 480px;
  display: block;
  flex-direction: column;
}
#topprivate ul li{
  width: 100%;
  max-width:100%;
  padding: 0 0 24px;
  }
}
@media screen and (max-width:640px) {
#topprivate {
  margin: 32px auto 48px;
  }
}

/*中身*/
#topprivate ul li div {
  width: 184px;
  height: 184px;
  background: #FFF;
  border-radius: 9999px;
  -webkit-border-radius: 9999px;
  -moz-border-radius: 9999px;
  box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.4);
  position: relative;
  margin: 0 auto 24px;
}
#topprivate ul li div img{
  width: 100%;
  max-width: 124px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
#topprivate ul li h2{
  text-align: center;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 15px;
}
#topprivate ul li p{
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.7;
  padding: 0 1em;
  margin-bottom: 15px;
}
#topprivate ul li a{
  position: relative;
  padding: 0.8em 1em 0.8em 0.3em;
  border: 1px solid #FFF;
  color: #FFF;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  display: block;
  text-align: center;
  border-radius: 9999px;
  -webkit-border-radius: 9999px;
  -moz-border-radius: 9999px;
  margin: 0 0.8em;
}
#topprivate ul li a:after {
	position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-size: 1.8em;
  font-family:"Material Symbols Rounded";
	content: "\eaaa"; /*丸囲み矢印*/
  font-variation-settings:
  'FILL' 1,
  'wght' 300
}
#topprivate ul li a:hover{
  background: #434A52;
}

@media screen and (max-width:767px) {
#topprivate ul li {
  width:100%;
  max-width: 480px;
  margin: 0 auto;
  padding:18px 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  }
#topprivate ul li div {
  width: 124px;
  height: 124px;
  margin: 0 18px 0 0;
  }
#topprivate ul li div img{
  max-width: 84px;
  }
#topprivate ul li span{
  flex: 1;
  }
#topprivate ul li h2{
  text-align: left;
  margin-bottom: 12px;
  }
#topprivate ul li p{
  padding: 0;
  margin-bottom: 12px;
  }
#topprivate ul li a{
  font-size: 0.95em;
  margin: 0;
  }
}
@media screen and (max-width:640px) {
#topprivate ul li a{
  font-size: 1em;
  }
}
@media screen and (max-width:480px) {
#topprivate ul li div {
  width: 100px;
  height: 100px;
  }
#topprivate ul li div img{
  max-width: 68px;
  }
}


/*========================
沖田眼科の特長
========================*/
#featureswrap {
  width: 100%;
  max-width: 1420px;
  padding: 0 32px;
  margin: 0 auto;
}
@media screen and (max-width:640px) {
#featureswrap {
  padding: 0 24px;
  }
}

#featureswrap ul{
  width:100%;
  height: auto;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:stretch;
}
#featureswrap ul li{
  width: 33.33%;
  max-width:33.33%;
  width: calc(100% / 3);
  padding: 0 12px;
}
@media screen and (max-width:1000px) {
#featureswrap ul{
  display: block;
  flex-direction: column;
  max-width: 640px;
  }
#featureswrap ul li{
  width: 100%;
  max-width:100%;
  padding: 0 0 32px;
  }
}

/*ボックス*/
.featurebox {
  width: 100%;
  height: 100%;
  padding: 18px;
  margin: 0 auto;
  background: #FFF;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.3);
}
.featurebox img{
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
}
.featurebox h3{
  text-align: center;
  margin: 18px auto 12px;
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #434A52;
  font-size: 1.4em;
  font-weight: 600;
  line-height: 1.5;
}
.featurebox p{
  font-size: 0.95em;
  padding: 0 1em;
}
.featurebox span{
  margin: 18px auto 0;
  text-align: center;
  display: block;
}
.featurebox a{
  position: relative;
  padding: 0.8em 2.5em 0.8em 1.2em;
  background-color: #A79283;
  color: #FFF;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
  border-radius: 9999px;
  -webkit-border-radius: 9999px;
  -moz-border-radius: 9999px;
}
.featurebox a:after {
	position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-size: 1.8em;
  font-family:"Material Symbols Rounded";
	content: "\eaaa"; /*丸囲み矢印*/
  font-variation-settings:
  'FILL' 1,
  'wght' 300
}
.featurebox a:hover{
  background: #434A52;
}
@media screen and (max-width:1240px) {
.featurebox h3{
  font-size: 1.25em;
  }
}
@media screen and (max-width:1000px) {
.featurebox h3{
  font-size: 1.4em;
  }
}


/*========================
汎用パーツ
========================*/
#topicswrap h6,
#featureswrap h6{
  font-size: 3em;
  line-height: 1;
  white-space: nowrap;
  font-weight: 400;
  font-family: 'Quicksand', sans-serif;
  color: #A69283;
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
#topicswrap h5,
#featureswrap h5{
  font-size: 1.4em;
  line-height: 1;
  white-space: nowrap;
  font-weight: 500;
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #434A52;
  text-align: center;
  margin-bottom: 42px;
}
@media screen and (max-width:640px) {
#topicswrap h6,
#featureswrap h6{
  font-size: 2.4em;
  margin-bottom: 12px;
  }
#topicswrap h5,
#featureswrap h5{
  font-size: 1.2em;
  margin-bottom: 32px;
  }
}

