/*
トップページ用CSS
*/
/*-------------------------------------------------
swiper メイン画像
--------------------------------------------------*/
.sec-swiper-01 {
  overflow-x: hidden;
  height: 315px;
}
.sec-swiper-02 {
  position: relative;
  overflow-x: hidden;
  padding: 50px;
}
.swiper-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.swiper-slide {
  width: 100%;
  height: auto;
  overflow: visible;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover;'; /*IE対策*/
}
.btn-archive {
  display: block;
  width: 80%;
  max-width: 350px;
  margin: 30px auto 0;
}
.swiper-pagination-bullet-active {
    background: #fff !important;
}
/*-------------------------------------------------
トップページCSS
--------------------------------------------------*/
.mv {
  width: 100%;
  max-height: 315px;
  object-fit: cover;
}

.h2-ttl {
  font-family: "Times New Roman";
  font-style: italic;
  font-size: 3em;
  font-weight: 700;
  letter-spacing: -0.25px;
  color: #1d2088;
  padding: 0;
  margin: 0;
}

.latest-container {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

.articles-container {
  padding: 0 8px;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

.latest-container p,
.articles-container p {
  padding: 0;
  margin: 0;
}

.separator {
  display: block;
  width: 100%;
  height: 2px;
  color: #d7d7d7;
}

.latest-wrap {
  padding: 0 15px;
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}

.latest-container h2 {
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 30px;
}

.grid-a {
  display: flex;
  flex-direction: column;
  width: calc(60% - 20px);
}

.grid-b {
  display: flex;
  flex-direction: column;
  width: calc(40% - 20px);
  border-left: 1px solid #d7d7d7;
  padding-left: 40px;
  gap: 30px;
}

.grid-c {
  display: flex;
  justify-content: space-between;
  padding-top: 50px;
}

.box-img-top-cmn {
    position: relative;
    width: 100%;
    height: auto;
}

.box-img-top-cmn::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.card-1 img, .card-2 img, .card-3 img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

a.item-link {
  color: #000;
}

a.item-link:hover {
  color: #555555;
  transition: all 0.1s;
}

.item .date {
  margin: 10px 0 5px;
  font-size: 12px;
}

.item .sub-ttl {
  margin-bottom: 10px;
  font-size: 12px;
}

p.ttl {
  font-size: 1.125em;
  line-height: 1.35em;
  letter-spacing: 0.25px;
}

.card-1 .ttl {
  font-size: 1.5em;
}

.card-1 .date {
  margin: 20px 0 10px;
}

.card-1 .excerpt-tex {
  font-family: "Times New Roman";
  margin: 20px 0 0;
}

.card-2:first-child {
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 14px;
}

.card-3 {
  width: calc(100% / 3 );
  padding: 0 15px;
}

.card-3:not(:first-child) {
  border-left: 1px solid #d7d7d7;
}

.more-btn-latest {
  width: 150px;
  margin: 60px auto;
}

.more-btn-latest a {
  color: #1d2088;
  margin: 0 auto;
  padding: 10px 24px;
  border: 2px solid #1d2088;
  border-radius: 25px;
  font-weight: 700;
}

.more-btn-latest a:hover {
  color: #fff;
  border: 2px solid #1d2088;
  background: #1d2088;
}

.separator::before {
  content: "";
  display: block;
  position: relative;
  border: 2px solid #f6ab00;
}

.articles-container h2 {
  margin-top: 20px;
}

.grid-d {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 60px;
  padding-top: 30px;
}

.cat-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 4px 20px;
}

h3.articles-cat {
  font-size: 1.5em;
  line-height: 1.1em;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1d2088;
  padding: 0;
  margin: 0;
}

.cat-flex .more-btn {
  width: 115px;
}

.cat-flex .read-more {
  color: #000;
}

.cat-flex .more-btn::after {
  content: "";
  display: inline-block;
  position: relative;
  top: -3px;
  right: 0;
  width: 12px;
  height: 15px;
  background-image: url('/wp-content/themes/dharma-world/images/common/img-arrow-black.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.cat-flex .read-more:hover {
  color: #f6ab00;
}

.cat-flex .more-btn:hover::after {
  background-image: url('/wp-content/themes/dharma-world/images/common/img-arrow-yellow.png');
  transition: 0.3s;
}

.articles-img {
  width: 100%;
  max-height: 264px;
  object-fit: cover;
}

.card-4 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: calc(50%);
}

.card-4:nth-child(odd) {
  border-right: 1px solid #d7d7d7;
  padding-right: 30px;
}

.card-4:nth-child(even) {
  padding-left: 30px;
}

.card-4 .cat-item {
  width: 100%;
}

.card-4 .item {
  padding: 5px;
  min-height: 100px;
  border-bottom: 1px solid #d7d7d7;
}

.subscribe-wrapper {
  width: 100%;
  height: 300px;
  background-image: url('/wp-content/themes/dharma-world/images/top/bg_subscribe.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 90px;
}

.overlap-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.overlap-group p {
  font-family: "Times New Roman";
  font-size: 2.25em;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-align: center;
  padding: 0;
  margin: 80px auto 45px;
}

a.subscribe-btn {
  color: #fff;
  margin: 0 auto;
  padding: 16px 30px;
  border: 2px solid #fff;
  border-radius: 2px;
  font-weight: 700;
}

a.subscribe-btn:hover {
  color: #1d2088;
  border: 2px solid #1d2088;
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
.swiper-slide img {
    object-position: 90% 50%;
}
.swiper-slide[data-swiper-slide-index="2"] img {
    object-position: 50% 50%;
}
.grid-a {
    width: calc(60% - 10px);
}
.grid-b {
    width: calc(40% - 10px);
    padding-left: 20px;
}
.articles-img {
    max-height: 220px;
}
.card-4:nth-child(odd) {
    padding-right: 20px;
}
.card-4:nth-child(even) {
    padding-left: 20px;
}
.overlap-group p {
    font-size: 2em;
    margin: 95px auto 35px;
    padding: 0 10px;
}
}
/*-------------------------------------------------
break point 768px SP
--------------------------------------------------*/
@media only screen and (max-width: 768px) {
.sec-swiper-01 {
    height: 180px;
}
.latest-container {
    padding: 0 10px;
}
.latest-wrap {
    flex-direction: column;
	margin-top: 10px;
	padding: 0;
}
.h2-ttl {
    font-size: 2.8em;
}
.grid-a {
    width: 100%;
}
.card-1 .ttl {
    font-size: 1.125em;
}
.card-1 .excerpt-tex {
    display: none;
}
.card-1 {
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 20px;
}
.grid-b {
    flex-direction: column;
    width: 100%;
    border-left: none;
    padding: 0;
    gap: 0;
}
.card-2:first-child, .card-2, .card-3:first-child {
    border-bottom: 1px solid #d7d7d7;
    padding: 20px 0;
}
.card-2 .box-img-top-cmn,
.card-3 .box-img-top-cmn {
    width: 100px;
    height: 100px;
    float: left;
	margin-right: 10px;
}
.grid-c {
    flex-direction: column;
    padding-top: 0;
    gap: 0;
}
.card-3 {
    width: 100%;
}
.card-3:not(:first-child) {
    border-left: none;
    border-bottom: 1px solid #d7d7d7;
    padding: 20px 0;
}
.card-3:last-child {
    border: none;
}
.item .date {
    margin: 2px 0 5px;
}
.item .sub-ttl {
    margin-bottom: 0;
}
.more-btn-latest {
	margin: 20px auto 40px;
}
.articles-container {
    padding: 0;
}
.articles-container h2 {
    padding: 0 10px;
}
h3.articles-cat {
	max-width: 240px;
}
.cat-flex {
	height: auto;
    padding: 0 10px 20px;
}
.cat-flex .more-btn {
    width: 115px;
}
.articles-img {
    max-height: 220px;
}
.grid-d {
    flex-direction: column;
	padding-top: 20px;
	row-gap: 40px;
}
.card-4 {
    width: 100%;
}
.card-4:nth-child(odd) {
    border-right: none;
    padding-right: 0;
}
.card-4:nth-child(even) {
    padding-left: 0;
}
.card-4 .item {
    margin: 0 5px;
}
.subscribe-wrapper {
    height: 320px;
    margin-top: 60px;
}
.overlap-group p {
    font-size: 1.6em;
	letter-spacing: 0;
	max-width: 400px;
    margin: 80px auto 35px;
	padding: 0 10px;
}
}