/*
Theme Name:trywork_child
Theme URI:
Description:tryworkの子テーマです。
Template:trywork
Author:lifestyle
Author URI:
Version:0.0.8
*/




/* ------全体 */
.sp { display: none; }
.pc {display: inline; }

@media (max-width: 767px) {
  .sp { display: inline; }
  .pc { display: none; }
  .order1{order: 1;}
  .order2{order: 2;}

}
@media (max-width: 991px) {
    .p-cb-design-content-type2 .p-cb-design-content-info {
        margin-top: 0;
        margin-bottom: 40px;
        order: 2;
    }
          .p-cb-design-content-type2 .p-cb-design-content-image {
        order: 1;
    }
    .l-inner02, .l-inner03 {
        max-width: none;
        padding-right: 20px;
       padding-left: 20px;
        margin-right: 0px;
        margin-left: 0;
    }
}
ul.p-entry-nav.c-entry-nav {
    display: none;
}
h2.wp-block-heading {
	text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
    font-weight: bold;
}
.p-cb-item-button {
    display: inline-block;
    min-width: 280px;
    height: 60px;
    line-height: 60px;
    color: #fff;
    text-align: center;
    background-color: #eb6c01;
    transition-timing-function: cubic-bezier(0.17, 0.84, 0.44, 1);
    transition-duration: 0.5s;
    transition-property: background-color;
    border-radius: 30px;
}
.p-cb-item-button:hover {
	color: #fff;
	background-color: #000;
}
.wp-element-button {
    background-color: #eb6c01!important;
}
.wp-element-button:hover {
	color: #fff;
	background-color: #000!important;
}
.img-zoom {
	overflow: hidden;
	display: inline-block;
  }
  
  .img-zoom img {
	transition: transform 0.4s ease;
  }
  
  .img-zoom:hover img {
	transform: scale(1.05); 
	opacity: 0.9;
  }

  @media (max-width: 768px) {
	/* .l-inner02, .l-inner03 {
        max-width: none;
        padding-right: 0px;
       padding-left: 0px;
        margin-right: 0px;
        margin-left: 0;
    } */
}
  
/* -- 2カラム   */

   .design-columns {
	display: flex;
	gap: 40px;
	align-items:center;
	margin: 40px 0;
  }
  

  .design-columns .col {
	display: block;
  }
  
  
  /* 50 : 50 */
  .ratio-5-5 .left  { flex: 1; }
  .ratio-5-5 .right { flex: 1; }
  
  /* 60 : 40 */
  .ratio-6-4 .left  { flex: 0 0 60%; }
  .ratio-6-4 .right { flex: 0 0 40%; }
  
  /* 40 : 60 */
  .ratio-4-6 .left  { flex: 0 0 40%; }
  .ratio-4-6 .right { flex: 0 0 60%; }
  
  /* 70 : 30 */
  .ratio-7-3 .left  { flex: 0 0 70%; }
  .ratio-7-3 .right { flex: 0 0 30%; }
  
  /* 30 : 70 */
  .ratio-3-7 .left  { flex: 0 0 30%; }
  .ratio-3-7 .right { flex: 0 0 70%; }
  

  .design-columns img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
  }
  
  @media (max-width: 768px) {
	.design-columns {
	  flex-direction: column;
	  gap: 24px;
	}
  
	.design-columns .col {
	  width: 100% !important;
	}
  }
  





/* ----topページ */

h2.styled_h2.main {
    line-height: 2;
}
.p-cb-item-desc {
    text-align: center!important;;
}
.p-cb-item-desc p {
    font-size: 1.2em;
}
span.p-headline-logo img {
    max-width: 50px;
}
div#cb-1 {
	background-image: url(/img/news_bg02.jpeg);
    padding: 50px 0;
	/* margin-top: 0; */
	background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}
div#cb-2 {
	background-color: #fffcf6;
    padding: 100px 0;
	    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
	margin-top: 0;
}
#cb-4 .p-cb-item-inner  {
	background:#fff;
/*    background-image: repeating-linear-gradient(132deg, #f0f8ff, #f0f8ff 10px, transparent 10px, transparent 25px); */
}

div#cb-8 {
	background-image: url(/img/bg_news.png);
    padding: 50px 0;

	background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
	background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: lighten;
	/* background-image: repeating-linear-gradient(132deg, #fffcf6, #fffcf6 10px, transparent 10px, transparent 25px); */

 padding: 100px 0;
}
div#cb-9 {
	margin-top: 0;
 
    padding: 100px 0;

	background: #fffbf4;;
}
.p-cb-item:last-child {
	margin-bottom: 0px;
}
.p-footer{
    background-image: url(/img/bg03.png);
	padding: 100px 0 12px;
	    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}
/* -----私たちについて */

.about-section {
	background-image: url(/img/about-bg.png);
	background-size: contain;
    background-repeat: no-repeat;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
	margin-bottom: 0;
  }
  .about-ttl{
	text-align: center;
	text-align: center;
    padding: 3% 0;
    margin-bottom: 10%;
  }
  figure.wp-block-image.size-large.about-link {
    width: 70%;
    margin: 0 auto;
}

.about-link-text {
    margin-bottom: 10px !important;
}
.cafe {
	background-color: #fff6b3;
	padding: 10px;

}
.cafe-inner{
	max-width: 900px;
	margin: 0 auto;

}
  @media (max-width: 768px) {
      figure.wp-block-image.size-large.about-link {
    width: 100%;
  
}
  }
/* ----サービス */

p.service-ttl {
    font-size: 1.2em;
	text-align: center;
}
p.service-ttl span {
    color: #de6600;
    font-weight: bold;
    font-size: 1.2em;
}

.catch-logo {
    text-align: center;
}
span.logo-img img {
    max-width: 50px;
}
h2.service-h2{
	margin: 10px 0 20px;
}



  .point-item {
	display: flex;
	align-items: center;
	gap: 12px;         
	padding: 20px 0;  
  }
 
  .point-icon img {
	width: 32px;
	height: auto;
	display: block;
  }
  

  .point-text {
    line-height: 2.6;
    font-weight: 600;
    margin-bottom: 0 !important;
    font-size: 1.2em;
}
  


.point {
	/* text-align: center; */
    /* background: #fffbf4; */
    padding: 10px 35px;
}

.point-text span {
    font-size: 0.8em;
}
  .points-heading,.points-heading-b{
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.45;
	padding-bottom: 14px;
	position: relative;
  }
 

.points-heading::after{
  content: "";
 position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 200px;
  height: 6px;
  background-image: radial-gradient(circle, #eb6c01 45%, transparent 46%);
  background-size: 10px 6px;
  background-repeat: repeat-x;
}

  .points-heading-b::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 200px;
    height: 6px;
    background-image: radial-gradient(circle, #ecb30b 45%, transparent 46%);
    background-size: 10px 6px;
    background-repeat: repeat-x;
}
  
  .service-top {
    padding: 2% 0;
    margin: 0 auto;
    text-align: center;
    background:  #fffbf4;
}
  .service-top-b {
    padding: 2% 0;
    margin: 0 auto;
    text-align: center;
    background:  #fdf7e5;
}
  .service-top-inner {
    max-width: 1040px;
    margin: 0 auto;
	padding: 3%;
	gap: 0;
}

.service {
    margin: 0 auto;
	padding: 0%;
    /* padding: 50px 0; */
	/* margin-top: 0; */
background: #fff;

}
.service-inner {
	display: flex;
    max-width: 1040px;
    margin: 0 auto;
	padding: 0%;

}

h2.reason-ttl {
    width: 70%;
    margin: 0 auto;
    padding: 5%;
}
.service-left {
	width: 50%;
    padding: 5% 3%;
    background: #fff;
    border-right: 1px #aaa dashed;

}
.service-right {
	width: 50%;
     padding: 5% 3%;
	background: #fff;
 
}

ul.wp-block-latest-posts__list.is-grid.columns-3.voice.wp-block-latest-posts {
    margin: 0 auto;
	max-width: 1040px;

}


/* サービス内容 */
.post_row.ttl-img {
    display: flex;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
}
.service-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
  row-gap: 44px;
  padding:5%;
  width: 100%;
}
.service-grid-b{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 64px;
  row-gap: 44px;
  padding:5%;
  width: 100%;
}

.service-item{
  background: #fff;
  border-radius: 9999px;
  padding:24px 27px;
  font-size: 1.2em;
  text-align: center;
  color: #444;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  box-shadow:
    0 18px 0 #fdeedf,
    0 10px 22px rgba(0, 0, 0, .06);
}
.service-item-b {
    background: #fff;
    border-radius: 9999px;
    padding: 24px 27px;
    font-size: 1.2em;
    text-align: center;
    color: #444;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 18px 0 #fbeec8, 0 10px 22px rgba(0, 0, 0, .06);
}

.service-item small{
  display: block;
  margin-top: 8px;
  font-size: 0.9em;
  font-weight: 600;
  color: #6a6a6a;
}
.access{
  max-width:1040px;
  margin:0 auto;
}

@media (max-width: 768px){
  h2.reason-ttl {
    width: 100%;
    margin: 0 auto;
    padding: 5%;
}
  .service-grid{
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .service-item{
    padding: 22px 18px;
    font-size: 0.95rem;
  }
  .ttl-img {
   
   
    flex-direction: column;
}
.service-top {
    padding: 5%;
}
.service-item {
 
    box-shadow: 0 7px 0 #fdeedf, 0 10px 22px rgba(0, 0, 0, .06);
}
.service-top-b {
    padding: 5%;

}
    .service-grid-b{
        grid-template-columns: 1fr;
        row-gap: 18px;
    }
.service-item-b {
    background: #fff;
 
    box-shadow: 0 7px 0 #fbeec8, 0 10px 22px rgba(0, 0, 0, .06);
}
.wp-block-latest-posts.is-grid li {
    margin: 0 !important;
  padding: 5%;
    width: 100%;
}
.access {
  
    padding: 5%;
}}

/* ご利用の流れ */

.flow-section {
  padding: 40px 16px;
  background-color: #fff;
}

.flow-inner {
  max-width: 1040px;
  margin: 0 auto;
}


.flow-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.flow-row .flow-item {
  width: calc(33.333% - 24px); /* gap 代わりに margin で調整 */
  margin-right: 24px;
  margin-bottom: 24px;
}


.flow-row .flow-item:nth-child(3n) {
  margin-right: 0;
}


.flow-row--bottom .flow-item:nth-child(2) {
  margin-right: 0;
}


.flow-item {
  position: relative;
  box-sizing: border-box;
  padding: 2%;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


p.flow-item__step {
  color: #ed6c00;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 10px;
}


.flow-item__icon img {
  width:auto;
  height: 90px;
  margin-bottom: 16px;
}



p.flow-item__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;

}

@media (min-width: 768px) {


  .flow-row .flow-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;            
    border-color: transparent transparent transparent #ed6c00;
  }


  .flow-item--step4::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;            
    border-color: transparent transparent transparent #ed6c00;
  }
}


@media (max-width: 767px) {


  .flow-row .flow-item {
    width: 100%;
    margin-right: 0;
    margin-bottom: 24px;
  }


  .flow-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 10px 0 10px;          
    border-color: #ed6c00 transparent transparent transparent;
  }


  .flow-row--bottom .flow-item:last-child::after {
    display: none;
  }


  .flow-item--step4::before {
    display: none;
  }
  .flow-row {

    margin-bottom: 10px;
}
}


/* --------法人概要 */
.company-inner {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
  }
  

.pdf-frame {
    width: 100%;
    height: 900px; 
    border: none;
  }

  .keisan-list {
	max-width: 800px;
	margin: 0 auto;
  }
  
  
  .keisan-item {
	display: flex;
    align-items: center;
    gap: 2em;
    border: 1px solid #e2750f;
    border-radius: 40px;
    padding: 14px 22px;
    margin-bottom: 14px;
    transition: all .3s 
ease;
    background: #fffbf4;
  }

  
  .keisan-date {

	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
  }
  
  .keisan-title {
	text-decoration: none;
	font-weight: bold;
  }
  
  .keisan-item:hover {
	border-color: #f2a654;
	background: #e2750f;
	color: #fff!important;
	text-decoration: none!important;
  }
 /* 沿革 */
  .history-section {
	padding: 80px 0;
	background: #fffbf4;
	position: relative;
	overflow: hidden;
  }
  

  .history-section::after {
	content: "";
	position: absolute;
	right: clamp(8px, 3.5vw, 48px);
	bottom: clamp(-8px, -1.5vw, -20px);
	width: clamp(180px, 26vw, 420px);
	height: auto; 
	aspect-ratio: 16/9;
	background-image: url("/img/history_bg.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right bottom;
	filter: drop-shadow(0 8px 18px rgba(0,0,0,.06));
	opacity: .95;
  }
  
  /* .history-section::before {
	content: "";
	position: absolute;
	top: -40px;
	left: -40px;
	width: 200px;
	height: 200px;
	background: rgba(255, 205, 121, 0.25);
	border-radius: 50%;
	z-index: 0;
  } */
  /* .history-section::after {
	content: "";
	position: absolute;
	bottom: -50px;
	right: -50px;
	width: 240px;
	height: 240px;
	background: rgba(124, 196, 173, 0.25);
	border-radius: 50%;
	z-index: 0;
  }
   */
  .history-inner {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
  }
  
  .history-list {
	border-left: 4px solid #e2750f;
	padding-left: 30px;
	position: relative;
  }
  .history-item {
	margin-bottom: 40px;
	position: relative;
	padding-left: 15px;
  }
  
  .history-item::before {
	content: "";
	position: absolute;
	left: -36px;
	top: 5px;
	width: 16px;
	height: 16px;
	background: #e2750f;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 0 0 3px #e2750f;
  }
  
  .history-year {
	font-weight: bold;
	font-size: 18px;
	color: #e2750f;
	display: inline-block;
	margin-bottom: 6px;
  }
  

  .history-text {
	font-size: 16px;
	line-height: 1.8;
  }
  

/* 会社概要 */
   .company-section {
	padding: 80px 0;
	background: #fff;
	position: relative;
	overflow: hidden;
	margin-bottom: 0;
  }
  
  .company-section::before {
	content: "";
	position: absolute;
	top: -40px;
	left: -50px;
	width: 180px;
	height: 180px;
	background: rgba(255, 205, 121, .25);
	border-radius: 50%;
  }
  .company-section::after {
	content: "";
	position: absolute;
	bottom: -60px;
	right: -60px;
	width: 220px;
	height: 220px;
	background: rgba(124, 196, 173, .22);
	border-radius: 50%;
  }
  


  
  /* 枠 */
  /* .company-info {
	background: #fff;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 16px;
	box-shadow: 0 6px 18px rgba(0,0,0,.06);
	padding: 32px 26px;
  } */
  
  /* 定義リスト */
  .info-table {
	margin: 0;
  }
  .info-row {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 12px 20px;
	padding: 18px 0;
	border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .info-row:last-child {
	border-bottom: none;
  }
  
  .info-title {
	font-weight: 700;
	color: #333;
	position: relative;
	padding-left: 12px;
  }
  .info-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e2750f; /* アクセントカラー */
  }
  
  /* 本文 */
  .info-text {
	margin: 0;
	line-height: 1.8;
  }
  
  /* 事業内容リスト */

  .info-list {
	margin: 0;
	padding: 0;
	list-style: none;
  }
  .info-list li {
	margin: 6px 0;
	padding-left: 18px;
	position: relative;
  list-style: none;
  }
  .info-list li::before {
	content: "・";
	position: absolute;
	left: 0;
	top: 0;
	color: #e2750f;
	font-weight: bold;
  }
  
ul.info-list {
    margin: 0;
}

  @media (max-width: 768px) {

	.history-list {
		padding-left: 20px;
	  }
	  .history-item::before {
		left: -28px;
	  }
	.info-row {
	  grid-template-columns: 1fr;
	  padding: 14px 0;
	}
	.company-info {
	  padding: 24px 18px;
	}
  }
  







  
  

  @media (max-width: 1024px) {
    .pdf-frame {
      height: 750px;
    }
  }
  @media (max-width: 768px) {
    .pdf-frame {
      height: 580px;
    }
  }


  /* footer menu */
.p-footer-nav-area {
	display: flex;
	margin: 58px 0 0;
	text-align: center;
}


.p-footer-nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap; 
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.8;
}

.p-footer-nav li {
	    margin-top: 0.4em;
}

.p-footer-nav li {
	position: relative;
	padding: 0 1em;
}

.p-footer-nav li + li::before {
	content: "|";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #aaa; 
	font-size: 14px;
}

@media screen and (max-width: 767px) {
	.p-footer-nav {
		flex-direction: column;
	}
	.p-footer-nav li + li::before {
		content: none;
	}
    .p-footer-nav-container {
        padding: 10px 10px 10px;
    }
}


/*お問い合わせ*/
.form_table {
    margin: 30px auto;
        border: 1px solid #ddd;
    background: #fafafa;
    padding: 5%;
}
.mw_wp_form input[name="__children[privacypolicy][]"] + .error {
    display : inline;
    padding-right:.5em;
}
.form_table dl{
    padding: 5px 20px!important;
	margin-bottom: 0;
}
.form_table dt.required:after {
    background: #9e445e66;
    bottom: 0;
    color: #000;
    content: "必須";
    display: inline-block;
    font-size: 0.5rem;
    height: 20px;
   margin: 5px; right: 10px;
    text-align: center;
    width: 30px;
}
.form_table dt.option:after {
    background: #72aee6a1;
    bottom: 0; */
    color: #000;
    content: "任意";
    display: inline-block;
    font-size: 0.5rem;
    height: 20px;
   margin: 5px; right: 10px;
    text-align: center;
    width: 30px;
}


label {
/*    display: inline-block;*/
    margin-bottom: 5px;
    font-weight: bold;
}
.mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0px;
}
span.mwform-checkbox-field-text {
    display: none;
}

input.btn.send {
 background: #1579c3;
 color: #fff;

}
input.btn.back {
    background: #77777729;
}




select,input[type="text"] {
    outline: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 100%;
    border: #444 solid 1px;
    height: 30px;
    width: 100%;
    background: #fff;
    
}
textarea {
    width: 100%;
    background: #fff;
    border:#444 solid 1px;
}

textarea#text {
    height: auto;
}

input[type="hidden"] {
    height: auto;
}
input[type="checkbox"] {
    height: auto;
}

p.check {
    margin-bottom: 2%;
}

input.InquiryButton.-back {
    width: 100%;
    margin-top: 20px;
    padding: 1%;
    height: auto;
}

select {
  -moz-appearance: menulist;
  -webkit-appearance: menulist;
}
/*お問い合わせここまで*/