/*
Theme Name:cpstyle-sk1
Author: yasukun
Theme URI: https://twheel.co.jp/
Description: sk1向けのcpstyleカスタムテーマ
Version: 1.0
Text Domain: cpstyle
Tags:cpstyle yasukun
*/
/*License: Copyright 2025 twheel Corp.*/

/*-------------cpstyle-base.css----------------*/
@charset "UTF-8";


a{ 
    color:#149; 
    transition: all 0.3s ease;
}
a:hover, a:focus {
    opacity: 0.9;
    color: #66E;
}
a img:hover{
    transform:scale(1.01);
}
span{
    display:inline-block;
}
img:is([sizes="auto" i], [sizes^="auto," i]){
    width: auto;
    contain-intrinsic-size:none;
}

/*-------------レイアウト----------------*/
#wrapper {
    background: url(/tw/wp-content/themes/cpstyle/_images/backpics.png) repeat;
    position: relative;
    z-index: 2;
}
#wrap {
    position: relative;
    z-index: 2;
}
/*----------------------------------
#mainレイアウト
----------------------------------*/
div#main {
    margin-top: 56px; /*ヘッダー余白*/
    position: relative;
    min-height: calc(100vh - 247px);
}
#upper,#main,#bottom{
    position: relative;
    width:100%;
}
div#middle {
    padding-top: 50px;
}
#upper .content,#main .content,#bottom .content,#footer .content{
    position: relative;
    width:100%;
    padding-left: 1em;
    padding-right: 1em;
    z-index: 1;
}
#bottom{
    padding-bottom:calc(3rem + 8vw);
}
#bottom::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50%;
    height: 8vw;
    background: #e18b32;
    clip-path: polygon(100% 100%, 0% 0%, 0% 100%);
}
#bottom::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 50%;
    height: 8vw;
    background: #204f6a;
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
    transform: skewY(0deg);
}

@media (min-width: 768px) {
    #upper .content,#main .content,#bottom .content{
        max-width:1000px;
        margin:auto;
    }
}
/*----------------------------------
ヘッダー設定
----------------------------------*/
#header{
    position:relative;
    z-index: 9;
    width: 100%;
    background:#eee;
}
#header .content{
    /*-position:relative;　ヘッダー通常-*/
    position: fixed; /*--ヘッダー固定--*/
    width: 100%; 
    top:0;
}
header#logo {
    width: fit-content;
    max-width: calc(100vw - 60px);
    padding: 9px 8px;
}
.logo-header{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    align-items:center; 
}
.logo-mark {
    width: 200px;
    margin-right: 10px;
    margin-left: 20px;
}
.logo-words{
    width:60%;
}
.logo-words a {
    text-decoration: none;
    color: #347;
    font-family: "Montserrat", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
    font-weight: 700;
    font-size: 20px;
}
@media only screen and (max-width: 767px) {
    .logo-words a {
        font-size: 17px; 
    }
    .logo-mark{
    width: 200px;
    margin-left: 8px;
    margin-right: 7px;
}
}
/*--------------------------------------------------------
tmp_pageのヘッダー画像設定
--------------------------------------------------------*/
#upper .tmp-page, 
#middle .tmp-page{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding:0;
}
/*-----topヘッダー画像設定--------*/
div#topmain {
    position: relative;
    overflow: hidden;
    max-height: calc(100vh - 88px);
    min-height: 600px;
    background: #777 url('/wptest/wp-content/uploads/2025/06/sakai-top-back.jpg');
    background-position: right top;
    background-size:cover;
    color: #fff;
    height:100vh;
}
#topmain h1 {
    font-size: calc(170% + 2.0vw);
    padding: 0;
    margin: 0 auto 30px;
    font-weight: 600;
    text-shadow: 0 0 2px #204f6a, 1px 0 0px #204f6a, 2px 0 0px #204f6a, 3px 0 0px #204f6a, 4px 0 0px #204f6a;
}
#topvideo {
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    opacity: 1.0;
    filter: invert(1%);
    filter: brightness(100%);
    z-index: 0;
}
#topvideo video{
    height: 100vh;
    position: absolute;
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    top: 50%;
    right: 0%;
    z-index: 0;
}
video#topv {
    filter: brightness(100%);
    display:block;
}
.topmain-cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
#topmain .cparts-txt-block p {
    font-size: calc(100% + 1vw);
    color: #e18b32;
    width:100%;
    padding: 2vw 1em;
    margin: 0;
    position: relative;
    font-family: 'Noto Serif JP', serif;
}
.cparts-txt-block img {
    width: calc(200px + 22vw);
    min-width: 200px;
    max-width: 400px;
}
.cparts-img-block {
    position: absolute;
    left: 2vw;
    bottom: 0;
    z-index: 3;
}
.cparts-img-block img {
    object-fit: cover;
    width: auto;
    height: 80vh;
}
.banner {
width: 100%;
    min-width: 150px;
    margin: auto;
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: fit-content;
    background: #eee;
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    text-align: center;
    font-size: 0.8em;
    color:#333;
}
.banner > div {
    padding: 10px 1vw 8px;
}
.banner img {
    display: block;
    height: auto;
    padding: 5px 0 3px;
    margin: 0;
    width: auto;
    max-width: 16vw;
    object-fit: contain;
}
#topmain .cparts-txt-block{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        position: absolute;
        right: 0;
        z-index: 4;
}

@media (min-width: 768px) {
    #topmain .cparts-txt-block {
        width:70vw;
        padding: 0 80px;
}
   #topmain .banner{
            background: linear-gradient(174deg, rgba(255, 255, 255, 0) 50%, #204f6a 0);
            color:#fff;
   }
}
@media (min-width: 1200px) {
    #topvideo video {
        height: 80vw;
    }
    .banner{
        height: auto;
        padding: 0 2vw;
        padding-right: calc(2vw * 2 * 2);
    }
    #footer .banner{
        padding: 0 1vw;
    }
    .banner img{
        width: 16vw;
        max-width: 260px;
    }
    .cparts-img-block{
        left: 9vw;
    }
    .banner > div{
        padding-top:50px
    }
}
@media only screen and (max-width: 767px) {
    #topmain .cparts-txt-block {
        padding: 0;
        max-width: 90%;
        margin: auto;
        z-index: 4;
        position: absolute;
        bottom: 0;
        left:0;
    }
    #topmain .notes-block {
        padding: 0 5px;
    }
    #topvideo video, #backvideo video {
        height: 100vh;
    }
    .cparts-img-block{
        z-index: 2;
    }
    .cparts-img-block img{
        height: 75vh;
    }
    div#topmain {
        max-height: 100%;
        min-height: 300px;
        height: 100%;
    }
    #topmain .topmain-cont{
        height:calc(100vh - 120px);
        min-height: 300px;
        position: relative;
    }
    #topvideo video {
        right: 0;
    }
    #topmain h1 {
        text-shadow: 0 0 2px #204f6a, 0px 0 2px #204f6a;
    }
    #topmain h1 img{
        width:50%;
        margin:auto;
    }
    .cparts-txt-block img {
        width: 80%;
        background: #FFF;
        padding: 10px;
    }
    .banner{
        position:relative;
        height:100%;
        padding-bottom: 15vw;
    }
    .banner::before {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 10vw;
        background: #204f6a;
        clip-path: polygon(100% 100%, 0% 0%, 0% 100%);
    }
    .banner img{
        width: 70%;
        max-width: 80%;
        margin: 20px auto 10px;
        padding: 0;
    }
    #footer .banner:before {
        content:none;
    }
}
/*-----------------front-pageのみの適用-------------------*/
.front-main div#middle{
    padding:0;
}
/*-----------------front-pageのメッセージセクション-------------------*/
section.message-cont {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 0 calc(4em + 7vw) !important;
    background: rgba(32, 79, 106, 1.0);
    color: #FFF;
    position: relative;
    font-family: 'Noto Serif JP', serif;
}
.message-cont::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50%;
    height: 10vw; /* 三角形の高さ */
    background: white;
    clip-path: polygon(100% 100%, 0% 0%, 0% 100%);
}
.message-cont::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 50%;
    height: 10vw;
    background: #e18b32;
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
    transform: skewY(0deg);
}
.message-cont button {
    position: relative;
    z-index: 2;
    margin: 40px auto; /* ボタンの上下の余白 */
    display: block;
    background:#e18b32;
    color:#FFF;
    letter-spacing: 2px;
    font-weight: 400;
    font-size: 1.2em;
}
.message-cont button a {
    color:#FFF;
}
.message-cont h2{
    width: 90%;
    color:#FFF;
    padding-top: calc(2em + 9vw);
    font-size: calc(2em + 1.5vw);
}
.message-cont h3{
    color:#FFF;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
}
.message-box {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 2rem;
    width: 90%;
}
.message-box p {
    font-size: 1.5em;
}
@media only screen and (max-width: 767px){
    .message-box {
        font-size: 90%;
        text-align: left;
    } 
    .message-cont h3{
        text-align: left;
    }
    .message-box p{
        text-align: left;
        font-size: 1.2em;
    }
}
/*-----------------#contmain（top以外のタイトル表示）-------------------*/
#contmain {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-image: url(/wptest/wp-content/uploads/2025/06/bg-building.jpg);
    background-size: cover;
    background-position: left 35% center;
    background-color: #666;
    background-blend-mode: soft-light;
    color: #FFF;
    padding-bottom: 1.5em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#contmain h1 {
    color:#FFF;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5vw;
    font-weight: 600;
    max-width: 90vw;
    overflow-wrap: break-word;
}
/*-----------------------------------
TOP アニメ用
----------
#topmain .cparts-img-block img{
    opacity: 0.6;
animation: fadeSlideImg01 30s ease-out infinite;
}
.siteblock-upper #topmain .cparts-img-block,
.siteblock-upper #topmain .cparts-img-block img {
        height: 100vh;
}
@keyframes fadeSlideImg01{
    0%{transform: scale(1) ;}
    50%{transform: scale(1.2) ;}
    100%{transform: scale(1) ;}
}
--*/

/*----------------------------------
フッター設定
----------------------------------*/
#footer{
    background:rgba(32, 79, 106, 1.0);
    position: relative;
    z-index: 1;
    color:#FFF;
    padding-top:0em;
    padding-bottom:1em;
}
#footer .content {
    padding-top: 3em;
    padding-bottom: 10px;
}
#footer .banner {
    position: relative;
    background: none;
    justify-content: center;
    color:#fff;
    padding: 0 1vw;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 6em ;
}
.copyright {
    width:100%;
    padding: 10px 1vw;
    text-align: right;
    background:rgba(32, 79, 106, 1.0);
    color: #FFF;
    font-size: 0.8em;
}
.foot-cont{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items:center;
}
#footer .foot-cont img {
    max-width: 300px !important;
    min-width: auto !important;
    margin: 20px;
}
.foot-cont h5 {
    margin: 0;
}
@media (min-width: 768px){
    #footer .content {
        justify-content:center;
      }
}
@media only screen and (max-width: 767px){
  #footer .content {
  justify-content:flex-end;
}
.foot-cont p {
    width: fit-content;
    margin: 5px 10px;
}
.tmp-page.tmp_foot_cont,
.foot-cont > div{
    width: 100%;
}
#footer .foot-cont img{
margin:20px auto;
width: 80%;
}
}
/*--------------------------------------------------------
ニュース・ブログ
--------------------------------------------------------*/
.post-cont {
    border-bottom: dotted 1px #ddd;
    padding: 5px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
}
.post-cont a {
    position: relative;
    color: #555;
    text-decoration: none;
}
.post-cont a:hover {
    color: #66E;
}
.post-cont .title {
    display: block;
    padding: 10px;
}
.post-cont .title:before{
    content:"≫";
    font-weight: 900;
    color:#1F4FA1;
    margin-right:10px;
}
.post-cont .meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.post-cont .meta > div {
    padding: 10px;
}
.post-cont .category span {
    color: #FFF;
    background: #266096;
    font-size: 0.8em;
    padding: 0.3em 0.5em;
}
.category span {
    min-width: 75px;
    text-align: center;
}
.post-cont .date {
    font-size: 0.8em;
}
.list-link {
    text-align: center;
}
@media (min-width: 768px){
}
@media only screen and (max-width: 767px){
    .post-cont {
        padding-top:10px;
    }
    .post-cont .title {
        width:100%;
        padding:0;
    }
    .post-cont .meta > div {
    padding: 5px;
}
}
/*----------------ブログ表示等-------------*/
.blogArea a img:hover,
#blogs a img:hover{
  filter: opacity(85%);
transform:scale(1.02);
}
#blogs .blogfr {
    margin:1px;
    padding:3px 0;
}
#blogs .article a,
#blogs .blog-article a {
        -webkit-flex-direction: column;
        flex-direction: column;
        padding: 0.2em;
}
#blogs .article a .meta,
#blogs .blog-article a .meta {
        width: 100%;
    }
@media (min-width: 768px){
#blogs .blogfr,
#blogs .blog-article {
    width: 33%;
    padding:3px;
}
#blogs,
#blogs .blog-article,
#blogs .articles {
	display:flex;
	flex-wrap:wrap;
justify-content:flex-start;
}
}
@media only screen and (max-width: 767px){
     #pageContents .sectionHeader {
        text-align: center;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        background-color: #20315e;
        display: inline-block;
        padding: 0.5em 3rem;
        font-size: 150%;
        color: #fff;
        text-shadow: 1px 1px 2px #111;
    }   
}
@media (max-width: 479px) {
    #pageContents .sectionHeader {
        text-align: center;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        background-color: #20315e;
        font-size: 125%;
    }
}
/*----------------コンテンツ表示等-------------*/
.cont3 > div, .cont3 > img, .cont3 > a {
    padding: 3px 0;
    margin: 1px;
}
@media (min-width: 768px){
/* 3列表示 */
.cont3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.cont3 > div, .cont3 > img, .cont3 > a  {
    width: 33%;
    padding: 3px;
}
}

@media (min-width: 768px) {
    .home #pageHeader .inner svg {
        width: calc(50rem + 16vw);
    }
}
/*--------------------------------------------------------
見出し
--------------------------------------------------------*/
h1,h2,h3,h4,h5,h6{
    font-weight: 400;
    font-family: "Montserrat", "Hiragino Kaku Gothic ProN","Hiragino Sans", Meiryo, sans-serif;
    position: relative;
}
h1,h2{
    font-weight: 500; 
    padding-top: 3em;  
    line-height: 1.3;
    margin-bottom: 2em;
}
h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(77%);
    width: 0;
    height: 0px;
    border-left: 10px solid transparent;
    border-right: calc(180px + 13vw) solid transparent;
    border-top: calc(17px + 2vw) solid #e18b32;
}
h3,h4,h5,h6{
  margin-top: 1.5em;  
  margin-bottom: 0.8em;  
  color:#020642;
}
li h4,
li h5,
li h6{
margin-top: 0em;  
margin-bottom: 0em;     
}
h1{font-size: calc(2em + 1vw);}
h2{font-size: calc(1.6em + 1vw);}
h3{font-size: calc(1.4em + 0.6vw);}
h4{font-size: calc(1.2em + 0.5vw);}
h5{font-size: calc(1.1em + 0.3vw);}
h6{font-size: calc(1.1em + 0.1vw);}
h1,h2,h3,h4,h5,h6,
.freePage > h1, 
.freePage > h3, 
.freePage > h4,
.freePage > h5,
.freePage > h6 {
    text-align: center;
}


@media only screen and (max-width: 767px){
}
/*--------------------------------------------------------
テーブル
--------------------------------------------------------*/
table {
    background: #FFF;
}
  
.wp-block-table.kaiin table{
    width: 100%;
    border-collapse: collapse;
  }
  
.wp-block-table.kaiin table tr{
    border-bottom: solid 15px white;
    height: 5rem;
  }
.wp-block-table.kaiin table tr:last-child{
    border-bottom: none;
  }
  
.wp-block-table.kaiin table th{
    position: relative;
    text-align: left;
    width: 30%;
    background-color: #204f6a;
    color: white;
    text-align: center;
    padding: 10px 0;
  }
  
.wp-block-table.kaiin table th:after{
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top:calc(50% - 10px);
    right:-13px;
    border-left: 10px solid #204f6a;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
.wp-block-table.kaiin table td{
    text-align: left;
    width: 20%;
    text-align: center;
    background-color: #fEEEeD;
    padding: 10px 0;
    border:none;
    border-right: 2px solid #FFF;
  }
  .wp-block-table.kaiin table tr:nth-child(odd) td{
    background-color: #eee;
  }
  .wp-block-table.kaiin table tr > td::first-child{
    width: 50%;
  }

@media only screen and (max-width: 767px){
.wp-block-table table.has-fixed-layout {
    text-align: left;
  }
  .wp-block-table table.has-fixed-layout  thead {
    display:none;
  }
  /*オリジナルクラスtableBL*/
  .tableBL table.has-fixed-layout th, 
    .tableBL table.has-fixed-layout td {
      display: block;
}
}
/*--------------------------------------------------------
カスタムフィールド
--------------------------------------------------------*/
dl{
    background: #204f6a;
    color: #fff;
    padding: 10px;
    margin:1px auto;
}
dd,dt {
    padding: 10px 20px;
    margin:0
}
dt{
    font-weight: 500;
    background: #14384c;
    color: #fff;
    width:100%;
    min-width: 25%;
    display: inline-block;
}
dd{
    margin:0;
    display: inline-block;
}
/*--------------------------------------------------------
ボタン
--------------------------------------------------------*/
p.[class^=“btn”]{
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
}
p.btn,
p.btn > a {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 0.5rem 2rem;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
    margin-left: 0px;
    margin-right: 60px;  
}
p.btn a:hover {
    margin-left: 60px;
    margin-right: 0px;
}

p.btn {
  display: inline-block;
    padding: 0.1em 0.1em;
    margin-top:1.5em; 
    margin-right: 0;
  border-radius: 0.7rem;
  background-image: linear-gradient(
    135deg,
    #204f6a 0%,
    #204f6a  20%,
    #204f6a  34%,
    #204f6a  35%,
    #204f6a  43%,
    white 53%,
    #204f6a  68%,
    #204f6a  84%,
    #204f6a  100%
  );
}

p.btn > a{
  font-size: 1.1rem;
  background: #000;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(#fff),
    to(#999)
  );
  background: -webkit-linear-gradient(bottom, #fff, #eee);
  background: linear-gradient(to top, #fff, #eee);
}
p.btn > a:before {
    content: "»";
    margin-right: 10px;
}
.btn > a:hover {
  text-shadow: 0 0 15px rgba(209, 214, 215, 0.5),
    0 0 15px rgba(209, 214, 215, 0.5), 0 0 15px rgba(209, 214, 215, 0.5),
    0 0 15px rgba(209, 214, 215, 0.5);
}
.custom-button {
    @apply inline-flex items-center justify-center px-8 py-4 font-sans font-semibold tracking-wide text-white rounded-lg h-[60px];
    background-color: #e18b32; /* オレンジ色 */
    transition: background-color 0.2s;
}
.custom-button:hover {
    background-color: #d17a21; /* 少し濃いオレンジ */
}
.wp-block-buttons {
    text-align: center;
    justify-content: center;
}
a.wp-element-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    margin:0 auto;
    padding: .9em 2em;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
    background-color: #204f6a;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}
a.wp-element-button:after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}
a.wp-element-button:hover {
    background-color: #1579c0;
}

div.wpforms-container-full input[type=submit]:not(:hover):not(:active), div.wpforms-container-full button[type=submit]:not(:hover):not(:active), div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full input[type=submit]:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full button[type=submit]:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active) {
    display: block;
    margin: 10px auto 60px;
    padding: 5px 2em;
}
div.wpforms-container-full input[type=submit], div.wpforms-container-full button[type=submit], div.wpforms-container-full .wpforms-page-button, .wp-core-ui div.wpforms-container-full input[type=submit], .wp-core-ui div.wpforms-container-full button[type=submit], .wp-core-ui div.wpforms-container-full .wpforms-page-button,
div.wpforms-container-full input[type=submit]:hover, div.wpforms-container-full input[type=submit]:active, div.wpforms-container-full button[type=submit]:hover, div.wpforms-container-full button[type=submit]:active, div.wpforms-container-full .wpforms-page-button:hover, div.wpforms-container-full .wpforms-page-button:active, .wp-core-ui div.wpforms-container-full input[type=submit]:hover, .wp-core-ui div.wpforms-container-full input[type=submit]:active, .wp-core-ui div.wpforms-container-full button[type=submit]:hover, .wp-core-ui div.wpforms-container-full button[type=submit]:active, .wp-core-ui div.wpforms-container-full .wpforms-page-button:hover, .wp-core-ui div.wpforms-container-full .wpforms-page-button:active {
    display: block;
    margin: 10px auto 60px;
    padding: 5px 3em;
}
/*--------------------------------------------------------
　　　　　　wpブロックエディタ設定
--------------------------------------------------------*/
.content > .wp-block-columns,
.content > div[class*="wp-block"],
.content > figure[class*="wp-block"]{
      margin-bottom: calc(30px + 3vw);  
}
.wp-block-media-text>.wp-block-media-text__content{
    padding: 0 0.5em;
}
section{
    padding-left: 0.5em!important;
    padding-right: 0.5em!important;
}

/*--------------wpform-----------------*/
div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    background: #FFFFFF;
    border: 1px solid #aaa;
    box-sizing: border-box;
    padding: 30px;
}
/*-------------カスタムフィールド-----------------*/
div.all-custom-fields {
    margin-top: 100px;
}
/*--------------------------------------------------------
　　　　　　windsurf対応設定
--------------------------------------------------------*/
.features-grid,
.feature-grid {
    max-width: 1200px;
    margin: auto;
}
.feature-item,
.feature-card{
    padding:1em;
}
/*------------------------------------------------------------------------------------------
　　　　　　　　　　　　　　　　　　　　　　cp-parts.css
-------------------------------------------------------------------------------------------*/
/*-------内容に幅を合わせる-------*/
.fit,
.fit div{
width: fit-content;
margin: auto;
}
/*-------縦をいっぱいに表示-------*/
.hstretch,
.hstretch div{
align-self: stretch;
}
/*   .hmiddle 画像と並ぶ文字を縦中央に配置 */
.hmiddle{
display:flex;
flex-wrap:wrap;
justify-content:space-between;  
align-items:center;
}
/*--配下のdivの縦位置を変更　センタリングなど---*/
.alignC div{/*縦センター*/
align-self: center;
}
.alignS{/*縦上*/
align-self: start;
}
.alignE{/*縦下*/
align-self: end;
}
/*-------------------------------------------------
　　　ブロック系
---------------------------------------------------*/
/*  要素２列　*/
.cp-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
/*  要素3列　*/
.cp-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
/*  要素4列　*/
.cp-grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
/*  要素5列　*/
.cp-grid5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}
div[class*="cp-grid"] > div,
div[class*="cp-grid"] > section,
div[class*="cp-grid"] > img,
div[class*="cp-grid"] > a,
div[class*="cp-grid"] > p{
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}
@media only screen and (max-width: 767px){
 .cp-grid2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}
/*  要素3列　*/
.cp-grid3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}
/*  要素4列　*/
.cp-grid4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
/*  要素5列　*/
.cp-grid5 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}   
}
/*-------------------------------------------------
　　　テキスト系
---------------------------------------------------*/
/*  テキストの背景に色をつける　*/
.BCtxt{
    background: #ff8c00;
    color: #FFF;
    padding: 5px 10px 3px;
    border-radius: 5px;
}
/*  テキストの背景に半分色をつける　*/
span.HBCtxt,
strong.HBCtxt{
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgb(255, 255, 102) 40%);
    display: inline-block;
}
/*  見出し等で背景をつけて強調　POINTなどで利用　*/
span.HHCtxt{
    font-family: "Playwrite RO", cursive;
    font-size: 70%;
    background: #ffa500;
    padding: 3px 20px;
    color: #FFF !important;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 2;
    margin-bottom: 10px;
}
/*----  レスポンシブ対応大きめの文字表示 .fsize3-10　---*/
.fsize1{font-size:.8em;}
.fsize2{font-size:.9em;}
.fsize3{font-size:1.1em;}
.fsize4{font-size:1.2em;}
.fsize5{font-size:1.5em;}
.fsize6{font-size:1.8em;}
.fsize7{font-size:2em;}
.fsize8{font-size:2.2em;}
.fsize9{font-size:2.5em;}
.fsize10{font-size:3em;}

@media only screen and (max-width: 767px){
.fsize5{font-size:1.3rem;}
.fsize6{font-size:1.4rem;}
.fsize7{font-size:1.5rem;}
.fsize8{font-size:1.6rem;}
.fsize9{font-size:1.7rem;}
.fsize10{font-size:1.8rem;}
}
}
/*--------------------------------------------------------
　　img系
--------------------------------------------------------*/
/*-------imgサイズMAX-------*/
.img100 img{max-width:100px;}
.img150 img{max-width:150px;}
.img200 img{max-width:200px;}
.img250 img{max-width:250px;}
.img300 img{max-width:300px;}
.img350 img{max-width:350px;}
.img400 img{max-width:400px;}
.img500 img{max-width:500px;}
.img600 img{max-width:600px;}
.img700 img{max-width:700px;}
.img800 img{max-width:800px;}
.img900 img{max-width:900px;}
.img1000 img{max-width:1000px;}
/*-------displayが767px以下の場合imgサイズMAX-------*/
@media only screen and (max-width: 767px){
.img100s img{max-width:100px;}
.img150s img{max-width:150px;}
.img200s img{max-width:200px;}
.img250s img{max-width:250px;}
.img300s img{max-width:300px;}
.img350s img{max-width:350px;}
.img400s img{max-width:400px;}
}

/*-------cont-c60 センター寄せ 60%-------*/
.cont-c60{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    width:100%;
}
@media (min-width: 768px){
.cont-c60 > div, .cont-c60 > img, .cont-c60 > a, .cont-c60 > p {
    min-width:600px;
    max-width:60%;
    display:block;
    margin:auto;

}

/*-------cont3 3列並び -------*/
/*　スマホでは　*/
.cont3 > div, .cont3 > img, .cont3 > a {
    padding: 0;
    margin: 1rem auto;
}
@media (min-width: 768px){
.cont3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.cont3 > div, .cont3 > img, .cont3 > a, .cont3 > p  {
    width: calc(33.3% - (2 * 10px));
    margin: 1rem 10px;
}
.cont3 > div:first-child, .cont3 > img:first-child, .cont3 > a:first-child, .cont3 > p:first-child{
    margin-left: 0px; 
}
.cont3 > div:last-child, .cont3 > img:last-child, .cont3 > a:last-child, .cont3 > p:last-child{
    margin-right: 0px; 
}
/*-------cont2 2列並び -------*/
.cont2 > div, .cont2 > img, .cont2 > a {
    padding: 0;
    margin: 1rem auto;
}
@media (min-width: 768px){
.cont2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.cont2 > div, .cont2 > img, .cont2 > a, .cont2 > p  {
    width: calc(49.9% - (2 * 10px));
    margin: 1rem 10px;
}
.cont2 > div:first-child, .cont2 > img:first-child, .cont2 > a:first-child, .cont2 > p:first-child{
    margin-left: 0px; 
}
.cont2 > div:last-child, .cont2 > img:last-child, .cont2 > a:last-child, .cont2 > p:last-child{
    margin-right: 0px; 
}

