* {
    float: none;
    position: static;
    margin: 0;
    padding: 0;
}
div, p {
    margin: 0 auto;
}
.clear {
    clear: both;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
img {
    max-width: 100%;
    height: auto;
    border: none;
    vertical-align: bottom;
}
a {
    text-decoration: none;
    color: #333;
}
a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
@media screen and (min-width: 520px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}

@media print, screen and (min-width: 960px) {
    .tablet-br,
    .tablet-sp-br {
        display: none !important;
    }
}
@media print, screen and (min-width: 520px) {
    .sp-br,
    .sp-fix-freedial,
    .sp-fix-floral {
        display: none !important;
    }
}
@media screen and (max-width: 959px) {
    .pc-br,
    .pc-fix-logo,
    .pc-space,
    .pc-br,
    .header-link {
        display: none !important;
    }
}
@media screen and (max-width: 519px) {
    .tablet-br,
    .pc-tablet-space,
    .pc-tablet-fix-tel,
    .fix-link {
        display: none !important;
    }
}

/* body */
body {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}
@media screen and (max-width: 519px) {
    body {
        font-size: 1rem;
        line-height: 1.6;
    }
}
.BodyMain {
    background: #fff;
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",HiraKakuPro-W3,"メイリオ",Meiryo,verdana,sans-serif;
    -webkit-text-size-adjust: 100%;
}
@media print, screen and (min-width: 960px) {
    .BodyMain {
        margin: 0 auto 96px;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .BodyMain {
        margin: 0 auto 85px;
    }
}
@media screen and (max-width: 519px) {
    .BodyMain {
        margin: 0 auto 73px;
    }
}
.container {
    width: 99.99%;
    position: relative;
}
@media print, screen and (min-width: 960px) {
    .container {
        max-width: 1280px;
        padding: 0 1.5rem;
        box-sizing: border-box;
    }
    header .container,
    #fix .container {
        max-width: 1200px;
        width: 98%;
        padding: 5px 0 !important;
    }
    #plan .container,
    #hall .container,
    #company .container,
    #service .container,
    #support .container,
    #useful .container {
        padding: .5rem 1.5rem 0;
    }
}
@media screen and (max-width: 959px) {
    .container {
        width: 95%;
    }
    #plan .container,
    #hall .container,
    #company .container,
    #service .container,
    #support .container,
    #useful .container {
        padding: 0;
    }
}
@media screen and (max-width: 519px) {
    #fix .container {
        width: 100%;
        padding: 0;
    }
}

/* section */
section {
    max-width: 100%;
    width: 100%;
}
section:nth-child(2n) {
    position: relative;
    background: rgba(230, 247, 255, 0.5);
}
section:nth-child(2n)::before,
section:nth-child(2n)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2rem;
    background-size: auto 100%;
    background-repeat: repeat-x;
    background-position: calc(50% - 1rem) bottom;
    background-image: url('../images/back_deco1.png');
    top: -2rem;
}
section:nth-child(2n)::after {
    background-position: calc(50% - 15rem) bottom;
    background-image: url('../images/back_deco2.png');
    top: auto;
    bottom: -2rem;
}
@media print, screen and (min-width: 960px) {
    section {
        padding: 3.5rem 0;
    }
    section:nth-child(2n) {
        padding: 2rem 0 0;
    }
    section#tokushimacity {
        padding: 3rem 0;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    section {
        padding: 4rem 0 4rem;
    }
    section:nth-child(2n) {
        padding: 2rem 0 .1rem;
    }
    section#tokushimacity {
        padding: 3rem 0;
    }
}
@media screen and (max-width: 519px) {
    section {
        padding: 3rem 0 3rem;
    }
    section:nth-child(2n) {
        padding: 1.5rem 0 3rem;
    }
}
section::after {
    content: "";
    display: block;
    clear: both;
}
.btnLink {
    text-align: center;
}
.btnLink a {
    margin: 2rem auto 0;
    padding: 5px 20px;
    color: #004494;
    text-align: center;
    background-color: #f7f7f7;
    border: 1px solid;
    border-radius: 3px;
    line-height: 1.8;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
    width: 200px;
}
.btnLink a:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: .6rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}
.btnLink a:hover {
    background-color: #018acb;
    color: #fff;
}
.btnLink a:hover:after {
    right: .3rem;
}

/* header & footer & menu */
header,
#fix {
    background: rgba(255, 255, 255, 0.9);
}
#fix {
    border-top: 2px solid #dcdcdc;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1002;
}
@media screen and (max-width: 519px) {
    #fix {
        border-top: none;
        padding: 0;
    }
}
.menu,
.menu-contents,
.tablet-sp-menubtn {
    background: #45af5e;
}
.tablet-sp-menuBestnet {
    background: #45afe3;
}
.tablet-sp-menuBestnet .menu-contents {
    background: #70caf5;
}
.pc-contact1 a,
.pc-tablet-fix-tel a,
.infoTel a,
.bottomTel a {
    font-size: 200%;
    color: #004494;
}
.phone,
.uketsuke {
    vertical-align: middle;
    max-height: 35px;
    margin: -6px 7px 0 0;
}
.uketsuke {
    margin: -15px 7px 0 0;
}
.pc-tablet-fix-tel {
    font-size: 90%;
    font-weight: normal;
    line-height: 1.2;
}
.freedialTxt1 {
    font-size: 120%;
    margin: 0 0 0 .3rem;
    color: #43a255;
}
.header-link,
.fix-link {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.header-link {
    position: absolute;
    right: 25%;
    transform: translateX(-65%);
}
.header-link .btnLink a,
.fix-link .btnLink a {
    margin: 2px;
    width: 175px;
    padding: 2px 6px 2px 3px;
    font-size: 1rem;
}
header .clearfix {
    width: 99%;
}
@media print, screen and (min-width: 960px) {
    header .clearfix,
    #fix .flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    .header-logo {
        width: auto;
    }
    .pc-fix-logo {
        margin: 0;
    }
    .header-logo img,
    .pc-fix-logo img,
    .bottomLogo {
        max-height: 65px;
        margin: 5px 0;
    }
    h1 a,
    .pc-fix-logo a {
        display: inline-block;
    }
    .pc-contact1 {
        position: absolute;
        line-height: 1;
        right: 0.5%;
        top: 50%;
        transform: translateY(-50%);
    }
    .infoTel {
        line-height: 1.4;
    }
    .header-link .btnlink a {
        display: flex;
        align-items: center;
        color: #fff;
    }
    .header-link .btnlink img {
        max-width: 55px;
        width: 90%;
        margin-right: -60px;
        z-index: 0;
    }
    .pc-contact1 p,
    .infoTel p {
        font-size: 90%;
    }
    .tablet-sp-menuBestnet,
    .tablet-sp-menubtn {
        display: none !important;
    }
}
@media screen and (max-width: 959px) {
    h1 {
        text-align: left;
    }
    .header-link,
    .pc-contact1,
    .pc-menu,
    .pc-menuBestnet {
        display: none !important;
    }
    .tablet-sp-contact {
        color: #fff;
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
        padding-top: 20px;
    }
    .tablet-sp-contact a {
        color: #fff;
    }
    .tablet-sp-contact img {
        max-height: 25px;
        margin: -5px 8px 0 0;
        vertical-align: middle;
    }
    .infoTel {
        line-height: 1.2;
    }
    .bottomLogo {
        max-height: 65px;
        margin: 5px 0;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .header-link .btnLink a,
    .fix-link .btnLink a {
        font-size: 90%;
    }
    .fix-link .btnLink a {
        width: 170px;
        margin: 2px 0;
    }
    .fix-link {
        width: 180px;
    }
    .pc-tablet-fix-tel {
        margin: 0 0 0 20px !important;
    }
    .pc-tablet-fix-tel img {
        margin: -6px 5px 0 0;
    }
    #fix .flex {
        justify-content: space-evenly;
    }
}
@media screen and (max-width: 519px) {
    .infoTel {
        line-height: 1.6;
    }
    .infoTel a,
    .bottomTel a {
        font-size: 1.75rem;
        white-space: nowrap;
    }
    .sp-fix-freedial,
    .sp-fix-floral {
        width: 45%;
        border-top: 1px solid #004494;
        box-sizing: border-box;
    }
    .sp-fix-floral {
        width: 55%;
    }
    .sp-fix-freedial {
        border-left: 1px solid #004494;
    }
    .sp-fix-freedial .btnLink a,
    .sp-fix-floral .btnLink a {
        margin: 0;
        padding: 6px;
        box-sizing: border-box;
        width: 100%;
        border-radius: unset;
        border: none;
        flex-direction: column;
        font-size: 110%;
    }
    .sp-fix-floral .btnLink a {
        background-color: #d1f8d5;
        color: #3e8a46;
    }
    .sp-fix-freedial .btnLink a:after,
    .sp-fix-floral .btnLink a:after {
        right: 5px;
    }
    .sp-fix-freedial img,
    .sp-fix-floral img {
        height: 25px;
        margin: 0 6px 3px 0;
    }
    .bottomLogo {
        width: 80%;
    }
}

.linkEmergency,
.linkFloral,
.linkCounsel {
    border: 1px solid;
    border-right: none;
}
.linkEmergency {
    background-color: #fde7ea;
    color: #f00 !important;
}
.linkFloral,
.topFloral.btnLink a {
    background-color: #f4ffe5;
    color: #45af5e !important;
}
.topFloral.btnLink a:hover {
    background-color: #45af5e;
    color: #fff !important;
}
.linkCounsel {
    background-color: #ffe;
    color: #fc8f2e !important;
}
@media screen and (max-width: 959px) {
    .linkEmergency,
    .linkFloral,
    .linkCounsel {
        border: none;
    }
}

.menu-inner {
    display: flex;
    align-items: center;
    height: 45px;
    position: relative;
}
.menu-inner,
.menu.active {
    z-index: 1003;
}
@media print, screen and (min-width: 960px) {
    .menu {
        max-width: 100%;
        margin: 0 auto;
    }
    .nav2 {
        max-width: 1280px;
        margin: 0 auto;
    }
    .nav2 a.menu-link {
        color: #fff;
    }
    .nav2 a.menu-link:hover {
        color: #fff;
    }
    .menu-inner li {
        border-left: 1px solid #eee;
    }
    .menu-inner li:nth-child(1) {
        border-left: none;
    }
    .menu-contents li {
        border: none;
    }
    .menu-item1,
    .menu-item2 {
        width: 21.5%;
        height: 100%;
    }
    .menu-item1:nth-child(1) {
        width: 25%;
    }
    .menu-item1:nth-child(2),
    .menu-item1:nth-child(3) {
        width: 17.5%;
    }
    .menu-item1:nth-child(4),
    .menu-item1:nth-child(5) {
        width: 20%;
    }
    .menu-item1:hover {
        background: rgba(244, 255, 229,.5);
    }
    .menu-item1::after {
        content: "";
        position: absolute;
        top: 14px;
        transform: translateY(-50%);
        transition: all 0.2s ease-in-out;
        display: block;
        width: 8px;
        height: 8px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
        margin-left: 7px;
    }
    .menu-link {
        display: block;
        height: 100%;
        line-height: 2.4;
    }
    .nav1_1 {
        position: fixed;
        bottom: 145px;
        right: 0;
        z-index: 5000;
    }
    .nav1_1 li {
        border: none;
    }
    .nav1_1 .menu-item2 {
        float: unset;
        width: 46px;
        height: auto;
        writing-mode: vertical-rl;
        margin: 0 0 1rem;
    }
    .nav1_1 .menu-link {
        letter-spacing: 0.07rem;
        text-shadow: none;
        box-sizing: border-box;
        border-radius: .3rem 0 0 .3rem;
        padding: .8rem 0;
        line-height: 2;
    }
    .nav1_1 .menu-item2:hover {
        opacity: 0.7;
        filter: alpha(opacity=70);
        -ms-filter: "alpha(opacity=70)";
    }
    /* メガメニュー */
    .menu-contents {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: calc(100% - 40px);
        padding: 20px;
        background: rgba(237,237,237,.85);
    }
    .menu-contents ul {
        display: flex;
        justify-content: space-around;
    }
    .menu-contents ul li {
        height: 95px;
        margin: 0 5px;
    }
    .menu-contents ul li a {
        display: block;
        color: #004494;
        font-size: 0.9rem;
    }
    .menu-contents ul li img {
        width: 120px;
        height: 80px;
        object-fit: cover;
    }
    .pc-menu {
        display: flex;
        width: 98%;
        max-width: 1280px;
        padding: 2rem 0 1.5rem;
    }
    .pc-menu .serviceGroup {
        text-align: left;
        font-size: 0.95rem;
        line-height: 2;
        padding: 0.5rem;
    }
    .pc-menu .category {
        border-left: 4px solid #004494;
        font-size: 1.05rem;
        line-height: 1.5rem;
        margin-bottom: 0.5rem;
        padding-left: 0.1rem;
        height: 25px;
    }
    .pc-menu .category::before {
        content:"";
        padding-left: 5px;
        border-left: 3px solid #3cf;
        height: 100%;
        display: inline-block;
        vertical-align: middle;
    }
}
.pc-menuBestnet {
    width: max-content;
    display: flex;
    font-size: 0.95rem;
    padding-bottom: 1rem;
}
.pc-menuBestnet a {
    padding: 0 1.5rem;
}
@media screen and (max-width: 959px) {
    .tablet-sp-header {
        width: 100%;
        max-width: 1280px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .tablet-sp-header-inner:before {
        content: "";
        width: 100%;
        background: linear-gradient(43.37deg, #4d4d4d 6.71%, #bcbbbb 101.43%);
        position: absolute;
        top: 0;
        left: 0;
        z-index: -100;
    }
    .tablet-sp-header-inner {
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header-logo img {
        height: 55px;
        vertical-align: middle;
    }
    .tablet-sp-menubtn {
        width: 60px;
        height: 100%;
        position: relative;
        display: block;
        z-index: 5000;
        border: none;
        cursor: pointer;
    }    
    .tablet-sp-menubtn span {
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-indent: 100%;
        width: 22px;
        height: 3px;
        background: #fff;
        position: absolute;
        transition: 0.2s;
        left: 50%;
        top: 50%;
    }    
    .tablet-sp-menubtn span:nth-child(1) {
        transform: translate(-50%, -9px);
    }    
    .tablet-sp-menubtn span:nth-child(2) {
        transform: translate(-50%, -50%);
    }    
    .tablet-sp-menubtn span:nth-child(3) {
        transform: translate(-50%, 6px);
    }    
    .tablet-sp-menubtn.active span {
        width: 27px;
        height: 3px;
        top: 45%;
    }    
    .tablet-sp-menubtn.active span:nth-child(1) {
        transform: translate(-50%, 50%) rotate(45deg);
    }    
    .tablet-sp-menubtn.active span:nth-child(2) {
        opacity: 0;
        left: 50%;
    }    
    .tablet-sp-menubtn.active span:nth-child(3) {
        transform: translate(-50%, 50%) rotate(-45deg);
    }
    .menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100% - 60px);
        background: #e4f6ff;
        color: #004494;
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity .6s ease, visibility .6s ease;
    }
    .menu.active {
        opacity: 100;
        visibility: visible;
    }
    .menu-inner {
        display: block;
        height: auto;
        margin: 0 auto;
    }    
    .menu-item1,
    .menu-item2 {
        border-bottom: 1px solid #bcbbbb;
        width: 100%;
        position: relative;
    }
    .menu-item1::after {
        content: "";
        position: absolute;
        right: 16px;
        top: 20px;
        transform: translateY(-50%);
        transition: all 0.2s ease-in-out;
        display: block;
        width: 10px;
        height: 10px;
        border-top: 2px solid #004494;
        border-right: 2px solid #004494;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .menu-link {
        font-size: 1.15rem;
        letter-spacing: 0.04rem;
        height: 60px;
        display: flex;
        align-items: center;
        text-align: left;
        padding-left: 7px;
    }
    a.menu-link {
        color: #004494;
    }
    /* アコーディオン */
    .menu-contents {
        background: rgb(170,220,243,.5);
        display: none;
        position: static;
        width: 100%;
        padding: 0;
    }
    .menu-contents img {
        display: none !important;
    }
    .menu-contents ul {
        display: block;
    }
    .menu-contents ul li {
        width: 100%;
        height: auto;
        padding: 10px 0;
    }
    .menu-contents ul li a {
        width: 95%;
        color: #004494;
        display: block;
        text-align: left;
        margin: 0 auto;
    }
}
@media screen and (max-width: 519px) {
    .header-logo img {
        height: 45px;
    }
}

/* page-top */
#page-top {
    position: fixed;
    z-index: 100;
    bottom: 105px;
    right: 5px;
}
#page-top a {
    font-size: 14px;
    color: #45af5e;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    position: relative;
    letter-spacing: 2px;
    display: block;
    width: 40px;
    height: 40px;
    background-color: #f4ffe5;
    border-radius: 50%;
    border: 1px solid;
}
#page-top a::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -6px;
    margin-top: -4px;
    top: 50%;
    width: 11px;
    height: 11px;
    border-top: 3px solid #45af5e;
    border-right: 3px solid #45af5e;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #page-top {
        right: 8px;
        bottom: 90px;
    }
    #page-top a::after {
        width: 10px;
        height: 10px;
        margin-left: -6px;
        margin-top: -4px;
    }
}
@media screen and (max-width: 519px) {
    #page-top {
        bottom: 75px;
        right: 8px;
    }
    #page-top a::after {
        width: 8px;
        height: 8px;
        margin-left: -5px;
        margin-top: -3px;
    }
}
.copyright {
    font-weight: normal;
    background: #f4ffe5;
}
.copyright,
.copyright a {
    color: #45af5e;
}
@media screen and (min-width: 520px) {
    .copyright {
        font-size: 75%;
    }
}
@media screen and (max-width: 519px) {
    .copyright {
        font-size: 70%;
    }
}

.mini {
    font-size: 80%;
}
.txtL,
.txtR,
.txtCL {
    text-align: justify;
    margin: 1rem;
    line-height: 2.4;
}
@media print, screen and (min-width: 960px) {
    .txtCL {
        text-align: center;
    }
}
@media screen and (max-width: 959px) {
    .txtL,
    .txtR,
    .txtCL {
        line-height: 2;
    }
}
.txtMarker {
    display: inline;
    background: linear-gradient(transparent 50%, rgba(255, 255, 26, 0.31) 65%);
    padding: 0 4px;
}
.wrap {
    padding: 2rem 0;
}
@media screen and (max-width: 959px) {
    .wrap {
        padding: 2rem 0 0;
    }
}
.padT4 {
    padding-top: 4rem;
}
ul {
    list-style-type: none;
}
.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.flex > div {
    margin: 0;
}
.aiC {
    align-items: center;
}
.jcSB {
    justify-content: space-between;
}
.fdR {
    flex-direction: row-reverse;
}
.imgTxt {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 1.5rem 2rem;
}
#obi .imgTxt {
    width: 80%;
    margin: 0 auto 2rem;
}
.imgTxt .txtL {
    margin: 0 2rem 0 0;
}
.imgTxt .txtR {
    margin: 0 0 0 2rem;
}
.imgBox img {
    max-width: 400px;
}
.linkBox img {
    max-width: 100%;
}
@media print, screen and (min-width: 960px) {
    .imgTxt > div {
        margin: 0;
    }
    .imgBox img.photo {
        max-width: 300px;
    }
}
@media screen and (max-width: 959px) {
    .imgTxt {
        flex-wrap: wrap;
        margin: 0 1.25rem 2rem;
    }
    .imgTxt .txtL,
    .imgTxt .txtR {
        margin: 1rem 0;
    }
    .imgBox img.photo {
        max-width: 350px;
        width: 90%;
    }
    .imgBox {
        padding-bottom: 1rem;
    }
}
@media screen and (max-width: 519px) {
    .imgBox img {
        width: 100%;
    }
}
img.waku {
    border: 1px solid #dcdcdc;
    border-radius: .5rem;
}
.flip-horizontal {
    transform: scale(-1, 1);
}
.shadow {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,0.05),0 10px 20px rgba(0,0,0,0.15);
}

h2.secTitle,
h3.copy,
#companyInfo h2 {
    color: #004494;
    font-weight: 500;
}
h2.secTitle {
    font-size: 170%;
    letter-spacing: 3px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}
h2.secTitle:before {
    content: "";
    width: 70px;
    height: 70px;
    background: url("../images/logomark.png") center / contain no-repeat;
}
#companyInfo h2 {
    font-size: 170%;
    color: #333;
    margin-bottom: 1rem;
}
#companyInfo h2 span {
    font-size: 60%;
}
@media print, screen and (min-width: 520px) {
    #companyInfo h2 span {
        padding: 0 1rem 0 0;
    }
}
@media screen and (max-width: 519px) {
    #companyInfo h2 span {
        display: block;
    }
}
h3.subTitle {
    margin: 0 auto 3rem;
    font-size: 130%;
    font-weight: normal;
    letter-spacing: 1px;
    border: 1px solid;
    color: #0189cb;
}
h3.copy {
    margin: 2rem auto;
    font-size: 130%;
    letter-spacing: 1px;
    width: fit-content;
}
#attention h3 {
    margin: 2rem auto;
    font-size: 135%;
    font-weight: normal;
    color: #df5656;
}
#attention h3:before {
    content: "";
    display: inline-block;
    width: 45px;
    height: 45px;
    background-image: url("../images/icon_exclamation.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    padding-right: 10px;
}
@media screen and (max-width: 519px) {
    #attention h3 {
        font-size: 125%;
    }
}
#attention .imgBox {
    position: relative;
}
#maru {
    position: absolute;
    content: "";
    width: 90px;
    height: 45px;
    border-radius: 50%;
    background-color: #df5656;
    top: -20px;
    right: 0;
    display: flex;
    align-items: center;
}
#maru p {
    color: #ff0;
}
@media screen and (max-width: 959px) {
    h2.secTitle {
        font-size: 140%;
        white-space: nowrap;
        top: -40px;
        letter-spacing: 1px;
    }
    h2 {
        font-size: 130%;
    }
    h3.copy {
        letter-spacing: 0;
        text-align: left;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    h2 {
        margin: 0;
    }
}
.iconFirst,
.iconLogo {
    height: 40px;
    vertical-align: middle;
    padding-right: 10px;
    padding-bottom: 8px;
}
.iconLogo {
    padding-right: 2px;
}
@media screen and (max-width: 959px) {
    .iconFirst,
    .iconLogo {
        height: 35px;
        padding-right: 8px;
        padding-bottom: 0;
    }
}
.iconPolice {
    width: 32px;
    margin: 0 8px 0px -20px;
}

.backBox {
    padding: 1.5rem 0 1rem;
}
.menuBox div,
.menuBox2 div {
    width: calc(100%/3 - 20px);
    margin: 10px 10px 40px;
    background-color: #fff;
    border: 1px solid #dcdcdc;
    box-sizing: border-box;
}
.menuBox2 div {
    width: calc(100%/4 - 20px);
}
.menuBox p,
.menuBox2 p {
    padding: 6px 0;
    font-size: 110%;
}
.menuBox img,
.menuBox2 img {
    border-bottom: 1px solid #dcdcdc;
    aspect-ratio: 3/2;
    object-fit: cover;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .menuBox div,
    .menuBox2 div {
        width: calc(100%/2 - 20px);
    }
    .menuBox p,
    .menuBox2 p {
        font-size: 100%;
    }
}
@media screen and (max-width: 519px) {
    .menuBox div,
    .menuBox2 div {
        width: 90%;
        max-width: 400px;
        margin: 1rem auto;
    }
}
.subMenu .btnLink a {
    margin: 0 auto 2rem;
}

#tokushimacity .txtArea {
    width: 480px;
    background-color: rgba(247,247,247,.85);
    box-sizing: border-box;
    height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 3rem;
    border-radius: 1rem;
    margin-left: -8rem;
    margin-top: 5rem;
}
#tokushimacity .wrap {
    max-width: 1000px;
}
#tokushimacity .txtArea h3 {
    margin: 2rem auto 0;
}
.cap {
    margin-top: 10px;
}
@media screen and (max-width: 959px) {
    #tokushimacity .imgArea {
        width: 90%;
        max-width: 450px;
    }
    #tokushimacity .txtArea {
        margin: -4rem 0 0 6rem;
        width: 440px;
        padding: 0 1rem 1rem;
        height: auto;
    }
}
@media screen and (max-width: 519px) {
    #tokushimacity .txtArea {
        margin: -4rem 0 0;
        width: 95%;
    }
    #tokushimacity .txtArea h3 {
        font-size: 120%;
    }
}

#reason ol {
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
}
#reason ol li {
    text-align: justify;
    box-sizing: border-box;
    list-style-position: inside;
    background-color: #fff;
    background-image: url("../images/logomark.png");
    background-repeat: no-repeat;
    background-size: 37px auto;
    background-position: top 17px right 17px;
    border-radius: 1rem;
    box-shadow: 1px 1px 2px 1px rgba(204,204,204,.5);
    padding: 10px 20px 0;
    color: #00a4e4;
}
@media print, screen and (min-width: 960px) {
    #reason ol li {
        width: 31%;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #reason ol li {
        width: 46%;
    }
}
@media screen and (max-width: 519px) {
    #reason ol {
        justify-content: center;
    }
    #reason ol li {
        width: 90%;
    }
}
#reason ol li::marker {
    font-size: 200%;
    font-style: italic;
}
#reason ol li p {
    padding: 1rem 0;
    color: #333;
}

.flexslider {
    border: none;
    margin: 0;
}

.cardW {
    display: flex;
    align-items: center;
    margin: 1rem auto;
    max-width: 680px;
    width: 100%;
}
.cardW .number,
.creditcard {
    font-size: 90%;
    margin: auto;
}
.cardW .number {
    text-align: left;
    line-height: 1.2;
    letter-spacing: 0.07em;
}
.creditcard {
    max-width: 350px;
    width: 60%;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.creditcard img {
    vertical-align: middle;
}
.creditcard > div {
    margin: 0;
}
.creditcard div:not(:last-child) {
    width: 70px;
    padding-bottom: 10px;
}
@media screen and (max-width: 959px) {
    .cardW {
        font-size: 90%;
        flex-wrap: wrap;
        gap: 15px;
    }
}
@media screen and (max-width: 519px) {
    .creditcard,
    .cardW .number {
        width: 100%;
    }
    .cardW .number {
        text-align: center;
    }
}
#videocontainer {
    position: relative;
    width: 600px;
    height: 337px;
    margin: 30px auto 0;
}
@media screen and (max-width: 519px) {
    #videocontainer {
        width: 90%;
        max-height: 210px;
    }
}
#videocontainer video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: none;
}
#topicsSpace p.btnLink a {
    margin: 2rem auto;
    border: 4px double;
}
@media print, screen and (min-width: 960px) {
    #topicsSpace p.btnLink a{
        width: fit-content;
        padding: 15px 25px 15px 130px;
        box-sizing: border-box;
        background: #fff url("../images/zensoren_logo_new.png") -25px -13px / 25% no-repeat;
    }
    #topicsSpace p.btnLink a:hover {
        background: #018acb url("../images/zensoren_logo_new.png") -25px -13px / 25% no-repeat;
        color: #fff;
    }
}
@media screen and (max-width: 959px) {
    #topicsSpace p.btnLink a{
        width: 90%;
        max-width: 300px;
        box-sizing: border-box;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #topicsSpace p.btnLink a{
        max-width: 450px;
    }
}
.zensorenPR {
    width: 38%;
}
.zensorenYoutube {
    width: 60%;
    padding-top: 15px;
}
@media screen and (max-width: 959px) {
    .zensorenPR,
    .zensorenYoutube {
        width: 100%;
    }
    .zensorenPR {
        padding-top: 5px;
    }
    .zensorenPR .btnLink {
        padding-bottom: 5px;
    }
    .zensorenYoutube {
        position: relative;
        margin: 5px 0;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
    }
    .zensorenYoutube iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}
footer {
    border-top: 2px dotted #dcdcdc;
    margin-top: 2rem;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .creditcard div:not(:last-child) {
        width: 60px;
    }
}
@media screen and (max-width: 519px) {
    .creditcard {
        align-items: center;
        justify-content: center;
    }
    .creditcard div:not(:last-child) {
        width: 50px;
    }
}

#emrBanner {
    display: flex;
    align-items: center;
    border: 3px solid #004494;
    border-radius: .5rem;
    box-sizing: border-box;
    max-width: 960px;
    margin: 2rem auto 4rem;
    background: linear-gradient(135deg,#004494 0,#004494 60%,#3cf 60%, #3cf 61%,#fff 61%,#fff 100%);
    width: 90%;
    height: 100px;
}
#emrBanner h3.copy,
#emrBanner p.txt90 {
    color: #fff;
    margin: 0;
}
#emrBanner p.txt90 {
    color: #fff;
    font-size: 90%;
}
@media screen and (max-width: 959px) {
    #emrBanner {
        flex-direction: column;
        width: fit-content;
        height: auto;
        padding: 0 1rem;
        background: linear-gradient(180deg, #004494 0, #004494 55%, #3cf 55%, #3cf 56%, #fff 56%, #fff 100%);
    }
    #emrBanner > div {
        margin: 1rem;
    }
    #emrBanner p.txt90 {
        text-align: left;
    }
}
.planBox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.planBox > div {
    margin: 0;
    width: 30%;
}
@media screen and (max-width: 959px) {
    .planBox > div {
        width: 89%;
        max-width: 500px;
    }
    .planBox > div:not(:first-child) {
        margin-top: 2rem;
    }
}
.planBoxPrice {
    border: 4px solid rgba(1,137,203,.95);
    margin-top: 2rem;
    width: 270px;
    padding: 5px 0;
    background-color: #fff;
}
.member .head {
    background-color: rgba(1,137,203,.95);
    color: #fff;
    display: block;
    margin-bottom: 15px;
    margin-top: 15px;
}
.yaDown {
    position: relative;
    width: 30px;
    height: 20px;
}
.yaDown::before,
.yaDown::after {
    position: absolute;
    content: "";
}
.yaDown::before {
    top: 0;
    left: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #fc983f;
}
.yaDown::after {
    top: 3px;
    left: 6px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 12px solid #ffe;
}
.general {
    margin: 0 0 10px 0;
}
.fee1,
.fee2 {
    margin-right: 3px;
    line-height: 1;
}
.fee1 {
    font-size: 160%;
}
.fee2 {
    font-size: 220%;
    color: #090;
}
ul.cmt,
ul.shukatsu {
    text-align: left;
    width: fit-content;
    margin: 1rem;
}
ul.cmt {
    font-size: 90%;
    margin: 3rem auto;
    line-height: 2.4;
}
ul.cmt li,
ul.shukatsu li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: .5rem;
}
ul.cmt li:before,
ul.shukatsu li:before {
    position: absolute;
    content: "";
    left: 0;
    top: .85rem;
    transform: rotate(45deg);
    width: 8px;
    height: 8px;
    background-color: #090;
}
ul.shukatsu li:before {
    top: calc(.8rem / 2);
}
.planTitle {
    font-size: 140%;
}
.planTitle span {
    font-size: 120%;
    margin-left: 1rem;
}
.hallBox img#hall_annex {
    height: 240px;
}
@media print, screen and (min-width: 960px) {
    .hallBox {
        gap: 50px;
    }
}
@media print, screen and (min-width: 520px) {
    .hallBox img#hall_city,
    .hallBox img#hall_annex {
        height: 280px;
    }
}
.hallBox img {
    margin-top: 3rem;
}

#companyInfo {
    padding: 2rem 1rem 0;
}
@media screen and (max-width: 519px) {
    #companyInfo {
        padding: 1rem 1rem 0;
    }
    .custHall > div,
    .custHall2 > div {
        margin-top: 2rem;
    }
}
@media print, screen and (min-width: 520px) {
    .custHall,
    .custHall2 {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        margin-top: 3rem;
    }
    .custHall2 {
        align-items: flex-end;
    }
    .custHall > div,
    .custHall2 > div {
        margin: 0;
    }
    .yhall {
        object-fit: cover;
        width: 400px;
        height: 264px;
    }
}
.custnameback1 {
    background: url("../images/cust_name1.png") right no-repeat;
}
.custnameback2 {
    background: url("../images/cust_name2.png") right no-repeat;
}
.custnameback3 {
    background: url("../images/cust_name3.png") right no-repeat;
}
.custnameback1,
.custnameback2,
.custnameback3,
.custnameback4 {
    font-size: 120%;
    line-height: 2.4;
    text-shadow: 0 0 2px #fff, 0 0 1px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff0, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;
}
@media print, screen and (min-width: 520px) {
    .custnameback1,
    .custnameback2,
    .custnameback4 {
        width: 400px;
    }
    .w1 {
        max-width: 400px;
    }
    .w2 {
        max-width: 700px;
    }
}
.iconMap {
    vertical-align: middle;
    margin: 0 3px 3px 8px;
}
.custHall p,
.custHall2 p {
    text-align :left;
}
.zipcode {
    font-size: 80%;
    padding-right: .5rem;
}
@media screen and (max-width: 519px) {
    .zipcode {
        display: block;
    }
}

#toiawase .btnLink a {
    width: 160px;
}
ul#toiawase {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 1rem auto 3rem;
}
@media screen and (max-width: 959px) {
    ul#toiawase {
        flex-direction: column;
        gap: 0;
        flex-wrap: wrap;
    }
}
@media print, screen and (min-width: 520px) {
    #saijoPic {
        object-fit: cover;
        width: 600px;
        height: 320px;
    }
}
#boxT > div:nth-child(1) {
    position: relative;
}
#boxT > div:nth-child(2) {
    max-width: 600px;
}
#boxT > div > div {
    background-color: #fde7ea;
    border-radius: 50%;
    aspect-ratio: 3/2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    position: absolute;
    content: "";
    top: -35px;
    right: -45px;
    width: 180px;
    height: auto;
    box-sizing: border-box;
    border: 2px solid;
    color: #f00;
}
@media screen and (max-width: 519px) {
    #boxT > div > div {
        top: -65px;
        right: -25px;
        width: 160px;
    }
}
#boxT p:nth-child(1) {
    font-size: 120%;
}
#boxT p:nth-child(2) {
    font-size: 170%;
    letter-spacing: -1px;
}
#boxT p span.mini {
    font-size: 45%;
}
#boxT p {
    line-height: 1.2;
}
.time {
    font-size: 130%;
}
.telegraph .imgTxt {
    margin: 5rem 1.5rem 0;
}
.telegraph ul li {
    text-align: left;
    line-height: 2.4;
}
.telegraph ul li:last-child {
    line-height: 2;
}
#useful ul,
#useful ul li {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    text-align: left;
    margin-bottom: 3rem;
}
#useful ul li p {
    background-repeat: no-repeat;
    height: 50px;
    display: flex;
    align-items: center;
    width: 50px;
    background-image: url("../images/icon_useful.png");
}
.icon_endingnote {
    background-position: 0 0;
}
.icon_manual {
    background-position: -50px 0;
}
.icon_aisatsu {
    background-position: -100px 0;
}
.icon_dictionary {
    background-position: -150px 0;
}
.icon_kinichi {
    background-position: -200px 0;
}
#useful ul li a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
@media screen and (max-width: 959px) {
    #useful ul {
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        margin: auto;
    }
    #useful ul li {
        margin-bottom: 1rem;
    }
}
@media screen and (max-width: 519px) {
    #useful ul li a {
        width: 150px;
    }
}
#areamapTitle {
    color: #45af5e;
    font-size: 110%;
}
