@charset "UTF-8";
/*
    Template: swell
    Theme Name: カトリックジャパンニュース
    Theme URI: https://swell-theme.com/
    Description: カトリックジャパンニュースのテーマ
    Version: 1.0.1
    Author: Kikanshi
    Author URI: https://www.kikanshi.co.jp

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.wp-block-heading a {
    color: initial;
}

.news1_1_list .p-postList__thumb {
	display: none;
}

.news1_2_list li:nth-child(1) {
    display: none;
}

.news1_3_list li:nth-child(-n+2) {
    display: none;
}


.c-listMenu .cat-item {
    border: 1px solid #999;
    padding: 0 2em;
    border-radius: 15px;
}

.c-listMenu .cat-item a:before {
    content: none;
}

.wp-block-categories-list>li>a {
    padding-left: 0;
}

.c-listMenu a {
    border: none;
    padding: .75em 0 .75em 1em;
    transition: all .25s;
}

.c-listMenu a:hover {
    background-color: #fff;
}

.l-topTitleArea {
    min-height: 13em;
}
/*
.c-gnav>.menu-item {
    border: 1px solid;
    border-radius: 5px;
}
*/
.c-gnav>.menu-item>a .ttl {
    font-size: 16px;
}

.c-gnav .sub-menu {
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
}

.c-pageTitle__subTitle {
	display: none;
}

/*フォーム*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  margin: 5px 0 10px;
  transition: border-color 0.3s;
  width: auto;
  max-width: 100%;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 textarea:focus {
  border-color: #3b82f6; /* Swellに合う青 */
  outline: none;
}

.wpcf7-submit {
  background-color: #3b82f6;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.wpcf7-submit:hover {
  background-color: #2563eb;
}

.wpcf7-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
  }
  
  .wpcf7-form .wpcf7-not-valid-tip {
    color: red;
    font-size: 13px;
    margin-top: 4px;
}

button, input, select, textarea {
    margin-bottom: 10px;
}


@media (min-width: 1020px) {
    .news1_4_list .p-postList__item {
        width: 25% !important;
    }
}

@media (min-width: 960px) {
    .-parallel .l-header__gnav .c-gnav {
        justify-content: space-evenly;
        max-width: 900px;
        margin: auto;
    }
    .-parallel-bottom .l-header__gnav {
        margin: 1em;
    }
}

@media (min-width: 600px) {
    .l-topTitleArea {
        min-height: 400px;
    }
}

.hissu {
    color: red;
}

/*画像回り込み*/
.wp-block-image:after {clear: none;}
.post_content>* {clear: none;}
.post_content:after {clear: both;}
/*モバイル用*/
@media (max-width: 768px) {
.wp-block-image img{
width:100% ;
margin-bottom:10px;
}
}
