@charset "UTF-8";
/*
Theme Name: ritsufirst
Author: kitajima ritsu
Description: ポートフォリオサイト用
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*初期設定はじめ*/
@import url("https://fonts.googleapis.com/css?family=Roboto:400,700");

html {
    font-size: 12px;
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    letter-spacing: 0.1em;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.7;
    background-color: #fff;/*確認用*/
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
}

hr {

}


code,
kbd,
pre,
samp {
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

label {
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

dl, dd {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
    margin: 0;
}


ul {
}

ul li {
    list-style: disc;
}

ol {
}

ol li {
    list-style: decimal;
}


h1 {
}

h2 {
}

h3 {
}

h4 {
}

h5 {
}

h6 {
}

a{
  color: #000;
}

a,
.text-link {

}

a:hover,
.text-link.text-link--hover {
    text-decoration: underline;
}

a:active,
.text-link.text-link--active {
}

/*初期設定終わり*/

.inline-list {
    list-style: none;
    padding-left: 0;
}

.inline-list li {
    display: inline-block;
    padding-left: 8px;
    padding-right: 8px;
}



/**
 * トップページ
 */
.c-front-visual {
    text-align: center;
    margin-bottom: 30px;
}



/* ヘッダーはじめ */

.l-header_wapper{
  width: 100%;
  position:fixed;
  z-index: 100;
  background: rgba(255,255,255,0.7);/*確認用*/
}

.l-header {
  width: 770px;
  padding:10px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  background: rgba(255,255,255,0.7);/*確認用*/
  flex-wrap: wrap;
  align-items: flex-end;

}


.c-global-nav {

}


.c-global-nav ul {
  display: flex;
  gap:20px;
}



.c-global-nav ul li {
  list-style-type: none;
  padding-bottom: -2px;
}

.c-global-nav ul li a {
  border-bottom: 2px solid #000;

}

.c-global-nav ul li a:hover {
  opacity: 0.8;
    border-bottom: 2px solid #333;
}

.c-global-nav ul li img {
  height: 15px;
  width: auto;
}


.c-logo {
    text-decoration: none;
}



.c-logo:hover {
    opacity: 0.8;
}

.c-logo__image {
}

.c-logo__image img {
}



.c-logo__text {
    font-weight: bold;
    letter-spacing: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.7143rem;
    color: #222;
}

.l-header__logo img {
    width: 330px;
}

/* ヘッダーおわり */

/* トップページはじめ */

.l-wrapper {
  padding-top: 60px;
  max-width: 770px;
  margin-left: auto;
  margin-right: auto;

}

.l-container {
  padding: 0 10px;

}

.l-wrapper h2 {
}


h2.work{
  padding-top: 20px;
  margin-top: -20px;
}

.l-wrapper h2 img{
  height: 25px;
}



.l-main {
}



.l-contents {
}

.l-section {
}

.work_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap:9px;
  margin-bottom: 30px;
}

ul.work_list {
  list-style-type: none;
}

ul.work_list li{
  list-style-type: none;
  margin-bottom: 20px;
}

ul.work_list li img{
  width: 375px;
  height: 300px;
  border: solid #000 1px;
}

/*イラスト部分グリッドはじめ*/
.widget_media_gallery a{
  border: 1px solid #fff;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}
.widget_media_gallery a:hover{
  border: 1px solid #000;

}

.widget_media_gallery a:hover img{

}

body .is-layout-flex{
  display: grid;
  grid-template-columns: 250px 250px 250px;
  grid-auto-rows: auto;
  grid-template-columns: repeat(3, 1fr);
  gap:2px;

}

.c-front-text .widget_media_gallery{
  margin-bottom: 30px;

}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{
  object-fit:cover;
  /*border: solid #000 1px;*/
}

.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){
  width: 100%;
}

.girl-hashi{
  grid-column: 1/3;
}


.mitsubishi{
  grid-column: 3/4;
  grid-row: 1/3;
}

.honden{
  grid-column: 2/4;
  grid-row: 3/4;

}

.kaidan-girl{
  grid-row: 2/4;

}

.okariden{
  grid-column: 1/3;
  grid-row: 4/5;
}

.gate{

  grid-column: 2/4;
  grid-row: 5/6;
}
/*イラスト部分グリッドおわり*/


/*プロフィールはじめ*/
.fa-square-twitter{
  font-size: 30px;
  color: #999;
}

/*プロフィールおわり*/


/* トップページおわり */



/*記事ページはじめ*/
.c-post__content{
  padding-bottom: 30px;
  border-bottom: 1px solid #ccc;
}

.post-navigation {
}

.post-navigation .nav-links {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    color: #000;
}

.post-navigation .nav-links a {
    line-height: 1.7em;
    display: inline-block;
    text-align: center;
    width:max(auto,40%)
}


.c-post__title {
    font-size: min(12vw,20px);
    padding-bottom: 1.5vw;
    border-bottom: 1px solid #ccc;
    margin-bottom: 3rem;
}

/*記事ページおわり*/

/* フッターはじめ */
.l-footer {
  padding: 50px 0;
}

.l-footer__logo img {
    width: 300px;
}

.l-footer__menu {
}

.l-footer-copyright {
    text-align: center

}

.l-footer-copyright p {
}


.c-copyright {
    text-align: center;
    font-size: 10px;
}

.c-copyright p {
}

/* フッターおわり */



/*スマホ版*/
@media screen and (min-width: 0px) and (max-width: 770px) {
  body .is-layout-flex{
    display:contents;
  }

.work_list {
    display: contents;
  }

  ul.work_list li img{
    width: 100%;
    height: auto;
  }

  .c-global-nav{
    display: none;
  }

  .post-navigation .nav-links {
      margin: 30px 0;
      display: contents;
      justify-content: none;
  }

  .post-navigation .nav-links div{
    margin-bottom: 5px;
  }

    .post-navigation .nav-links a{
      width: 100%;
    }
  .c-copyright{
    font-size: min(1vw,8px);
  }
}
