/*
Theme Name:cpstyle
Author: yasukun
Theme URI: https://twheel.co.jp/
Description: twheel Corp用のワードプレステーマ
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;
}
a img:hover{
    transform:scale(1.01);
}
span{
    display:inline-block;
    vertical-align:middle;
}

/*-------------レイアウト----------------*/
#wrapper {
    background: url(/tw/wp-content/themes/cpstyle/_images/backpics.png) repeat;
}
#wrap {
    position: relative;
    z-index: 1;
}
/*----------------------------------
#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;
}
#bottom{
    padding-bottom:3rem;
}
#footer{
    padding-top:2em;
    padding-bottom:1em;
}
@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: 400px;
    max-width: calc(100vw - 60px);
    padding: 0.7rem 0rem;
}
.logo-header{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    align-items:center; 
}
.logo-mark {
    width: 70px;
    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: 70px;
    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('https://twheel.sakura.ne.jp/sub/wp-content/uploads/2025/03/topvideo-scaled.jpg');
    background-size:cover;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height:100vh;
}
#topmain h1 {
    font-size: calc(110% + 1.0vw);
    padding: 0;
    margin: 0;
    font-weight: 600;
}
#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;
}
.cparts-txt-block.topmain p {
    font-size: calc(100% + 0.5vw);
    color: #a0c5fd;
    width:100%;
    padding: 0;
    margin: 0;
    position: relative;
}
#topmain .cparts-notes-block{
    width:100%
}
.cparts-head-block img {
    width: 28vw;
    min-width: 200px;
    max-width: 400px;
    filter: brightness(1.2) hue-rotate(0deg);
    animation: topImg01 16s ease-out infinite;
}
@keyframes topImg01 {
  0% { filter: brightness(1.2) hue-rotate(0deg); }
  60% { filter: brightness(1.2) hue-rotate(0deg); }
  80% { filter: brightness(1.5) hue-rotate(90deg); }
  100% { filter: brightness(1.2) hue-rotate(0deg);
  }
}
}
.cparts-head-block,.cparts-notes-block,.cparts-img-block{
position: relative;
z-index: 2;
}
.banner {
    width: 12vw;
    min-width: 150px;
    margin: auto;
    position: absolute;
    bottom: 15px;
    left: 30px;
    z-index: 2;
}
@media (min-width: 768px) {
    #topmain .cparts-txt-block {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 1;
        padding: 0 80px;
}
}
@media (min-width: 1200px) {
    #topvideo video {
        height: 80vw;
    }
}
@media only screen and (max-width: 767px) {
    #topmain .cparts-txt-block {
        padding: 0;
    }
    #topmain .cparts-notes-block {
        padding: 0 5px;
    }
    #topvideo video, #backvideo video {
        height: 100vh;
    }
}
@media only screen and (max-width: 500px) {
    div#topmain {
        max-height: calc(100vh - 120px);
        min-height: 300px;
        height: 100vh;
    }
    #topmain .cparts-head-block {
        max-width: 95%;
        margin: auto;
    }
    #topvideo video {
        right: 0;
    }
    #topmain h1 img{
        width:50%;
        margin:auto;
    }
    .cparts-head-block img {
        width: 45vw;
    }
    #topmain .cparts-head-block{
        max-width:95%;
        margin:auto;
    }
}
/*-----------------#contmain（top以外のタイトル表示）-------------------*/
#contmain {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: url(https://twheel.sakura.ne.jp/sub/wp-content/themes/cpstyle/_images/cont-img.jpg);
    background-size: cover;
    color: #FFF;
    padding-bottom: 1.5em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#contmain h1 {
    background: linear-gradient(135deg, #333 0%, #868888 20%, #d8dcdc 34%, #999a9c 35%, #cccdce 43%, white 53%, #d1d6d7 68%, #9b9d9f 84%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5vw;
}
/*-----------------------------------
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:#eee;
    position: relative;
}
#footer .content {
    padding-top: 10px;
    padding-bottom: 10px;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
}
.copyright {
    width:100%;
    padding: 10px 1vw;
    text-align: right;
    background: #1F4FA1;
    color: #FFF;
    font-size: 0.8em;
}
.foot-cont{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items:center;
}
#footer .foot-cont img {
    max-width: 150px !important;
    min-width: auto !important;
    margin: 10px;
    opacity: 0.2;
}
.foot-cont h5 {
    margin: 0;
}
@media (min-width: 768px){
#footer .tmp_foot_cont,
#footer .footermenu{
width:48%;
}
}
@media only screen and (max-width: 767px){
  #footer .content {
  justify-content:flex-end;
}
.foot-cont p {
    width: fit-content;
    margin: 5px auto;
}
.tmp-page.tmp_foot_cont,
.foot-cont > div{
    width: 100%;
}
#footer .foot-cont img{
margin: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: #666;
    text-decoration: none;
}
.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: green;
    font-size: 0.8em;
    padding: 0.3em 0.5em;
}
.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;
}
}


/*--------------------------------------------------------
見出し
--------------------------------------------------------*/
h1,h2,h3,h4,h5,h6{
    font-weight: 400;
    font-family: "Montserrat", "Hiragino Kaku Gothic ProN","Hiragino Sans", Meiryo, sans-serif!important;
    position: relative;
}
h1,h2{
    font-weight: 500; 
    margin-top: 2.5em;  
    line-height: 1.3;
    margin-bottom: 1.5em;
}
h2:before { /*--　data-word="拡大文字"　--*/
    position: absolute;
    bottom: -0.2em;
    left: 0;
    color: #ecF9F5;
    font-size: 240%;
    line-height: 1;
    content: attr(data-word);
    pointer-events: none;
    z-index: -1;
    text-align: center;
    width: 100%;
}
h3,h4,h5,h6{
  margin-top: 1.5em;  
  margin-bottom: 0.8em;  
  color:#020642!important;
}
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 table.has-fixed-layout {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  max-width: 700px;
  text-align: center;
  margin:auto;
}
.wp-block-table table.has-fixed-layout th, 
.wp-block-table table.has-fixed-layout td {
  border: 2px solid #d2e8f1;
  padding: 1em;
    color: #4d9bc1;
}
.wp-block-table table.has-fixed-layout thead th {
  background-color: #4d9bc1;
  color: #fff;
  border: 2px solid #4d9bc1;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.wp-block-table table.has-fixed-layout thead th:last-of-type {
  border-right: 2px solid #4d9bc1;
}
.wp-block-table table.has-fixed-layout tbody th {
  color: #4d9bc1;
  font-weight: bold;
  text-align: center;
}
@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;
  }
.wp-block-table table.has-fixed-layout th, 
.wp-block-table table.has-fixed-layout td {
    border: 0;
    border-bottom: 2px solid #e6f1f6;
  }
.wp-block-table table.has-fixed-layout tbody th{
    background: #4d9bc1;
    color:#fff;
  }
  /*オリジナルクラスtableBL*/
  .tableBL table.has-fixed-layout th, 
    .tableBL table.has-fixed-layout td {
      display: block;
}
}
/*--------------------------------------------------------
カスタムフィールド
--------------------------------------------------------*/
dl{
    background: rgb(59, 105, 157);
    color: #fff;
    padding: 10px;
    margin:1px auto;
}
dd,dt {
    padding: 10px 20px;
    margin:0
}
dt{
    font-weight: 500;
    background: #1d4374;
    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: -webkit-linear-gradient(
    315deg,
    #333 0%,
    #868888 20%,
    #d8dcdc 34%,
    #999a9c 35%,
    #cccdce 43%,
    white 53%,
    #d1d6d7 68%,
    #9b9d9f 84%,
    #666 100%
  );
  background-image: linear-gradient(
    135deg,
    #333 0%,
    #868888 20%,
    #d8dcdc 34%,
    #999a9c 35%,
    #cccdce 43%,
    white 53%,
    #d1d6d7 68%,
    #9b9d9f 84%,
    #666 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);
}
.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: #2589d0;
    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(60px + 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; 
}

