﻿/*
Theme Name:switch_child
Theme URI:
Description:WordPressテーマ「switch」の自作子テーマです。
Template:switch_tcd063
Author:TCD
Author URI:https://tcd-theme.com/
Version:3.1
*/

.p-index-content01 {
    padding: 0;
    margin-bottom: 0;
}

.position {
    position: relative;
    margin: 0 auto;
}

.p-index-content03 {
    /*position: absolute;
    left: 50%;
    transform: translateX(-50%);*/
    z-index: 1;
    top: -6em;
}

p.p-article08__title.p-triangle.p-triangle::before {
    display: none;
}

p.p-article08__title.p-triangle.p-triangle--no-padding {
    display: none;
}

/* top ヘッダー画像 */
.p-header-slider-rt {
    position: absolute;
    top: 15%;
    left: calc(50% - -210px);
    z-index: 9;
}

.p-header-slider-rd {
    position: absolute;
    top: 30%;
    left: calc(50% - -95px);
    z-index: 9;
}

.p-header-slider-lt {
    position: absolute;
    top: 35%;
    left: calc(50% - 600px);
    text-align: center;
    z-index: 10;
}

.p-header-slider-ld {
    position: absolute;
    top: 45%;
    left: calc(50% - 550px);
    text-align: center;
    z-index: 10;
}

.p-header-slider-lt h1,
.p-header-slider-ld p {
    color: #fff;
    font-size: 2.5em;
    text-shadow: 0 0 10px #1c598b, 0 0 15px #2877b7, 0 0 20px #307ab7;
}

.p-header-slider-ld p {
    font-size: 28px;
    line-height: 2;
    font-weight: 800;
}

.p-header-slider-d {
    position: absolute;
    bottom: 8em;
    left: calc(50% - 600px);
    z-index: 10;
}

.p-header-slider-d img {
    width: 40em;
}

@media screen and (max-width: 767px) {
    .p-header-slider-rt {
        position: absolute;
        top: 30%;
        left: calc(50% - -55px);
        z-index: 10;
    }

    .p-header-slider-rt img {
        width: 20vw;
    }

    .p-header-slider-rd {
        position: absolute;
        top: 43%;
        left: calc(50% - -15px);
        z-index: 9;
    }

    .p-header-slider-rd img {
        width: 40vw;
    }

    .p-header-slider-lt {
        position: absolute;
        top: 17%;
        left: calc(50% - 178px);
        text-align: center;
        z-index: 10;
    }

    .p-header-slider-lt h1 {
        font-size: 1.6em;
    }

    .p-header-slider-ld {
        position: absolute;
        top: 35%;
        left: calc(50% - 170px);
        text-align: center;
        z-index: 10;
    }

    .p-header-slider-ld p {
        font-size: 18px;
        line-height: 1.7;
    }

    .p-header-slider-d {
        position: absolute;
        bottom: 0;
        left: calc(50% - 183px);
        z-index: 10;
    }

    .p-header-slider-d img {
        width: 23em;
    }
}

/* アニメーション top */
.fadeIn1s {
    animation-name: fadeIn1s;
    animation-delay: 1s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateX(-50px);
    opacity: 0;
}

@keyframes fadeIn1s {
    0% {}

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 1.5秒間かけてフェードイン */
.fadeIn1500ms {
    animation-name: fadeIn1500ms;
    animation-delay: 1500ms;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateX(-50px);
    opacity: 0;
}

@keyframes fadeIn1500ms {
    0% {}

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 0.5秒間かけてフェードイン */
.fadeIn500ms {
    animation-name: fadeIn500ms;
    animation-delay: 500ms;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateY(-50px);
    opacity: 0;
}

@keyframes fadeIn500ms {
    0% {}

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 2秒間かけてフェードイン */
.fadeIn2s {
    animation-name: fadeIn2s;
    animation-delay: 2s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateX(-50px);
    opacity: 0;
}

@keyframes fadeIn2s {
    0% {}

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 2.5秒間かけてフェードイン */
.fadeIn2500ms {
    animation-name: fadeIn2s;
    animation-delay: 2500ms;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateY(50px);
    opacity: 0;
}

@keyframes fadeIn2s {
    0% {}

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* top human アニメーション */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animated-element {
    animation-name: fade-in, float;
    animation-delay: 3s;
    animation-duration: 2s, 4s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
    opacity: 0;
}

/* アニメーション スクロール */
.inview.fadeup {
    opacity: 0;
    transition-duration: .8s;
    transform: translateY(20px);
}

.inview.fadeup.active {
    opacity: 1;
    transform: translateY(0px);
}

.inview.fadedown {
    opacity: 0;
    transition-duration: .8s;
    transform: translateY(-20px);
}

.inview.fadedown.active {
    opacity: 1;
    transform: translateY(0px);
}

.inview.fadeleft {
    opacity: 0;
    transition-duration: .8s;
    transform: translateX(-20px);
}

.inview.fadeleft.active {
    opacity: 1;
    transform: translateX(0px);
}

.inview.faderight {
    opacity: 0;
    transition-duration: .8s;
    transform: translateX(20px);
}

.inview.faderight.active {
    opacity: 1;
    transform: translateX(0px);
}

.delay01 {
    transition-delay: .3s;
}

.delay02 {
    transition-delay: .6s;
}

.delay03 {
    transition-delay: .9s;
}

/* top 3カラム画像 */
.p-hover-effect--type1 {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* top 3カラム テキスト枠 */
.p-index-content03__content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1 0 auto;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.p-article08__desc:last-child {
    font-size: 16px;
}

/* top 3カラム背景色
div#js-cb {
    background-image: url(images/p-index-content03_bg.jpg);
    background-repeat: no-repeat;
    background-size: contain;
} */

/* ナビ */
.p-global-nav {
    font-size: 16px;
    color: #595757;
    font-weight: 700;
}

@media only screen and (min-width: 1200px) {
    .p-global-nav {
        padding-right: 5em;
    }
}

/* top スクロールボタン */
.p-index-content01 {
    display: none;
}

/* コピーライト */
.p-copyright {
    color: #3f3f3f;
}

/* フッダー バナー */
.p-article07__title {
    display: none;
}

.p-info {
    text-align: unset;
    padding: 40px 0 20px;
}

.p-info__logo {
    display: block;
}

.p-info__logo img {
    max-width: 140px;
    height: auto;
}

.p-info__address {
    font-size: 16px;
}

/* フッダー catchcopy */
.p-footer-link__title {
    color: #002C2B;
    font-weight: 600;
}

.p-footer-link__desc {
    color: #002C2B;
    font-size: 23px;
    line-height: 1;
    font-weight: 600;
}

.mw-780 {
    max-width: 780px;
    margin: 0 auto;
}

table {
    width: 100%;
}

.p-entry__body td,
.p-entry__body th {
    font-size: 16px !important;
}

/* 翻訳 */
.gt_float_switcher .gt-selected .gt-current-lang {
    font-weight: 100 !important;
}

.gt_float_switcher {
    font-size: 16px !important;
}

div#gt_float_wrapper {
    animation-name: fadeIn1s;
    animation-delay: 1s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateY(-50px);
    opacity: 0;
}

@keyframes fadeIn1s {
    0% {}

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media screen and (max-width: 1199px) {
div#gt_float_wrapper {
        top: 60px !important;
        right: 0px !important;
    }
}

@media screen and (max-width: 767px) {
    /*div#gt_float_wrapper {
        top: 60px !important;
        right: 0px !important;
    }*/

    .gt_float_switcher .gt-selected .gt-current-lang {
        padding: 3px 10px !important;
    }
}

/* イベント 非表示 */
.p-index-content04__col--event {
    display: none;
}

/* お知らせ */
.p-index-content04__col {
    width: 100%;
}

.p-index-content04__col--news {
    max-width: 780px;
    margin: 0 auto;
}

.p-index-content04 {
    padding: 6em 0;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

.p-index-content04__col-list-item:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.p-index-content04__col-list-item:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.p-headline02__sub {
    margin-left: 16px;
    font-size: 16px;
    color: #3e5173;
    font-weight: 700;
}

.p-cb__item {
    margin-bottom: 0;
}

/* 固定ページ ヘッダー */
.p-page-header__desc {
    font-weight: 900;
    letter-spacing: 0.08em;
}

/* カラム */
.col_2-3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 1em 26em;
    grid-auto-flow: row;
    justify-items: center;
    padding-top: 3em;
}

.col_2-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    gap: 0em 2em;
    grid-auto-flow: row;
    align-items: center;
    justify-items: center;
}

@media screen and (max-width: 767px) {

    .col_2-3,
    .col_2-1 {
        display: block;
    }

    .col_2-3 {
        padding-top: 16em;
    }
}

div#cb_content6 {
    position: relative;
    background: url(images/cb_content7_bg-img.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 100vh;
    margin: 50px auto 0;
}

img.cb_content6_img01, img.cb_content6_img02 {
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 70vw;
    top: 60%;
}

.cb_content4_box {
    padding: 1em 1em;
    border-radius: 10px;
    border: 2px solid #F08300;
    width: 320px;
    background: rgb(255 255 255 / 70%);
    text-align: center;
}

.cb_content4_box h4 {
    color: #fff;
    background: linear-gradient(to right, #ff7600, #ff9d24);
    padding: 10px 10px 5px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.cb_content4_box p {
    margin-bottom: 0;
    line-height: 1.5;
}

@media screen and (max-width: 767px) {
    div#cb_content6 {
        height: 1200px;
    }

    img.cb_content6_img01, img.cb_content6_img02 {
    width: 100vw;
    top: 15%;
    }

    .cb_content4_box {
        margin-bottom: 10px;
    }
}

/* 改行 */
@media screen and (min-width: 768px) {
    .pc {
        display: inline;
    }

    .sp {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .pc {
        display: none;
    }

    .sp {
        display: inline;
    }
}

/* スペース */
.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-4 {
    margin-bottom: 4em;
}

.mb-8 {
    margin-bottom: 8em;
}

/* 色 */
.blue {
    color: #3e5173 !important;
}

.green {
    color: #60a828 !important;
}

.pink {
    color: #ea668b !important;
}

/* フォント */
.fs-2 {
    font-size: 2em !important;
}

.fw-900 {
    font-weight: 900;
}

/* top catchcopy */
.p-index-content07 {
    height: 350px;
}

.p-index-content07__inner {
    justify-content: flex-start;
    color: #3e5173;
}

.p-index-content07__inner p {
    font-size: 16px;
}

.p-cb {
    padding-top: 0;
    background: linear-gradient(to right bottom, #daecf8, #ffffff);
}

div#cb_content5 {
    padding: 5em 0 0;
}

div#cb_content5 h2 {
    font-size: 2em;
    color: #3f3f3f;
}

@media screen and (max-width: 767px) {
    div#cb_content5 h2 {
        font-size: 1.6em;
    }
}

/* 会社概要 */
.heading {
    text-align: center;
    /*background: url(images/bg_mark.png);
    background-repeat: no-repeat;
    background-position: top 0px right -18px;
    background-size: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: screen;*/
}

.heading h3 {
    margin: 0;
    color: #3e5173;
    font-size: 4.3em !important;
    font-weight: 900;
}

.heading p {
    font-size: 1.2em;
}

/* google フォント */
.zen-antique {
    font-family: "Zen Antique Soft", serif;
    font-style: normal;
}
.edu-sa-hand {
  font-family: "Edu SA Hand", cursive;
  font-optical-sizing: auto;

  font-style: normal;
}

/*  */
.business_map {
    position: relative;
    height: 500px;
    margin-bottom: 4em;
}

.circle-p,
.circle-g,
.circle-b {
    position: absolute;
    font-size: 2.5rem;
    font-weight: 700;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    border-radius: 0.5rem;
}

.circle-p,
.circle-g,
.circle-b {
    display: block;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    padding: 125px 0;
    border-radius: 50%;
    background: #fcfff4;
}

.circle-p {
    bottom: 0%;
    right: 5%;
    background: -webkit-gradient(linear,
            left top,
            left bottom,
            from(#fcfff4),
            color-stop(40%, #e5d7e1),
            to(#beadb8));
    background: -webkit-linear-gradient(top,
            #fff4fe 0%,
            #e5d7e1 40%,
            #beadb8 100%);
    background: linear-gradient(to bottom, #fff4fe 0%, #e5d7e1 40%, #beadb8 100%);
    -webkit-box-shadow: inset 5px 30px 20px rgba(255, 255, 255, 0.5),
        0 6px 10px rgba(0, 0, 0, 0.2);
    box-shadow: inset 5px 30px 20px rgba(255, 255, 255, 0.5),
        0 6px 10px rgba(0, 0, 0, 0.2);
}

.circle-g {
    bottom: 0%;
    left: 5%;
    background: -webkit-gradient(linear,
            left top,
            left bottom,
            from(#fcfff4),
            color-stop(40%, #dfe5d7),
            to(#b3bead));
    background: -webkit-linear-gradient(top,
            #fcfff4 0%,
            #dfe5d7 40%,
            #b3bead 100%);
    background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    -webkit-box-shadow: inset 5px 30px 20px rgba(255, 255, 255, 0.5),
        0 6px 10px rgba(0, 0, 0, 0.2);
    box-shadow: inset 5px 30px 20px rgba(255, 255, 255, 0.5),
        0 6px 10px rgba(0, 0, 0, 0.2);
}

.circle-b {
    right: 0;
    left: 0;
    margin: 0 auto;
    background: -webkit-gradient(linear,
            left top,
            left bottom,
            from(#f4fbff),
            color-stop(40%, #d7e0e5),
            to(#adb9be));
    background: -webkit-linear-gradient(top,
            #f4fbff 0%,
            #d7e0e5 40%,
            #adb9be 100%);
    background: linear-gradient(to bottom, #f4fbff 0%, #d7e0e5 40%, #adb9be 100%);
    -webkit-box-shadow: inset 5px 30px 20px rgba(255, 255, 255, 0.5),
        0 6px 10px rgba(0, 0, 0, 0.2);
    box-shadow: inset 5px 30px 20px rgba(255, 255, 255, 0.5),
        0 6px 10px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 767px) {
    .business_map {
        height: 285px;
    }

    .circle-p,
    .circle-g,
    .circle-b {
        width: 150px;
        height: 150px;
        padding: 60px 0;
        font-size: 2rem;
    }
}

/*  */

@keyframes blob_rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bg-blobs {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -10;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  left: 50%;
  top: 50%;
  animation-name: blob_rotate;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.blob::before {
  content: "";
  display: block;
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  transform: translate(-50%, -50%);
}

.blob:nth-child(1) {
  animation-duration: 35000ms;
}

.blob:nth-child(1)::before {
  left: -150px;
  top: 150px;
  width: 350px;
  height: 350px;
  background: radial-gradient(rgba(68, 102, 206, 0.8) 0%, rgba(68, 102, 206, 0) 70%);
}

.blob:nth-child(2) {
  animation-duration: 30000ms;
  animation-direction: reverse;
}

.blob:nth-child(2)::before {
  left: 250px;
  top: -250px;
  width: 500px;
  height: 500px;
  background: radial-gradient(rgb(122, 249, 135) 0%, rgba(249, 215, 122, 0) 70%);
}

.blob:nth-child(3) {
  animation-duration: 25000ms;
}

.blob:nth-child(3)::before {
  left: 550px;
  top: 300px;
  width: 700px;
  height: 700px;
  background: radial-gradient(rgba(193, 26, 81, 0.5) 0%, rgba(193, 26, 81, 0) 70%);
}

@media (max-width: 767px) {
  .blob:nth-child(1)::before {
    left: -50px;
    top: 50px;
    width: 250px;
    height: 250px;
  }

  .blob:nth-child(2)::before {
    left: 150px;
    top: -150px;
    width: 350px;
    height: 350px;
  }

  .blob:nth-child(3)::before {
    left: 450px;
    top: 150px;
    width: 500px;
    height: 500px;
  }
}

/* テーブル */
.s_table td {
    background: #fff;
}

@media (max-width: 767px) {
    .s_table th ,
    .s_table td {
      display: block;
    }
}

.philosophy {
    position: relative;
    height: 440px;
}

.philosophy img {
    position: absolute;
    width: 80%;
    top: 0;
    border-radius:20px
}

.philosophy h3 {
    position: absolute;
    font-size: 3.5em !important;
    top: 40%;
    right: 0%;
    opacity: 0.3; 
}

@media screen and (max-width: 767px) {
.philosophy {
    height: 270px;
}

.philosophy img {
    position: absolute;
    width: 100%;
    top: 0;
}

.philosophy h3 {
    position: absolute;
    font-size: 2.5em !important;
    bottom: 0;
    margin: auto 0;
}
}

@media screen and (max-width: 1199px) {
    .p-global-nav {
        background: rgb(91 116 175) !important;
    }
}

/* table_form */
.wpcf7 .table_form {
  color: #666;
  font-size: 16px;
}
.wpcf7 .table_form a {
  margin: 0;
  padding: 0;
  text-decoration: underline;
  color: inherit;
  transition: opacity .25s;
}
.wpcf7 .table_form a:hover {
  opacity: .5;
  transition: opacity .25s;
}
.wpcf7 .table_form div.form__row {
  display: flex;
  margin: 0;
  padding: 0;
  border-top: 1px solid #efe8e5;
}
.wpcf7 .table_form div.form__row:first-child {
    border-top: none;
}
.wpcf7 .table_form div.form__row.row-privacy,
.wpcf7 .table_form div.form__row.row-submit {
  display: block;
  border-top: 0;
  margin-top: 1em;
  text-align: center;
}
.wpcf7 .table_form p.form__label,
.wpcf7 .table_form p.form__body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.wpcf7 .table_form p.form__label {
  width: 30%;
  padding: 1.5em 1em 1em;
}
.wpcf7 .table_form p.form__body {
  width: 70%;
  padding: 1.5em 1em 1em;
}
.wpcf7 .table_form div.form__row.row-privacy .form__body,
.wpcf7 .table_form div.form__row.row-submit .form__body {
  width: 100%;
  /*font-size: 90% !important;*/
}
.wpcf7 .table_form p.form__label label {
  position: relative;
  margin: 0;
  padding: 0;
  padding-left: 44px; 
  box-sizing: border-box;
}
.wpcf7 .table_form p.form__label label::after {
  content: "任意";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  margin: 0;
  padding: 2px 5px 0;
  border-radius: 2px;
  background-color: #f1f1f1;
  color: #929292;
  font-size: 11px;
  text-align: center;
  box-sizing: border-box;
  border-radius: 10px;
}
.wpcf7 .table_form p.form__label.is-required label {
  position: relative;
}
.wpcf7 .table_form p.form__label.is-required label::after {
  content: "必須";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  padding: 2px 5px 0;
  background-color: #f49797;
  color: #fff;
  font-size: 11px;
  text-align: center;
  border-radius: 10px;
}

.wpcf7-form-control.wpcf7-checkbox, .wpcf7-form-control.wpcf7-radio {
    display: flex;
}

.wpcf7-list-item.first {
    margin: 0;
}

input#zip {
    width: 30%;
}

@media screen and (max-width: 992px){ 
.wpcf7-form-control.wpcf7-checkbox, .wpcf7-form-control.wpcf7-radio {
    display: block;
}
.wpcf7-list-item.first {
    margin: 0 0 0 1em;
}
}

/* top 6つの柱 */
.flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5em;
}

@media screen and (max-width: 767px) {
.flex {
    display: block;
}
.cb_content4_box {
    margin: 0 auto;
    margin-bottom: 0.5em;
}
.flex:first-child {
    padding-top: 20em;
}
}

/* メニュー */
.p-global-nav .sub-menu a {
    background: #5b74af !important;
}

/* 外部リンクボタン */
.ext-link_btn a, .pdf_btn a, .contact_btn a {
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    position: relative;
    margin-top: 5px;    
}

.ext-link_btn a:before, .pdf_btn a::before, .contact_btn a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f35d";
    font-weight: 600;
    position: absolute;
    top: 0;
    left: -25%;
    transition: transform 0.3s;
}

.ext-link_btn a:hover, .pdf_btn a:hover, .contact_btn a:hover {
    color: #7f7f7f;
}

.ext-link_btn a:hover:before, .pdf_btn a:hover:before, .contact_btn a:hover:before {
    right: 10rem;
    transform: translateX(10px);    
}