/* Scss Document */ $color: #a08f1a; //サイトで良く使う色 $text: #000; //基本的なテキストの色 //hoverアニメーションを使いたい場合に使用 //呼び出し方法(cssに指定) → @include ani; @mixin ani { transition: 0.3s ease-in-out; } //display:flex;を使用した場合等に使用(widthが30%から70%まで)画面幅が740pxで100%に変わる //呼び出し方法(htmlに指定) → .flex_30 ~ .flex_70 @for $i from 30 through 70 { .flex_#{$i} { width: 1% * $i; } } //padding-topとpadding-bottom(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .padding100 ~ .padding300 $p: 100; @while $p < 310 { .padding#{$p} { padding-top: $p + px; padding-bottom: $p + px; } $p: $p + 10; } //margin-topとmargin-bottom(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .margin100 ~ .margin300 $m: 100; @while $m < 310 { .margin#{$m} { margin-top: $m + px; margin-bottom: $m + px; } $m: $m + 10; } //padding-top(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .pt-120 ~ .pt-300 $pt: 110; @while $pt < 310 { .pt-#{$pt} { padding-top: $pt + px; } $pt: $pt + 10; } //padding-bottom(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .pb-120 ~ .pb-300 $pb: 110; @while $pb < 310 { .pb-#{$pb} { padding-bottom: $pb + px; } $pb: $pb + 10; } //margin-top(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .mt-120 ~ .mt-300 $mt: 110; @while $mt < 310 { .mt-#{$mt} { margin-top: $mt + px; } $mt: $mt + 10; } //margin-bottom(タブレットで全て80px、スマホで全て60px)←変更可能 //呼び出し方法(htmlに指定) → .mb-120 ~ .mb-300 $mb: 110; @while $mb < 310 { .mb-#{$mb} { margin-bottom: $mb + px; } $mb: $mb + 10; } * { text-decoration: none !important; } // ********************** // フェードアップ スクロール .fadeUp { opacity: 0; transform: translateY(20px); transition: 1s; } // ------------------------ // フェードアップ すぐ発生 .fadeUp_load { opacity: 0; transform: translateY(20px); transition: 1s; } .showElement { opacity: 1; transform: translateY(0); } // 共通 .br1680 { display: block; } .br1400 { display: block; } .br1280 { display: block; } .font-w700 { font-weight: 700; } .bold { font-weight: bold; } .center { text-align: center; } .m0-auto { margin: 0 auto; } .bg_33ad37 { background: #33ad37; } .bg_464444 { background: #464444; } .bg_fafcf4 { background: #fafcf4; } .c_8fc31f { color: #8fc31f; } .bg_8fc31f { background: #8fc31f; } .lineh016 { line-height: 1.6; } .lineh025 { line-height: 2.5; } .letter006 { letter-spacing: 0.06em; } .letter010 { letter-spacing: 0.10em; } .midashi_bb { position: relative; display: flex; align-items: center; &::before { content: ""; display: block; width: 10px; height: 2px; background-color: #8fc31f; margin-right: 10px; position: relative; left: 4px; } } .white_bb { &::before { background-color: #fff; } } .midashi_bb_green { position: relative; display: flex; align-items: center; &::before { content: ""; display: block; width: 25px; height: 5px; background-color: #8fc31f; margin-right: 10px; border-radius: 3px; } } .midashi_border { &::after { content: ""; display: block; width: 70px; height: 2px; background-color: #8fc31f; position: relative; top: 50px; } } .midashi92 { font-size: 92px; font-family: "RadioCanadaBig-SemiBold"; letter-spacing: 0.04em; line-height: 1.2; } .midashi55 { font-size: 55px; } .midashi36 { font-size: 36px; } .midashi30 { font-size: 30px; } .midashi28 { font-size: 28px; } .midashi26 { font-size: 26px; } .midashi24 { font-size: 24px; } .midashi22 { font-size: 22px; } .midashi20 { font-size: 20px; } .text18 { font-size: 18px; } .text17 { font-size: 17px; } .text16 { font-size: 16px; } .text15 { font-size: 15px; } .text14 { font-size: 14px; } .sports_sec04_midashi { font-size: 28px; } // ボタン .btn { width: 290px; a { display: block; width: 100%; background: #e5e5e5; border-radius: 30px; padding: 15px 22px; display: flex; justify-content: space-between; transition: 0.3s ease; .arrow { width: 30px; height: 30px; background-color: #8fc31f; border: 1px solid #8fc31f; border-radius: 50%; display: flex; align-items: center; justify-content: center; } &:hover { background-color: #8fc31f; color: #fff; .arrow { border: 1px solid #fff; } } } } .btn2 { a { max-width: 185px; margin-left: auto; display: flex; align-items: baseline; gap: 20px; transition: 0.3s ease; .btn_under { border-bottom: 1px solid #bfbfbf; } .arrow_bottom { width: 30px; height: 30px; background-color: #8fc31f; border: 1px solid #8fc31f; border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: rotate(90deg) } &:hover { color: #8fc31f; .btn_under { border-bottom: 1px solid #8fc31f; } } } } .w260 { width: 260px; } // ヘッダー .header { top: 0; left: 0; width: 100%; z-index: 9998; background-color: #FFF; padding: 20px 0 10px; position: fixed; } .h_nav_wrap { display: flex; justify-content: space-between; align-items: center; width: 94%; max-width: 1800px; margin: 0 auto; } .h_logo { width: 468px; height: auto; img { width: 100%; height: auto; } } .h_right { // width: 740px; width: calc(100% - 480px); max-width: 720px; .h_nav { ul { display: flex; justify-content: space-between; align-items: center; a { color: inherit; position: relative; &::after { content: ""; border-bottom: 2px solid #8fc31f; position: absolute; bottom: -14px; left: 50%; width: 0; transform: translateX(-50%); transition: 0.5s ease; } &:hover { &::after { width: 100%; } } } } } .link_icon { display: flex; justify-content: end; gap: 10px; margin-bottom: 15px; li { width: 220px; height: 35px; a { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 13px; letter-spacing: 0.06em; color: #fff; border-radius: 20px; padding: 5px 23px; } } } } /************************/ /************************************************************* TOP *************************************************************/ .preload { opacity: 0 !important; } .top_main { position: relative; margin-top: 110px; &::after { content: ""; background: url(../images/mv_bg.webp) left 0 / 100% 100% no-repeat; display: block; position: absolute; bottom: -180px; left: 0; height: 700px; width: 100%; } .top_main_mv { width: 97%; max-width: 1860px; margin-left: auto; background: url(../images/mv1.webp) 60% 0 / cover no-repeat; height: clamp(600px, 50vw, 800px); position: relative; z-index: 50; border-radius: 20px 0 0 20px; .mv_copy { position: absolute; width: 60vw; max-width: 832px; top: 50%; transform: translateY(0); left: 6vw; opacity: 0; transition: 1s ease 0.8s; img { width: 100%; height: auto; } } .fadeup_catch { opacity: 1; transform: translateY(-30px); } } } /* 下から */ .fadeUp_txt { animation-name: fadeUp_txtAnime; animation-duration: 1s; animation-delay: 0.8s; animation-fill-mode: forwards; opacity: 0; } @keyframes fadeUp_txtAnime { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(-40px); } } .top_fadein { animation: fadeInani 1.3s; } @keyframes fadeInani { 0% { opacity: 0; } 100% { opacity: 1; } } .fadeUp_headtxt { animation-name: fadeUp_headtxt; animation-duration: 1s; animation-delay: 0; animation-fill-mode: forwards; opacity: 0; } @keyframes fadeUp_headtxt { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } // 画像左から右アニメーションmv .left_to_right { max-width: 100%; animation-name: anime_left_to_right; animation-fill-mode: forwards; animation-duration: 1.2s; animation-iteration-count: 1; animation-timing-function: ease; animation-delay: 0; animation-direction: normal; } @-webkit-keyframes anime_left_to_right { 0% { clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%); } 100% { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); } } @keyframes anime_left_to_right { 0% { clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%); } 100% { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); } } // フェードアップ @keyframes movement { from { top: 40px; } to { opacity: 1; top: 0; } } .movement { position: relative; opacity: 0; animation-name: movement; animation-duration: .5s !important; animation-fill-mode: forwards; animation-timing-function: ease; } /* 流れる文字 */ /* ---------------------------- */ .loop_wrapper { font-size: 180px; display: flex; overflow: hidden; text-align: center; width: 100%; } .loop_wrapper_text { display: inline-block; white-space: nowrap; animation: scrollTxt 30s linear infinite; margin-right: 40px; color: #cbe78e; letter-spacing: 0.03em; font-family: "RadioCanadaBig-Regular"; } @-webkit-keyframes scrollTxt { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } } @keyframes scrollTxt { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } } .sec01_grid { display: grid; grid-template-columns: 45% 48%; justify-content: space-between; height: 640px; li { &:nth-of-type(2) { margin-top: 200px; } } .left { position: -webkit-sticky; position: sticky; top: 95px; height: 330px; } } .top_circle_bg2 { position: absolute; bottom: -18vw; left: 0; opacity: 0.15; } // ---------- .cont_left1840 { width: 90%; max-width: 1840px; } .cont_left1600 { width: 90%; max-width: 1600px; } .cont_right1600 { width: 90%; max-width: 1600px; margin-left: auto; } .sec02_bg { background-image: url(../images/top1.webp); background-size: cover; background-position: 50% 0; width: 100%; height: 720px; position: relative; opacity: 0; transition: 1s ease 0.3s; &::after { content: ""; background-color: #fff; border-radius: 0 15px 0 0; display: block; position: absolute; bottom: 0; left: 0; height: 180px; width: calc(100% - 320px); max-width: 1600px; } } // 画像左から右アニメーションscroll .left_to_right_scroll { max-width: 100%; animation-name: anime_left_to_right_scroll; animation-fill-mode: forwards; animation-duration: 1s; animation-iteration-count: 1; animation-timing-function: ease; animation-delay: .3s; animation-duration: 1s; opacity: 1; } @-webkit-keyframes anime_left_to_right_scroll { 0% { clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%); } 100% { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); } } @keyframes anime_left_to_right_scroll { 0% { clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%); } 100% { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); } } .sec02_grid { display: grid; grid-template-columns: 52% 40%; justify-content: space-between; position: relative; top: -30px; li { &:nth-of-type(2) { max-width: 500px; margin-right: 10%; } } } .sec03_grid1 { display: grid; grid-template-columns: 52.5% 39%; justify-content: space-between; } .sec03_grid2 { margin: 0 auto; // display: grid; // grid-template-columns: repeat(3, 1fr); display: flex; justify-content: center; gap: 3vw; row-gap: 3vw; position: relative; top: -60px; } .sec03_pt { padding-top: 200px; } .circle_bg3 { position: absolute; bottom: -25vw; left: 0; opacity: 0.15; } .sec04_grid { display: grid; grid-template-columns: 40% 52.5%; justify-content: space-between; align-items: center; } .sec05_mt { margin-top: 180px; } .sec05_grid { display: grid; grid-template-columns: 25% 73.5%; justify-content: space-between; } .cont_right1760 { width: 90%; max-width: 1760px; } .sec05_bg { &::after { content: ""; display: block; background: url(../images/info_bg.webp) left 0 / 100% 100% no-repeat; position: absolute; left: 0; top: 0; height: 100%; width: calc(100% - 80px); } } .sec05_midashi { position: absolute; left: 50%; transform: translateX(-50%); top: -4vw; } // タブ .page02 { display: none; } .page03 { display: none; } .on { display: block; } .delete { display: none; } // ボタン切り替え .active_color { color: #8fc31f; position: relative; &::before { content: ""; width: 8px; height: 8px; background-color: #8fc31f; border-radius: 50%; display: inline-block; position: absolute; left: -15px; top: 50%; transform: translateY(-50%); } } .footer_bg { background: url(../images/footer_bg.webp) 50% 0 / cover no-repeat; padding: 140px 0 100px; .footer_flex1 { display: flex; justify-content: space-between; gap: 30px; } } .f_link_banner { li { width: 380px; &:first-of-type { margin-bottom: 20px; } a { display: flex; // justify-content: space-between; gap: 15px; align-items: center; width: 100%; border-radius: 5px; padding: 35px 60px; color: #fff; font-size: 18px; transition: 0.3s ease; } .f_line { background-color: #33ad37; &:hover { background-color: #288e2b; } } .f_mail { background-color: #8fc31f; &:hover { background-color: #7fb015; } } } } .footer_flex2 { display: flex; justify-content: space-between; border-bottom: 1px solid #d2d2d2; ul { display: flex; justify-content: space-between; font-size: 14px; width: calc(100% - 480px); max-width: 720px; } } .footer_flex3 { display: flex; justify-content: space-between; >div { display: flex; align-items: center; gap: 5px; } .footer_map { min-width: 105px; a { display: flex; align-items: center; justify-content: center; width: 100%; color: #8fc31f; font-size: 13px; border: 1px solid #8fc31f; border-radius: 30px; padding: 5px 0; letter-spacing: 0.06em; line-height: 1; } } .copy { font-size: 12px; } } .pin { position: relative; top: -3px; } // スタッフ写真の切り替えフェード /*fade*/ .inner-block { position: relative; } .fade-img-box1, .fade-img-box2, .fade-img-box3 { // overflow: hidden; width: 400px; height: 460px; } .fade-img-box1 img { position: absolute; top: 0; left: 0; height: 100%; object-fit: cover; // overflow: hidden; } .fade-img-box2 img { position: absolute; top: 0; left: 0; height: 100%; object-fit: cover; // overflow: hidden; } .fade-img-box3 img { position: absolute; top: 0; left: 0; height: 100%; object-fit: cover; // overflow: hidden; } /************************************************************* sports-outpatient *************************************************************/ .main_head { margin-top: 110px; } .main_size { height: 440px; position: relative; display: flex; align-items: center; } .header_midashi { color: #8fc31f; opacity: 0; transition: 0.8s ease; transform: translateY(20px); p { font-size: 120px; letter-spacing: 0.04em; font-family: "RadioCanadaBig-SemiBold"; line-height: 1; } h2 { font-size: 24px; font-weight: bold; } } .fadeup_headttl { opacity: 1; transform: translateY(0); } .sports_sec01 { &_grid1 { display: grid; grid-template-columns: 52.5% 42.5%; justify-content: space-between; align-items: center; padding-bottom: 100px; } &_grid2 { display: grid; grid-template-columns: 58% 36%; justify-content: space-between; padding: 80px 0; border-top: 1px solid #e2e2e1; &:last-of-type { border-bottom: 1px solid #e2e2e1; } } } .sports_sec02_grid { display: grid; grid-template-columns: 25% 71.5%; justify-content: space-between; padding: 80px; background-color: #fff; border-radius: 15px; } .storoke_number { max-width: 118px; height: auto; width: 80%; min-width: 60px; margin-left: auto; img { width: 100%; height: auto; } } .storoke_01 { max-width: 91px; } .en_midashi_flow { max-width: 448px; height: auto; } .en_midashi_Treatment { max-width: 1008px; height: auto; } .en_midashi_examples { max-width: 913px; height: auto; position: absolute; left: 0; top: -6em; z-index: 1000; } .sports_sec03_grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 4vw; row-gap: 80px; } .sports_sec04_bg { position: relative; &::after { content: ""; display: block; background: url(../images/sports_bg.webp) left 0 / 100% 100% no-repeat; position: absolute; left: 0; top: 0; height: 100%; width: calc(100% - 80px); } } .sports_sec04_grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2.5vw; row-gap: 80px; } .sports_sec04_flex { li { display: flex; align-items: start; padding: 15px 0; border-top: 1px solid #e2e2e1; position: relative; p { line-height: 1.6; } >span { display: inline-block; min-width: 7px; min-height: 7px; background-color: #8fc31f; border-radius: 50%; margin-right: 5px; position: relative; top: 10px; } &:last-of-type { border-bottom: 1px solid #e2e2e1; } } } .sports_sec04_pt { padding-top: 200px; } .head_circle_bg { position: absolute; bottom: -25vw; right: 0; opacity: 0.15; } .page_circle_bg2 { position: absolute; bottom: -20vw; left: 0; opacity: 0.15; } .sports_circle_bg1 { position: absolute; bottom: -30vw; right: 0; opacity: 0.15; } /************************************************************* doctor *************************************************************/ .doctor_sec01_grid { display: grid; // grid-template-columns: 29.5% 60%; grid-template-columns: 38% 60%; justify-content: space-between; } .midashi_sticky { position: -webkit-sticky; position: sticky; height: 600px; top: 150px; } .doctor_sec01_mini_grid { li { display: grid; grid-template-columns: 49.5% 50.5%; justify-content: space-between; .doctor_sec01_mini_grid_left { padding: 10px 60px; } } } .circle_green { font-size: 24px; letter-spacing: 0; color: #8fc31f; line-height: 0; position: relative; top: 3px; } .indent_p { text-indent: -1.7em; padding-left: 1.0em; } .en_midashi_doctor { max-width: 639px; height: auto; } .en_midashi_staff { max-width: 458px; height: auto; } .doctor_circle_bg2 { position: absolute; bottom: -5vw; left: 0; opacity: 0.15; } /************************************************************* Document *************************************************************/ .document_sec01_grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 7vw; row-gap: 100px; } .border_bottom { border-bottom: 1px solid #e2e2e1; padding-bottom: 40px; } .doc_circle_bg2 { position: absolute; bottom: -30vw; left: 0; opacity: 0.15; } /************************************************************* Contact *************************************************************/ .map { max-width: 946px; margin: 0 auto; width: 90%; } .pc_740none { display: block; } .sp_740none { display: none; } .contact_circle_bg2 { position: absolute; bottom: 20vw; left: 0; opacity: 0.15; img { width: 100%; height: auto; } } /* -------- */ .contact_table { >div { padding-bottom: 25px; &:nth-child(n+2) { padding-top: 25px; } } } .e_cell1 { display: flex; align-items: center; font-size: 17px; margin-bottom: 25px; } .e_cell2 { width: 100%; } .hissu { background-color: #e6404d; width: 50px; font-size: 13px; margin-left: 10px; border-radius: 15px; text-align: center; color: #fff; line-height: 1.55; font-family: "noto-sans-cjk-jp", sans-serif; font-weight: 300; font-style: normal; } .size input, .size_mini input { height: 55px; } .size_mini { display: flex; justify-content: space-between; align-items: center; max-width: 400px; width: 80%; input { width: 100%; // width: calc(100% - 40px); max-width: 360px; border: 1px solid #e2e2e1; padding: 10px 20px; border-radius: 5px; } } .name_area { min-width: 40px; font-size: 16px; } .flex_cell { display: flex; justify-content: space-between; gap: 30px; max-width: 830px; } .size input, .area textarea { width: 100%; border: 1px solid #e2e2e1; padding: 10px 20px; border-radius: 5px; } .area textarea { height: 230px; } .text02 { width: 100%; max-width: 160px !important; margin: 0 15px 0 12px } /* お問い合わせ種別 */ .label_flex { font-size: 16px; } // .label_flex .wpcf7-list-item { // padding: 13px 20px 18px; // border-radius: 5px; // } .label_flex label { cursor: pointer; } .wpcf7-list-item { display: inline-block; margin-right: 20px; margin-bottom: 10px } input[type="radio"] { margin: 0; padding: 0; background: none; border: none; border-radius: 0; outline: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 100px; position: relative; vertical-align: sub; margin-right: 10px; } input[type="radio"]::before, input[type="radio"]::after { content: ""; display: block; border-radius: 50%; position: absolute; transform: translateY(-50%); top: 50%; transition: 0.5s ease; } input[type="radio"]::before { border: 1px solid #e2e2e1; height: 23px; width: 23px; left: 0px; } input[type="radio"]::after { background-color: #8fc31f; opacity: 0; height: 11px; width: 11px; left: 6px; } input[type="radio"]:checked::after { opacity: 1; } // 送信ボタン .submit { position: relative; z-index: 10; width: 100%; max-width: 360px; margin: 0 auto; &:hover { .arrow { border: 1px solid #fff; } } input { position: relative; background: #e5e5e5; width: 100%; border-radius: 50px; padding: 20px 22px; transition: 0.3s ease; border: none; font-family: "noto-sans-cjk-jp", sans-serif; font-weight: 300; font-style: normal; &:hover { background-color: #8fc31f; color: #fff; } } .arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; background-color: #8fc31f; border: 1px solid #8fc31f; border-radius: 50%; display: flex; align-items: center; justify-content: center; } } /* -------- */ .under_line_red { color: #e6404d; border-bottom: 1px solid #e6404d; &:hover { color: #e6404d; } } .wpcf7-spinner { display: none !important; } /************************************************************* Information *************************************************************/ .info_grid { display: grid; grid-template-columns: 73.5% 19.5%; justify-content: space-between; } .info_mini_grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 3vw; row-gap: 70px; li { a { &:hover { color: #464444; img { box-shadow: 0 5px 20px 0 rgba(70, 68, 68, 0.2); } } img { border-radius: 10px; transition: 0.3s ease; } } } } .flex_item { display: flex; align-items: center; } .topics_date { // flex: 0.38; width: 110px; font-size: 14px; font-family: "RadioCanadaBig-Regular"; } .topics_category { // flex: 0.3; color: #8fc31f; font-size: 12px; border: 1px solid #8fc31f; background-color: #fff; border-radius: 10px; text-align: center; line-height: 1.5; padding: 0 10px; } .active_page { position: relative; a { color: #8fc31f; } &::before { content: ""; width: 8px; height: 8px; background-color: #8fc31f; border-radius: 50%; display: inline-block; position: absolute; left: -15px; top: 50%; transform: translateY(-50%); } } .under_line_grey { border-bottom: 1px solid #e2e2e1; padding-bottom: 5px; } .side_box { ul { padding-left: 15px; font-size: 16px; li { cursor: pointer; &:not(:last-of-type) { margin-bottom: 10px; } a { transition: 0.3s ease; &:hover { color: #8fc31f; } } } } } // ページネーション .pagenation2 { text-align: center; } .pagenation2 li { display: inline-block; position: relative; margin: 0 2px; cursor: not-allowed; display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 50%; border: 1px solid #dbdbda; a { color: #8fc31f; } } .pagenation2 .active { position: relative; // margin: 0 2px; cursor: not-allowed; display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 50%; background-color: #8fc31f; color: #fff; a { color: #fff; } } .pagenation2 .active:hover { color: #000; } .pagenation2 .prev img { transform: scale(-1, 1); } .pagenation2 .next, .pagenation2 .prev { img { position: relative; top: -2px; } } .info_circle_bg2 { position: absolute; bottom: -30vw; left: 0; opacity: 0.15; } /* news詳細ページ */ .topics_detail_ttl { font-size: 2.8rem; border-bottom: 1px solid #8fc31f; padding-bottom: 10px; } .m0_auto { margin: 0 auto; } /* PC用 ------------------------------------------------------------*/ @media only screen and (max-width: 1680px) { .br1680 { display: none; } } @media only screen and (max-width: 1500px) { .sec03_grid1 { li { &:first-of-type { padding-top: 6vw; } } } .sec03_imgpt { padding-top: 3vw; } .sec03_pt { padding-top: 7vw; } } @media only screen and (max-width: 1400px) { .midashi55 { font-size: 45px; } .br1400 { display: none; } // スタッフ写真の切り替えフェード .fade-img-box1, .fade-img-box2, .fade-img-box3 { // overflow: hidden; width: 320px; height: 368px; } } @media only screen and (max-width: 1300px) { // ヘッダー .h_nav_wrap { align-items: flex-start; } .h_logo { width: 420px; } .h_right { width: calc(100% - 400px); max-width: 720px; .h_nav { ul { display: flex; justify-content: space-between; align-items: center; margin: 0 calc(50% - 40vw); width: 65vw; } } } .header_midashi { color: #8fc31f; p { font-size: 100px; } } // フッター .footer_flex2 { display: block; ul { margin-top: 15px; margin-left: auto; width: auto; } } } @media only screen and (max-width: 1280px) { .sec02_bg { height: 620px; } .br1280 { display: none; } } @media only screen and (max-width: 1200px) { .midashi92 { font-size: 80px; } .midashi55 { font-size: 42px; } .w260 { width: 220px; } .sec03_grid1 { grid-template-columns: 48% 45%; li { &:first-of-type { padding-top: 13vw; } } } .en_midashi_flow { max-width: 398px; height: auto; } .en_midashi_Treatment { max-width: 858px; height: auto; } .en_midashi_examples { max-width: 763px; height: auto; position: absolute; left: 0; top: -5em; z-index: 1000; } .en_midashi_doctor { max-width: 489px; height: auto; } .en_midashi_staff { max-width: 308px; height: auto; } // スタッフ写真の切り替えフェード .fade-img-box1, .fade-img-box2, .fade-img-box3 { // overflow: hidden; width: 280px; height: 322px; } } @media only screen and (max-width: 1024px) { $p: 100; @while $p < 310 { .padding#{$p} { padding-top: 80px; padding-bottom: 80px; } $p: $p + 10; } $m: 100; @while $m < 310 { .margin#{$m} { margin-top: 80px; margin-bottom: 80px; } $m: $m + 10; } $pt: 120; @while $pt < 310 { .pt-#{$pt} { padding-top: 80px; } $pt: $pt + 10; } $pb: 120; @while $pb < 310 { .pb-#{$pb} { padding-bottom: 80px; } $pb: $pb + 10; } $mt: 120; @while $mt < 310 { .mt-#{$mt} { margin-top: 80px; } $mt: $mt + 10; } $mb: 120; @while $mb < 310 { .mb-#{$mb} { margin-bottom: 80px; } $mb: $mb + 10; } /******************/ .midashi92 { font-size: 68px; } .midashi55 { font-size: 30px; } .midashi36 { font-size: 28px; } .midashi30 { font-size: 24px; } .midashi28 { font-size: 22px; } .midashi24 { font-size: 20px; } .midashi22 { font-size: 19px; } .midashi20 { font-size: 18px; } .midashi_border { &::after { display: block; width: 60px; top: 30px; } } .sports_sec04_midashi { font-size: 22px; } .en_midashi_flow { max-width: 318px; height: auto; } .en_midashi_Treatment { max-width: 758px; height: auto; } .en_midashi_examples { max-width: 663px; height: auto; position: absolute; left: 0; top: -4em; z-index: 1000; } .en_midashi_doctor { max-width: 389px; height: auto; } .en_midashi_staff { max-width: 208px; height: auto; } // ヘッダー .h_right { display: none; } .header { padding: 20px 0 25px; height: 80px; } .h_nav_wrap { width: 90%; } .sp_link { display: flex; justify-content: center; gap: 30px; li { width: 380px; a { display: flex; // justify-content: space-between; gap: 15px; align-items: center; width: 100%; border-radius: 5px; padding: 35px 60px; color: #fff; font-size: 18px; transition: 0.3s ease; } .f_line { background-color: #33ad37; &:hover { background-color: #288e2b; } } .f_mail { background-color: #8fc31f; &:hover { background-color: #7fb015; } } } } .header_midashi { p { font-size: 76px; } h2 { font-size: 20px; } } .footer_flex3 { display: block; } /************************************************************* top *************************************************************/ .top_main { margin-top: 80px; &::after { bottom: -125px; height: 500px; } .top_main_mv { width: 95%; } } .loop_wrapper { font-size: 130px; } .sec02_bg { height: 520px; &::after { content: ""; height: 120px; width: calc(100% - 160px); } } .sec03_imgpt { padding-top: 15vw; } .info_mini_grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } .sec05_grid { grid-template-columns: 35% 63.5%; } .sec05_midashi { top: -5vw; } .sec05_mt { margin-top: 140px; } // スタッフ写真の切り替えフェード .fade-img-box1, .fade-img-box2, .fade-img-box3 { // overflow: hidden; width: 220px; height: 253px; } /************************************************************* sports-outpatient *************************************************************/ .main_head { margin-top: 80px; } .main_size { height: 340px; } .head_circle_bg { bottom: -45vw; } .sports_sec01 { &_grid1 { padding-bottom: 60px; } &_grid2 { padding: 60px 0; } } .sports_sec02_grid { padding: 40px; } .storoke_number { max-width: 100px; } .storoke_01 { max-width: 73px; } .sports_sec04_grid { grid-template-columns: repeat(2, 1fr); row-gap: 60px; column-gap: 3vw; } .sports_sec04_pt { padding-top: 160px; } .page_circle_bg2 { bottom: -45vw; } /************************************************************* doctor *************************************************************/ .doctor_sec01_grid { grid-template-columns: repeat(1, 1fr); row-gap: 30px; } .midashi_sticky { position: initial; height: auto; } .doctor_circle_bg2 { bottom: -50vw; } /************************************************************* Document *************************************************************/ .border_bottom { padding-bottom: 20px; } .doc_circle_bg2 { bottom: -70vw; } /************************************************************* Information *************************************************************/ } @media only screen and (max-width: 900px) { .sp_link { display: flex; justify-content: center; gap: 30px; li { width: 48%; a { display: flex; gap: 10px; justify-content: center; align-items: center; width: 100%; border-radius: 5px; padding: 20px 30px; color: #fff; font-size: 18px; transition: 0.3s ease; } .f_line { background-color: #33ad37; &:hover { background-color: #288e2b; } } .f_mail { background-color: #8fc31f; &:hover { background-color: #7fb015; } } } } // フッター .f_link_banner { li { width: 320px; &:first-of-type { margin-bottom: 20px; } a { padding: 20px 30px; } } } } @media only screen and (max-width: 740px) { @for $i from 30 through 70 { .flex_#{$i} { width: 100%; } } $p: 100; @while $p < 310 { .padding#{$p} { padding-top: 60px; padding-bottom: 60px; } $p: $p + 10; } $m: 100; @while $m < 310 { .margin#{$m} { margin-top: 60px; margin-bottom: 60px; } $m: $m + 10; } $pt: 110; @while $pt < 310 { .pt-#{$pt} { padding-top: 60px; } $pt: $pt + 10; } $pb: 110; @while $pb < 300 { .pb-#{$pb} { padding-bottom: 60px; } $pb: $pb + 10; } $mt: 110; @while $mt < 310 { .mt-#{$mt} { margin-top: 60px; } $mt: $mt + 10; } $mb: 110; @while $mb < 310 { .mb-#{$mb} { margin-bottom: 60px; } $mb: $mb + 10; } /*****************/ /******************/ // ヘッダー .h_logo { width: 360px; } // spメニュー .sp_link { display: block; li { width: 100%; max-width: 460px; margin: 0 auto; &:first-of-type { margin-bottom: 15px; } a { display: flex; gap: 10px; justify-content: center; align-items: center; width: 100%; border-radius: 5px; padding: 20px 30px; color: #fff; font-size: 18px; transition: 0.3s ease; } .f_line { background-color: #33ad37; &:hover { background-color: #288e2b; } } .f_mail { background-color: #8fc31f; &:hover { background-color: #7fb015; } } } } .header_midashi { p { font-size: 70px; } } // フッター .footer_bg { background: url(../images/footer_bg.webp) 50% 0 / cover no-repeat; padding: 80px 0 80px; .footer_flex1 { display: block; >li { &:first-of-type { margin-bottom: 40px; } } } } .f_link_banner { li { &:first-of-type { margin-bottom: 15px; } } } .footer_flex2 { ul { margin-top: 30px; flex-wrap: wrap; li { width: 50%; margin-bottom: 10px; } } } .footer_flex3 { .footer_map { a { display: flex; align-items: center; justify-content: center; width: 100%; color: #8fc31f; font-size: 13px; border: 1px solid #8fc31f; border-radius: 30px; padding: 5px 0; letter-spacing: 0.06em; line-height: 1; } } .copy { margin-top: 20px; } } .lineh025 { line-height: 2.2; } .midashi92 { font-size: 60px; } .m0-auto740 { margin: 0 auto; } .text17 { font-size: 16px; } .en_midashi_flow { max-width: 220px; height: auto; } .en_midashi_Treatment { max-width: 420px; height: auto; } .en_midashi_examples { max-width: 400px; top: -3em; } .en_midashi_doctor { max-width: 309px; height: auto; } .en_midashi_staff { max-width: 208px; height: auto; } .sports_sec04_midashi { font-size: 19px; } /************************************************************* TOP *************************************************************/ .top_main { &::after { bottom: -80px; height: 480px; } .top_main_mv { // height: 480px; .mv_copy { min-width: 380px; } } } @keyframes fadeUp_txtAnime { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(-20px); } } .loop_wrapper { font-size: 80px; } .sec01_grid { grid-template-columns: repeat(1, 1fr); height: auto; li { &:nth-of-type(2) { margin-top: 40px; } } .left { position: initial; height: auto; } } .sec02_bg { height: 320px; &::after { height: 80px; width: calc(100% - 100px); bottom: -5px; } } .sec02_grid { display: grid; grid-template-columns: repeat(1, 1fr); justify-content: space-between; position: relative; top: -30px; row-gap: 40px; li { &:nth-of-type(2) { max-width: 400px; width: 60%; margin-right: 5%; margin-left: auto; order: -2; } } } .sec03_grid1 { grid-template-columns: repeat(1, 1fr); row-gap: 40px; li { &:nth-of-type(2) { order: -2; margin-left: 5%; } &:first-of-type { padding-top: 0; } } } .sec03_imgpt { padding-top: 0; } .sec03_pt { padding-top: 60px; } .circle_bg3 { bottom: -50vw; } .sec04_grid { grid-template-columns: repeat(1, 1fr); row-gap: 40px; li { &:nth-of-type(1) { margin-right: 5%; } } } .sec05_grid { grid-template-columns: repeat(1, 1fr); row-gap: 40px; } .sec05_midashi { top: -7.5vw; } .sec05_bg { &::after { width: 100%; } } // スタッフ写真の切り替えフェード .fade-img-box1, .fade-img-box2, .fade-img-box3 { // overflow: hidden; width: 140px; height: 161px; } /************************************************************* sports-outpatient *************************************************************/ .head_circle_bg { bottom: -55vw; } .sports_sec01 { &_grid1 { grid-template-columns: repeat(1, 1fr); row-gap: 40px; li { &:nth-of-type(2) { margin-left: 5%; } } } &_grid2 { grid-template-columns: repeat(1, 1fr); padding: 60px 0; li { &:nth-of-type(2) { order: -1; margin-bottom: 15px; } } } } .sports_sec02_grid { grid-template-columns: repeat(1, 1fr); row-gap: 15px; padding: 30px; } .storoke_number { margin-top: 10px; max-width: 80px; } .storoke_01 { max-width: 60px; } .sports_sec03_grid { grid-template-columns: repeat(1, 1fr); row-gap: 50px; } .sports_sec04_bg { &::after { width: 100%; } } .sports_sec04_pt { padding-top: 100px; } .sports_sec04_flex { li { padding: 10px 0; } } /************************************************************* doctor *************************************************************/ .doctor_sec01_mini_grid { li { grid-template-columns: repeat(1, 1fr); .doctor_sec01_mini_grid_left { padding: 15px 0; } } } /************************************************************* Document *************************************************************/ .document_sec01_grid { column-gap: 4vw; row-gap: 60px; } .btn2 { a { gap: 15px; } } /************************************************************* Contact *************************************************************/ .map { max-width: 946px; margin: 0 auto; width: 90%; } .pc_740none { display: none; } .sp_740none { display: block; } .size input, .size_mini input { height: 45px; } .area textarea { height: 200px; } .contact_table { >div { padding-bottom: 15px; &:nth-child(n+2) { padding-top: 15px; } } } .e_cell1 { margin-bottom: 15px; } .flex_cell { gap: 25px; } /************************************************************* Information *************************************************************/ .info_grid { grid-template-columns: repeat(1, 1fr); >div { &:nth-of-type(2) { order: -2; margin-bottom: 40px; } } } .info_circle_bg2 { bottom: -65vw; } /* news詳細ページ */ .topics_detail_ttl { font-size: 2rem; border-bottom: 1px solid #8fc31f; padding-bottom: 10px; } } /* スマートフォン 縦(ポートレート) */ @media only screen and (max-width: 480px) { .text14 { font-size: 15px; } .footer_flex3 { .footer_map { position: absolute; right: 0; bottom: 0; } >div { display: flex; align-items: flex-start; gap: 5px; } } // スタッフ写真の切り替えフェード .fade-img-box1, .fade-img-box2, .fade-img-box3 { // overflow: hidden; width: 140px; height: 161px; } /************************************************************* sports-outpatient *************************************************************/ .head_circle_bg { bottom: -75vw; } }