@charset "utf-8";

/* CSS Document */

@media screen and (max-width: 640px) {
  /* header */
  #header_wrap {
    width: 100%;
    height: 35px;
    font-size: 16px;
    background: #77779e;
    position: relative;
  }
  #header_wrap p{
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 8%;
  }
  #header_wrap p a{
    border: 1px solid #fff;
    padding: 4px 10px 3px;
    border-radius: 5px;
    font-size: 12px;
    color: #fff;
  }
  #header_wrap p a:hover{
    background: #fff;
    color: #77779e;
  }
  .c3d_logo {
    display: inline-block;
    width: 45%;
    margin: 7% 0 20px;
  }
  .c3d_logo img{
    max-width: 300px;
    width: 100%;
  }
  .sunstar_logo {
    display: inline-block;
    width: 30%;
    float: right;
    margin-top: 12%;
  }
  .sunstar_logo img{
    max-width: 150px;
    width: 100%;
  }

  /* footer */
  #footer_wrap{
    border-bottom:solid 1px #FF5000;
  }
  footer {
    text-align: center;
    color: #333;
    background: #FFFAF0;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin: 60px 3% 0;
    padding: 50px 0 10px;
  }
  footer .tel {
    font-feature-settings: "palt";
    letter-spacing: 1px;
    margin-bottom: 20px;
  }
  footer .tel span {
    font-size: 12px;
    letter-spacing: 0;
    margin-right: 4px;
  }
  footer ul:after{
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
  }
  footer .copyright {
    font-size: 10px;
    color: #aaa;
  }
  #back-top{
    right:0px;
    height:80px;
    position:fixed;
    bottom:210px;
  }
  #back-top_main{
    position: absolute;
    right: 10px;
  }

  /* common */
  h2 {
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
    border: none;
    background: #FFFAF0;
    margin: 0;
    padding: 70px 15px 40px;
    position: relative;
  }
  h2::before {
    content: "クリニック専用";
    font-size: 12px;
    font-weight: 600;
    color: #FFB625;
    margin: auto;
    position: absolute;
    top: 50px;
    left: 18px;
    right: 0;
  }
  h3 {
    width: 100%;
    font-size: 20px;
    font-weight: 500;
    font-feature-settings: "palt";
    letter-spacing: 1px;
    line-height: 1.2;
    border-bottom: 1px solid #FD9;
    margin-bottom: 20px;
    padding: 10px 5px;
  }
  h4 {
    font-size: 18px;
    font-weight: 600;
    border-left: 3px solid #F8B62D;
    margin-bottom: 10px;
    padding: 0 0 0 15px;
  }
  dl dd:last-of-type{
    margin-bottom: 0 !important;
  }
  table{
    width: 100%;
    font-size: 14px;
    border-spacing: 0;
    border-collapse: collapse;
    margin: 0 0 20px;
  }
  table th,table td{
    padding: 15px 10px;
  }
  table th{
    background: #cce0ea;
  }
  table td{
    text-align: left;
  }
  table tr th:first-of-type {
    width: 38%;
    border-bottom: 1px solid #fff;
  }

  /* contents_parts */
  .text_st01 {
    font-weight: bold;
    color: #F2A712;
  }
  .text_st02 {
    font-weight: bold;
    color: #F2A712;
    font-size: 18px;
    text-align: center;
  }
  .ul01 li {
    padding-left: 18px;
    position: relative;
  }
  .ul01 li::before {
    content: "";
    width: 4px;
    height: 4px;
    background: #151515;
    border-radius: 2px;
    position: absolute;
    top: 11px;
    left: 6px;
  }
  .ol01 {
    counter-reset: number;
  }
  .ol01 li {
    padding-left: 22px;
    position: relative;
  }
  .ol01 li::before {
    counter-increment: number;
    content: counter(number)".";
    font-size: 18px;
    font-family: "Heebo","Yu Mincho","游 明朝","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    color: #F2A712;
    position: absolute;
    left: 3px;
    top: -2px;
  }
  .link01{
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
    background: #965961;
    border: 1px solid #965961;
    padding: 7px 20px 5px;
  }
  .link01:hover{
    border: 1px solid #FF5000;
    background-color: #FF5000;
    color: #fff;
  }
  .link02{
    color: #965961;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #965961;
    padding: 7px 20px 5px;
    opacity: 1;
  }
  .link02:hover{
    opacity:0.7;
  }
  .text_notice01{
    color: #555;
    font-size: 15px;
    position: relative;
    left: 13px;
  }
  .text_notice01:before{
    content:"※";
    margin-left: -15px;
  }

  /* contents */
  .contentsmain_wrap,
  .contentsmain {
    display: block;
    min-height: calc(100% - 209px);
  }
  section {
    margin-bottom: 60px;
  }
  section .contents {
    width: 100%;
    margin: 0 auto 60px;
    padding: 0 15px;
  }

  /* top */
  .apply,
  .apply_notice {
    margin-bottom: 30px;
  }
  .apply .headline {
    font-size: 18px;
    font-weight: 500;
    margin: 30px 0 10px;
    padding-left: 18px;
    position: relative;
  }
  .apply .headline::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #FFB625;
    position: absolute;
    left: 0;
    top: 8px;
  }
  .apply p,
  .apply_notice p,
  .photo_notice p {
    line-height: 1.5;
  }
  .apply ul {
    display: -ms-flexbox;
    display: flex;
    flex-flow: wrap;
    width: 100%;
  }
  .apply ul li {
    width: calc(100% / 2 - 40px);
  }
  .apply ul li:not(:first-of-type) {
    margin-left: 35px;
    position: relative;
  }
  .apply ul li:nth-of-type(2) {
    width: calc(100% / 2);
    margin-left: 40px;
    margin-bottom: 20px;
  }
  .apply ul li:first-of-type:not(.qr) {
    width: calc(100% / 2 - 40px);
    margin: 0 0 20px;
  }
  .apply ul li:last-of-type {
    width: calc(100% / 2 - 30px);
  }
  .apply ul li:not(:first-of-type)::before {
    content: "";
    width: 35px;
    height: 100%;
    background: url(../img/index/arrow.svg) no-repeat center center/15px;
    margin: -10px auto 0;
    position: absolute;
    left: -32px;
  }
  .apply ul li img {
    display: block;
    width: auto;
    height: 80px;
    margin: 0 auto 5px;
  }
  .apply ul li p {
    font-size: 13px;
    padding: 0 5px;
  }
  .apply ul .qr p,
  .apply ul li:last-of-type p {
    text-align: center;
  }
  .apply_notice .headline {
    font-size: 18px;
    font-weight: 500;
    border-left: 3px solid #FFB625;
    margin-bottom: 10px;
    padding: 0 15px;
  }
  .photo_notice {
    display: inline-block;
    width: 100%;
    color: #151515 !important;
    background: #fff;
    border: 1px solid #aaa;
    margin-top: 10px;
    padding: 20px;
    position: relative;
  }
  .photo_notice .headline {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
  }
  .photo_notice div {
    display: -ms-flexbox;
    display: flex;
    width: 90%;
    max-width: 300px;
    margin: 0 auto 20px;
  }
  .photo_notice div img {
    width: calc(100% / 2 - 10px);
  }
  .photo_notice div .im_photo_ok {
    margin-right: 20px;
  }
  .photo_notice .ol01 {
    margin-bottom: 10px;
  }
  .photo_notice .ol01 li {
    line-height: 1.5;
  }
  .photo_notice .ol01 li:first-of-type {
    margin-bottom: 10px;
  }

  /* form */
  .h3_div {
    width: 100%;
    margin: auto;
  }
  .h4_div {
    width: 100%;
    margin: 20px auto 80px;
    padding: 0 15px;
  }
  .h4_div:last-of-type {
    margin-bottom: 0;
  }
  .h4_div .breadcrumb {
    color: #333;
    font-size: 12px;
    border-left: 3px solid #FFB625;
    margin-top: -12px;
    margin-bottom: 20px;
    padding: 0 15px;
  }
  .h4_div .breadcrumb a {
    font-weight: 500;
    margin-right: 3px;
  }
  .h4_div > .headline,
  .h4_div form > .headline {
    font-size: 18px;
    font-weight: 500;
    margin: 30px 0 10px;
    padding-left: 18px;
    position: relative;
  }
  .h4_div > .headline::before,
  .h4_div form > .headline::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #FFB625;
    position: absolute;
    left: 0;
    top: 8px;
  }
  .h4_div > p {
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .h4_div p.check{
    font-size: 15px;
  }
  .h4_div > div:not(.apply) {
    color: #ff244e;
    margin-bottom: 10px;
    position: relative;
  }
  .h4_div > .apply {
    margin-bottom: 20px;
  }
  .h4_div div.company {
    color: #151515;
    margin-top: 50px;
    margin-bottom: 0;
  }
  .h4_div .company .headline {
    font-size: 18px;
    font-weight: 500;
    border-left: 3px solid #FFB625;
    margin-bottom: 10px;
    padding: 0 15px;
  }
  .h4_div .company .address {
    font-size: 14px;
  }
  .h4_div .company .address > span:not(.tel) {
    font-size: 15px;
    font-weight: 500;
  }
  .h4_div .company .address .tel span {
    margin-right: 3px;
    position: relative;
  }
  .h4_div .company .address .tel span::after {
    content: "：";
  }
  .h4_div > p.topics01 {
    background: rgb(255, 250, 240);
    padding: 20px 25px;
  }
  .h4_div > ul {
    margin: 30px 0;
  }
  .h4_div > ul li {
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 55px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 auto 15px;
  }
  .h4_div > ul li a {
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #151515;
    background: #fff;
    border: 1px solid;
    margin: auto;
  }
  .h4_div > ul li a:hover{
    color: #fff;
    background: #151515;
  }
  .h4_div form p {
    line-height: 1.5;
  }
  .h4_div form .title {
    display: block;
    width: 100%;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 16px;
    margin-top: 40px;
    margin-bottom: 5px;
  }
  .h4_div form .title.f_15:not(:last-of-type) {
    margin-top: 20px;
  }
  .h4_div form .title.f_15:last-of-type {
    margin-top: 5px;
    padding-left: 25px;
    position: relative;
  }
  .h4_div form .title span.text_st01 {
    letter-spacing: 0;
  }
  .h4_div form .title.f_15:last-of-type input[type="checkbox"] {
    margin: 0;
    width: 1em;
    height: 1em;
    /* padding: 10px; */
    position: absolute;
    left: .5em;
    top: .25em;
    /* transform: translate(-50%, -50%); */
  }
  .h4_div form dl {
    display: block;
    margin: 10px 0;
  }
  .h4_div form dl dt.text_st01 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .h4_div form dl dt span,
  .h4_div form .title.f_15:last-of-type span {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #FFB625;
    padding: 1px 5px;
    position: relative;
    top: -2px;
    left: 5px;
  }
  .h4_div form dl dt span.free {
    background: #aaa;
  }
  .h4_div form .loginpass span{
    font-size: 13px;
    font-weight: 400;
    color: #151515;
  }
  .h4_div form .title span.text_st01 {
    color: #fff;
    background: #F2A712;
    padding: 1px 7px 0;
  }
  .h4_div form dl dd {
    font-size: 14px;
    color: #ff244e;
    margin-bottom: 6px;
  }
  .h4_div form dl dd span {
    font-size: 15px;
    color: #151515;
    margin-right: 15px;
  }
  .h4_div form dl:not(.dl01):nth-of-type(2) dt {
    line-height: 1.5;
    padding-left: 25px;
    position: relative;
  }
  .h4_div form dl:not(.dl01):nth-of-type(2) dt input[type="radio"] {
    margin-top: 4px;
    position: absolute;
    left: 0;
  }
  .h4_div form .dl01.mb_0 {
    margin-bottom: 5px !important;
  }
  .h4_div form .dl01 dt {
    font-weight: 500;
  }
  .h4_div form .dl01 dt.text_st01 {
    color: #151515;
    margin-bottom: 0;
  }
  .h4_div form .dl01 dd {
    min-height: 35.2px;
    background: #f4f4f4;
    margin-bottom: 5px;
    padding: 5px 8px;
  }
  .h4_div form .dl01 dd.mb_0 {
    margin-bottom: 5px !important;
  }
  .h4_div form .dl01 dd span {
    margin: 0;
  }
  .h4_div form input,
  .h4_div form select,
  .h4_div form textarea {
    font-size: 15px;
    font-weight: 500;
    font-family: "Yu Gothic","游ゴシック","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",sans-serif;
  }
  .h4_div form input[type="radio"] {
    margin-right: 10px;
    margin-left: 5px;
  }
  .h4_div form input[type="checkbox"] {
    margin: 0 5px;
  }
  .h4_div form input[type="text"],
  .h4_div form input[type="tel"],
  .h4_div form input[type="date"],
  .h4_div form input[type="email"]{
    width: 100%;
    height: 36px;
    font-size: 15px;
    letter-spacing: 1px;
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 8px;
  }
  .h4_div form input[type="tel"],
  .h4_div form input[type="date"],
  .h4_div form input[type="email"]{
    width: 50%;
  }
  .h4_div form input#password,
  .h4_div .field {
    font-size: 16px;
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 8px;
    margin: 1px 7px 3px 0;
  }
  .h4_div form input[type="file"] {
    font-size: 14px;
  }
  .h4_div form select {
    height: 36px;
    font-size: 14px;
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 6px 10px;
  }
  .h4_div form textarea {
    display: block;
    width: 100%;
    min-height: 8em;
    font-size: 15px;
    border: 1px solid #aaa;
    border-radius: 3px;
    margin-bottom: 30px;
    padding: 8px;
  }
  .h4_div form p.textarea {
    background: #f4f4f4;
    padding: 8px;
  }
  .h4_div form #nokorimoji {
    display: block;
    font-size: 14px;
    color: #ec7926;
  }
  .h4_div form .button input[type="submit"],
  .h4_div form .button button[type="submit"] {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    color: #ec7926;
    background: #fff;
    border: 1px solid;
    border-radius: 30px;
    padding: 10px 20px 9px;
    cursor: pointer;
    transition: all .3s;
    margin-right: 2%;
    margin-bottom: 1em;
  }
  .h4_div form .button button[type="submit"]:nth-of-type(2),
  .h4_div form .button input[name="sub_back"]{
    color: #846149;
    margin: 0;
  } {
    color: #846149;
    margin: 0;
  }
  .h4_div form .button p {
    font-weight: bold;
    line-height: 1.5;
    color: #555;
    margin: 10px 0 20px;
  }
  /*.h4_div form dd.mb_0{
  width: 100%;
  font-size: 16px;
  letter-spacing: 1px;
  border: solid 1px #8a018e;
  border-radius: 3px;
  padding: 8px;
}*/
  .entryphoto{
    color: #000;
    position: relative;
    margin-bottom: 15px;
  }
  .entryphoto img{
    max-width: 150px; 
    height:auto;
  }
  .entryphoto p{
    font-size: 9px;
  }
  .entryphoto th,table td{
    padding: 10px 5px;
  }
  .entryphoto th{
    background: #cce0ea;
  }
  .entryphoto td{
    text-align: left;
  }
  .entryphoto tr th:first-of-type {
    width: 5%;
    border-bottom: 1px solid #fff;
  }
  .h4_div #imgPreviewField {
  }
  .h4_div #imgPreviewField figure {
    display: block;
    width: 100%;
    height: 260px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
  }
  .h4_div #imgPreviewField figure img {
    -o-object-fit: cover;
    font-family: 'object-fit: cover;';
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
  }
  .h4_div #imgPreviewField > input[type="button"],
  .h4_div #imgPreviewField figure input[type="button"] {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #846149;
    background: #fff;
    border: 1px solid;
    padding: 5px 30px;
  }

  .h4_div #imgPreviewUploaded {
    margin: 10px 0 0;
  }
  .h4_div #imgPreviewUploaded figure {
    display: block;
    width: 100%;
    height: 260px;
    text-align: right;
    margin-bottom: 20px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
  }
  .h4_div #imgPreviewUploaded figure img {
    -o-object-fit: cover;
    font-family: 'object-fit: cover;';
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
    margin-bottom: 5px;
  }
  .h4_div #imgPreviewUploaded > input[type="button"],
  .h4_div #imgPreviewUploaded figure input[type="button"] {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #846149;
    background: #fff;
    border: 1px solid;
    padding: 5px 30px;
  }
  .h4_div #imgPreviewRegisted {
    color: #151515;
  }
  .h4_div #imgPreviewRegisted > img {
    display: block;
    width: 100%;
    max-width: 400px;
  }
  .h4_div #imgPreviewRegisted > p,
  .h4_div #imgPreviewRegisted form {
    display: block;
    width: 100%;
    padding: 10px 0 0;
  }
  .h4_div #imgPreviewRegisted > p {
    font-size: 16px;
    font-weight: bold;
    color: #F2A712;
  }
  .h4_div #imgPreviewRegisted form {
    margin-bottom: 30px;
  }
  .h4_div #imgPreviewRegisted form:last-of-type {
    margin-bottom: 0;
  }
  .h4_div #imgPreviewRegisted form input[type="submit"] {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #846149;
    background: #fff;
    border: 1px solid;
    padding: 5px 30px;
  }

  #upload {
    width:90px;
    height:35px;
    text-align:center;
    line-height:35px;
    border-radius:5px;
    color:#fff;
    background:#4385bf;
    margin:10px 0;
    cursor:pointer;
  }
  .h4_div form #preview {
    text-align: center;
    background: rgb(255, 250, 240);
    padding: 25px 15px;
    margin: 20px 0;
  }
  .h4_div form #preview .title {
    margin: 0 0 10px;
  }
  .h4_div form #file {
    opacity:0;
  }
  .h4_div form iframe {
    border: 1px solid #333;
    margin-top: 40px;
    margin-bottom: 10px
      padding: 0 0 0 10px;
    min-height: 200px;
  }
  body > h4 {
    border: none;
    font-size: 20px;
    margin-bottom: 5px;
    padding: 10px 10px 0 0;
  }
  body > p {
    padding: 0 10px 10px 0;
  }
  .h4_div .end_msg {
    font-size: 16px;
    margin-bottom: 35px;
    text-align: center;
  }
  .h4_div form .hissu {
    font-size: 14px;
    color: #ff244e;
  }
  .h4_div form .comnt {
    margin: -30px auto 20px;
  }
  /*アンケートフォーム*/
  .survey .h4_div p {
    color: #151515;
  }
  .survey .h4_div form dl dd {
    font-size: 16px;
    color: #151515;
  }
  .survey .h4_div form dl:not(.dl01):nth-of-type(2) dt {
    padding-left: 0;
  }
}