@charset "UTF-8";
/* 
Theme Name:豊中庄内ヴェルデデンタルクリニック
*/
/* mv
------------------------------------------------------*/
/* top_mv
------------------------------------------------------*/
#mv {
  position: relative;
  margin: 0 auto;
}
#mv .mark_sunday {
  position: absolute;
  left: 2rem;
  top: 2rem;
  z-index: 1;
  width: 20vw;
  aspect-ratio: 1;
}
#mv .image {
  width: 100%;
  position: relative;
}
#mv .image img {
  vertical-align: top;
}
#mv .thumbs {
  width: 100%;
}
#mv .thumbs .thumbs_parent {
  display: flex;
  justify-content: space-between;
  gap: 1px;
}
#mv .thumbs .thumbs_parent .slide {
  width: 16.6%;
  transition: 0.3s;
}
#mv .thumbs .thumbs_parent .slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: 0.3s;
  cursor: pointer;
}
#mv .arrow {
  width: 40px;
  height: 40px;
  padding: 10px;
  cursor: pointer;
  position: absolute;
  bottom: 20%;
  z-index: 1;
  transition: 0.3s;
}
#mv .arrow:hover {
  opacity: 0.7;
}
#mv .arrow span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
#mv .arrow span::before, #mv .arrow span::after {
  content: "";
  position: absolute;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
#mv .arrow span::before {
  width: 100%;
  height: 3px;
}
#mv .arrow span::after {
  width: 3px;
  height: 100%;
  right: 0;
}
#mv .arrow.next {
  right: 20px;
}
#mv .arrow.next span {
  transform: rotate(45deg);
}
#mv .arrow.prev {
  left: 20px;
}
#mv .arrow.prev span {
  transform: rotate(-135deg);
}
@media screen and (max-width: 767px) {
  #mv .mark_sunday {
    left: 1rem;
    top: 1rem;
    width: 30vw;
  }
  #mv .image {
    width: auto;
  }
  #mv .thumbs .thumbs_parent .slide {
    width: 16.6%;
  }
  #mv .arrow {
    width: 3rem;
    height: 3rem;
    padding: 0.8rem;
  }
  #mv .arrow.next {
    right: 0.5rem;
  }
  #mv .arrow.prev {
    left: 0.5rem;
  }
}

/* contents
------------------------------------------------------*/
#contents {
  padding: 0;
}

/* news */
#news {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin: 5rem auto;
  background: #4F6072;
  color: #fff;
  display: flex;
  justify-content: space-between;
}
#news .header {
  border-right: 1px solid #fff;
  padding-right: 1rem;
  width: 20%;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
}
#news .header h2 {
  font-size: 2.4rem;
  font-family: "Zen Old Mincho", serif;
  font-weight: normal;
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
}
#news .header h2:before {
  content: "";
  width: 27px;
  height: 30px;
  display: block;
  background: url("/cms/wp-content/themes/verde/img/cmn/header_link.png") no-repeat center center/contain;
}
#news .header .link {
  width: 100%;
  display: block;
  text-align: left;
  margin-top: 3rem;
}
#news .header .link a {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
}
#news .list {
  width: 80%;
  padding-left: 2rem;
}
#news .list ul li {
  display: flex;
  justify-content: flex-start;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  gap: 2rem;
}
#news .list ul li span {
  font-size: 1.8rem;
}
#news .list ul li a {
  color: #fff;
}
@media screen and (max-width: 1024px) {
  #news {
    display: block;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  #news .header {
    padding: 0 0 2rem 0;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #fff;
    justify-content: space-between;
    align-items: center;
  }
  #news .header .link {
    width: auto;
  }
  #news .list {
    padding: 2rem;
    width: 100%;
  }
}

/* column */
#column {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin: 5rem auto;
  background: #4F6072;
  color: #fff;
  display: flex;
  justify-content: space-between;
}
#column .header {
  border-right: 1px solid #fff;
  padding-right: 1rem;
  width: 20%;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
}
#column .header h2 {
  font-size: 2.4rem;
  font-family: "Zen Old Mincho", serif;
  font-weight: normal;
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
}
#column .header h2:before {
  content: "";
  width: 27px;
  height: 30px;
  display: block;
  background: url("/cms/wp-content/themes/verde/img/cmn/header_link.png") no-repeat center center/contain;
}
#column .header .link {
  width: 100%;
  display: block;
  text-align: left;
  margin-top: 4rem;
}
#column .header .link a {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
}
#column .list {
  padding-left: 2rem;
  width: 80%;
}
#column .list ul {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}
#column .list ul li {
  width: 30%;
  line-height: 1.3;
  position: relative;
}
#column .list ul li span {
  font-size: 1.4rem;
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
  color: #000;
  background: #fff;
  padding: 2px;
  border: 1px solid #ccc;
}
#column .list ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
}
#column .list ul li p {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-bottom: 0;
}
#column .list ul li .thumb {
  aspect-ratio: 600/400;
}
#column .list ul li .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 1024px) {
  #column {
    display: block;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  #column .header {
    padding: 0 0 2rem 0;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #fff;
    justify-content: space-between;
    align-items: center;
  }
  #column .header .link {
    width: auto;
  }
  #column .list {
    padding: 1rem 0 0;
    width: 100%;
  }
  #column .list ul {
    display: block;
  }
  #column .list ul li {
    width: 100%;
    margin-bottom: 1rem;
  }
  #column .list ul a {
    display: block;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }
  #column .list ul a .thumb {
    width: 30%;
  }
  #column .list ul a span {
    left: calc(5px + 30%);
    right: auto;
    top: 0;
    background: none;
    padding: 0;
    color: #fff;
    border: none;
  }
  #column .list ul a p {
    width: 70%;
    padding-top: 2.3rem;
    line-height: 1.3;
  }
}

/* about */
#about .box {
  background: linear-gradient(45deg, rgb(148, 95, 66) 0%, rgb(148, 95, 66) 10%, rgb(233, 184, 0) 70%, rgb(233, 184, 0) 100%);
  margin-right: clamp(100px, 20vw, 20vw);
  max-width: 1000px;
  width: 80vw;
  padding: 50px 50px 150px;
  padding-right: clamp(4rem, 50vw - 600px, 100px);
  padding-left: clamp(4rem, 50vw - 600px, 100px);
}
#about .box .logo {
  max-width: 400px;
  margin-bottom: 50px;
}
#about .box .text {
  color: #fff;
}
#about .box .link {
  display: block;
  text-align: left;
}
#about .box .link a {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
}
#about .photo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  transform: translateY(-100px);
}
@media screen and (max-width: 767px) {
  #about .box {
    margin-right: 10vw;
    width: 90vw;
    padding: 50px 20px 70px;
  }
  #about .box .logo {
    max-width: 100%;
    width: 80%;
    margin-bottom: 20px;
  }
  #about .photo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    transform: translateY(-50px);
    flex-wrap: wrap;
    justify-content: center;
  }
  #about .photo li {
    width: calc(50% - 1rem);
  }
}

/* rinen */
#rinen {
  background: url("/cms/wp-content/themes/verde/img/top/bg_rinen.png") no-repeat top center/contain, linear-gradient(0deg, rgb(40, 48, 57) 0%, rgb(79, 96, 114) 100%);
  padding: clamp(5rem, 8vw, 8rem) 0rem;
  color: #fff;
}
#rinen h2 {
  text-align: center;
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 50px;
}
#rinen h2 span {
  font-size: 3.2rem;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  display: block;
  margin-bottom: 2rem;
}
#rinen .leadbox {
  text-align: center;
}
#rinen .lead {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  margin: 8rem auto;
  gap: 30px;
  align-items: center;
}
#rinen .lead .photo {
  width: 45%;
}
#rinen .lead .text {
  text-align: left;
  width: calc(55% - 30px);
}
#rinen .subtext {
  margin: 0 auto 30px;
  text-align: center;
  padding: 0 2rem;
}
#rinen .subtext p {
  display: inline-block;
  text-align: left;
}
#rinen .point {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3vw;
  margin-bottom: 50px;
}
#rinen .point li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  grid-row-gap: 5px;
  background: #8C9DAE;
  text-align: center;
}
#rinen .point li p {
  padding: 2rem 1rem;
  margin-bottom: 5px;
  font-size: clamp(1.2rem, 1.6vw, 1.8rem);
}
#rinen .point li .photo {
  grid-row: end;
}
#rinen .way {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  gap: 3vw;
}
#rinen .way li {
  width: 30%;
  position: relative;
  padding-top: 8%;
}
#rinen .way li:before {
  content: "";
  width: 30%;
  height: 30%;
  position: absolute;
  top: 0;
  right: 10%;
  background: url("/cms/wp-content/themes/verde/img/top/icon_rinen.png") no-repeat 0 0/contain;
}
#rinen .way li:last-child:before {
  right: auto;
  left: 10%;
  background: url("/cms/wp-content/themes/verde/img/top/icon_rinen.png") no-repeat 0 0/contain;
  transform: scaleX(-1);
}
#rinen .link {
  display: block;
  text-align: center;
}
#rinen .link a {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
}
@media screen and (max-width: 1024px) {
  #rinen .lead {
    padding: 0 2rem;
  }
}
@media screen and (max-width: 767px) {
  #rinen .lead {
    display: block;
    justify-content: space-between;
    margin: 4rem auto;
  }
  #rinen .lead .photo {
    width: 100%;
    margin-bottom: 1rem;
  }
  #rinen .lead .text {
    text-align: left;
    width: 100%;
  }
  #rinen .point li {
    text-align: left;
  }
  #rinen .way {
    margin: 20px auto;
  }
  #rinen .way li {
    width: 40%;
  }
}

/* feature */
#feature {
  padding: 10rem 0 0;
}
#feature .header {
  text-align: center;
}
#feature .header h2 {
  display: inline-block;
  margin: 4em 0;
  padding: 12px 1.5rem;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-family: "Zen Old Mincho", serif;
  font-weight: normal;
  text-align: center;
  position: relative;
}
#feature .header h2:before {
  display: block;
  content: "";
  width: 14em;
  position: absolute;
  bottom: calc(100% + 15px);
  left: 2.5em;
  aspect-ratio: 285/64;
  background: url("/cms/wp-content/themes/verde/img/cmn/logo_wide_color.png") no-repeat center center/contain;
}
#feature .header h2:after {
  display: block;
  content: "";
  width: 100%;
  position: absolute;
  bottom: 100%;
  left: 0;
  height: 2px;
  background: linear-gradient(45deg, rgb(148, 95, 66) 0%, rgb(148, 95, 66) 10%, rgb(233, 184, 0) 70%, rgb(233, 184, 0) 100%);
}
#feature .container {
  background: url("/cms/wp-content/themes/verde/img/top/bg_feature.png") repeat-y 0 0/100% auto, linear-gradient(180deg, rgb(81, 54, 39) 0%, rgb(148, 95, 66) 30%, rgb(187, 136, 36) 90%, rgb(187, 136, 36) 100%);
  padding: 100px 0;
}
#feature .container section {
  padding: 50px 0;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
#feature .container section:before {
  content: "";
  width: 70%;
  height: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.18);
}
#feature .container section .text {
  position: relative;
  color: #fff;
  width: 55%;
  padding-left: clamp(4rem, 50vw - 600px, 100px);
  padding-top: 5rem;
}
#feature .container section .text .icon {
  position: absolute;
  left: clamp(4rem, 50vw - 600px, 100px);
  width: 12rem;
  top: -6rem;
}
#feature .container section .text h3 {
  margin-bottom: 2rem;
  font-size: clamp(2.4rem, 2.8vw, 3.2rem);
  font-weight: normal;
}
#feature .container section .text .link {
  display: block;
}
#feature .container section .text .link a {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
}
#feature .container section .photo {
  width: 40%;
  position: relative;
}
#feature .container section .photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
#feature .container section:nth-child(even) {
  flex-direction: row-reverse;
}
#feature .container section:nth-child(even):before {
  left: auto;
  right: 0;
  top: 0;
}
#feature .container section:nth-child(even) .text {
  padding-right: clamp(4rem, 50vw - 600px, 100px);
  padding-left: 0;
}
#feature .container section:nth-child(even) .text .icon {
  position: absolute;
  left: 0;
  width: 12rem;
  top: -6rem;
}
@media screen and (max-width: 1024px) {
  #feature .container section {
    display: block;
  }
  #feature .container section:before {
    display: none;
  }
  #feature .container section .text {
    position: relative;
    color: #fff;
    width: 80%;
    padding: 5rem 30px;
  }
  #feature .container section .text:before {
    content: "";
    width: 90vw;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    background: rgba(255, 255, 255, 0.18);
  }
  #feature .container section .photo {
    width: 100%;
    position: relative;
    text-align: right;
    margin-top: -6rem;
  }
  #feature .container section .photo img {
    object-fit: cover;
    width: 60%;
    height: auto;
  }
  #feature .container section:nth-child(even) .text {
    padding: 5rem 30px;
    margin: 0 0 0 auto;
  }
  #feature .container section:nth-child(even) .text:before {
    left: auto;
    right: 0;
  }
  #feature .container section:nth-child(even) .text .link {
    text-align: right;
  }
  #feature .container section:nth-child(even) .photo {
    text-align: left;
  }
}
@media screen and (max-width: 767px) {
  #feature .header h2 {
    margin: 4em 0 2rem;
    font-size: 4.5vw;
  }
  #feature .header h2:before {
    width: 60%;
  }
  #feature .container {
    padding: 50px 0;
  }
  #feature .container section {
    padding: 0;
  }
  #feature .container section .text {
    position: relative;
    color: #fff;
    width: 96%;
    padding: 5rem 30px;
  }
  #feature .container section .text:before {
    content: "";
    width: 90vw;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    background: rgba(255, 255, 255, 0.18);
  }
  #feature .container section .photo {
    width: 100%;
    margin-top: -3rem;
  }
  #feature .container section:nth-child(even) .text {
    padding: 5rem 10px 5rem 30px;
    margin: 0 0 0 auto;
  }
  #feature .container section:nth-child(even) .text:before {
    left: auto;
    right: 0;
  }
  #feature .container section:nth-child(even) .text .link {
    text-align: left;
  }
  #feature .container section:nth-child(even) .photo {
    text-align: left;
  }
}