

/*-------------------------------------------------------------------------------------------*/
/* オリジナルCSS（テーマ非依存）
/*-------------------------------------------------------------------------------------------*/


/*-------- ホーム --------*/
#toppage h1 br {
    display: none;
}
#header-top-img .swiper-wrapper .swiper-slide .box p {
    font-size: 2rem;
}
#toppage .teach div {
    padding: 20px;
    background: #f8f8f8;
}
#toppage .ability h2  {
    margin-bottom: 50px;
}
#toppage .ability .column1  {
    counter-reset: item;
}
#toppage .ability .column1 div {
    position: relative;
    text-align: center;
    padding: 45px 30px 30px;
    border: 1px solid var(--main);
}
#toppage .ability .column1 div:before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    top: -23px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 3rem;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    background: var(--main);
}
#toppage .ability .column1 h4 {
    border: none;
}
#toppage .choice {
    position: relative;
}
#toppage .choice:before {
    content: "";
    position: absolute;
    top: -20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: url(https://www.seki-kyodo.com/wp-content/uploads/2023/08/icon02.png) no-repeat;
    background-size: contain;
}
#toppage .choice-text {
    position: relative;
    padding: 60px 40px 40px;
    background: #fffdf4;
    box-shadow: 0px 4px 4px rgba(147,136,82,.4);
}
#toppage .choice-text:before {
    content: "";
    position: absolute;
    top: -40px;
    left: 30px;
    width: 40px;
    height: 87px;
    background: url(https://www.seki-kyodo.com/wp-content/uploads/2023/08/icon03.png) no-repeat;
    background-size: contain;
}
#toppage .teach a {
    display: block;
    color: #fff;
    text-align: center;
    padding: 5px;
    margin-top: 5px;
    border-radius: 3px;
    background: var(--main);
}

/*-------- 強調 --------*/
strong {
    color: #880015;
}

/*-------- ページヘッダ --------*/
.head-title:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(237, 25, 58, 0.4);
    clip-path: polygon(0 0, 40% 0, 20% 100%, 0% 100%);
}

/*-------- こんな方に --------*/
.cure img {
    padding: 5px;
    border: 1px solid #ddd;
    background: #fff;
}
.cure-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.cure-link a,
.cure-link span {
    display: block;
    color: #fff;
    padding: 10px 25px;
    border-radius: 3px;
}
.cure-link a {
    background: var(--sub);
}
.cure-link a:hover {
    background: var(--link-h);
}
.cure-link span {
    color: #555;
    background: #eee;
}
.cure-comment {
    position: relative;
    padding: 40px;
    border-top: 1px solid #000;
    background: #f8f8f8;
}
.cure-comment:before {
    content: "";
    position: absolute;
    top: -133px;
    right: 50px;
    width: 130px;
    height: 133px;
    background: url(https://www.seki-kyodo.com/wp-content/uploads/2023/08/icon01.png) no-repeat;
    background-size: contain;
}

/*-------- 当院の施術 --------*/
.efficacy .box {
    text-align: center;
}
.efficacy h4 {
    color: #000;
    font-size: 1.8rem;
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: 1px dotted #ccc;
}

/*-------- お問い合わせ --------*/
p.tel {
    color: var(--main);
    font-size: 2.4rem;
    margin-bottom: 5px;
}

/*-------- レスポンシブ --------*/
@media only screen and (max-width: 600px) {
#toppage h1 br:last-child {
    display: block;
}
#toppage .choice-text {
    position: relative;
    padding: 60px 20px 20px;
    background: #fffdf4;
    box-shadow: 0px 4px 4px rgba(147,136,82,.4);
}
.cure-comment {
    margin-top: 150px;
}
.cure-comment:before {
    right: 50px;
    left: 50%;
    transform: translateX(-50%);
}
.cure-comment {
    padding: 30px 20px;
}
}
@media only screen and (max-width: 1024px) {
#content .choice {
    padding: 80px 7% 7%;
}
}
