@charset "UTF-8";

.contents {padding-top:2em;}
.contents > .ptxt:nth-child(1) {padding:1em 1.5em 1.5em 1.5em; background:#fff; border:2px solid #39901b; border-radius:0.6em; line-height:1.8;}
.contents > .ptxt:nth-child(1) span {color:#39901b; font-family:'Noto Serif JP', serif; font-size:115%; font-weight:700;}
.contents > .ptxt:nth-child(1) p {margin-top:0.5em; font-size:90%; line-height:1.8;}

main h2 {line-height:1.6;}
main h3 {margin:1.5em 0 0 0; color:#39901b;}
main .ptxt > h3:nth-child(1) {margin-top:0;}
main h3 + p {margin-top:0.5em;}


/*********************************
 * ～900
 *********************************/

@media screen and (max-width:900px){
	
	ul.service {display:flex; flex-wrap:wrap; justify-content:space-between; width:100%; margin:3em 0 0 0;}
	ul.service li {margin:0 0 2em 0; padding:2em 2em; background:#1c480d; color:#fff;}
	ul.service li:nth-child(even) {background:#39901b;}
	ul.service dl dt {padding:0 0 0 1.2em; border-left:3px solid #fff; font-size:90%; line-height:1.5;}
	ul.service dl dt span {font-size:160%; font-weight:700;}
	ul.service dl dd {padding:1.3em 0 0 0; font-size:90%;}
	ul.service dl dd .btn {margin:1em 0 0 0;}
	ul.service dl dd .btn a {position:relative; padding:0.3em 2em; border:1px solid #fff; border-radius:2em; color:#fff;}
  
  main .ptxt a {border-bottom:1px solid #101010; color:#101010;}
  
  .contents > .ptxt:nth-child(1) span {font-size:110%;}
  
  table.fee {width:100%; border-top:1px solid #7f7f7f;}
  table.fee th {padding:0.5em; border:1px solid #ddd; text-align:center; vertical-align:middle;}
  table.fee td {padding:0.5em; border:1px solid #ddd; text-align:center;}
  table.fee thead th {background:#39901b; color:#fff;}
  table.fee tbody tr:nth-child(even) th,
	table.fee tbody  tr:nth-child(even) td {background:#fafafa;}

}



/*********************************
 * 901～
 *********************************/

@media screen and (min-width:901px) {
	
	ul.service {display:flex; flex-wrap:wrap; justify-content:space-between; width:100%; margin:3em 0 0 0;}
	ul.service li {width:48%; margin:0 0 2em 0; padding:2em 3em; background:#1c480d; color:#fff;}
	ul.service li:nth-child(even) {background:#39901b;}
	ul.service dl dt {padding:0 0 0 1.2em; border-left:3px solid #fff; font-size:85%; line-height:1.5;}
	ul.service dl dt span {font-size:180%; font-weight:700;}
	ul.service dl dd {padding:1.3em 0 0 0; font-size:85%;}
	ul.service dl dd .btn {margin:1em 0 0 0;}
	ul.service dl dd .btn a {position:relative; padding:0.3em 2em; border:1px solid #fff; border-radius:2em; color:#fff; transition:0.3s;}
	ul.service dl dd .btn a:hover {opacity:0.8;}
  
  main .ptxt a {border-bottom:1px solid #101010; color:#101010; transition:0.3s;}
  main .ptxt a:hover {border-bottom:1px solid #fff; color:#101010;}
  
  .contents > .ptxt:nth-child(1) {text-align:center;}
  .contents > .ptxt:nth-child(1) p {text-align:center;}
  
  table.fee {width:100%; border-top:1px solid #7f7f7f;}
  table.fee th {padding:0.5em; border:1px solid #ddd; text-align:center; vertical-align:middle;}
  table.fee td {padding:0.5em; border:1px solid #ddd; text-align:center;}
  table.fee thead th {background:#39901b; color:#fff;}
  table.fee tbody tr:nth-child(even) th,
	table.fee tbody  tr:nth-child(even) td {background:#fafafa;}

}


