@charset "UTF-8";

/*
 *  PC横幅(padding左右15px): max-width: 1180px;
 *  PC横幅: max-width: 1150px;
 */

/* リセット
------------------------------------------------ */
*,*::before,*::after{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul{list-style:none},ol[role='list']{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1.1}h1,h2,h3,h4{text-wrap:balance}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}textarea:not([rows]){min-height:10em}:target{scroll-margin-block:5ex}

/* 全体 
------------------------------------------------ */
body {
    position: relative;
    padding: 0 0 40px;
    font-size: 14px;
    color: #000;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}
body::after {
    content: '';
    width: 100%;
    height: 27px;
    background: url(images/bg_body.png) repeat-x 0 0 /contain;
    position: absolute;
    bottom: -5px; left: 0;
    transform: scale(1, -1);
}
@media print, screen and (min-width: 950px) {
    body {
        font-size: 16px;
    }
    body::after {
        height: 32px;
    }
}

#loading {
    width: 100%;
    height: 100%;
    background: #fff url(images/logo.png) no-repeat center /170px 104px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
}

/* ヘッダー 
------------------------------------------------ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 15px 0;
    background: #fff;
    z-index: 99;
}
header::before {
    content: '';
    width: 100%;
    height: 27px;
    background: url(images/bg_body.png) repeat-x 0 0 /contain;
    position: absolute;
    top: -5px; left: 0;
}
header::after {
    content: '';
    width: 60px;
    height: 87px;
    background: url(images/d1.png) no-repeat 0 0 /contain;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}
@media print, screen and (min-width: 950px) {
    header {
        position: relative;
        padding: 60px 15px 0;
        background: none;
    }
    header::before {
        height: 32px;
    }
    header::after {
        width: 110px;
        height: 155px;
    }
    .header_inner {
        max-width: 1180px;
        margin: 0 auto;
        display: flex;
    }
}
/* ヘッダー ロゴ
------------------------------------------------ */
h1 {
    position: relative;
    max-width: 180px;
    margin: 0 0 0;
    padding: 8px 0 20px 75px;
    font-size: 8px;
    font-weight: 300;
    text-align: center;
}
h1 a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
h1 span {
    margin: 2px 0 0;
    display: block;
    font-size: 16px;
    font-weight: 400;
}
h1::before {
    content: '';
    width: 70px;
    height: 43px;
    background: url(images/logo.png) no-repeat 0 0 /contain;
    position: absolute; top: 0; left: 0;
}
@media print, screen and (min-width: 950px) {
    h1 {
        max-width: none;
        margin: 0;
        padding: 115px 0 0;
        font-size: 15px;
    }
    h1::before {
        width: 170px;
        height: 104px;
    }
    h1 span {
        margin: 7px 0 0;
        font-size: 29px;
    }
}

/* ヘッダー メニューボタン
------------------------------------------------ */
.menubtn {
    width: 40px;
    height: 40px;
    padding: 20px 0 0;
    cursor: pointer;
    position: absolute;
    right: 80px;
    top: 30px;
}
.menubtn .icon,
.menubtn .icon:after,
.menubtn .icon:before {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 3px;
    background: #000;
    -webkit-transition: all .6s cubic-bezier(.19, 1, .22, 1);
    transition: all .6s cubic-bezier(.19, 1, .22, 1);
}
.menubtn .icon {
    position: relative;
    margin: 0 auto;
}
.menubtn .icon:after,
.menubtn .icon:before {
    content: '';
    position: absolute;
    left: 0;
}
.menubtn .icon:before{ top: -9px; }
.menubtn .icon:after{ top: 9px; }
/* ハンバーガー閉 */
.menubtn.close .icon {
    background-color: transparent
}
.menubtn.close .icon:after,
.menubtn.close .icon:before {
    top: 0
}
.menubtn.close .icon:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}
.menubtn.close .icon:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg)
}
.overlay {
    width: 100%;
    height: 120%;
    background: rgba(161, 161, 180, 0.8);
    position: fixed;
    left: 0;
    top: 0;
    display: none;
}
@media print, screen and (min-width: 950px) {
    .menubtn {
        display: none;
    }
}


/* ヘッダー メニュー
------------------------------------------------ */

@media screen and (max-width: 949px) {
    .menu {
        display: none;
        background: rgba(232, 242, 241, .98);
        position: absolute;
        left: 0;
        top: 85px;
        width: 100%;
        z-index: 100;
    }
    .menu ul {
        margin: 0;
        padding: 30px 15px
    }
    .menu ul li {
        padding: 10px;
    }
    .menu a {
        font-size: 16px;
        padding: 5px;
        text-decoration: none;
        font-weight: 400;
    }
}
@media print, screen and (min-width: 950px) {
    .menu {
        display: block !important;
        margin: 0 100px 0 auto;
        font-size: 16px;
    }
    .menu ul {
        display: flex;
        margin: 0;
        padding: 0;
    }
    .menu li:not(:first-child)::before {
        display: inline-block;
        content: '／';
        margin: 0 5px;
    }
    .menu li:last-child {
        display: none;
    }
    .menu a {
        display: inline-block;
        padding: 5px;
        text-decoration: none;
        font-weight: 400;
    }
    .menu a:hover {
        color: #cb2d6b;
        text-decoration: underline;
    }
}
@media print, screen and (min-width: 1050px) {
    .menu {
        margin: 0 100px 0 auto;
    }
}


/* メイン 基本
------------------------------------------------ */
main {
    padding-top: 95px;
}
section {
    margin-top: -80px;
    padding-top: 80px;
}
@media print, screen and (min-width: 950px) {
    main {
        padding-top: 0;
        margin-top: -115px;
    }
    section {
        margin-top: 0;
        padding-top: 0;
    }
}
/* テキスト */
main h2,
main h3 {
    margin: 0 0 30px;
    font-size: 18px;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
}
main .catch,
main .title {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
}
main p {
    line-height: 2;
}
/* リンク */
p.link a {
    display: block;
    max-width: 400px;
    padding: 20px 10px;
    margin: 0 auto;
    background: #fff;
    border: solid 1px #308ccc;
    border-radius: 30px;
    text-align: center;
    color: #308ccc;
    text-decoration: none;
    line-height: 1;
    font-weight: 400;
}
p.link a span.blank::after {
    display: inline-block;
    content: '';
    margin-left: 5px;
    margin-top: -5px;
    width: 15px;
    height: 15px;
    background: url(images/icon_link.png) no-repeat center /contain;
    vertical-align: middle;
}
p.link a:hover {
    border-color: #cb2d6b;
    color: #cb2d6b;
}
p.link a:hover span.blank::after {
    background-image: url(images/icon_link_h.png);
}
@media print, screen and (min-width: 950px) {
    main h2,
    main h3 {
        font-size: 24px;
    }
    p.link a {
        padding: 23px 10px;
    }
    p.link a span.blank::after {
        width: 18px;
        height: 18px;
    }
}

/* メイン イメージ
------------------------------------------------ */
.mainimage {
    min-height: 350px;
    position: relative;
    padding: 0 15px;
}
.mainimage .catch {
}
.mainimage .catch p {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 26px;
    line-height: 1.2;
}
.mainimage .image_box::before {
    content: '';
    width: calc( 100% - (15px + 75px) );
    height: 250px;
    background: url(images/home_image1.jpg) no-repeat 50% 25% /cover;
    position: absolute;
    right: 0;
    border-radius: 15px 0 0 15px;
}
.mainimage .image_box::after {
    content: '';
    width: calc( 100% - (15px + 200px) );
    height: 140px;
    background: url(images/home_image2.jpg) no-repeat center /cover;
    position: absolute;
    left: 0;
    bottom: -70px;
    border-radius: 0 15px 15px 0;
}
.mainimage::after {
    content: '';
    width: 100%;
    height: 138px;
    background: url(images/d2.png) no-repeat 60% center /contain;
    position: absolute;
    left: 0;
    bottom: 0;
}
@media print, screen and (min-width: 950px) {
    .mainimage {
        min-height: 500px;
    }
    .mainimage .catch {
        margin: 0 auto;
        padding-right: calc( 50% + 140px );
    }
    .mainimage .catch p {
        font-size: 45px;
        margin-left: auto;
    }
    .mainimage .image_box::before {
        width: calc( 50% + 110px );
        height: 500px;
    }
    .mainimage .image_box::after {
        width: calc( 50% - 292px );
        height: 300px;
        bottom: 0;
    }
    .mainimage::after {
        width: 383px;
        height: 260px;
        left: -5px;
        bottom: -240px;
    }
}
@media print, screen and (min-width: 1180px) {
    .mainimage .catch {
        max-width: 1180px;
        margin: 0 auto;
        padding: 0;
        padding-left: 345px;
    }
    .mainimage .catch p {
        margin: 0;
    }
}

/* メイン メッセージ
------------------------------------------------ */
.message {
    position: relative;
    margin: 0 0 90px;
    padding: 135px 15px 0;
}
.message::before {
    display: block;
    content: '';
    width: 182px;
    height: 152px;
    background: url(images/message.jpg) no-repeat center /cover;
    border-radius: 15px;
    position: absolute;
    top: 0; right: 15px;
}
.message p {
    font-size: 15px;
}
.message .dr {
    position: relative;
    margin: 15px 0 0;
    padding-left: 55px;
    text-align: right;
    font-size: 14px;
    line-height: 1.5;
}
.message .dr span {
    font-size: 16px;
}
.message .dr::before {
    content: '';
    width: 40px;
    height: 25px;
    background: url(images/d3.png) no-repeat center /contain;
    position: absolute;
    bottom: 10px; left: 0;
}
@media print, screen and (min-width: 950px) {
    .message {
        max-width: 1180px;
        margin: 80px auto 90px;
        padding: 0 15px 0 500px;
    }
    .message::before {
        width: 320px;
        height: 275px;
        top: 70px;
        left: 120px;
    }
    .message p {
        font-size: 16px;
    }
    .message .dr {
        display: inline-block;
        text-align: left;
        padding: 0 85px 0 0;
    }
    .message .dr span {
        font-size: 18px;
    }
    .message .dr::before {
        right: 0;
        left: auto;
    }
}


/* メイン 治験・先進治療への取り組み
------------------------------------------------ */
.chiryou {
    position: relative;
    padding: 70px 15px;
}
.chiryou::before {
    content: "";
    width: 100%;
    height: 20px;
    background: url(images/d10.png) repeat-x center top /contain;
    position: absolute;
    left: 0;
    top: 0;
}
.chiryou .item {
    position: relative;
    padding: 30px 0;
}
.chiryou .item:not(:last-child) {
    border-bottom: dotted 1px #000;
}

.chiryou .item p.title {
    position: relative;
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.6;
    display: flex;
    justify-items: center;
    align-items: center;
}
.chiryou .item p.title span {
    flex: 1px
}
.chiryou .item .title::before {
    content: "";
    width: 80px;
    background: no-repeat left top /contain;
}
.chiryou .item1 .title::before {
    height: 85px;
    background-image: url(images/icon_chiryou_1.png);
}
.chiryou .item2 .title::before {
    height: 77px;
    background-image: url(images/icon_chiryou_2.png);
}
.chiryou .item3 .title::before {
    height: 64px;
    background-image: url(images/icon_chiryou_3.png);
}

.chiryou .item p.note {
    position: relative;
    color: #369;
    line-height: 1.6;
    margin-top: 10px;
    padding-left: 1em;
}
.chiryou .item p.note::before {
    content: "※";
    position: absolute;
    left: 0;
}

@media print, screen and (min-width: 950px) {
    .chiryou {
        padding: 110px 15px 100px;
    }
    .chiryou_inner {
        position: relative;
        max-width: 1180px;
        margin: 0 auto;
        overflow: hidden;
    }
    .chiryou .item {
        padding: 40px 0 40px 160px;
    }
    .chiryou .item p.title {
        display: block;
        font-size: 34px;
        position: static;
    }
    .chiryou .item .title::before {
        position: absolute;
        left: 0;
        top: 45px;
    }
    .chiryou .item1 .title::before {
        width: 107px;
        height: 156px;
    }
    .chiryou .item2 .title::before {
        width: 125px;
        height: 128px;
    }
    .chiryou .item3 .title::before {
        width: 117px;
        height: 107px;
    }
}

/* メイン 当科の特色
------------------------------------------------ */
.tokushoku {
    position: relative;
    padding: 33px 15px 90px;
    background: url(images/bg_tokushoku_top.jpg) repeat-x 30% 0 /1070px 220px, url(images/bg_tokushoku_btm.jpg) repeat-x  70% 100% /1440px 200px;
}
.tokushoku::before {
    content: '';
    width: 126px;
    height: 214px;
    background: url(images/d4.png) no-repeat center /contain;
    position: absolute;
    right: 0;
    top: -20px;
}
.tokushoku h2 {
    text-align: center;
    margin-bottom: 38px;
}
.tokushoku .catch {
    margin: 0 auto 30px;
}
.tokushoku .catch p {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 18px;
    line-height: 2;
    margin: 0 auto;
}
.tokushoku .item {
    position: relative;
    margin: 0 0 20px;
    padding-top: 50px;
}
.tokushoku .item::before {
    content: '';
    width: 100%;
    height: 40px;
    background: url(images/icon_01.png) no-repeat right top /contain;
    position: absolute;
    top: 0;
    right: 0;
}
.tokushoku .item2::before {
    background-image: url(images/icon_02.png)
}
.tokushoku .item3::before {
    background-image: url(images/icon_03.png)
}
.tokushoku .item4::before {
    background-image: url(images/icon_04.png)
}
.tokushoku p.title {
    position: relative;
    margin: 0 0 20px;
    text-align: right;
    font-size: 21px;
    line-height: 1;
}
.tokushoku p.title::before {
    content: '';
    width: 70px;
    height: 70px;
    background: url(images/icon_tokushoku_1.png) no-repeat center 80% /contain;
    position: absolute;
    left: 0; bottom: 0;
}
.tokushoku .item2 p.title::before {
    background-image: url(images/icon_tokushoku_2.png)
}
.tokushoku .item3 p.title::before {
    background-image: url(images/icon_tokushoku_3.png)
}
.tokushoku .item4 p.title::before {
    background-image: url(images/icon_tokushoku_4.png)
}
.tokushoku p.link {
    margin: 50px 0 0;
}
@media print, screen and (min-width: 950px) {
    .tokushoku {
        padding: 75px 15px 180px;
        background: url(images/bg_tokushoku_top.jpg) no-repeat center top /contain, url(images/bg_tokushoku_btm.jpg) no-repeat center bottom /contain;
    }
    .tokushoku_inner {
        position: relative;
        max-width: 1180px;
        margin: 0 auto;
        overflow: hidden;
    }
    .tokushoku h2 {
        text-align: left;
        margin-bottom: 120px;
    }
    .tokushoku .catch {
        width: 47%;
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        justify-content: center;
    }
    .tokushoku .catch p {
        display: inline-block;
        font-size: 30px;
    }
    .tokushoku .item {
        margin: 0 0 80px;
        padding-top: 85px;
    }
    .tokushoku .item1,
    .tokushoku .item3 {
        width: 47%;
        float: left;
    }
    .tokushoku .item2,
    .tokushoku .item4 {
        width: 47%;
        float: right;
    }
    .tokushoku .item2 {
        margin-top: 300px;
    }
    .tokushoku .item4 {
        margin-bottom: 0;
    }
    .tokushoku .item::before {
        height: 64px;
    }
    .tokushoku p.title {
        font-size: 34px;
    }
    .tokushoku p.title span {
        font-size: 85px;
    }
    .tokushoku p.title::before {
        width: 105px;
        height: 105px;
    }
    .tokushoku p.link {
        clear: both;
        width: 47%;
        margin: -70px 0 0;
        float: left;
    }
}


/* メイン スタッフ紹介
------------------------------------------------ */
.staff {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 38px 15px 90px;
}
.staff h2 {
    text-align: center;
    margin-bottom: 38px;
}
.staff p.name {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.5;
}
.staff p.name span.pos {
    display: block;
    font-size: 14px;
}
.staff p.license {
    font-size: 11px;
    line-height: 1.6;
}
/*写真あり*/
.staff_photo {
    margin: 0 0 30px;
}
.staff_photo .item {
    padding-left: 170px;
    background: url(images/staff_dr.jpg) no-repeat 0 0 /142px 110px;
}
/*写真なし*/
.staff_list {
}
.staff_list .item {
    display: flex;
    margin-bottom: 20px;
}
.staff_list p.name {
    width: 175px;
    border-left: solid 1px #000;
    padding-left: 17px;
}
@media print, screen and (min-width: 950px) {
    .staff {
        max-width: 1180px;
        padding: 70px 15px 80px;
    }
    .staff h2 {
        margin: 0 0 60px;
    }
    .staff_inner {
        display: flex;
    }
    .staff_photo {
        width: 29.5%;
    }
    .staff_list {
        width: 69%;
        display: flex;
        flex-wrap: wrap;
        margin-left: auto;
    }
    .staff_list .item {
        display: block;
        width: 23%;
        margin-left: 2%;
        margin-bottom: 40px;
    }
    .staff_list p.name {
        padding-left: 17px;
    }
    .staff_list p.license {
        padding-left: 18px;
    }
}

/* メイン 研修医学生のみなさんへ
------------------------------------------------ */
.recruit {
    padding: 30px 15px;
    background: url(images/bg_recruit.jpg) no-repeat center / cover;
}
.recruit h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}
.recruit_inner {
    position: relative;
    padding: 45px 20px;
    background: rgba(255, 255, 255, .7);
    border-radius: 15px;
}
.recruit_inner::before {
    content: '';
    width: 100%;
    height: 167px;
    background: url(images/d5.png) no-repeat center / contain;
    position: absolute;
    left: 0;
    top: -45px;
}
.recruit .recruit_message {
    position: relative;
}
.recruit .recruit_message.top .catch::before {
    content: "";
    width: 132px;
    height: 166px;
    background: url(images/d8.png) no-repeat top left /contain;
    position: absolute;
    left: 0;
    top: 0;
}
.recruit .recruit_message.bottom {
    margin-top: 30px;
    padding-top: 110px;
}
.recruit .recruit_message.bottom::before {
    content: "";
    width: 100%;
    height: 100px;
    background: url(images/d9.png) no-repeat top center /contain;
    position: absolute;
    left: 0;
    top: 0;
}
.recruit .recruit_message .catch {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.recruit .recruit_message .link {
    margin: 25px 0 0;
}

.recruit h3 {
    margin: 60px 0 40px;
    text-align: center;
}
.recruit .flex dl {
    background: #fff;
    border: solid 1px #308ccc;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 10px;
}
.recruit .flex dt {
    position: relative;
    padding-left: 25px;
    margin-bottom: 5px;
    color: #308ccc;
    font-weight: 400;
}
.recruit .flex dt::before {
    content: "";
    width: 17px;
    height: 18px;
    background: url(images/icon_checkbox.png) no-repeat top center /contain;
    position: absolute;
    left: 0;
    top: 0;
}
.recruit .flex dd {
    line-height: 1.8;
}

.recruit figure.career {
    margin: 50px 0 0;
}
.recruit figure.career img {
    margin: 0 auto;
}

@media print, screen and (max-width: 949px) {
    .recruit .recruit_message.top .catch {
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin: 0 auto 15px;
        padding-left: 135px;
        font-size: 20px;
        line-height: 1.8;
        position: relative;
    }
}
@media print, screen and (min-width: 950px) {
    .recruit {
        padding: 70px 15px 80px;
    }
    .recruit h2 {
        max-width: 980px;
        padding: 0 15px;
        margin: 0 auto 65px;
        text-align: left;
    }
    .recruit_inner {
        max-width: 1115px;
        margin: 0 auto;
        padding: 45px 60px 70px;
    }
    .recruit_inner::before {
        width: 652px;
        height: 298px;
        left: auto;
        right: 45px;
        top: -225px;
    }

    .recruit .recruit_message.top {
        padding-left: 150px;
    }
    .recruit .recruit_message.bottom {
        margin-top: 70px;
        padding-top: 0;
        padding-left: 185px;
    }
    .recruit .recruit_message.bottom::before {
        width: 126px;
        height: 225px;
        background: url(images/d9.png) no-repeat top left /contain;
        left: 25px;
    }
    .recruit .recruit_message .catch {
        font-size: 30px;
    }
    .recruit .recruit_message .catch br {
        display: none;
    }
    .recruit .recruit_message .link a {
        margin-left: 0;
    }

    .recruit .flex {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .recruit .flex dl {
        width: 49.3%;
        margin-bottom: 15px;
        padding-right: 30px;
        padding-bottom: 32px;
    }
    .recruit .flex dt {
        padding-top: 3px;
        padding-left: 37px;
        margin-bottom: 10px;
        font-size: 20px;
    }
    .recruit .flex dt::before {
        width: 29px;
        height: 30px;
    }
    .recruit .flex dd {
        padding-left: 37px;
    }
    
    .recruit figure.career {
        margin: 90px 0 0;
    }
}


/* フッター イメージ
------------------------------------------------ */
.footer_image {
    display: flex;
    flex-wrap: wrap;
}
.footer_image > div {
    width: 50%;
}
.footer_image > div::before {
    content: '';
    display: block;
    position: relative;
    width: 100%;
    padding-top: 64%;
    background: #ddd url(images/bg_footer1.jpg) no-repeat 0 0 /cover;
}
.footer_image > div:nth-child(2):before {
    background-image: url(images/bg_footer2.jpg);
}
.footer_image > div:nth-child(3):before {
    background-image: url(images/bg_footer3.jpg);
}
.footer_image > div:nth-child(4):before {
    background-image: url(images/bg_footer4.jpg);
}
@media print, screen and (min-width: 640px) {
    .footer_image {
        flex-wrap: nowrap;
    }
    .footer_image > div {
        width: 100%;
    }
}

/* フッター テキスト
------------------------------------------------ */
.footer_text {
    position: relative;
    padding: 140px 10px 0;
    text-align: center;
}
.footer_text::before {
    content: '';
    width: 88px;
    height: 125px;
    background: url(images/d7.png) no-repeat 0 0 /contain;
    position: absolute;
    left: 0;
    top: 20px;
}
.contact .name {
    margin: 0 0 10px;
    font-size: 18px;
}
.contact .address {
    font-size: 15px;
}
.contact .loc {
    display: block;
}
.contact .tel,
.contact .fax {
    display: inline-block;
    margin: 0 3px;
}
.copyright {
    margin: 70px 0 0 ;
}
.links {
    max-width: 380px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-between;
}
.links a,
.links a img {
    display: block;
}
.links a {
    padding: 5px;
}
.links a:hover {
    background: #f0f0f0;
}
@media print, screen and (min-width: 950px) {
    .footer_text {
        margin: 50px 0 0;
        padding: 30px 0 0;
        text-align: left;
    }
    .contact {
        max-width: 1180px;
        margin: 0 auto;
        padding: 0 15px 0 120px;
    }
    .contact .name {
        font-size: 21px;
    }
    .contact::before {
        width: 124px;
        height: 161px;
    }
    .contact .loc {
        display: inline-block;
    }
    .copyright {
        max-width: 1180px;
        margin: 35px auto 30px;
        padding: 0 15px 0 120px;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }
    .links {
        width: 50%;
        margin: 0 0 0 auto;
    }
}

/* ページトップ
------------------------------------------------ */
#pagetop {
    display: block;
    width: 55px;
    height: 55px;
    overflow: hidden;
    text-indent: 200%;
    border-radius: 50%;
    white-space: nowrap;
    position: fixed;
    bottom: 50px;
    right: 15px;
    background: rgba(255, 255, 255, .8) url(images/icon_arrow.png) no-repeat center/ 26px 28px;
    border: solid 1px #cb2d6b;
    opacity: 1;
}
@media print, screen and (min-width: 950px) {
    #pagetop {
        width: 75px;
        height: 75px;
        bottom: 120px;
        right: 50px;
    }
}